mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
typography fixes
This commit is contained in:
@@ -105,7 +105,7 @@ $avatar-sizes: (
|
|||||||
"xl": 6rem
|
"xl": 6rem
|
||||||
) !default;
|
) !default;
|
||||||
|
|
||||||
$font-size-base: 1rem !default;
|
$font-size-base: .9375rem !default;
|
||||||
$font-weight-base: 400 !default;
|
$font-weight-base: 400 !default;
|
||||||
$line-height-base: 1.5 !default;
|
$line-height-base: 1.5 !default;
|
||||||
|
|
||||||
@@ -116,12 +116,14 @@ Typography
|
|||||||
*/
|
*/
|
||||||
$headings-font-weight: 600 !default;
|
$headings-font-weight: 600 !default;
|
||||||
|
|
||||||
$h1-font-size: $font-size-base * 1.25 * 1.25 * 1.25 !default;
|
$small-font-size: 83.33333% !default;
|
||||||
$h2-font-size: $font-size-base * 1.25 * 1.25 !default;
|
|
||||||
$h3-font-size: $font-size-base * 1.25 !default;
|
$h1-font-size: $font-size-base * 1.2 * 1.2 * 1.2 !default;
|
||||||
|
$h2-font-size: $font-size-base * 1.2 * 1.2 !default;
|
||||||
|
$h3-font-size: $font-size-base * 1.2 !default;
|
||||||
$h4-font-size: $font-size-base !default;
|
$h4-font-size: $font-size-base !default;
|
||||||
$h5-font-size: $font-size-base * .8 !default;
|
$h5-font-size: $font-size-base * .833333 !default;
|
||||||
$h6-font-size: $font-size-base * .8 * .8 !default;
|
$h6-font-size: $font-size-base * .833333 * .83333 !default;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Ribbons
|
Ribbons
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
// stylelint-disable property-no-vendor-prefix
|
// stylelint-disable property-no-vendor-prefix
|
||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
font-size: 16px;
|
||||||
|
|
||||||
|
@include media-breakpoint-down(md) {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
.page-title {
|
.page-title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: $h4-font-size;
|
font-size: $h3-font-size;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 2.5rem;
|
line-height: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
.card-title {
|
.card-title {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: $h4-font-size;
|
font-size: $h3-font-size;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin: 0 0 1.5rem;
|
margin: 0 0 1.5rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user