File tree Expand file tree Collapse file tree 2 files changed +67
-12
lines changed Expand file tree Collapse file tree 2 files changed +67
-12
lines changed Original file line number Diff line number Diff line change 17
17
<!--Full screen navigation section-->
18
18
< nav class ="navigation navbar sticky-top navbar-light ">
19
19
< div class ="navigation__brand ">
20
- < a class ="navbar-brand " href ="index.html ">
20
+ < a class ="navigation__brand-link navbar-brand " href ="index.html ">
21
21
< img class ="navigation__brand-img " src ="static/images/site_logo/python_sprints_logo.png " alt ="Python Sprints Logo ">
22
22
< span class ="navigation__brand-name "> Python Sprints</ span >
23
23
</ a >
Original file line number Diff line number Diff line change 50
50
border-radius : 6px ;
51
51
}
52
52
53
+ .navigation__brand-link {
54
+ padding-top : 2px ;
55
+ padding-bottom : 2px ;
56
+ }
57
+
53
58
.navigation__brand-name {
54
- font-size : 1.2 em ;
59
+ font-size : 0.8 em ;
55
60
color : # ffffff ;
56
61
font-family : 'Share Tech Mono' , monospace;
57
62
}
58
63
59
- @media (max -width: 450px ) {
64
+ @media (min -width: 450px ) {
60
65
.navigation__brand-name {
61
- font-size : 0.8 em ;
66
+ font-size : 1.2 em ;
62
67
}
63
68
}
64
69
83
88
-o-user-select : none;
84
89
}
85
90
86
- .navigation__title {
91
+ .navigation__title {
87
92
font-family : 'Share Tech Mono' , monospace;
88
93
color : # ffffff ;
89
- font-size : 6 em ;
94
+ font-size : 3.5 em ;
90
95
margin-top : 40vh ;
91
96
text-align : center;
97
+ }
98
+ .navigation__subtitle {
99
+ font-size : 1.16em ;
100
+ font-family : 'Share Tech Mono' , monospace;
101
+ color : # 818181 ;
102
+ text-align : center;
103
+ margin-bottom : 50% ;
104
+ }
105
+
106
+ @media (min-width : 450px ) {
107
+ .navigation__title {
108
+ font-size : 4.3em ;
109
+ margin-top : 40vh ;
110
+ }
111
+ .navigation__subtitle {
112
+ font-size : 1.43em ;
113
+ }
92
114
}
93
115
94
- .navigation__subtitle {
95
- font-family : 'Share Tech Mono' , monospace;
96
- color : # 818181 ;
116
+ @media (min-width : 650px ) {
117
+ .navigation__title {
118
+ font-size : 5em ;
119
+ margin-top : 40vh ;
120
+ }
121
+ .navigation__subtitle {
122
+ font-size : 1.66em ;
123
+ }
124
+ }
125
+
126
+ @media (min-width : 1200px ) {
127
+ .navigation__title {
128
+ font-size : 6em ;
129
+ margin-top : 40vh ;
130
+ }
131
+ .navigation__subtitle {
97
132
font-size : 2em ;
98
- text-align : center;
99
- margin-bottom : 50% ;
133
+ }
100
134
}
101
135
102
136
.navigation__hamburger-bar {
157
191
}
158
192
159
193
.section-title {
160
- font-size : 4 em ;
194
+ font-size : 2.5 em ;
161
195
color : # 072948 ;
162
196
text-align : center;
163
197
font-family : 'Encode Sans Expanded' , sans-serif;
164
198
margin-top : 5% ;
165
199
margin-bottom : 2.5% ;
166
200
}
167
201
202
+
203
+ @media (min-width : 376px ) {
204
+ .section-title {
205
+ font-size : 3em ;
206
+ }
207
+ }
208
+
209
+ @media (min-width : 500px ) {
210
+ .section-title {
211
+ font-size : 4em ;
212
+ }
213
+ }
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
168
223
.section-content {
169
224
font-size : 1.1em ;
170
225
text-align : center;
You can’t perform that action at this time.
0 commit comments