navbar.css
ASCII text
1.navbar { 2display: flex; 3align-items: center; 4justify-content: space-between; 5background: var(--color-navbar); 6height: var(--height-navbar); 7box-shadow: var(--shadow-navbar); 8border: var(--border-navbar); 9padding: var(--padding-navbar); 10border-radius: var(--radius-navbar); 11color: var(--color-navbar-text); 12z-index: 1; 13} 14 15.navrail { 16display: flex; 17flex-direction: column; 18align-items: center; 19justify-content: space-between; 20background: var(--color-navrail); 21width: var(--width-navrail); 22height: 100%; 23box-shadow: var(--shadow-navrail); 24border: var(--border-navrail); 25padding: var(--padding-navrail); 26border-radius: var(--radius-navrail); 27color: var(--color-navrail-text); 28z-index: 1; 29} 30 31.navbar ul { 32display: flex; 33list-style: none; 34gap: var(--gap-navbar); 35padding: 0; 36margin: 0 !important; 37} 38 39.navrail ul { 40display: flex; 41flex-direction: column; 42list-style: none; 43gap: var(--gap-navrail); 44padding: 0; 45margin: 0 !important; 46} 47 48.navrail ul :any-link { 49color: var(--color-navrail-link); 50text-decoration: none; 51} 52 53.navrail ul :any-link:hover { 54color: var(--color-navrail-link-hover); 55text-decoration: none; 56} 57 58.navrail ul li > a { 59display: flex; 60flex-direction: column; 61text-align: center; 62min-height: var(--height-navrail-button); 63} 64 65.navrail ul li.selected :any-link { 66color: var(--color-navrail-link-selected); 67} 68 69.navbar { 70width: 100%; 71} 72 73.navbar :is(:any-link, a:hover:visited) { 74color: var(--color-navbar-link); 75min-width: var(--width-navbar-button); 76} 77 78.sidenav ul { 79list-style: none; 80margin: 0 !important; 81} 82 83.sidenav li > a { 84display: flex; 85gap: var(--gap-sidenav-item); 86padding: var(--padding-sidenav); 87margin: 0; 88color: var(--color-sidenav-text) !important; 89background: var(--color-sidenav); 90text-decoration: none; 91}