msm/assets/css/style.css
2012-06-15 15:27:09 +01:00

218 lines
4.3 KiB
CSS

body {
padding-top: 90px;
background: #fff url(../img/grass-bg-small.png) repeat-x top center;
}
.masthead {
padding-bottom: 50px;
border-bottom: 1px solid #e5e5e5;
position: relative;
}
.masthead h1,
.masthead p {
text-align: center;
}
.masthead h1 {
font-size: 81px;
margin-bottom: 18px;
line-height: 1;
}
.masthead p {
font-size: 30px;
line-height: 36px;
margin-bottom: 18px;
font-weight: 300;
}
.masthead .btn-large {
font-size: 20px;
padding: 14px 24px;
}
.masthead .btn-large small {
font-size: 14px;
color: #888;
position: relative;
top: -1px;
}
.masthead .introducing {
color: #999;
margin-bottom: 5px;
font-size: 18px;
line-height: 30px;
}
.masthead .buttons {
margin-top: 30px;
text-align: center;
margin-bottom: 20px;
}
.masthead #view-button,
.masthead #download-button {
display: inline-block;
vertical-align: top;
}
.masthead #view-button {
margin-right: 10px;
}
.quick-links {
margin-bottom: 50px;
text-align: center;
}
.quick-links {
list-style: none;
margin: 0;
text-align: center;
margin: 5px 20px;
}
.quick-links li {
display: inline;
vertical-align: top;
}
.quick-links li.text {
position: relative;
top: -5px;
margin-right: 20px;
}
.features {
margin-bottom: 50px;
margin-top: 50px;
}
.features h1 {
text-align: center;
font-weight: 300;
font-size: 40px;
margin-bottom: 10px;
}
.byline {
text-align: center;
color: #999;
font-size: 18px;
font-weight: 300;
line-height: 24px;
margin-bottom: 20px;
}
.features h2 {
font-size: 22px;
font-weight: 300;
}
.feature-icon {
float: left;
margin: 7px 10px 0 0;
opacity: 0.8;
}
.features .row {
margin-bottom: 9px;
}
.features .github-btn {
display: inline;
vertical-align: top;
position: relative;
top: -2px;
}
.footer {
margin-top: 45px;
padding: 35px 0 36px;
border-top: 1px solid #e5e5e5;
}
.footer p {
margin-bottom: 0;
}
.milestones {
border-top: 1px solid #e5e5e5;
padding-top: 50px;
display: none;
}
.milestones h1 {
text-align: center;
font-weight: 300;
font-size: 40px;
margin-bottom: 10px;
}
.milestones h2 {
font-weight: 300;
}
.players {
position: absolute;
bottom: -20px;
padding-left: 20px;
}
.players .created-by {
position: absolute;
font-size: 13px;
width: 300px;
bottom: -1px;
left: 62px;
text-align: left;
color: #ccc;
text-transform: lowercase;
}
.players .player {
position: relative;
width: 32px;
height: 79px; /* 64 + 15 */
}
.players .player .link {
display: block;
z-index: 200;
position: absolute;
left: 0;
top: 15px; /* The 15 added to .players .player height */
right: 0;
bottom: 0;
}
.players .player iframe {
position: absolute;
z-index: 100;
bottom: 0;
left: 0;
-webkit-transition: all 0.05s linear;
-moz-transition: all 0.05s linear;
-ms-transition: all 0.05s linear;
-o-transition: all 0.05s linear;
transition: all 0.05s linear;
}
.players .player:hover iframe {
-webkit-transform: translate(0, -10px);
-moz-transform: translate(0, -10px);
-ms-transform: translate(0, -10px);
-o-transform: translate(0, -10px);
transform: translate(0, -10px);
}
.players .player .shadow {
z-index: 50;
width: 50px;
height: 15px;
position: absolute;
bottom: -7px;
left: -9px;
background: -webkit-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
background: -moz-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
background: -ms-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
background: -o-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
background: radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
}
.players .player:hover .shadow {
background: -webkit-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
background: -moz-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
background: -ms-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
background: -o-radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
background: radial-gradient(50% 50%, cover, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
}