Skip to content

Commit

Permalink
add css rules to hide header and footer until they are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
shsteimer committed Dec 7, 2023
1 parent efc8214 commit f410871
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ header {
height: var(--nav-height);
}

header .header,
footer .footer {
visibility: hidden;
}

header .header[data-block-status="loaded"],
footer .footer[data-block-status="loaded"] {
visibility: visible;
}

h1, h2, h3,
h4, h5, h6 {
font-family: var(--heading-font-family);
Expand Down

0 comments on commit f410871

Please sign in to comment.