amis/scss/base/_typography.scss

47 lines
692 B
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
/**
* Basic typography style for copy text
*/
html {
2019-12-06 09:58:08 +08:00
font-size: $remFactor;
}
2019-04-30 11:11:25 +08:00
body {
2019-12-06 09:58:08 +08:00
color: $body-color;
background-color: $body-bg;
font-size: $body-size;
font-weight: $body-weight;
font-family: $fontFamilyBase;
line-height: $body-lineHeight;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2019-04-30 11:11:25 +08:00
}
a {
2019-12-06 09:58:08 +08:00
color: $link-color;
text-decoration: $link-decoration;
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
&:hover {
color: $link-onHover-color;
text-decoration: $link-onHover-decoration;
}
2019-04-30 11:11:25 +08:00
}
label {
2019-12-06 09:58:08 +08:00
font-weight: $fontWeightNormal;
2019-04-30 11:11:25 +08:00
}
h1,
h2,
h3,
h4,
h5,
h6 {
2019-12-06 09:58:08 +08:00
font-weight: $fontWeightNormal;
color: $text--loud-color;
line-height: 1.1;
2019-04-30 11:11:25 +08:00
}
.is-matched {
2019-12-06 09:58:08 +08:00
color: $danger;
}