File tree Expand file tree Collapse file tree 2 files changed +17
-24
lines changed
Expand file tree Collapse file tree 2 files changed +17
-24
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,8 @@ footer {
138138}
139139
140140# hamburger {
141+ margin-top : -5px ;
141142 display : none;
142- position : absolute;
143- top : 0px ;
144- right : 0px ;
145143 background : none;
146144 border : none;
147145 cursor : pointer;
@@ -151,9 +149,9 @@ footer {
151149# hamburger span {
152150 display : block;
153151 width : 20px ;
154- height : 2.5 px ;
152+ height : 3 px ;
155153 background-color : # 555 ;
156- margin : 2 px 0 ;
154+ margin : 3 px 0 ;
157155 transition : 0.3s ;
158156}
159157
@@ -189,7 +187,7 @@ footer {
189187 color : # 555 ;
190188 text-decoration : none;
191189 font-weight : bold;
192- font-size : 14 px ;
190+ font-size : 15 px ;
193191}
194192
195193# mobile-menu li a : hover {
@@ -452,7 +450,7 @@ mjx-container {
452450 }
453451
454452 h1 {
455- font-size : 125 % ;
453+ font-size : 155 % ;
456454 }
457455
458456 h2 {
@@ -461,7 +459,7 @@ mjx-container {
461459 }
462460
463461 # responsive-logo {
464- height : 40 px ;
462+ height : 50 px ;
465463 }
466464
467465 # menu {
@@ -484,6 +482,7 @@ mjx-container {
484482 .platform-layout .left-panel {
485483 border-radius : 10px ;
486484 }
485+
487486}
488487
489488/* Medium screens: 500px to 1000px */
@@ -493,7 +492,7 @@ mjx-container {
493492 }
494493
495494 h1 {
496- font-size : 140 % ;
495+ font-size : 170 % ;
497496 }
498497
499498 h2 {
@@ -523,7 +522,7 @@ mjx-container {
523522/* Large screens: 1000px to 1300px */
524523@media screen and (min-width : 1000px ) and (max-width : 1299px ) {
525524 h1 {
526- font-size : 150 % ;
525+ font-size : 180 % ;
527526 }
528527
529528 h2 {
@@ -552,7 +551,7 @@ mjx-container {
552551 }
553552
554553 h1 {
555- font-size : 150 % ;
554+ font-size : 180 % ;
556555 }
557556
558557 h2 {
Original file line number Diff line number Diff line change @@ -82,13 +82,15 @@ <h1 class="top">
8282 "> </ span >
8383 </ a >
8484 </ li >
85+ < li >
86+ < button id ="hamburger " aria-label ="Menu ">
87+ < span > </ span >
88+ < span > </ span >
89+ < span > </ span >
90+ </ button >
91+ </ li >
8592 </ ul >
8693 </ div >
87- < button id ="hamburger " aria-label ="Menu ">
88- < span > </ span >
89- < span > </ span >
90- < span > </ span >
91- </ button >
9294
9395 < div id ="mobile-menu " aria-hidden ="true ">
9496 < ul >
@@ -174,14 +176,6 @@ <h1>A JavaScript Finite Element Simulation Library</h1>
174176 }
175177 }
176178 } ) ;
177-
178- // Optional: close on ESC
179- document . addEventListener ( 'keydown' , ( ev ) => {
180- if ( ev . key === 'Escape' && mobileMenu . classList . contains ( 'open' ) ) {
181- mobileMenu . classList . remove ( 'open' ) ;
182- hamburger . setAttribute ( 'aria-expanded' , 'false' ) ;
183- }
184- } ) ;
185179 } ) ;
186180 </ script >
187181
You can’t perform that action at this time.
0 commit comments