mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
333d89e498
* Drop .opacity-50 and .opacity-75 redefinition in examples * Drop unused .card-img-right from blog example CSS files * Use line-height utilities when possible * Use rounded-* utilities in examples * Replace .nav-underline by .nav-scroller and use it in examples.html default * Use .mb-1 for .blog-post-title * Remove unused CSS rule and use .fw-* utilities for carousels examples * Use utilities for cheatsheet examples * Extract some CSS to utilities for .nav-masthead .nav-link in cover example * Dashboard group of minor modifications * Dropdowns example: refactoring * Dropdowns example refactoring: fix linting by removing selector by id * Features example refactoring * Headers example refactoring * List groups example refactoring * Sidebars example refactoring * Sign-in example refactoring * Starter template refactoring * Fix RTL examples Co-authored-by: Mark Otto <markd.otto@gmail.com>
74 lines
1.3 KiB
CSS
74 lines
1.3 KiB
CSS
/* GLOBAL STYLES
|
|
-------------------------------------------------- */
|
|
/* Padding below the footer and lighter body text */
|
|
|
|
body {
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
color: #5a5a5a;
|
|
}
|
|
|
|
|
|
/* CUSTOMIZE THE CAROUSEL
|
|
-------------------------------------------------- */
|
|
|
|
/* Carousel base class */
|
|
.carousel {
|
|
margin-bottom: 4rem;
|
|
}
|
|
/* Since positioning the image, we need to help out the caption */
|
|
.carousel-caption {
|
|
bottom: 3rem;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Declare heights because of positioning of img element */
|
|
.carousel-item {
|
|
height: 32rem;
|
|
}
|
|
|
|
|
|
/* MARKETING CONTENT
|
|
-------------------------------------------------- */
|
|
|
|
/* Center align the text within the three columns below the carousel */
|
|
.marketing .col-lg-4 {
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
.marketing .col-lg-4 p {
|
|
margin-right: .75rem;
|
|
margin-left: .75rem;
|
|
}
|
|
|
|
|
|
/* Featurettes
|
|
------------------------- */
|
|
|
|
.featurette-divider {
|
|
margin: 5rem 0; /* Space out the Bootstrap <hr> more */
|
|
}
|
|
|
|
|
|
/* RESPONSIVE CSS
|
|
-------------------------------------------------- */
|
|
|
|
@media (min-width: 40em) {
|
|
/* Bump up size of carousel content */
|
|
.carousel-caption p {
|
|
margin-bottom: 1.25rem;
|
|
font-size: 1.25rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.featurette-heading {
|
|
font-size: 50px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 62em) {
|
|
.featurette-heading {
|
|
margin-top: 7rem;
|
|
}
|
|
}
|