mdb-ui-kit/docs/assets/css/src/_home.less
2015-11-20 17:50:50 -06:00

79 lines
1.7 KiB
Plaintext

/*
* Homepage
*
* Tweaks to the custom homepage and the masthead (main jumbotron).
*/
/* Share masthead with page headers */
.bs-docs-masthead,
.bs-docs-header {
position: relative;
padding: 30px 0;
color: @site-color-lighter;
text-align: center;
text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
background-color: @site-color-base;
background-image: -webkit-gradient(linear, left top, left bottom, from(@site-color-base), to(@site-color-base));
background-image: -webkit-linear-gradient(top, @site-color-base 0%, @site-color-base 100%);
background-image: -o-linear-gradient(top, @site-color-base 0%, @site-color-base 100%);
background-image: linear-gradient(to bottom, @site-color-base 0%, @site-color-base 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@site-color-base', endColorstr='@site-color-base', GradientType=0);
background-repeat: repeat-x;
}
/* Masthead (headings and download button) */
.bs-docs-masthead .bs-docs-booticon {
margin: 0 auto 30px;
}
.bs-docs-masthead h1 {
font-weight: 300;
line-height: 1;
color: #fff;
}
.bs-docs-masthead .lead {
margin: 0 auto 30px;
font-size: 20px;
color: #fff;
}
.bs-docs-masthead .version {
margin-top: -15px;
margin-bottom: 30px;
color: @site-color-light;
}
.bs-docs-masthead .btn {
width: 100%;
padding: 15px 30px;
font-size: 20px;
}
@media (min-width: 480px) {
.bs-docs-masthead .btn {
width: auto;
}
}
@media (min-width: 768px) {
.bs-docs-masthead {
padding: 80px 0;
}
.bs-docs-masthead h1 {
font-size: 60px;
}
.bs-docs-masthead .lead {
font-size: 24px;
}
}
@media (min-width: 992px) {
.bs-docs-masthead .lead {
width: 80%;
font-size: 30px;
}
}