mdb-ui-kit/docs/examples/carousel/carousel.css

114 lines
2.3 KiB
CSS
Raw Normal View History

2015-11-20 00:58:21 +03:00
/* GLOBAL STYLES
2015-12-10 18:02:44 +03:00
-------
[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
{% callout info %}
**Bootstrap Reference Documentation**
This is a part of the reference documentation from <a href="http://getbootstrap.com">Bootstrap</a>.
It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the <a href="/material-design/buttons">Material Design</a> section for more elements and customization options.
2015-12-10 18:02:44 +03:00
{% endcallout %}
------------------------------------------- */
2015-11-20 00:58:21 +03:00
/* Padding below the footer and lighter body text */
body {
padding-bottom: 3rem;
2015-11-20 00:58:21 +03:00
color: #5a5a5a;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
margin-bottom: 4rem;
2015-11-20 00:58:21 +03:00
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel-item {
height: 32rem;
2015-11-20 00:58:21 +03:00
background-color: #777;
}
.carousel-item > img {
2015-11-20 00:58:21 +03:00
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: 32rem;
}
.carousel-indicators {
top: 1.5rem;
right: 1.5rem;
bottom: auto;
left: auto;
width: 1rem;
margin-left: 0;
}
.carousel-indicators > li {
margin-bottom: .25rem;
2015-11-20 00:58:21 +03:00
}
/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
margin-bottom: 1.5rem;
2015-11-20 00:58:21 +03:00
text-align: center;
}
.marketing h2 {
font-weight: normal;
}
.marketing .col-lg-4 p {
margin-right: .75rem;
margin-left: .75rem;
2015-11-20 00:58:21 +03:00
}
/* Featurettes
------------------------- */
.featurette-divider {
margin: 5rem 0; /* Space out the Bootstrap <hr> more */
2015-11-20 00:58:21 +03:00
}
/* Thin out the marketing headings */
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -.05rem;
2015-11-20 00:58:21 +03:00
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 40em) {
2015-11-20 00:58:21 +03:00
/* Bump up size of carousel content */
.carousel-caption p {
margin-bottom: 1.25rem;
font-size: 1.25rem;
2015-11-20 00:58:21 +03:00
line-height: 1.4;
}
.featurette-heading {
font-size: 50px;
}
}
@media (min-width: 62em) {
2015-11-20 00:58:21 +03:00
.featurette-heading {
margin-top: 7rem;
2015-11-20 00:58:21 +03:00
}
}