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:
91
docs/_sass/index/heading.scss
Normal file
91
docs/_sass/index/heading.scss
Normal file
@@ -0,0 +1,91 @@
|
||||
.bd-heading {
|
||||
> .icon {
|
||||
font-size: $title-size;
|
||||
height: 1.125em;
|
||||
width: 1.125em;
|
||||
}
|
||||
|
||||
.title,
|
||||
.subtitle {
|
||||
font-weight: $weight-normal;
|
||||
|
||||
strong {
|
||||
color: inherit;
|
||||
font-weight: $weight-semibold;
|
||||
}
|
||||
|
||||
small {
|
||||
color: $text-light;
|
||||
display: block;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: $text-light;
|
||||
}
|
||||
|
||||
.bd-fat-button {
|
||||
font-weight: $weight-normal;
|
||||
|
||||
strong {
|
||||
font-weight: $weight-semibold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include mobile {
|
||||
.bd-heading {
|
||||
margin-bottom: var(--bd-index-vertical);
|
||||
|
||||
.icon {
|
||||
float: left;
|
||||
margin-right: $block-spacing / 2;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
margin: ($block-spacing / 2) 0 !important;
|
||||
}
|
||||
|
||||
form {
|
||||
margin-top: $block-spacing;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include tablet {
|
||||
.bd-heading {
|
||||
align-items: center;
|
||||
display: grid;
|
||||
grid-gap: 0;
|
||||
// prettier-ignore
|
||||
grid-template-columns:
|
||||
1fr
|
||||
4rem
|
||||
calc(var(--container-width) / 3)
|
||||
calc(var(--container-width) / 3)
|
||||
calc(var(--container-width) / 3)
|
||||
4rem
|
||||
1fr;
|
||||
margin-bottom: calc(var(--bd-index-vertical) / 2);
|
||||
|
||||
> .icon {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
.title {
|
||||
grid-column: 3;
|
||||
max-width: 9em;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
grid-column: 4;
|
||||
max-width: 10em;
|
||||
}
|
||||
|
||||
.button {
|
||||
grid-column: 5 / span 1;
|
||||
justify-self: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user