1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-27 05:24:38 +04:00
Files
tabler/scss/ui/_markdown.scss
T
2020-02-02 16:21:56 +01:00

49 lines
659 B
SCSS

/**
Markdown
*/
.markdown {
color: $gray-800;
@include media-breakpoint-up(md) {
font-size: 1rem;
}
> :first-child {
margin-top: 0;
}
> :last-child,
> :last-child .highlight {
margin-bottom: 0;
}
> {
h1, h2, h3, h4, h5, h6 {
margin-top: 2rem;
color: $body-color;
font-weight: 400;
}
}
>h2 {
margin-bottom: 1rem;
&:before {
content: '';
padding-top: 2em;
margin-top: -2em;
display: block;
}
}
>hr {
@include media-breakpoint-up(md) {
margin-top: 3em;
margin-bottom: 3em;
}
}
> table {
@extend .table, .table-bordered;
}
}