mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 09:24:24 +04:00
52 lines
769 B
SCSS
52 lines
769 B
SCSS
/**
|
|
Markdown
|
|
*/
|
|
.markdown {
|
|
line-height: $line-height-xl;
|
|
|
|
> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
> :last-child,
|
|
> :last-child .highlight {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
> hr {
|
|
@include media-breakpoint-up(md) {
|
|
margin-top: 3em;
|
|
margin-bottom: 3em;
|
|
}
|
|
}
|
|
|
|
> {
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: var(--#{$prefix}font-weight-bold);
|
|
}
|
|
|
|
h2, h3, h4, h5, h6 {
|
|
margin-top: 2.5rem;
|
|
}
|
|
}
|
|
|
|
> table {
|
|
@extend .table, .table-bordered;
|
|
}
|
|
|
|
> blockquote {
|
|
font-size: $h3-font-size;
|
|
margin: 1.5rem 0;
|
|
padding: .5rem 1.5rem;
|
|
}
|
|
|
|
> img,
|
|
> p > img {
|
|
border-radius: var(--#{$prefix}border-radius);
|
|
border: 1px solid var(--#{$prefix}border-color);
|
|
}
|
|
|
|
> pre {
|
|
max-height: 20rem;
|
|
}
|
|
} |