njpma/app/static/css/partials/_text.scss

59 lines
1.4 KiB
SCSS
Raw Normal View History

2021-10-14 07:05:51 +00:00
// Font: Noto Sans
2021-10-10 15:06:43 +00:00
2021-10-14 07:05:51 +00:00
@font-face {
font-family: 'noto_sans';
src: url('../../static/fonts/noto-sans/noto-sans-regular-webfont.woff2') format('woff2'),
url('../../static/fonts/noto-sans/noto-sans-regular-webfont.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'noto_sans';
src: url('../../static/fonts/noto-sans/noto-sans-italic-webfont.woff2') format('woff2'),
url('../../static/fonts/noto-sans/noto-sans-italic-webfont.woff') format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'noto_sans';
src: url('../../static/fonts/noto-sans/noto-sans-bold-webfont.woff2') format('woff2'),
url('../../static/fonts/noto-sans/noto-sans-bold-webfont.woff') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'noto_sans';
src: url('noto-sans-bold-italic-webfont.woff2') format('woff2'),
url('noto-sans-bold-italic-webfont.woff') format('woff');
font-weight: 700;
font-style: italic;
}
2021-10-10 15:06:43 +00:00
2021-10-11 13:06:49 +00:00
main > .texts {
2021-10-11 12:55:45 +00:00
box-sizing: border-box;
a {
color: #e00;
text-decoration: none;
}
2021-10-10 15:06:43 +00:00
.text {
margin: 8px;
2021-10-11 12:55:45 +00:00
h1 {
font-weight: bold;
font-size: 20px;
}
}
@media screen and (max-width: 799px) {
.text {
margin-bottom: 16px;
h2 {
margin-bottom: 8px;
}
}
2021-10-10 15:06:43 +00:00
}
}