File tree 7 files changed +522
-985
lines changed
7 files changed +522
-985
lines changed Original file line number Diff line number Diff line change 12
12
< script src ="javascripts/main.js "> </ script >
13
13
</ head >
14
14
< body class ="js-enabled ">
15
- {{ content }}
15
+ < div id ="wrapper " class ="{{page.wrapper_class}} ">
16
+ {{ content }}
17
+ </ div >
16
18
</ body >
17
19
</ html >
Original file line number Diff line number Diff line change @@ -130,50 +130,54 @@ html {
130
130
}
131
131
}
132
132
133
- nav {
133
+ ol {
134
134
padding-bottom : 3px ;
135
+ }
135
136
136
- li {
137
- list-style : none ;
138
- }
139
-
137
+ li {
138
+ list-style : none ;
140
139
a {
141
140
text-decoration : none ;
142
-
141
+ font-weight : bold ;
142
+
143
143
& :hover ,
144
144
& :focus ,
145
145
& :active {
146
- .caption {
147
- text-decoration : underline ;
148
- }
146
+ text-decoration : underline ;
149
147
}
150
148
}
149
+ }
151
150
152
- .caption {
153
- font-weight : bold ;
154
- }
151
+ ol {
152
+ counter-reset : design - principles - counter ;
153
+ }
155
154
156
- .icon {
157
- position : relative ;
158
- float : left ;
159
- margin-left : $margin *-1 ;
160
- width : $margin * 0.75 ;
161
- text-align : right ;
162
- color : $grey-1 ;
163
- white-space : nowrap ;
155
+ li :before {
156
+ content : counter (design-principles-counter );
157
+ counter-increment : design- principles- counter;
158
+ }
164
159
165
- @media (max-width : 640px ) {
166
- margin-left : 0 ;
167
- width : $margin * 0.5 ;
168
- text-align : left ;
169
- }
170
- }
160
+ li :before {
161
+ position : relative ;
162
+ float : left ;
163
+ margin-left : $margin *-1 ;
164
+ width : $margin * 0.75 ;
165
+ text-align : right ;
166
+ color : $grey-1 ;
167
+ white-space : nowrap ;
168
+ display : inline-block ;
171
169
172
- .current .icon {
173
- color : $text-color ;
170
+ @media (max-width : 640px ) {
171
+ margin-left : 0 ;
172
+ width : $margin * 0.5 ;
173
+ text-align : left ;
174
174
}
175
175
}
176
176
177
+ .current .icon {
178
+ color : $text-color ;
179
+ }
180
+
177
181
h2 {
178
182
@include core-24 ;
179
183
font-weight : bold ;
@@ -230,45 +234,6 @@ html {
230
234
}
231
235
}
232
236
233
- & #first :before {
234
- content : " 1" ;
235
- }
236
-
237
- & #second :before {
238
- content : " 2" ;
239
- }
240
-
241
- & #third :before {
242
- content : " 3" ;
243
- }
244
-
245
- & #fourth :before {
246
- content : " 4" ;
247
- }
248
-
249
- & #fifth :before {
250
- content : " 5" ;
251
- }
252
-
253
- & #sixth :before {
254
- content : " 6" ;
255
- }
256
-
257
- & #seventh :before {
258
- content : " 7" ;
259
- }
260
-
261
- & #eighth :before {
262
- content : " 8" ;
263
- }
264
-
265
- & #ninth :before {
266
- content : " 9" ;
267
- }
268
-
269
- & #tenth :before {
270
- content : " 10" ;
271
- }
272
237
}
273
238
274
239
h1 #first +h2 {
You can’t perform that action at this time.
0 commit comments