Skip to content

Commit c3234e6

Browse files
committed
More markdown
1 parent 4afb883 commit c3234e6

File tree

7 files changed

+522
-985
lines changed

7 files changed

+522
-985
lines changed

_layouts/default.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<script src="javascripts/main.js"></script>
1313
</head>
1414
<body class="js-enabled">
15-
{{ content }}
15+
<div id="wrapper" class="{{page.wrapper_class}}">
16+
{{ content }}
17+
</div>
1618
</body>
1719
</html>

assets/main.scss

Lines changed: 32 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -130,50 +130,54 @@ html {
130130
}
131131
}
132132

133-
nav {
133+
ol {
134134
padding-bottom: 3px;
135+
}
135136

136-
li {
137-
list-style: none;
138-
}
139-
137+
li {
138+
list-style: none;
140139
a {
141140
text-decoration: none;
142-
141+
font-weight: bold;
142+
143143
&:hover,
144144
&:focus,
145145
&:active{
146-
.caption {
147-
text-decoration: underline;
148-
}
146+
text-decoration: underline;
149147
}
150148
}
149+
}
151150

152-
.caption {
153-
font-weight: bold;
154-
}
151+
ol {
152+
counter-reset: design-principles-counter;
153+
}
155154

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+
}
164159

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;
171169

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;
174174
}
175175
}
176176

177+
.current .icon {
178+
color: $text-color;
179+
}
180+
177181
h2 {
178182
@include core-24;
179183
font-weight: bold;
@@ -230,45 +234,6 @@ html {
230234
}
231235
}
232236

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-
}
272237
}
273238

274239
h1#first+h2 {

0 commit comments

Comments
 (0)