mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-05 17:24:20 +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>
51 lines
733 B
CSS
51 lines
733 B
CSS
/*
|
|
* Globals
|
|
*/
|
|
|
|
|
|
/* Custom default button */
|
|
.btn-secondary,
|
|
.btn-secondary:hover,
|
|
.btn-secondary:focus {
|
|
color: #333;
|
|
text-shadow: none; /* Prevent inheritance from `body` */
|
|
}
|
|
|
|
|
|
/*
|
|
* Base structure
|
|
*/
|
|
|
|
body {
|
|
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
|
|
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
|
|
}
|
|
|
|
.cover-container {
|
|
max-width: 42em;
|
|
}
|
|
|
|
|
|
/*
|
|
* Header
|
|
*/
|
|
|
|
.nav-masthead .nav-link {
|
|
color: rgba(255, 255, 255, .5);
|
|
border-bottom: .25rem solid transparent;
|
|
}
|
|
|
|
.nav-masthead .nav-link:hover,
|
|
.nav-masthead .nav-link:focus {
|
|
border-bottom-color: rgba(255, 255, 255, .25);
|
|
}
|
|
|
|
.nav-masthead .nav-link + .nav-link {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.nav-masthead .active {
|
|
color: #fff;
|
|
border-bottom-color: #fff;
|
|
}
|