amis/scss/base/_typography.scss

47 lines
736 B
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
/**
* Basic typography style for copy text
*/
html {
2019-04-30 11:11:25 +08:00
font-size: $remFactor;
}
2019-04-30 11:11:25 +08:00
body {
2019-04-30 11:11:25 +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;
}
a {
color: $link-color;
text-decoration: $link-decoration;
&:hover {
color: $link-onHover-color;
text-decoration: $link-onHover-decoration;
}
}
label {
font-weight: $fontWeightNormal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
2019-04-30 11:11:25 +08:00
font-weight: $fontWeightNormal;
color: $text--loud-color;
line-height: 1.1;
}
.is-matched {
color: $danger;
}