-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
115 lines (114 loc) · 2.08 KB
/
styles.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
107
108
109
110
111
112
113
114
115
* {
box-sizing: border-box;
}
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, ul, li{
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
body {
font-family: Verdana, Arial, sans-serif;
background-color: #f7f7f7;
}
#header{
background-color: #f4f4f4;
}
#header h1 {
font-size: 24px;
text-transform: uppercase;
font-weight: bold;
padding: 30px 30px 30px 10px;
clear: both;
}
#nav {
background-color: #eee;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
#nav li {
float: left;
list-style: none;
}
#nav a {
display: block;
color: black;
padding: 10px 25px;
text-decoration: none;
border-right: 1px solid #ccc;
}
#nav li:last-child a {
border-right: none;
}
#nav a:hover {
font-weight: bold;
}
#nav:after {
content: " ";
display: table;
clear: both;
}
.wrapper{
background-color: #f7f7f7;
}
.aside h2 {
font-size: 0.95em;
margin-top: 15px;
}
.aside h3 {
font-size: 0.85em;
margin-top: 10px;
}
.aside p, .aside li {
font-size: .75em;
margin-top: 10px;
}
.aside li{
list-style-type: none;
}
#sidebar1 {
float: left;
width: 20%;
padding: 0 10px 0 20px;
}
#sidebar2 {
float: right;
width: 20%;
padding: 0 20px 0 10px;
}
#article{
background-color: #fafafa;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
margin-left: 20%;
margin-right: 20%;
padding: 15px;
width: 60%;
}
#article:after{
clear:both;
display:table;
content:'';
}
#article h2{
font-size: 1.3em;
margin-bottom:15px;
}
#article p{
line-height: 150%;
margin-bottom: 15px;
}
#footer{
border-top: 1px solid #ccc;
font-size: .8em;
text-align: center;
padding: 10px 10px 30px 10px;
}
#nav ul, #header h1, .wrapper, #footer p {
max-width: 1200px;
margin: 0 auto;
}
.wrapper, #nav, #header, #footer{
min-width: 768px;
}