1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/scss/utils/_text.scss
2019-03-12 22:09:23 +01:00

68 lines
1.7 KiB
SCSS

// stylelint-disable declaration-no-important
.text-inherit { color: inherit !important; }
.text-default { color: $body-color !important; }
.text-sm { font-size: .75rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2.25rem !important; }
.text-5xl { font-size: 3rem !important; }
.text-muted-light { color: $text-muted-light !important; }
.tracking-tight { letter-spacing: -.05em !important; }
.tracking-normal { letter-spacing: 0 !important; }
.tracking-wide { letter-spacing: .05em !important; }
.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-normal { line-height: $line-height-base !important; }
.leading-loose { line-height: 2 !important; }
.font-hairline { font-weight: 100 !important; }
.font-thin { font-weight: 200 !important; }
.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-black { font-weight: 900 !important; }
.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.text-wrap {
line-height: 1.66;
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
> {
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 1.5em;
font-weight: 400;
}
}
table {
@extend .table, .table-bordered;
}
}