mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 05:04:28 -07:00
Bulma v9 website (#3249)
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
This commit is contained in:
44
docs/_sass/components/anchors.scss
Normal file
44
docs/_sass/components/anchors.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
.bd-anchors {
|
||||
padding: var(--docs-side-padding);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
&.bd-is-empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.bd-anchors-title {
|
||||
color: $text-light;
|
||||
font-size: 0.75em;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.bd-anchors-list {
|
||||
padding: 0.25em 0 0.75em;
|
||||
|
||||
li {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
font-size: 0.875em;
|
||||
|
||||
&.is-past a:not(:hover) {
|
||||
background-color: $border-light;
|
||||
color: $text-light;
|
||||
}
|
||||
|
||||
&.is-current a {
|
||||
background-color: var(--primary);
|
||||
color: var(--primary-invert);
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
@extend %bd-category-link;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--primary-invert);
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user