mdb-ui-kit/docs/4.0/examples/cover/cover.css

111 lines
1.5 KiB
CSS
Raw Normal View History

2017-08-11 17:59:31 +03:00
/*
* Globals
*/
/* Links */
a,
a:focus,
a:hover {
color: #fff;
}
/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
color: #333;
text-shadow: none; /* Prevent inheritance from `body` */
background-color: #fff;
border: .05rem solid #fff;
}
/*
* Base structure
*/
html,
body {
height: 100%;
background-color: #333;
}
2018-01-23 15:30:37 +03:00
2017-08-11 17:59:31 +03:00
body {
2018-01-23 15:30:37 +03:00
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-ms-flex-pack: center;
-webkit-box-pack: center;
justify-content: center;
2017-08-11 17:59:31 +03:00
color: #fff;
2018-01-23 15:30:37 +03:00
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
2017-08-11 17:59:31 +03:00
}
.cover-container {
2018-01-23 15:30:37 +03:00
max-width: 42em;
2017-08-11 17:59:31 +03:00
}
/*
* Header
*/
.masthead {
margin-bottom: 2rem;
}
.masthead-brand {
margin-bottom: 0;
}
.nav-masthead .nav-link {
padding: .25rem 0;
2018-01-23 15:30:37 +03:00
font-weight: 700;
color: rgba(255, 255, 255, .5);
2017-08-11 17:59:31 +03:00
background-color: transparent;
border-bottom: .25rem solid transparent;
}
.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
2018-01-23 15:30:37 +03:00
border-bottom-color: rgba(255, 255, 255, .25);
2017-08-11 17:59:31 +03:00
}
.nav-masthead .nav-link + .nav-link {
margin-left: 1rem;
}
.nav-masthead .active {
color: #fff;
border-bottom-color: #fff;
}
@media (min-width: 48em) {
.masthead-brand {
float: left;
}
.nav-masthead {
float: right;
}
}
/*
* Cover
*/
.cover {
padding: 0 1.5rem;
}
.cover .btn-lg {
padding: .75rem 1.25rem;
2018-01-23 15:30:37 +03:00
font-weight: 700;
2017-08-11 17:59:31 +03:00
}
/*
* Footer
*/
.mastfoot {
2018-01-23 15:30:37 +03:00
color: rgba(255, 255, 255, .5);
2017-08-11 17:59:31 +03:00
}