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

121 lines
2.2 KiB
SCSS
Raw Normal View History

2021-10-24 19:13:02 +05:30
// Font: Wrong Font
@font-face {
font-family: "wrong font";
src: url("https://files.pad.ma/ttf/wrongfont.woff") format("woff");
}
2021-10-14 12:35:51 +05:30
// Font: Noto Sans
2021-10-10 16:06:43 +01:00
2021-10-14 12:35:51 +05:30
@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 16:06:43 +01:00
2021-10-14 13:22:51 +05:30
// Text: Global Classes
.font-bold {
font-weight: 700;
}
2021-10-22 14:42:59 +05:30
strong {
font-weight: 700;
}
2021-10-14 13:22:51 +05:30
em {
font-style: italic;
}
2021-10-24 19:13:02 +05:30
.font-size-sm {
font-size: 18px;
}
2021-10-24 20:35:50 +05:30
.font-family-wrong {
font-family: "wrong_font";
}
2021-10-11 14:06:49 +01:00
main > .texts {
2021-10-28 17:03:55 +05:30
max-width: var(--container-lg-width);
2021-10-26 15:56:07 +05:30
padding: var(--spacing-2);
2021-10-28 17:03:55 +05:30
margin-left: auto;
margin-right: auto;
2021-10-11 13:55:45 +01:00
box-sizing: border-box;
a {
color: #e00;
text-decoration: none;
}
2021-10-10 16:06:43 +01:00
.text {
2021-10-26 15:56:07 +05:30
margin: 0 0 var(--spacing-2) 0;
2021-10-11 13:55:45 +01:00
h1 {
font-weight: bold;
font-size: 20px;
}
}
@media screen and (max-width: 799px) {
.text {
margin-bottom: var(--spacing-2);
2021-10-11 13:55:45 +01:00
h2 {
margin-bottom: var(--spacing);
2021-10-11 13:55:45 +01:00
}
}
2021-10-10 16:06:43 +01:00
}
}
main > .index {
text-align: center;
line-height: 1.3;
}
main > .about {
line-height: 1.2;
p {
padding-bottom: 24px;
}
}
.assemblies {
&.row {
@media only screen and (max-width: 799px) {
flex-direction: column;
}
}
.col {
@media only screen and (min-width: 800px) {
width: 50%;
}
}
}