spee.ch/client/scss/_text.scss

166 lines
2.1 KiB
SCSS
Raw Normal View History

2018-06-05 23:24:54 +02:00
// set defaults
2018-06-08 17:50:25 +02:00
h1, h2, h3, h4, p {
margin: 0;
}
2018-06-05 23:24:54 +02:00
h1 {
2018-06-11 01:07:15 +02:00
font-size: $text-xx-large;
2018-05-31 00:00:09 +02:00
}
2018-06-05 23:24:54 +02:00
h2 {
2018-06-11 01:07:15 +02:00
font-size: $text-x-large;
2018-05-31 00:00:09 +02:00
}
2018-06-05 23:24:54 +02:00
h3 {
2018-06-11 01:07:15 +02:00
font-size: $text-large;
2018-06-05 23:24:54 +02:00
font-weight: bold;
2018-05-31 00:00:09 +02:00
}
2018-06-08 17:50:25 +02:00
p, body, button, input, textarea, label, select, option {
2018-06-05 23:24:54 +02:00
font-family: 'Lekton', monospace;
2018-06-11 01:07:15 +02:00
font-size: $text-large;
2018-05-31 00:00:09 +02:00
}
2018-06-09 02:23:11 +02:00
.text--extra-large {
2018-06-11 01:07:15 +02:00
font-size: $text-xx-large;
2018-06-09 02:23:11 +02:00
}
.text--large {
2018-06-11 01:07:15 +02:00
font-size: $text-large;
}
.text--medium {
font-size: $text-medium;
2018-06-09 02:23:11 +02:00
}
.text--small {
2018-06-11 01:07:15 +02:00
font-size: $text-small;
2018-06-09 02:23:11 +02:00
}
2018-06-05 23:24:54 +02:00
2018-06-09 02:23:11 +02:00
.text--extra-small {
2018-06-11 01:07:15 +02:00
font-size: $text-x-small;
2018-06-09 02:23:11 +02:00
}
.text--underline {
text-decoration: underline;
}
.text--primary {
color: $primary-color;
}
.text--secondary {
color: $secondary-color;
}
.text--tertiary {
color: $tertiary-color;
}
.text--interactive {
color: $interactive-color;
}
.text--failure {
color: $failure-color;
}
.text--success {
color: $success-color;
}
2018-06-11 01:07:15 +02:00
@media (max-width: $break-point-x-large ) {
h1 {
font-size: $text-x-large;
}
h2 {
font-size: $text-large;
}
h3 {
font-size: $text-medium;
}
p, body, button, input, textarea, label, select, option {
font-size: $text-medium;
}
.text--extra-large {
font-size: $text-x-large;
}
.text--large {
font-size: $text-medium;
}
.text--medium {
font-size: $text-small;
}
}
@media (max-width: $break-point-medium) {
h1 {
font-size: $text-large;
}
h2 {
font-size: $text-medium;
}
h3 {
font-size: $text-small;
}
p, body, button, input, textarea, label, select, option {
font-size: $text-small;
}
.text--extra-large {
font-size: $text-large;
}
.text--large {
font-size: $text-medium;
}
.text--small {
font-size: $text-x-small;
}
}
@media (max-width: $break-point-x-small) {
h1 {
font-size: $text-medium;
font-weight: bold;
}
h2 {
font-size: $text-small;
}
p, body, button, input, textarea, label, select, option {
font-size: $text-x-small;
}
.text--extra-large {
font-size: $text-x-small;
font-weight: bold;
}
.text--large {
font-size: $text-x-small;
}
.text--medium {
font-size: $text-x-small;
}
}