10
10
11
11
html {
12
12
font-family : $font-family ;
13
- font-size : 20px ;
13
+ font-size : 20px ;
14
14
line-height : 1.5 ;
15
15
}
16
16
19
19
background-color : $body-background-color ;
20
20
}
21
21
22
- /* *************
23
- * Links
24
- */
22
+ /// ///////////
23
+ // Links
25
24
26
25
a {
27
26
color : $link-color ;
38
37
}
39
38
40
39
41
- /* *****************************
42
- * Headings
43
- */
40
+ /// /////////////////////////
41
+ // Headings
44
42
45
43
h1 , h2 , h3 , h4 , h5 , h6 {
46
- margin-bottom : .5rem ;
47
- font-weight : bold ;
48
- line-height : 1.25 ;
49
- color : $headings-color ;
44
+ margin-bottom : .5rem ;
45
+ font-weight : bold ;
46
+ line-height : 1.25 ;
47
+ color : $headings-color ;
50
48
text-rendering : optimizeLegibility ;
51
49
}
52
50
h1 {
@@ -65,9 +63,8 @@ h4, h5, h6 {
65
63
font-size : 1rem ;
66
64
}
67
65
68
- /* *******************
69
- * Body text
70
- */
66
+ /// //////////
67
+ // Body text
71
68
72
69
p {
73
70
margin-top : 0 ;
@@ -78,7 +75,10 @@ strong {
78
75
color : $strong-color ;
79
76
}
80
77
81
- /* Lists */
78
+
79
+ /// //////////
80
+ // Lists
81
+
82
82
ul , ol , dl {
83
83
margin-top : 0 ;
84
84
margin-bottom : 1rem ;
92
92
}
93
93
94
94
95
- /* *********************
96
- * Code
97
- */
95
+ /// ///////////////////
96
+ // Code
98
97
99
98
code ,
100
99
pre {
@@ -122,7 +121,9 @@ pre {
122
121
}
123
122
124
123
125
- /* Quotes */
124
+ /// //////////////////
125
+ // Quotes
126
+
126
127
blockquote {
127
128
padding : .5rem 1rem ;
128
129
margin : .8rem 0 ;
@@ -142,9 +143,10 @@ img {
142
143
border-radius : 5px ;
143
144
}
144
145
145
- /* ****************
146
- * Tables
147
- */
146
+
147
+ /// ///////////////////
148
+ // Tables
149
+
148
150
table {
149
151
margin-bottom : 1rem ;
150
152
width : 100% ;
@@ -165,10 +167,9 @@ table {
165
167
166
168
167
169
168
- /* ************************
169
- * Container
170
- * -- Center the page content.
171
- */
170
+ /// /////////////////////////////
171
+ // Container
172
+ // -- centers page content
172
173
173
174
.container {
174
175
max-width : 38rem ;
@@ -178,9 +179,8 @@ table {
178
179
margin-right : auto ;
179
180
}
180
181
181
- /* ******************************
182
- * Masthead
183
- */
182
+ /// ////////////////////////////////////////////////
183
+ // Masthead
184
184
185
185
.masthead {
186
186
padding-top : 1rem ;
@@ -206,29 +206,30 @@ table {
206
206
}
207
207
208
208
209
- /* *************************
210
- * Posts
211
- */
209
+ /// ///////////////////////
210
+ // Posts
212
211
213
212
.post {
214
213
margin-bottom : 4em ;
214
+
215
+ // note: only change margin for title,date if inside post block
216
+ .post-title {
217
+ margin-top : 0 ;
218
+ }
219
+
220
+ // Meta data line below post title
221
+ .post-date {
222
+ display : block ;
223
+ margin-top : -.5rem ;
224
+ margin-bottom : 1rem ;
225
+ }
215
226
}
216
227
217
- /* Blog title */
218
228
.post-title ,
219
229
.post-title a {
220
230
color : $post-title-color ;
221
231
}
222
232
223
- .post-title {
224
- margin-top : 0 ;
225
- }
226
-
227
- /* Meta data line below post title */
228
233
.post-date {
229
- display : block ;
230
- margin-top : -.5rem ;
231
- margin-bottom : 1rem ;
232
- color : $post-date-color ;
234
+ color : $post-date-color ;
233
235
}
234
-
0 commit comments