diff --git a/_includes/topnav.html b/_includes/topnav.html index e52a938a..24a334c0 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -1,8 +1,8 @@ {{ site.name }} - Guide - FAQ + Guide + FAQ diff --git a/css/main.css b/css/main.css index 4c489172..692d12f9 100644 --- a/css/main.css +++ b/css/main.css @@ -139,6 +139,11 @@ time { color: inherit; } +/* Override TypeDoc theme underline on hover. */ +.main-nav a:hover { + text-decoration: none; +} + .main-nav .nav-title { font-size: 18px; } @@ -149,7 +154,8 @@ time { .main-nav .nav-item { font-size: 14px; - padding: 0 12px; + padding: 18px 12px; + align-self: stretch; } .main-nav .icon { @@ -591,6 +597,10 @@ th, td { height: 56px; padding-left: 20px; } + + .main-nav .nav-item { + padding: 16px 12px; + } main { margin-top: 56px; diff --git a/css/theme.css b/css/theme.css index 066c8b74..30a2ac21 100644 --- a/css/theme.css +++ b/css/theme.css @@ -14,6 +14,10 @@ h1 { background: linear-gradient(315deg, #AF6AFF 0%, #6700DF 100%); } +.nav-item.active { + border-bottom: 2px solid #fff; +} + .hero-title, .hero-link, .main-nav {