carousel.css 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /* GLOBAL STYLES
  2. -------------------------------------------------- */
  3. /* Padding below the footer and lighter body text */
  4. body {
  5. padding-top: 3rem;
  6. padding-bottom: 3rem;
  7. color: #5a5a5a;
  8. }
  9. /* CUSTOMIZE THE CAROUSEL
  10. -------------------------------------------------- */
  11. /* Carousel base class */
  12. .carousel {
  13. margin-bottom: 4rem;
  14. }
  15. /* Since positioning the image, we need to help out the caption */
  16. .carousel-caption {
  17. bottom: 3rem;
  18. z-index: 10;
  19. }
  20. /* Declare heights because of positioning of img element */
  21. .carousel-item {
  22. height: 32rem;
  23. background-color: #777;
  24. }
  25. .carousel-item > img {
  26. position: absolute;
  27. top: 0;
  28. left: 0;
  29. min-width: 100%;
  30. height: 32rem;
  31. }
  32. /* MARKETING CONTENT
  33. -------------------------------------------------- */
  34. /* Center align the text within the three columns below the carousel */
  35. .marketing .col-lg-4 {
  36. margin-bottom: 1.5rem;
  37. text-align: center;
  38. }
  39. .marketing h2 {
  40. font-weight: 400;
  41. }
  42. .marketing .col-lg-4 p {
  43. margin-right: .75rem;
  44. margin-left: .75rem;
  45. }
  46. /* Featurettes
  47. ------------------------- */
  48. .featurette-divider {
  49. margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  50. }
  51. /* Thin out the marketing headings */
  52. .featurette-heading {
  53. font-weight: 300;
  54. line-height: 1;
  55. letter-spacing: -.05rem;
  56. }
  57. /* RESPONSIVE CSS
  58. -------------------------------------------------- */
  59. @media (min-width: 40em) {
  60. /* Bump up size of carousel content */
  61. .carousel-caption p {
  62. margin-bottom: 1.25rem;
  63. font-size: 1.25rem;
  64. line-height: 1.4;
  65. }
  66. .featurette-heading {
  67. font-size: 50px;
  68. }
  69. }
  70. @media (min-width: 62em) {
  71. .featurette-heading {
  72. margin-top: 7rem;
  73. }
  74. }