0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/client/scss/elements/_typography.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

87 lines
1.0 KiB
SCSS
Raw Normal View History

body {
-webkit-font-smoothing: antialiased; // Do not remove!
font-family: $font-sans;
font-size: 85%;
line-height: 1.5em;
color: $color-text-base;
}
2015-11-02 15:39:36 +01:00
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
h1 {
line-height: 1.3em;
font-size: 1.5em;
color: $color-grey-1;
2020-06-18 18:18:08 +02:00
font-weight: 700;
span {
font-weight: 300;
}
}
2015-11-02 15:39:36 +01:00
h2 {
font-size: 1.3em;
font-family: $font-sans;
font-weight: 600;
color: $color-grey-2;
}
2015-11-02 15:39:36 +01:00
p {
margin-top: 0;
}
a {
color: $color-link;
text-decoration: none;
&:hover {
color: $color-link-hover;
}
}
code {
box-shadow: inset 0 0 4px 0 theme('colors.black-20');
background-color: $color-white;
font-family: $font-mono;
padding: 2px 5px;
}
kbd {
border-radius: 3px;
font-family: $font-sans;
border: 1px solid $color-grey-2;
border-color: theme('colors.black-20');
padding: 0.3em 0.5em;
}
pre {
font-family: $font-mono;
}
dl,
dt,
2015-11-02 15:39:36 +01:00
dd {
padding: 0;
margin: 0;
}
2015-11-02 15:39:36 +01:00
dl {
margin-top: 1em;
}
2015-11-02 15:39:36 +01:00
dt {
color: $color-grey-2;
font-size: 0.9em;
}
2015-11-02 15:39:36 +01:00
dd {
margin-bottom: 1em;
}