1
- /* Eric Meyer's reset.css v1.0 | 20080212 */
2
-
3
- html , body , div , span ,
4
- h1 , h2 , h3 , h4 , h5 , h6 , p , blockquote , pre ,
5
- a , abbr , acronym , address , cite , code ,
6
- del , em , img , ins , kbd ,
7
- strong , sub , sup ,
8
- dl , dt , dd , ol , ul , li ,
9
- fieldset , form , label , legend ,
10
- table , caption , tbody , tfoot , thead , tr , th , td {
11
- margin : 0 ;
12
- padding : 0 ;
13
- border : 0 ;
14
- outline : 0 ;
15
- font-size : 100% ;
16
- vertical-align : baseline;
17
- background : transparent;
18
- }
19
1
body {
20
- line-height : 1 ;
21
- }
22
- ol , ul {
23
- list-style : none;
24
- }
25
- blockquote , q {
26
- quotes : none;
27
- }
28
- blockquote : before , blockquote : after ,
29
- q : before , q : after {
30
- content : '' ;
31
- content : none;
32
- }
33
-
34
- /* remember to highlight inserts somehow! */
35
- ins {
36
- text-decoration : none;
37
- }
38
- del {
39
- text-decoration : line-through;
40
- }
41
-
42
- /* tables still need 'cellspacing="0"' in the markup */
43
- table {
44
- border-collapse : collapse;
45
- border-spacing : 0 ;
46
- }
47
-
48
- article , aside , figure , footer , header , hgroup , menu , nav , section {
49
- display : block;
50
- }
51
-
52
- body {
53
- width : 960px ;
54
- margin : 0 auto;
55
- font-family : Georgia, 'Nimbus Roman No9 L' , 'Liberation Serif' , monospace;
56
- font-size : 14px ;
57
- background : # 0D2E4C ;
58
- color : # E6EAED ;
2
+ font-family : Arial, sans-serif;
3
+ width : 100% ;
4
+ background : # fff ;
5
+ color : # 000 ;
59
6
}
60
7
61
8
body > div {
62
- margin-right : 410px ;
63
- }
64
-
65
- header h1 {
66
- padding : 40px 0 30px ;
67
- font-size : 75px ;
68
- line-height : 1.2em ;
69
- font-weight : normal;
70
- text-shadow : 0 2px 2px # 000 ;
9
+ margin-right : 0 ;
71
10
}
72
11
73
12
nav {
74
- position : fixed;
75
- margin-left : 750px ;
76
- top : 0 ;
77
- padding : 20px 0 ;
78
- height : 100% ;
79
- background-color : # 556c81 ;
80
- text-shadow : none;
81
- width : 240px ;
82
- }
83
-
84
- nav h1 {
85
- margin : 0 0 20px 30px ;
86
- font-size : 22px ;
87
- font-weight : normal;
88
- }
89
-
90
- article {
91
- padding-bottom : 20px ;
92
- border-bottom : 4px dotted # 8696a5 ;
13
+ display : none;
93
14
}
94
15
95
- article section {
96
- position : relative;
16
+ header h1 {
17
+ font-size : 35px ;
18
+ padding : 20px 0 ;
97
19
}
98
20
99
- nav ul li {
21
+ h2 {
22
+ margin : 20px 0 10px ;
100
23
font-size : 16px ;
101
- margin : 0px ;
102
- list-style : none;
103
- background-color : # 556c81 ;
24
+ padding-top : 0 ;
104
25
}
105
26
106
- nav a {
107
- color : white;
108
- font-family : Arial, sans-serif;
27
+ h3 {
109
28
font-size : 13px ;
110
- display : block;
111
- padding : 4px 30px 6px ;
112
- }
113
-
114
- nav a : hover {
115
- background : # 0D2E4C ;
29
+ margin : 15px 0 8px ;
116
30
}
117
31
118
- p {
119
- line-height : 1.6em ;
120
- font-size : 16px ;
121
- margin-bottom : 20px ;
122
- }
123
-
124
- pre , code {
125
- font-family : Consolas, Inconsolata, 'Bitstream Vera Sans Mono' , Menlo, Monaco, 'Andale Mono' , 'Courier New' , monospace;
126
- }
127
-
128
- pre {
129
- padding : 8px 0 12px 20px ;
130
- border-left : 4px solid # 566D82 ;
131
- margin-bottom : 20px ;
132
- background : # 0F192A ;
32
+ h2 , h3 {
33
+ font-variant : normal;
34
+ text-transform : capitalize;
35
+ page-break-after : avoid;
133
36
}
134
37
135
- article pre code {
136
- font-size : 13px ;
137
- line-height : 1.4em ;
138
- padding : 0px ;
139
- margin-top : 3px ;
140
- margin-bottom : 1px ;
141
- background : # 0F192A ;
38
+ header h1 , h2 , h3 {
39
+ text-shadow : none;
142
40
}
143
41
144
- article code {
145
- font-size : 0.85em ;
146
- text-shadow : none;
147
- background : # 314D67 ;
148
- padding : 3px 4px 1px ;
42
+ article h2 > code , article h3 > code {
43
+ text-transform : none;
44
+ font-size : 0.9em ;
45
+ vertical-align : 2px ;
149
46
}
150
47
151
- h2 , h3 {
152
- font-family : Arial, sans-serif;
153
- text-shadow : 0 1px 1px # 222 ;
154
- font-variant : small-caps;
48
+ article h2 a {
49
+ display : none;
155
50
}
156
51
157
- h2 {
158
- font-size : 30 px ;
159
- margin : 15 px 0 20 px ;
160
- padding-top : 50 px ;
52
+ article {
53
+ width : 78 % ;
54
+ padding-bottom : 0 ;
55
+ border-bottom-width : 2 px ;
161
56
}
162
57
163
- h3 {
164
- font-size : 18px ;
165
- margin : 25px 0 15px ;
58
+ aside {
59
+ width : 26% ;
60
+ right : -28% ;
61
+ padding-bottom : 6px ;
62
+ opacity : 1 ;
166
63
}
167
64
168
- h2 code , h3 code {
169
- font-variant : normal ;
65
+ a {
66
+ color : inherit ;
170
67
}
171
68
172
- aside {
173
- border-bottom : 1px solid # 9eabb7 ;
174
- padding-bottom : 10px ;
175
- position : absolute;
176
- width : 180px ;
177
- right : -190px ;
178
- opacity : 0.7 ;
69
+ p , ul , ol {
70
+ font-size : 11px ;
71
+ margin-bottom : 8px ;
72
+ orphans : 3 ;
73
+ line-height : 1.3em ;
179
74
}
180
75
181
- aside : last-child {
182
- bottom : 0 ;
76
+ pre {
77
+ background : # eee ;
183
78
}
184
79
185
80
aside p {
186
- margin : 0 ;
187
- font-size : 13px ;
188
- font-family : Arial;
189
- line-height : 1.3em ;
81
+ font-size : 10px ;
82
+ color : # 666 ;
190
83
}
191
84
192
- article ol {
193
- margin-bottom : 32 px ;
194
- list-style : decimal ;
85
+ article code , article pre code {
86
+ background : # eee ;
87
+ font-size : 10 px ;
195
88
}
196
89
197
- article ul {
198
- list-style : square ;
90
+ article code {
91
+ padding : 1 px 3 px ;
199
92
}
200
93
201
94
article li {
202
- font-size : 15 px ;
203
- margin-top : 9 px ;
95
+ font-size : 13 px ;
96
+ margin-top : 6 px ;
204
97
}
205
98
206
- article ul li {
207
- margin-left : -3 px ;
208
- padding -left: 3 px ;
99
+ article ul , article ol {
100
+ list-style-position : inside ;
101
+ margin -left: 8 px ;
209
102
}
210
103
211
- footer {
212
- padding-top : 10px ;
104
+ .com {
105
+ color : # 600 ;
106
+ font-style : italic;
213
107
}
214
108
215
- a {
216
- color : # FFA500 ;
217
- text-decoration : none ;
109
+ . typ {
110
+ color : # 404 ;
111
+ font-weight : bold ;
218
112
}
219
113
220
- a : hover {
221
- color : # FFC76D ;
114
+ . lit {
115
+ color : # 044 ;
222
116
}
223
117
224
- article h2 a {
225
- color : # ccc ;
226
- font-size : 16px ;
227
- vertical-align : baseline;
228
- display : none;
229
- font-weight : normal;
230
- font-variant : normal;
118
+ .pun {
119
+ color : # 440 ;
231
120
}
232
121
233
- article : hover h2 a {
234
- display : inline ;
122
+ . pln {
123
+ color : # 444 ;
235
124
}
236
125
237
- abbr {
238
- cursor : help;
239
- border-bottom : 1px dotted;
126
+ .atn {
127
+ color : # 404 ;
240
128
}
241
129
242
- a abbr {
243
- cursor : pointer ;
130
+ . str , . atv {
131
+ color : # 060 ;
244
132
}
245
133
246
- /* Syntax Highlighting */
247
-
248
- .str { color : # 1DC116 ; }
249
- .kwd { color : # E83737 ; }
250
- .com { color : # 428BDD ; }
251
- .typ { color : # FFAA3E ; }
252
- .lit { color : # D1EDFF ; }
253
- .pun { color : # D1EDFF ; }
254
- .tag { color : # 008 ; }
255
- .atn { color : # 606 ; }
256
- .atv { color : # 080 ; }
257
- .dec { color : # 606 ; }
258
- .pln { color : # FFAA3E ; }
134
+ .kwd , .tag {
135
+ color : # 006 ;
136
+ font-weight : bold;
137
+ }
0 commit comments