11@use ' colours' ;
2-
3- $max-width : 1400px ;
4-
5- $baseFontSize : 16px ;
6- $monospaceFontSize : $baseFontSize * 0.9 ;
7- $smallLayoutUnit : 5px ;
8- $layoutUnit : 10px ;
9-
10- $footer-height : 216px ;
11-
12- $font-family : " objektiv-mk1" , Helvetica , Arial , sans-serif !important ;
2+ @use " sizes" ;
3+ @use " fonts" ;
134
145html , body {
15- max-width : $max-width ;
6+ max-width : sizes . $max-width ;
167 margin : 0 auto ;
178 padding : 0 ;
189 height : 100% ;
@@ -25,26 +16,19 @@ html, body {
2516
2617.post-index , .default-post , .default-author {
2718 min-height : 100% ;
28- padding-bottom : $footer-height ;
29- margin-bottom : - $footer-height ;
19+ padding-bottom : sizes . $footer-height ;
20+ margin-bottom : - ( sizes . $footer-height ) ;
3021}
3122
3223/* Font Settings */
33- /*
34- Sizes set to PX here, but if base size is set to 16px, you can
35- replace with REM.
36- */
37- $font-light : 300 ;
38- $font-regular : 400 ;
39- $font-medium : 500 ;
40- $font-bold : 700 ;
24+
4125body {
42- font-family : $font-family ;
26+ font-family : fonts . $font-family ;
4327}
4428
4529a .link {
4630 /* Links & Buttons */
47- font-weight : $font-medium ;
31+ font-weight : fonts . $font-medium ;
4832 border-bottom : 5px solid ;
4933 padding-bottom : 0 ;
5034 background-color : transparent ;
@@ -60,49 +44,49 @@ a.link {
6044a {
6145 color : inherit ;
6246 text-decoration : inherit ;
63- font-weight : $font-bold ;
47+ font-weight : fonts . $font-bold ;
6448}
6549
6650a :hover {
6751 color : colours .$teal ;
6852}
6953
7054h1 , h2 , h3 , h4 , h5 , h6 {
71- font-family : $font-family ;
55+ font-family : fonts . $font-family ;
7256}
7357
7458h1 {
75- font-size : $baseFontSize * 2.5 ;
76- font-weight : $font-bold ;
59+ font-size : fonts . $baseFontSize * 2.5 ;
60+ font-weight : fonts . $font-bold ;
7761 text-align : center ;
7862}
7963
8064h2 {
81- font-size : $baseFontSize * 1.5 ;
82- font-weight : $font-bold ;
65+ font-size : fonts . $baseFontSize * 1.5 ;
66+ font-weight : fonts . $font-bold ;
8367}
8468
8569h3 {
86- font-size : $baseFontSize * 1.25 ;
87- font-weight : $font-bold ;
70+ font-size : fonts . $baseFontSize * 1.25 ;
71+ font-weight : fonts . $font-bold ;
8872}
8973
9074h4 {
91- font-size : $baseFontSize ;
92- font-weight : $font-bold ;
75+ font-size : fonts . $baseFontSize ;
76+ font-weight : fonts . $font-bold ;
9377}
9478h5 {
95- font-weight : $font-medium ;
79+ font-weight : fonts . $font-medium ;
9680}
9781h6 {
98- font-weight : $font-regular ;
82+ font-weight : fonts . $font-regular ;
9983}
10084
10185p {
10286 font-size : 16px ;
103- font-weight : $font-light ;
87+ font-weight : fonts . $font-light ;
10488 span {
105- font-weight : $font-medium
89+ font-weight : fonts . $font-medium
10690 }
10791}
10892
@@ -172,11 +156,11 @@ header nav {
172156}
173157
174158.category > a {
175- font-weight : $font-light ;
159+ font-weight : fonts . $font-light ;
176160}
177161
178162.cta > a {
179- font-weight : $font-bold ;
163+ font-weight : fonts . $font-bold ;
180164}
181165
182166.header-nav_top {
0 commit comments