-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the Open Sans typeface as set it as the default sans-serif typeface for the BS5 theme. Also added the following style changes: - Left border and padding for blockquote tags. - Background color for code and pre tags. - Padding for code and pre tags. - Whitespace wrapping for code tags. - Set the default font-weight for bold text to 700
- Loading branch information
Showing
5 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@import "@fontsource/open-sans/scss/mixins"; | ||
|
||
// Add font-face declarations for all Open Sans weights and styles | ||
@include faces($subsets: all, $weights: all, $styles: all); | ||
|
||
:root { | ||
--bs-font-sans-serif: "Open Sans", sans-serif; | ||
} | ||
|
||
blockquote { | ||
border-left: 5px solid $gray-400; | ||
padding-left: $spacer; | ||
} | ||
|
||
code { | ||
background-color: $gray-200; | ||
white-space: pre-wrap; | ||
padding: $spacer * 0.25; | ||
} | ||
|
||
pre { | ||
background-color: $gray-200; | ||
padding: $spacer * 0.5; | ||
code { | ||
padding: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters