Skip to content

Commit

Permalink
Adds a wrapper for a minimal layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bulhakovolexii committed Jan 30, 2024
1 parent a14ab11 commit b319d83
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ img {
margin: auto;
}

// Reset h4 styles to normal
h4,
.text-delta {
@include fs-4;
Expand All @@ -12,6 +13,12 @@ h4,
letter-spacing: unset;
}

// A wrapper for a minimal layout
.main-content-wrap {
max-width: 1200px;
margin: 0 auto;
}

// Showing light and dark theme images separately
@media (prefers-color-scheme: light) {
img[src$="gh-dark-mode-only"] {
Expand Down

0 comments on commit b319d83

Please sign in to comment.