Skip to content

Commit

Permalink
Make docs header more compact
Browse files Browse the repository at this point in the history
  • Loading branch information
seancolsen committed Oct 3, 2024
1 parent 967d7ad commit c65877b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,17 @@
border-bottom: 2px solid var(--md-primary-fg-color--light);
color: var(--md-primary-bg-color--lightest);
}

/* Make header title smaller */
.md-header__title { font-size: 0.8rem; }
[dir="ltr"] .md-header__title { margin-left: 0; }

/* Make header theme switcher smaller */
.md-header__option .md-header__button { padding: 0.2rem; }
.md-header__option .md-header__button { padding: 0.2rem; }
.md-header__option .md-header__button svg { height: 1rem; width: 1rem; }

/* Make version switcher smaller */
.md-version { font-size: 0.7rem; font-weight: normal; }
[dir="ltr"] .md-version__current { margin-left: 0.6rem; }
.md-version__list { margin: 1.7rem 0 0 0; }

0 comments on commit c65877b

Please sign in to comment.