32
32
clear : both;
33
33
}
34
34
35
+ /* custom list style */
36
+ .doc ol ,
37
+ .doc ul {
38
+ counter-reset : li;
39
+ margin-left : 0 ;
40
+ padding-left : 0 ;
41
+ }
42
+ .doc ol > li ,
43
+ .doc ul > li {
44
+ position : relative;
45
+ }
46
+ .doc ol > li : before ,
47
+ .doc ul > li : before {
48
+ position : absolute;
49
+ top : -1px ;
50
+ left : -3em ;
51
+ width : 2em ;
52
+ font-family : 'Source Sans Pro' , sans-serif;
53
+ font-size : 12px ;
54
+ text-align : center;
55
+ }
56
+ .doc ul > li : before {content : '●' }
57
+ .doc ol > li : before {
58
+ content : counter (li);
59
+ counter-increment : li;
60
+ border-radius : 50% ;
61
+ background : # f0f0f0 ;
62
+ }
63
+ .doc ol li ul > li : before ,
64
+ .doc ul li ul > li : before {content : '➝' ;}
65
+
35
66
/* --------------------------------------------------------
36
67
Colors
37
68
-------------------------------------------------------- */
@@ -81,11 +112,10 @@ h4 {
81
112
font-size : 16px ;
82
113
margin-bottom : 26px ;
83
114
}
84
- p , ul {
115
+ p {
85
116
margin : 0 0 20px ;
86
117
line-height : 28px ;
87
118
}
88
-
89
119
a {
90
120
text-decoration : none;
91
121
color : # 404040 ;
@@ -95,6 +125,10 @@ a:hover {
95
125
color : # 79bc5f ;
96
126
}
97
127
128
+ .doc ul {margin : 20px 0 ;}
129
+ .doc li , .doc p {font-family : 'Quattrocento' , serif;}
130
+ .doc li {margin-left : 30px ;}
131
+
98
132
small {
99
133
font-size : 12px ;
100
134
line-height : 16px ;
@@ -124,23 +158,6 @@ pre {
124
158
-o-transition : all 200ms linear;
125
159
}
126
160
127
- .doc li , .doc p {
128
- font-family : 'Quattrocento' , serif;
129
- list-style-type : square;
130
- }
131
- .doc li {
132
- margin : 0 0 20px 0 ;
133
- }
134
- .doc li p {
135
- margin : 0 ; /* p and ul inside of an li does not need bottom margins*/
136
- }
137
- .doc li ul {
138
- margin : 20px 0 0 20px ;
139
- }
140
- .doc li ul li {
141
- list-style-type : circle;
142
- }
143
-
144
161
/* --------------------------------------------------------
145
162
Layout
146
163
-------------------------------------------------------- */
@@ -239,22 +256,23 @@ pre {
239
256
color : # fff ;
240
257
}
241
258
242
- .email : before , .twitter : before , .translation : before ,
243
- .email : hover : before , .twitter : hover : before , .translation : hover : before {
244
- content : '' ;
245
- float : left;
246
- margin-right : 20px ;
247
- width : 16px ;
248
- height : 20px ;
249
- background : url(./ images/sprite.png) no-repeat;
250
- overflow : hidden;
251
- }
252
- .email : before {background-position : -19px -87px ;}
253
- .email : hover : before {background-position : -19px -107px ;}
254
- .twitter : before {background-position : -50px -87px ;}
255
- .twitter : hover : before {background-position : -50px -107px ;}
256
- .translation : before {background-position : -80px -87px ;}
257
- .translation : hover : before {background-position : -80px -107px ;}
259
+ .contact li {margin-bottom : 20px ;}
260
+ .email : before , .twitter : before , .translation : before ,
261
+ .email : hover : before , .twitter : hover : before , .translation : hover : before {
262
+ content : '' ;
263
+ float : left;
264
+ margin : -5px 18px 0 0 ;
265
+ width : 16px ;
266
+ height : 20px ;
267
+ background : url(./ images/sprite.png) no-repeat;
268
+ overflow : hidden;
269
+ }
270
+ .email : before {background-position : -19px -87px ;}
271
+ .email : hover : before {background-position : -19px -107px ;}
272
+ .twitter : before {background-position : -50px -87px ;}
273
+ .twitter : hover : before {background-position : -50px -107px ;}
274
+ .translation : before {background-position : -80px -87px ;}
275
+ .translation : hover : before {background-position : -80px -107px ;}
258
276
259
277
.searchbox {
260
278
height : 30px ;
@@ -279,7 +297,10 @@ pre {
279
297
}
280
298
281
299
.faqbox h4 {margin-bottom : 46px ;}
282
- .faq li {padding : 1px 0 0 0 ;}
300
+ .faq li {
301
+ margin : 4px 0 ;
302
+ padding : 1px 0 0 0 ;
303
+ }
283
304
.faq li a : before {
284
305
content : '' ;
285
306
float : left;
0 commit comments