1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-13 01:59:15 -05:00
notes/_sass/support/mixins/_typography.scss

99 lines
1.7 KiB
SCSS
Raw Normal View History

2017-03-24 09:47:37 -04:00
// Font size
$font-size-1: 9px;
$font-size-1-mq: 10px;
$font-size-2: 11px; //h4 - uppercased!, h6 not uppercased, text-small
$font-size-3: 12px; //h5
$font-size-4: 15px;
$font-size-5: 16px; //h3
$font-size-6: 18px; //h2
$font-size-7: 24px;
$font-size-8: 32px;//h1
$font-size-9: 36px;
$font-size-10: 42px;
$font-size-10-mq: 48px;
2017-03-24 09:47:37 -04:00
@mixin fs-1 {
font-size: $font-size-1 !important;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-1-mq !important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-2 {
font-size: $font-size-2 !important;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-3 !important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-3 {
font-size: $font-size-3 !important;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-4 !important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-4 {
font-size: $font-size-4 !important;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-5 !important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-5 {
font-size: $font-size-5 !important;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-6 !important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-6 {
font-size: $font-size-6 !important;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-7 !important;
2020-05-01 17:32:33 -04:00
line-height: $body-heading-line-height;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-7 {
font-size: $font-size-7 !important;
2020-05-01 17:32:33 -04:00
line-height: $body-heading-line-height;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-8 !important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-8 {
font-size: $font-size-8 !important;
2020-05-01 17:32:33 -04:00
line-height: $body-heading-line-height;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-9!important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-9 {
font-size: $font-size-9 !important;
2020-05-01 17:32:33 -04:00
line-height: $body-heading-line-height;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-10 !important;
2017-03-24 09:47:37 -04:00
}
}
@mixin fs-10 {
font-size: $font-size-10 !important;
2020-05-01 17:32:33 -04:00
line-height: $body-heading-line-height;
2017-03-24 09:47:37 -04:00
@include mq(sm) {
font-size: $font-size-10-mq !important;
2017-03-24 09:47:37 -04:00
}
}