mixyll/_sass/basscss/_base-typography.scss

102 lines
1.1 KiB
SCSS
Raw Permalink Normal View History

2020-01-24 11:20:29 +00:00
/* Basscss Base Typography */
body {
font-family: $font-family;
line-height: $line-height;
font-size: 88%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: $heading-font-family;
font-weight: $heading-font-weight;
line-height: $heading-line-height;
margin-top: 1em;
margin-bottom: .5em;
}
p,
dl,
ol,
ul {
font-size: $h5;
margin-top: 0;
margin-bottom: $space-2;
}
ol,
ul {
padding-left: $space-3;
}
pre,
code,
samp {
font-family: $monospace-font-family;
font-size: inherit;
}
pre {
margin-top: 0;
margin-bottom: $space-2;
overflow-x: scroll;
}
hr {
margin-top: $space-3;
margin-bottom: $space-3;
}
blockquote {
margin-top: $space-3;
margin-bottom: $space-3;
margin-left: 0;
padding-left: $space-2;
padding-right: $space-2;
}
blockquote,
blockquote p {
font-size: $h3;
font-style: italic;
}
h1,
.h1 {
font-size: $h1;
}
h2,
.h2 {
font-size: $h2;
}
h3,
.h3 {
font-size: $h3;
}
h4,
.h4 {
font-size: $h4;
}
h5,
.h5 {
font-size: $h5;
}
h6,
.h6 {
font-size: $h6;
}
.list-reset {
list-style: none;
padding-left: 0;
}