mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
73 lines
930 B
SCSS
73 lines
930 B
SCSS
.bd-content {
|
|
hr:first-child {
|
|
display: none;
|
|
|
|
& + .bd-anchor-title {
|
|
padding-top: 0;
|
|
}
|
|
|
|
& + .bd-anchor-title .bd-anchor-link {
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
.highlight,
|
|
.bd-highlight-full {
|
|
@extend %block;
|
|
}
|
|
|
|
// .bd-highlight-full {
|
|
// overflow: auto;
|
|
// }
|
|
}
|
|
|
|
.bd-anchor-title {
|
|
--spacing: 3em;
|
|
|
|
position: relative;
|
|
|
|
&:not(:first-child) {
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
&.title {
|
|
font-size: 1.5em;
|
|
|
|
&.is-5 {
|
|
font-size: 1.25em;
|
|
margin-top: 0 !important;
|
|
}
|
|
}
|
|
|
|
@include until($widescreen) {
|
|
padding-left: 1em;
|
|
}
|
|
}
|
|
|
|
.bd-anchor-link {
|
|
position: absolute;
|
|
right: calc(100% + 1rem);
|
|
top: 0;
|
|
|
|
@include until($widescreen) {
|
|
left: 0;
|
|
right: auto;
|
|
}
|
|
}
|
|
|
|
.bd-icon-size .icon {
|
|
background-color: $yellow;
|
|
}
|
|
|
|
@include widescreen {
|
|
.bd-content {
|
|
font-size: 1.125rem;
|
|
}
|
|
}
|
|
|
|
@include from(1800px) {
|
|
.bd-content {
|
|
font-size: 1.25rem;
|
|
}
|
|
}
|