@@ -324,19 +324,19 @@ dl > dt span ~ em {
324324 z-index : 1 ;
325325 height : 40px ;
326326 width : 100% ;
327- max-width : 100vw ;
328- padding : 0 1rem 0 45px ;
329327 display : flex;
330328 background-color : white;
331329 }
332330 . nav-items-wrapper {
333331 display : flex;
334332 flex : auto;
335- padding : .5rem ;
333+ padding : .25rem ;
334+ align-items : stretch;
336335 }
337336 . nav-logo {
338337 margin-right : 1rem ;
339338 flex-shrink : 0 ;
339+ align-self : center;
340340 }
341341 . nav-content img {
342342 display : block;
@@ -352,64 +352,47 @@ dl > dt span ~ em {
352352 display : flex;
353353 flex : auto;
354354 border : 1px solid # a9a9a9;
355- }
356- . nav-content . search : hover {
357- box-shadow : 0 1px 6px 0 rgba ( 32 , 33 , 36 , 0.28 ) ;
358- border-color : rgba ( 223 , 225 , 229 , 0 ) ;
355+ align-items : stretch;
359356 }
360357 . nav-content . search input [type = search ] {
361358 border : 0 ;
362- outline : 0 ;
363- padding-left : 20px ;
359+ padding-left : 24px ;
364360 flex : 1 ;
365361 }
366362 . nav-content . search input [type = submit ] {
367363 height : 100% ;
368- appearance : none;
369- -webkit-appearance : none;
370364 box-shadow : none;
371365 border : 0 ;
372- outline : 1px solid # 999 ;
366+ border-left : 1px solid # a9a9a9 ;
373367 cursor : pointer;
374- background-color : # f0f0f0;
375368 margin-right : 0 ;
376369 }
377- . nav-content . search input [type = submit ]: hover {
378- border-color : # a9a9a9;
379- }
380370 . nav-content . search svg {
381371 position : absolute;
372+ align-self : center;
373+ padding-left : 4px ;
382374 }
383375 . toggler__input {
384376 display : none;
385377 }
386378 . toggler__label {
387379 width : 40px ;
388380 cursor : pointer;
389- background-color : transparent;
390- border : 1px solid white;
391381 display : flex;
392382 align-items : center;
393383 justify-content : center;
394384 padding : 8px ;
395385 flex-shrink : 0 ;
396386 }
397- . toggler__label : focus {
398- background-color : # eee;
399- border : 1px solid # ededed;
400- box-shadow : rgba ( 0 , 0 , 0 , 0.25 ) 1px 0 2px 0 ;
401- }
402- . toggler__label : hover {
403- background-color : # eee;
404- border : 1px solid # ededed;
405- box-shadow : rgba ( 0 , 0 , 0 , 0.25 ) 1px 0 2px 0 ;
387+ . toggler__label : hover , . toggler__label : focus {
388+ background-color : rgba ( 127 127 127 / 50% ) ;
406389 }
407390 . toggler__label > span {
408391 position : relative;
409392 flex : none;
410393 height : 2px ;
411394 width : 100% ;
412- background : # 444 ;
395+ background : currentColor ;
413396 transition : all 400ms ease;
414397 }
415398 . toggler__label > span :: before ,
@@ -496,38 +479,9 @@ dl > dt span ~ em {
496479 . menu ul li {
497480 margin-bottom : 0.5rem ;
498481 }
499- . language_switcher_placeholder ,
500- . version_switcher_placeholder {
501- position : relative;
502- border : 1px solid # a8a8a8;
503- height : 30px ;
504- padding-right : 7px ;
505- }
506482 . language_switcher_placeholder {
507483 margin-top : 2rem ;
508484 }
509- . language_switcher_placeholder :: after ,
510- . version_switcher_placeholder :: after {
511- content : url ( '../_static/caret-down.svg' ) ;
512- position : absolute;
513- top : 7px ;
514- width : 15px ;
515- height : 15px ;
516- right : 0 ;
517- pointer-events : none;
518- }
519- . language_switcher_placeholder select ,
520- . version_switcher_placeholder select {
521- -webkit-appearance : none;
522- appearance : none;
523- border : 0 ;
524- height : 100% ;
525- background-color : white;
526- }
527- . language_switcher_placeholder : focus-visible ,
528- . version_switcher_placeholder : focus-visible {
529- outline-offset : 5px ;
530- }
531485 . language_switcher_placeholder select {
532486 width : 100% ;
533487 }
0 commit comments