File tree 3 files changed +18
-3
lines changed
3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
- < h1 class ="noBorder noMargin ">
1
+ < h1 class ="noBorder noMargin logoHeading ">
2
2
< a href ="/ " class ="site-title m10sm ">
3
3
< picture >
4
4
< source srcset ="/assets/images/wattle-logo-dark.svg " media ="(prefers-color-scheme: dark) ">
Original file line number Diff line number Diff line change 1
- < ul id ="navUl ">
1
+ < ul class =" navUl " id ="navUl ">
2
2
< li class ="renderOnSm ">
3
3
< input id ="menutoggle " class ="menucheck " type ="checkbox " onclick ="toggleNav() ">
4
4
< label for ="menutoggle " class ="menutext "> Menu</ label >
Original file line number Diff line number Diff line change @@ -50,15 +50,16 @@ nav {
50
50
width : 100% ;
51
51
border-top : 1px solid var (--navBorder );
52
52
border-bottom : 1px solid var (--navBorder );
53
+ background : var (--navBg );
53
54
}
54
55
55
56
nav ul {
56
57
list-style-type : none;
57
58
margin : 0 ;
58
59
padding : 0 ;
59
60
overflow : hidden;
60
- background : var (--navBg );
61
61
line-height : 1.15 ;
62
+ background : var (--navBg );
62
63
}
63
64
64
65
nav ul li : not (.renderOnSm ) {
@@ -212,6 +213,19 @@ pre.highlight code {
212
213
# contentwrap {
213
214
max-width : 980px ;
214
215
}
216
+
217
+ nav ul {
218
+ max-width : calc (980px + 32px );
219
+ margin-left : auto;
220
+ margin-right : auto;
221
+ }
222
+
223
+ .logoHeading {
224
+ display : flex;
225
+ margin-left : auto;
226
+ margin-right : auto;
227
+ max-width : calc (980px + 32px );
228
+ }
215
229
}
216
230
217
231
@media screen and (max-width : 980px ) {
@@ -225,6 +239,7 @@ pre.highlight code {
225
239
}
226
240
nav {
227
241
max-height : 48px ;
242
+ background : var (--navBg );
228
243
}
229
244
nav ul {
230
245
position : relative;
You can’t perform that action at this time.
0 commit comments