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

104 lines
2 KiB
SCSS
Executable file

// Font: Wrong Font
@font-face {
font-family: "wrong font";
src: url("https://files.pad.ma/ttf/wrongfont.woff") format("woff");
}
// 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;
}
.font-size-sm {
font-size: 18px;
}
.font-family-wrong {
font-family: "wrong_font";
}
main > .texts {
max-width: var(--container-width);
padding: var(--spacing-2);
box-sizing: border-box;
a {
color: #e00;
text-decoration: none;
}
.text {
margin: 0 0 var(--spacing-2) 0;
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;
line-height: 1.3;
}
main > .about {
line-height: 1.2;
p {
padding-bottom: 24px;
}
}