You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aSkelly/scss/base/_typography.scss

37 lines
773 B
SCSS

@use '../utilities/main_utilities' as *;
p {
padding: 0;
width: 100%;
}
p+p, h1+p{ /* Para after para should space out */
margin-top: .75rem;
}
mark, .highlight{ /* Useful for search result highlighting, and general hightlights that aren't strong */
padding: 0.1rem;
background: $color-highlight;
@include color-scheme(dark) {
background: $color-highlight--dark;
}
}
small {
color: $color-text-secondary;
@include color-scheme(dark) {
color: $color-text-secondary--dark;
}
}
hr{
background-color: $color-bg-secondary;
border: none;
height: 1px;
width: 100%;
max-width: $width-content;
margin: .5rem auto;
@include color-scheme(dark) {
color: $color-bg-secondary--dark;
}
}