photoatlas.bitbucket.org/Dependencies/CSS/cover.css

179 lines
2.6 KiB
CSS
Raw Normal View History

2016-09-24 21:18:36 +00:00
/*
* Globals
*/
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
/* Links */
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
a,
a:focus,
a:hover {
2016-09-24 22:29:14 +00:00
color: #fff;
2016-09-24 21:18:36 +00:00
}
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
/* Custom default button */
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
2016-09-24 22:29:14 +00:00
color: #333;
text-shadow: none;
/* Prevent inheritance from `body` */
background-color: #fff;
border: .05rem solid #fff;
2016-09-24 21:18:36 +00:00
}
/*
* Base structure
*/
html,
body {
2016-09-24 22:29:14 +00:00
height: 100%;
background-image: url("https://my.mixtape.moe/zobucp.jpg");
background-position: center;
background-attachment: fixed;
background-size: cover;
2016-09-24 21:18:36 +00:00
}
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
body {
2016-09-24 22:29:14 +00:00
color: #fff;
text-align: center;
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
2016-09-24 21:18:36 +00:00
}
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
/* Extra markup and styles for table-esque vertical and horizontal centering */
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
.site-wrapper {
2016-09-24 22:29:14 +00:00
display: table;
width: 100%;
height: 100%;
/* For at least Firefox */
min-height: 100%;
-webkit-box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
2016-09-24 21:18:36 +00:00
}
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
.site-wrapper-inner {
2016-09-24 22:29:14 +00:00
display: table-cell;
vertical-align: top;
2016-09-24 21:18:36 +00:00
}
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
.cover-container {
2016-09-24 22:29:14 +00:00
margin-right: auto;
margin-left: auto;
2016-09-24 21:18:36 +00:00
}
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
/* Padding for spacing */
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
.inner {
2016-09-24 22:29:14 +00:00
padding: 2rem;
2016-09-24 21:18:36 +00:00
}
/*
* Header
*/
.masthead {
2016-09-24 22:29:14 +00:00
margin-bottom: 2rem;
2016-09-24 21:18:36 +00:00
}
.masthead-brand {
2016-09-24 22:29:14 +00:00
margin-bottom: 0;
2016-09-24 21:18:36 +00:00
}
.nav-masthead .nav-link {
2016-09-24 22:29:14 +00:00
padding: .25rem 0;
font-weight: bold;
color: rgba(255, 255, 255, .5);
background-color: transparent;
border-bottom: .25rem solid transparent;
2016-09-24 21:18:36 +00:00
}
.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
2016-09-24 22:29:14 +00:00
border-bottom-color: rgba(255, 255, 255, .25);
2016-09-24 21:18:36 +00:00
}
.nav-masthead .nav-link + .nav-link {
2016-09-24 22:29:14 +00:00
margin-left: 1rem;
2016-09-24 21:18:36 +00:00
}
.nav-masthead .active {
2016-09-24 22:29:14 +00:00
color: #fff;
border-bottom-color: #fff;
2016-09-24 21:18:36 +00:00
}
@media (min-width: 48em) {
2016-09-24 22:29:14 +00:00
.masthead-brand {
float: left;
}
.nav-masthead {
float: right;
}
2016-09-24 21:18:36 +00:00
}
/*
* Cover
*/
.cover {
2016-09-24 22:29:14 +00:00
padding: 0 1.5rem;
2016-09-24 21:18:36 +00:00
}
2016-09-24 22:29:14 +00:00
2016-09-24 21:18:36 +00:00
.cover .btn-lg {
2016-09-24 22:29:14 +00:00
padding: .75rem 1.25rem;
font-weight: bold;
2016-09-24 21:18:36 +00:00
}
/*
* Footer
*/
.mastfoot {
2016-09-24 22:29:14 +00:00
color: rgba(255, 255, 255, .5);
2016-09-24 21:18:36 +00:00
}
/*
* Affix and center
*/
@media (min-width: 40em) {
2016-09-24 22:29:14 +00:00
/* Pull out the header and footer */
.masthead {
position: fixed;
top: 0;
}
.mastfoot {
position: fixed;
bottom: 0;
}
/* Start the vertical centering */
.site-wrapper-inner {
vertical-align: middle;
}
/* Handle the widths */
.masthead,
.mastfoot,
.cover-container {
width: 100%;
/* Must be percentage or pixels for horizontal alignment */
}
2016-09-24 21:18:36 +00:00
}
@media (min-width: 62em) {
2016-09-24 22:29:14 +00:00
.masthead,
.mastfoot,
.cover-container {
width: 42rem;
}
}