carousel.rtl.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. }
  24. .carousel-item > img {
  25. position: absolute;
  26. top: 0;
  27. right: 0;
  28. min-width: 100%;
  29. height: 32rem;
  30. }
  31. /* MARKETING CONTENT
  32. -------------------------------------------------- */
  33. /* Center align the text within the three columns below the carousel */
  34. .marketing .col-lg-4 {
  35. margin-bottom: 1.5rem;
  36. text-align: center;
  37. }
  38. .marketing h2 {
  39. font-weight: 400;
  40. }
  41. .marketing .col-lg-4 p {
  42. margin-right: .75rem;
  43. margin-left: .75rem;
  44. }
  45. /* Featurettes
  46. ------------------------- */
  47. .featurette-divider {
  48. margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  49. }
  50. /* Thin out the marketing headings */
  51. .featurette-heading {
  52. font-weight: 300;
  53. line-height: 1;
  54. }
  55. /* RESPONSIVE CSS
  56. -------------------------------------------------- */
  57. @media (min-width: 40em) {
  58. /* Bump up size of carousel content */
  59. .carousel-caption p {
  60. margin-bottom: 1.25rem;
  61. font-size: 1.25rem;
  62. line-height: 1.4;
  63. }
  64. .featurette-heading {
  65. font-size: 50px;
  66. }
  67. }
  68. @media (min-width: 62em) {
  69. .featurette-heading {
  70. margin-top: 7rem;
  71. }
  72. }