55
66@charset " utf-8" ;
77
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 ;
1411$base-font-size : 16px ;
1512$base-font-weight : 400 ;
1613$small-font-size : $base-font-size * 0.875 ;
@@ -28,7 +25,6 @@ $grey-color-dark: darken($grey-color, 20%);
2825
2926// Width of the content area
3027$content-width : 800px ;
31-
3228$on-mobile : 335px ;
3329$on-palm : 600px ;
3430$on-laptop : 800px ;
@@ -42,6 +38,7 @@ $on-laptop: 800px;
4238/* *
4339 * Basic styling
4440 */
41+
4542html ,
4643body {
4744 min-height : 100% ;
@@ -50,18 +47,11 @@ body {
5047 padding : 0 ;
5148}
5249
53- // * {
54- // box-sizing: border-box;
55- // }
56-
5750body {
5851 background-image : url (" /assets/images/bg0.jpg" );
5952 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-
6253 font : $base-font-weight #{$base-font-size } / #{$base-line-height }
6354 $base-font-family ;
64-
6555 color : $text-color ;
6656 background-color : $background-color ;
6757 -webkit-text-size-adjust : 100% ;
7868 }
7969}
8070
71+
72+
8173#header ,
8274#main ,
8375.footer {
@@ -97,32 +89,6 @@ body {
9789 overflow : auto ;
9890}
9991
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-
12692/* *
12793 * Header specific styles
12894 *
@@ -143,6 +109,46 @@ p a, footer a {
143109 padding-top : 2em ;
144110}
145111
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+
146152.footer {
147153 max-width : -webkit-calc (#{$content-width } - (#{$spacing-unit } * 2 ));
148154 max-width : calc (#{$content-width } - (#{$spacing-unit } * 2 ));
@@ -160,6 +166,12 @@ p a, footer a {
160166 }
161167}
162168
169+ /* *
170+ * Body styles
171+ *
172+ */
173+
174+
163175.wrapper {
164176 max-width : -webkit-calc (#{$content-width } - (#{$spacing-unit } * 2 ));
165177 max-width : calc (#{$content-width } - (#{$spacing-unit } * 2 ));
@@ -177,19 +189,21 @@ p a, footer a {
177189 }
178190}
179191
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 ;
190196 }
191197}
192198
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+
193207.archive-title {
194208 margin : 0 ;
195209 font-weight : 100 ;
@@ -201,49 +215,32 @@ p a, footer a {
201215 padding-bottom : 1em ;
202216}
203217
204- #navigation {
205- float : right ;
206- line-height : 56px ;
207-
208- .nav-link {
209- line-height : 1.5 ;
218+ /* *
219+ * Links
220+ */
210221
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+ }
223226
227+ nav a ,
228+ div > a {
229+ & :hover {
230+ color : black ;
231+ text-decoration : underline ;
232+ transition : color 1s ;
224233 }
225234}
226235
227- /* *
228- * Main Page styles
229- *
230- */
236+ p a , footer a {
237+ border-bottom : 1px dashed #8c8c8c ;
231238
232- #main {
233- padding : 20px 0 ;
234- @include media-query ($on-palm ) {
235- padding : 0 ;
239+ & :hover {
240+ border-bottom : 2px solid #8c8c8c ;
236241 }
237242}
238243
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-
247244/* *
248245 * Footer specific styles
249246 *
0 commit comments