341 lines
6.4 KiB
CSS
341 lines
6.4 KiB
CSS
/* Jumbotrons
|
|
-------------------------------------------------- */
|
|
|
|
/* Base class
|
|
------------------------- */
|
|
.jumbotron {
|
|
position: relative;
|
|
padding: 40px 0;
|
|
color: #fff;
|
|
text-align: center;
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 0, 0, .075);
|
|
background: #000;
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#020031', endColorstr='#6d3353', GradientType=1);
|
|
/* IE6-9 fallback on horizontal gradient */
|
|
-webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
|
|
-moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
|
|
box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
|
|
}
|
|
|
|
.jumbotron h1 {
|
|
font-size: 80px;
|
|
font-weight: bold;
|
|
letter-spacing: -1px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.jumbotron p {
|
|
font-size: 24px;
|
|
font-weight: 300;
|
|
line-height: 1.25;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* Link styles (used on .masthead-links as well) */
|
|
.jumbotron a {
|
|
color: #fff;
|
|
color: rgba(255, 255, 255, .5);
|
|
-webkit-transition: all .2s ease-in-out;
|
|
-moz-transition: all .2s ease-in-out;
|
|
transition: all .2s ease-in-out;
|
|
}
|
|
|
|
.jumbotron a:hover {
|
|
color: #fff;
|
|
text-shadow: 0 0 10px rgba(255, 255, 255, .25);
|
|
}
|
|
|
|
/* Download button */
|
|
.masthead .btn {
|
|
padding: 19px 24px;
|
|
font-size: 24px;
|
|
font-weight: 200;
|
|
color: #fff;
|
|
/* redeclare to override the `.jumbotron a` */
|
|
border: 0;
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px;
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 5px rgba(0, 0, 0, .25);
|
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 5px rgba(0, 0, 0, .25);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 5px rgba(0, 0, 0, .25);
|
|
-webkit-transition: none;
|
|
-moz-transition: none;
|
|
transition: none;
|
|
}
|
|
|
|
.masthead .btn:hover {
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 5px rgba(0, 0, 0, .25);
|
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 5px rgba(0, 0, 0, .25);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 5px rgba(0, 0, 0, .25);
|
|
}
|
|
|
|
.masthead .btn:active {
|
|
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
|
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
|
|
/* Pattern overlay
|
|
------------------------- */
|
|
.jumbotron .container {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.jumbotron:after {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-image: url(/img/banner.gif);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: cover;
|
|
opacity: .6;
|
|
}
|
|
|
|
@media only screen and (-webkit-min-device-pixel-ratio: 2),
|
|
only screen and (min--moz-device-pixel-ratio: 2),
|
|
only screen and (-o-min-device-pixel-ratio: 2/1) {
|
|
|
|
.jumbotron:after {
|
|
background-size: 150px 150px;
|
|
}
|
|
|
|
}
|
|
|
|
/* Masthead (docs home)
|
|
------------------------- */
|
|
.masthead {
|
|
padding: 70px 0 80px;
|
|
margin-bottom: 20px;
|
|
color: #fff;
|
|
}
|
|
|
|
.masthead h1 {
|
|
font-size: 120px;
|
|
line-height: 1;
|
|
letter-spacing: -2px;
|
|
}
|
|
|
|
.masthead-logo {
|
|
display: block;
|
|
width: 430px;
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin: 0 auto 12px;
|
|
}
|
|
|
|
.masthead-title {
|
|
margin: 0 0 18px;
|
|
font-size: 42px;
|
|
line-height: 1;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.masthead p {
|
|
font-weight: 200;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.masthead-download {
|
|
margin-top: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.masthead-download .btn {
|
|
display: inline-block;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.masthead-download .subtext {
|
|
display: block;
|
|
}
|
|
|
|
.masthead-download .subtext span {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
|
|
.masthead-platforms {
|
|
display: inline;
|
|
}
|
|
|
|
/* Home page
|
|
------------------------- */
|
|
.home-section {
|
|
padding: 30px 0;
|
|
}
|
|
|
|
.intro-section {
|
|
padding-top: 40px;
|
|
}
|
|
|
|
.feature-photo {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.archive-feature {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.archive-feature h3 {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.archive-feature .thumbnail {
|
|
display: block;
|
|
max-height: 200px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.gallery-section .thumbnail img {
|
|
max-height: 150px;
|
|
}
|
|
|
|
.gallery-section .caption {
|
|
margin-top: 8px;
|
|
color: #777;
|
|
text-align: center;
|
|
}
|
|
|
|
.credit-entry {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.credit-avatar {
|
|
width: 72px;
|
|
height: 72px;
|
|
margin-right: 16px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.credit-entry h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.credit-entry p {
|
|
margin-bottom: 0;
|
|
color: #777;
|
|
}
|
|
|
|
.closing-section {
|
|
padding-bottom: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.closing-section p {
|
|
max-width: 720px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Tablet to desktop
|
|
------------------------- */
|
|
@media (min-width: 768px) and (max-width: 979px) {
|
|
.jumbotron {
|
|
margin-top: -20px; /* Offset bottom margin on .navbar */
|
|
}
|
|
|
|
.jumbotron .container {
|
|
width: initial !important;
|
|
}
|
|
}
|
|
|
|
/* Tablet
|
|
------------------------- */
|
|
@media (max-width: 767px) {
|
|
.jumbotron {
|
|
padding: 40px 20px;
|
|
margin-top: -20px; /* Offset bottom margin on .navbar */
|
|
margin-right: -20px;
|
|
margin-left: -20px;
|
|
}
|
|
.masthead h1 {
|
|
font-size: 90px;
|
|
}
|
|
.masthead-logo {
|
|
width: 360px;
|
|
}
|
|
.masthead-title {
|
|
font-size: 36px;
|
|
word-break: break-all;
|
|
}
|
|
.masthead p,
|
|
.masthead .btn {
|
|
font-size: 24px;
|
|
}
|
|
.archive-feature .thumbnail,
|
|
.gallery-section .thumbnail img {
|
|
max-height: none;
|
|
}
|
|
}
|
|
|
|
/* Landscape phones
|
|
------------------------- */
|
|
@media (max-width: 480px) {
|
|
/* Downsize the jumbotrons */
|
|
.jumbotron h1 {
|
|
font-size: 45px;
|
|
}
|
|
.masthead-logo {
|
|
width: 260px;
|
|
}
|
|
.masthead-title {
|
|
font-size: 28px;
|
|
}
|
|
.jumbotron p,
|
|
.jumbotron .btn {
|
|
font-size: 18px;
|
|
}
|
|
.jumbotron .btn {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.archive-feature .thumbnail,
|
|
.gallery-section .thumbnail img {
|
|
max-height: none;
|
|
}
|
|
}
|
|
|
|
|
|
/* Footer */
|
|
footer {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
footer .links * {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
footer .links {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
footer .about * {
|
|
display: block;
|
|
}
|
|
|
|
|
|
.download-card h3 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.download-patch-notes {
|
|
padding: 20px 0 40px;
|
|
}
|
|
|
|
.patch-note h3 {
|
|
margin-top: 0;
|
|
}
|