diff --git a/static/style.css b/static/style.css index f43376f..437f730 100644 --- a/static/style.css +++ b/static/style.css @@ -531,11 +531,19 @@ a.navbar-subtitle:hover { padding-top: .5rem; } +/* transition: none -- Bootstrap's .nav-link fades color, background and + border over .15s. The browser may compute styles once while only + bootstrap.min.css has loaded; when style.css arrives, that fade ran + from Bootstrap's blue link color to ours, so every sidebar link + flickered blue on each page load (and the active link's border faded + in). Whether a change animates depends on the new style, so turning + the transition off here stops it. */ .sidebar .nav-link { color: var(--yw-nav-link); font-size: .85rem; padding: .5rem 1rem; border-radius: 0; + transition: none; } .sidebar .nav-link:hover {