You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.1 KiB

3 years ago
  1. //
  2. // Jumbotron
  3. // --------------------------------------------------
  4. .jumbotron {
  5. padding-top: @jumbotron-padding;
  6. padding-bottom: @jumbotron-padding;
  7. margin-bottom: @jumbotron-padding;
  8. color: @jumbotron-color;
  9. background-color: @jumbotron-bg;
  10. h1,
  11. .h1 {
  12. color: @jumbotron-heading-color;
  13. }
  14. p {
  15. margin-bottom: (@jumbotron-padding / 2);
  16. font-size: @jumbotron-font-size;
  17. font-weight: 200;
  18. }
  19. > hr {
  20. border-top-color: darken(@jumbotron-bg, 10%);
  21. }
  22. .container &,
  23. .container-fluid & {
  24. border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
  25. padding-left: (@grid-gutter-width / 2);
  26. padding-right: (@grid-gutter-width / 2);
  27. }
  28. .container {
  29. max-width: 100%;
  30. }
  31. @media screen and (min-width: @screen-sm-min) {
  32. padding-top: (@jumbotron-padding * 1.6);
  33. padding-bottom: (@jumbotron-padding * 1.6);
  34. .container &,
  35. .container-fluid & {
  36. padding-left: (@jumbotron-padding * 2);
  37. padding-right: (@jumbotron-padding * 2);
  38. }
  39. h1,
  40. .h1 {
  41. font-size: @jumbotron-heading-font-size;
  42. }
  43. }
  44. }