34
34
position : relative ;
35
35
padding : 0px ;
36
36
font-family : " Roboto" , sans-serif ;
37
- background-image : url (" {{ " images/django-cake.png " | relURL }}" );
37
+ background-image : url (' {{ "images/django-cake.png" | relURL }}' );
38
38
background-size : contain ;
39
39
background-repeat : no-repeat ;
40
40
background-position : top ;
@@ -77,21 +77,37 @@ header {
77
77
white-space : nowrap ;
78
78
}
79
79
80
+ a :hover , a :focus {
81
+ color : $base-color-fg ;
82
+ text-decoration : underline ;
83
+ }
84
+
80
85
.nav-container {
81
86
background-color : $theme-color-primary ;
82
- margin-top : 100 px ;
87
+ margin-top : 50 px ;
83
88
border-width : 5px 0 5px 0 ;
84
89
border-color : #000 ;
85
90
border-style : solid ;
86
- padding : 20px ;
91
+ padding : 10px ;
92
+
93
+ @media only screen and (min-width : 800px ) {
94
+ margin-top : 100px ;
95
+ padding : 20px ;
96
+ }
87
97
}
88
98
89
99
.logo-and-nav {
90
100
display : flex ;
91
101
align-items : center ;
92
102
width : 100% ;
93
103
column-gap : 20px ;
94
- font-size : 1.8em ;
104
+ font-size : 1.3em ;
105
+
106
+ @media only screen and (min-width : 800px ) {
107
+ column-gap : 20px ;
108
+ font-size : 1.8em ;
109
+ }
110
+
95
111
.logo {
96
112
margin : -70px 0 ;
97
113
}
@@ -108,15 +124,14 @@ header {
108
124
.logo {
109
125
img {
110
126
display : block ;
111
- width : 150px ;
112
- }
113
- }
127
+ width : 100px ;
128
+ margin-right : -10px ;
114
129
115
- @media only screen and (max-width : 800px ) {
116
- .logo img {
117
- margin-right : -20px ; // This is empty space in the image
130
+ @media screen and (min-width : 800px ) {
131
+ width : 150px ;
132
+ margin-right : -20px ; // This is empty space in the image
133
+ }
118
134
}
119
-
120
135
}
121
136
}
122
137
@@ -132,18 +147,32 @@ header {
132
147
}
133
148
134
149
h1 {
135
- font-size : 3.5 em ;
150
+ font-size : 2.2 em ;
136
151
margin : 20px 0 ;
152
+
153
+ @media only screen and (min-width : 800px ) {
154
+ font-size : 3.5em ;
155
+ }
137
156
}
138
157
139
158
p .subtitle {
140
- font-size : 2.5em ;
141
- margin-bottom : 40px ;
159
+ font-size : 1.5em ;
160
+ margin-bottom : 30px ;
161
+
162
+ @media only screen and (min-width : 800px ) {
163
+ font-size : 2.5em ;
164
+ margin-bottom : 40px ;
165
+ }
142
166
}
143
167
144
168
p .subsubtitle {
145
- font-size : 2em ;
146
- margin-bottom : 40px ;
169
+ font-size : 1.2em ;
170
+ margin-bottom : 30px ;
171
+
172
+ @media only screen and (min-width : 800px ) {
173
+ font-size : 2em ;
174
+ margin-bottom : 40px ;
175
+ }
147
176
}
148
177
}
149
178
@@ -310,12 +339,32 @@ section.timeline {
310
339
311
340
article {
312
341
313
- margin : 40px 0 ;
314
- font-size : 1.5em ;
342
+ margin : 30px 0 ;
343
+ font-size : 1em ;
344
+
345
+ @media only screen and (min-width : 800px ) {
346
+ margin : 40px 0 ;
347
+ font-size : 1.5em ;
348
+ }
349
+
350
+ h1 {
351
+ font-size : 1.3em ;
352
+ margin : 20px 0 ;
353
+
354
+ @media only screen and (min-width : 800px ) {
355
+ font-size : 2em ;
356
+ margin : 20px 0 ;
357
+ }
358
+ }
315
359
316
360
h2 {
317
- font-size : 2 em ;
361
+ font-size : 1.5 em ;
318
362
margin : 20px 0 ;
363
+
364
+ @media only screen and (min-width : 800px ) {
365
+ font-size : 2em ;
366
+ margin : 20px 0 ;
367
+ }
319
368
}
320
369
321
370
p {
@@ -344,11 +393,15 @@ article {
344
393
345
394
footer {
346
395
347
- margin-top : 500 px ;
396
+ margin-top : 300 px ;
348
397
color : $base-color-fg ;
349
398
background : rgba (0 , 0 , 0 , 0.8 );
399
+ font-size : 1em ;
350
400
351
- font-size : 1.4em ;
401
+ @media screen and (min-width : 800px ) {
402
+ margin-top : 500px ;
403
+ font-size : 1.4em ;
404
+ }
352
405
353
406
h5 {
354
407
text-transform : uppercase ;
@@ -394,27 +447,28 @@ footer {
394
447
}
395
448
}
396
449
}
450
+
397
451
@media only screen and (max-width : 800px ) {
398
452
.footer-columns {
399
453
display : block ;
400
454
padding : 0 ;
401
455
column-gap : 0 ;
456
+
402
457
.logo {
403
458
img {
404
459
display : inline-block ;
405
460
width : 50% ;
406
461
}
407
462
}
408
- .footer-column {
463
+
464
+ .footer-column {
409
465
margin-top : 20px ;
410
466
width : auto ;
411
467
text-align : center ;
412
- }
468
+ padding : 0.5rem ;
469
+ }
413
470
}
414
-
415
-
416
- }
417
-
471
+ }
418
472
}
419
473
420
474
.event-table {
0 commit comments