-
Notifications
You must be signed in to change notification settings - Fork 0
/
html5.css
106 lines (106 loc) · 1.67 KB
/
html5.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
body {
background-color: #CCCCCC;
margin: 0px auto;
max-width: 900px;
border: solid;
border-color: #FFFFFF;
color: black;
}
header {
background-color: #2289F0;
display: block;
color: #FFFFFF;
text-align: center;
}
h1 {
font-size: 72px;
margin: 0px;
}
h2 {
font-size: 24px;
margin: 0px;
text-align: center;
}
h3 {
font-size: 18px;
margin: 0px;
text-align: center;
}
nav {
display: block;
width: 100%;
float: left;
text-align: center;
background-color: white;
padding-top: 20px;
padding-bottom: 20px;
}
nav a:link, nav a:visited {
display: inline;
border-bottom: 3px solid #fff;
padding: 10px;
text-decoration: none;
font-weight: bold;
margin: 5px;
}
nav a:hover {
color: white;
background-color: #F47D31;
}
nav h3 {
margin: 15px;
}
#container {
background-color: #CCC
}
section {
display: block;
width: 60%;
float: left;
}
article {
background-color: #eee;
display: block;
margin: 10px;
padding: 10px;
}
article header {
padding: 5px;
}
article footer {
padding: 5px;
}
article h1 {
font-size: 18px;
}
aside {
display: block;
width: 20%;
float: left;
}
aside h3 {
margin: 15px;
}
aside p {
margin: 15px;
font-weight: bold;
}
footer {
clear: both;
display: block;
background-color: #2289F0;
color: #FFFFFF;
text-align: center;
padding: 15px;
}
footer h2 {
font-size: 14px;
color: white;
}
/* links */
a {
color: #F47D31;
}
a:hover {
text-decoration: underline;
}