5
5
6
6
@charset " utf-8" ;
7
7
8
- // The variables
9
- $base-font-family : Bitter, " Apple SD Gothic Neo" , AppleGothic, NanumBarunGothic,
10
- " Malgun Gothic" , Dotum, sans-serif ;
11
- $monospace-font-family : Monaco, Menlo, Consolas, " Courier New" , DotumChe,
12
- monospace ;
13
- $palm-font-size : 16px ;
8
+ // Variables
9
+ $base-font-family : Bitter, " Apple SD Gothic Neo" , AppleGothic, NanumBarunGothic, " Malgun Gothic" , Dotum, sans-serif ;
10
+ $monospace-font-family : Monaco, Menlo, Consolas, " Courier New" , DotumChe, monospace ;
14
11
$base-font-size : 16px ;
15
12
$base-font-weight : 400 ;
16
13
$small-font-size : $base-font-size * 0.875 ;
@@ -28,7 +25,6 @@ $grey-color-dark: darken($grey-color, 20%);
28
25
29
26
// Width of the content area
30
27
$content-width : 800px ;
31
-
32
28
$on-mobile : 335px ;
33
29
$on-palm : 600px ;
34
30
$on-laptop : 800px ;
@@ -42,6 +38,7 @@ $on-laptop: 800px;
42
38
/* *
43
39
* Basic styling
44
40
*/
41
+
45
42
html ,
46
43
body {
47
44
min-height : 100% ;
@@ -50,18 +47,11 @@ body {
50
47
padding : 0 ;
51
48
}
52
49
53
- // * {
54
- // box-sizing: border-box;
55
- // }
56
-
57
50
body {
58
51
background-image : url (" /assets/images/bg0.jpg" );
59
52
background-size : cover ;
60
- // background-image: radial-gradient( circle farthest-corner at 22.4% 21.7%, rgba(4,189,228,1) 0%, rgba(2,83,185,1) 100.2% );
61
-
62
53
font : $base-font-weight #{$base-font-size } / #{$base-line-height }
63
54
$base-font-family ;
64
-
65
55
color : $text-color ;
66
56
background-color : $background-color ;
67
57
-webkit-text-size-adjust : 100% ;
78
68
}
79
69
}
80
70
71
+
72
+
81
73
#header ,
82
74
#main ,
83
75
.footer {
@@ -97,32 +89,6 @@ body {
97
89
overflow : auto ;
98
90
}
99
91
100
- /* *
101
- * Links
102
- */
103
-
104
- a {
105
- color : $text-color ;
106
- text-decoration : none ;
107
- }
108
-
109
- nav a ,
110
- div > a {
111
- & :hover {
112
- color : black ;
113
- text-decoration : underline ;
114
- transition : color 1s ;
115
- }
116
- }
117
-
118
- p a , footer a {
119
- border-bottom : 1px dashed #8c8c8c ;
120
-
121
- & :hover {
122
- border-bottom : 2px solid #8c8c8c ;
123
- }
124
- }
125
-
126
92
/* *
127
93
* Header specific styles
128
94
*
@@ -143,6 +109,46 @@ p a, footer a {
143
109
padding-top : 2em ;
144
110
}
145
111
112
+ #title {
113
+ font-size : 32px ;
114
+ font-weight : 300 ;
115
+ line-height : 56px ;
116
+ letter-spacing : -1px ;
117
+ margin-bottom : 0 ;
118
+
119
+ @include media-query (279px ) {
120
+ float : none ;
121
+ }
122
+ }
123
+
124
+ #navigation {
125
+ float : right ;
126
+ line-height : 56px ;
127
+
128
+ .nav-link {
129
+ line-height : 1.5 ;
130
+
131
+ & :not (:last-child ) {
132
+ margin-right : 20px ;
133
+ }
134
+ }
135
+ @include media-query ($on-mobile ) {
136
+
137
+ line-height : 30px ;
138
+ .nav-link {
139
+ & :not (:last-child ) {
140
+ margin-right : 15px ;
141
+ }
142
+ }
143
+
144
+ }
145
+ }
146
+
147
+ /* *
148
+ * Footer styles
149
+ *
150
+ */
151
+
146
152
.footer {
147
153
max-width : -webkit-calc (#{$content-width } - (#{$spacing-unit } * 2 ));
148
154
max-width : calc (#{$content-width } - (#{$spacing-unit } * 2 ));
@@ -160,6 +166,12 @@ p a, footer a {
160
166
}
161
167
}
162
168
169
+ /* *
170
+ * Body styles
171
+ *
172
+ */
173
+
174
+
163
175
.wrapper {
164
176
max-width : -webkit-calc (#{$content-width } - (#{$spacing-unit } * 2 ));
165
177
max-width : calc (#{$content-width } - (#{$spacing-unit } * 2 ));
@@ -177,19 +189,21 @@ p a, footer a {
177
189
}
178
190
}
179
191
180
-
181
- #title {
182
- font-size : 32px ;
183
- font-weight : 300 ;
184
- line-height : 56px ;
185
- letter-spacing : -1px ;
186
- margin-bottom : 0 ;
187
-
188
- @include media-query (279px ) {
189
- float : none ;
192
+ #main {
193
+ padding : 20px 0 ;
194
+ @include media-query ($on-palm ) {
195
+ padding : 0 ;
190
196
}
191
197
}
192
198
199
+ #main-wrapper {
200
+ max-width : calc (800px - (30px * 2 ));
201
+ margin-right : auto ;
202
+ margin-left : auto ;
203
+ padding-right : 30px ;
204
+ padding-left : 30px ;
205
+ }
206
+
193
207
.archive-title {
194
208
margin : 0 ;
195
209
font-weight : 100 ;
@@ -201,49 +215,32 @@ p a, footer a {
201
215
padding-bottom : 1em ;
202
216
}
203
217
204
- #navigation {
205
- float : right ;
206
- line-height : 56px ;
207
-
208
- .nav-link {
209
- line-height : 1.5 ;
218
+ /* *
219
+ * Links
220
+ */
210
221
211
- & :not (:last-child ) {
212
- margin-right : 20px ;
213
- }
214
- }
215
- @include media-query ($on-mobile ) {
216
-
217
- line-height : 30px ;
218
- .nav-link {
219
- & :not (:last-child ) {
220
- margin-right : 15px ;
221
- }
222
- }
222
+ a {
223
+ color : $text-color ;
224
+ text-decoration : none ;
225
+ }
223
226
227
+ nav a ,
228
+ div > a {
229
+ & :hover {
230
+ color : black ;
231
+ text-decoration : underline ;
232
+ transition : color 1s ;
224
233
}
225
234
}
226
235
227
- /* *
228
- * Main Page styles
229
- *
230
- */
236
+ p a , footer a {
237
+ border-bottom : 1px dashed #8c8c8c ;
231
238
232
- #main {
233
- padding : 20px 0 ;
234
- @include media-query ($on-palm ) {
235
- padding : 0 ;
239
+ & :hover {
240
+ border-bottom : 2px solid #8c8c8c ;
236
241
}
237
242
}
238
243
239
- #main-wrapper {
240
- max-width : calc (800px - (30px * 2 ));
241
- margin-right : auto ;
242
- margin-left : auto ;
243
- padding-right : 30px ;
244
- padding-left : 30px ;
245
- }
246
-
247
244
/* *
248
245
* Footer specific styles
249
246
*
0 commit comments