Skip to content

Commit

Permalink
Merge pull request #1683 from opensafely/styling-fixes
Browse files Browse the repository at this point in the history
Various styling fixes
  • Loading branch information
tomodwyer authored Dec 6, 2024
2 parents 1dede72 + 95245b7 commit b1f2f80
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
--md-primary-fg-color: var(--colorPrimary);
--md-code-hl-generic-color: #77706b;
--md-code-hl-variable-color: #756e69;
--md-default-bg-color: var(--colorVeryLightBlue);
}

body {
Expand Down Expand Up @@ -120,21 +121,15 @@ body {
padding: 0.25rem;
}

.md-header__button.md-logo img, .md-header__button.md-logo svg {
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
height: 1.75rem;
}

[dir=ltr] .md-header__title {
margin-left: 0;
}

@media screen and (max-width: 76.1875em) {
.md-nav--primary .md-nav__title[for="__drawer"] {
height: auto;
padding-top: 0;
}
}

/* Details element */
.md-typeset .admonition {
background-color: var(--colorVLightGrey);
Expand Down Expand Up @@ -175,3 +170,7 @@ body {
.highlight .gp, .highlight .go { /* Generic.Prompt, Generic.Output */
user-select: none;
}

.md-sidebar {
padding: 0;
}

0 comments on commit b1f2f80

Please sign in to comment.