Skip to content

Commit

Permalink
announcement bar:
Browse files Browse the repository at this point in the history
- z-index above navbar
- use shadow instead of border
  • Loading branch information
slorber committed Aug 11, 2022
1 parent 54df70e commit ec65a40
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -15,7 +15,8 @@
height: var(--docusaurus-announcement-bar-height);
background-color: var(--ifm-color-white);
color: var(--ifm-color-black);
border-bottom: 1px solid var(--ifm-color-emphasis-100);
box-shadow: var(--ifm-global-shadow-lw);
z-index: calc(var(--ifm-z-index-fixed) + 1); /* just above the navbar */
}

html[data-announcement-bar-initially-dismissed='true'] .announcementBar {
Expand Down

0 comments on commit ec65a40

Please sign in to comment.