File tree 3 files changed +13
-33
lines changed
3 files changed +13
-33
lines changed Original file line number Diff line number Diff line change 2
2
< div id ="mobile-menu ">
3
3
< div id ="nav-button " class ="fa fa-bars fa-2x button "> </ div >
4
4
</ div >
5
- < section id ="logo "> < a href ="/ " class ="express "> Express</ a >
6
- </ section >
5
+ < div class ="logo-container ">
6
+ < a href ="/ " class ="hidden-dark " title ="Go to homepage " aria-label ="Go to homepage ">
7
+ < img src ="/images/brand/logotype-light.svg " alt ="Express.js logo " width ="90 " height ="30 "/>
8
+ </ a >
9
+ < a href ="/ " class ="hidden-light " title ="Go to homepage " aria-label ="Go to homepage ">
10
+ < img src ="/images/brand/logotype-dark.svg " alt ="Express.js logo " width ="90 " height ="30 "/>
11
+ </ a >
12
+ </ div >
7
13
< div id ="navbar ">
8
14
< input id ="q " placeholder ="🔎 search ">
9
15
< ul id ="navmenu ">
Original file line number Diff line number Diff line change @@ -253,23 +253,10 @@ a {
253
253
}
254
254
255
255
/* logo */
256
-
257
- # logo {
258
- width : auto;
259
- z-index : 1 ;
260
- }
261
-
262
- # logo a {
256
+ .logo-container a {
263
257
text-decoration : none;
264
258
}
265
259
266
- # logo .express {
267
- display : block;
268
- font : 25px "Helvetica Neue" , "Open Sans" , sans-serif;
269
- font-weight : 100 ;
270
- color : var (--card-fg );
271
- }
272
-
273
260
# description .express {
274
261
display : block;
275
262
font : 4.5em "Helvetica Neue" , "Open Sans" , sans-serif;
@@ -1039,21 +1026,8 @@ h2 a {
1039
1026
margin-right : 5% ;
1040
1027
}
1041
1028
1042
- # logo {
1043
- position : static;
1044
- width : 100% ;
1045
- margin-left : 60px ;
1046
- }
1047
-
1048
- # logo a {
1049
- display : table !important ;
1050
- margin : 0 auto;
1051
- text-decoration : none;
1052
- }
1053
-
1054
- # logo .express {
1055
- margin-top : 0px ;
1056
- font-weight : bold;
1029
+ .logo-container {
1030
+ margin-inline : auto;
1057
1031
}
1058
1032
1059
1033
# home-menu {
@@ -1396,7 +1370,7 @@ strong.eol {
1396
1370
}
1397
1371
1398
1372
.hidden-dark {
1399
- display : block ;
1373
+ display : flex ;
1400
1374
}
1401
1375
1402
1376
.hidden-light {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ html.dark-mode {
9
9
}
10
10
11
11
.hidden-light {
12
- display : block ;
12
+ display : flex ;
13
13
}
14
14
15
15
.hidden-dark {
You can’t perform that action at this time.
0 commit comments