Skip to content

Commit 86e77c8

Browse files
committed
Remove navbar.is-transparent
1 parent 15697c2 commit 86e77c8

2 files changed

Lines changed: 3 additions & 26 deletions

File tree

assets/theme-css/bulma.css

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -353,35 +353,12 @@ a.navbar-item:hover {
353353
.navbar {
354354
min-height: 3.25rem;
355355
}
356-
.navbar.is-transparent .navbar-link.is-active,
357-
.navbar.is-transparent .navbar-link:focus,
358-
.navbar.is-transparent .navbar-link:hover,
359-
.navbar.is-transparent a.navbar-item.is-active,
360-
.navbar.is-transparent a.navbar-item:focus,
361-
.navbar.is-transparent a.navbar-item:hover {
362-
background-color: transparent !important;
363-
}
364-
.navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,
365-
.navbar.is-transparent
366-
.navbar-item.has-dropdown.is-hoverable:focus
367-
.navbar-link,
368-
.navbar.is-transparent
369-
.navbar-item.has-dropdown.is-hoverable:focus-within
370-
.navbar-link,
371-
.navbar.is-transparent
372-
.navbar-item.has-dropdown.is-hoverable:hover
373-
.navbar-link {
374-
background-color: transparent !important;
375-
}
376356
.navbar-dropdown a.navbar-item:focus,
377-
.navbar-dropdown a.navbar-item:hover,
378-
.navbar.is-transparent .navbar-dropdown a.navbar-item:focus,
379-
.navbar.is-transparent .navbar-dropdown a.navbar-item:hover {
357+
.navbar-dropdown a.navbar-item:hover {
380358
background-color: #f5f5f5;
381359
color: #0a0a0a;
382360
}
383-
.navbar-dropdown a.navbar-item.is-active,
384-
.navbar.is-transparent .navbar-dropdown a.navbar-item.is-active {
361+
.navbar-dropdown a.navbar-item.is-active {
385362
background-color: #f5f5f5;
386363
color: #485fc7;
387364
}

layouts/partials/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{- $navbar := .Site.Params.navbar }}
33
{{- $navbarLogo := .Site.Params.navbarlogo }}
44
{{- $navbarLogoShow := .Site.Params.navbarlogoshow }}
5-
<nav id="nav" class="navbar is-fresh is-transparent no-shadow" role="navigation" aria-label="main navigation">
5+
<nav id="nav" class="navbar is-fresh no-shadow" role="navigation" aria-label="main navigation">
66
<div class="container is-max-widescreen">
77
<div class="navbar-brand">
88
{{ if or (not .IsHome) ($navbarLogoShow) }}

0 commit comments

Comments
 (0)