Center the shared homepage navigation row
All checks were successful
DuneRealms Web CI / web (push) Successful in 3m44s
All checks were successful
DuneRealms Web CI / web (push) Successful in 3m44s
This commit is contained in:
parent
985e37e5eb
commit
791a6408ca
2 changed files with 2 additions and 6 deletions
|
|
@ -8,6 +8,8 @@ dune-shared-header[hidden]{display:none!important}
|
|||
:host .nav-inner{width:calc(100% - 64px);max-width:none;margin-inline:32px}
|
||||
@media(max-width:1120px){:host .nav-inner{width:calc(100% - 40px);margin-inline:20px}}
|
||||
@media(max-width:640px){:host .nav-inner{width:calc(100% - 28px);margin-inline:14px}}
|
||||
/* Centre the shared desktop menu and its account controls as one compact row. */
|
||||
@media(min-width:1121px){:host .nav-inner{max-width:1180px;margin-inline:auto;justify-content:center;gap:40px}}
|
||||
:host [hidden]{display:none!important}
|
||||
:host .nav-actions .button{min-height:42px;font-size:14px;border-radius:4px;font-family:var(--font);font-weight:700}
|
||||
:host .shared-account-group{position:relative}
|
||||
|
|
|
|||
|
|
@ -176,9 +176,3 @@ body.dr-design header.dune-site-header nav>.dr-account-menu{margin-left:auto}
|
|||
body.dr-design header.dune-site-header nav>.dr-account-menu>summary>img{display:block!important}
|
||||
body.dr-design header.dune-site-header .wordmark{display:block!important;line-height:0!important}
|
||||
body.dr-design header.dune-site-header nav[aria-label='Main navigation']>.dr-account-menu>summary>img{display:block!important}
|
||||
/* Keep the desktop menu and account controls together in the centre of the masthead. */
|
||||
@media(min-width:1241px){
|
||||
.dr-header-bar{justify-content:center}
|
||||
body.dr-design header.dune-site-header nav[aria-label='Main navigation']{flex:0 1 auto!important;margin-inline:0!important}
|
||||
body.dr-design header.dune-site-header nav>.dr-account-menu{margin-left:12px}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff