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

89 lines
1.7 KiB
SCSS
Executable file

// Font: Noto Sans
@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;
}
// Text: Global Classes
.font-bold {
font-weight: 700;
}
strong {
font-weight: 700;
}
em {
font-style: italic;
}
main > .texts {
box-sizing: border-box;
a {
color: #e00;
text-decoration: none;
}
.text {
margin: var(--spacing);
h1 {
font-weight: bold;
font-size: 20px;
}
}
@media screen and (max-width: 799px) {
.text {
margin-bottom: var(--spacing-2);
h2 {
margin-bottom: var(--spacing);
}
}
}
}
main > .index {
text-align: center;
padding-top: 48px;
font-size: 26px;
line-height: 1.3;
}
main > .about {
line-height: 1.2;
p {
padding-bottom: 24px;
}
}