mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-10 03:46:13 +01:00
b46f05a948
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
89 lines
1.3 KiB
SCSS
89 lines
1.3 KiB
SCSS
//
|
|
// Brand guidelines
|
|
//
|
|
|
|
// Logo series wrapper
|
|
.bd-brand-logos {
|
|
display: table;
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
overflow: hidden;
|
|
color: $bd-purple;
|
|
background-color: #f9f9f9;
|
|
@include border-radius();
|
|
|
|
.inverse {
|
|
color: $white;
|
|
background-color: $bd-purple;
|
|
}
|
|
}
|
|
|
|
// Individual items
|
|
.bd-brand-item {
|
|
padding: 4rem 0;
|
|
text-align: center;
|
|
|
|
+ .bd-brand-item {
|
|
border-top: 1px solid $white;
|
|
}
|
|
|
|
// Heading content within
|
|
h1,
|
|
h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
@include media-breakpoint-up(md) {
|
|
display: table-cell;
|
|
width: 1%;
|
|
|
|
+ .bd-brand-item {
|
|
border-top: 0;
|
|
border-left: 1px solid $white;
|
|
}
|
|
|
|
h1 {
|
|
@include font-size(4rem);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//
|
|
// Color swatches
|
|
//
|
|
|
|
.color-swatches {
|
|
margin: 0 -5px;
|
|
overflow: hidden; // clearfix
|
|
|
|
// Docs colors
|
|
.bd-purple {
|
|
background-color: $bd-purple;
|
|
}
|
|
.bd-purple-light {
|
|
background-color: $bd-purple-light;
|
|
}
|
|
.bd-purple-lighter {
|
|
background-color: #e5e1ea;
|
|
}
|
|
.bd-gray {
|
|
background-color: #f9f9f9;
|
|
}
|
|
}
|
|
|
|
.color-swatch {
|
|
float: left;
|
|
width: 4rem;
|
|
height: 4rem;
|
|
margin-right: .25rem;
|
|
margin-left: .25rem;
|
|
@include border-radius();
|
|
|
|
@include media-breakpoint-up(md) {
|
|
width: 6rem;
|
|
height: 6rem;
|
|
}
|
|
}
|