jumbotron.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .jumbotron {
  2. background-color: lighten(@jumbotron-bg, 2%);
  3. border-top: 1px solid mix(@jumbotron-bg, @jumbotron-color, 90%);
  4. border-bottom: 1px solid @jumbotron-border;
  5. margin-bottom: 0;
  6. &, h1 { color: @jumbotron-color; }
  7. padding: 50px 0 40px;
  8. h1 {
  9. font-size: 80px;
  10. letter-spacing: -2px;
  11. line-height: 1;
  12. margin: 0 0 15px;
  13. }
  14. p {
  15. font-family: @font-family-alt;
  16. margin-top: 15px;
  17. margin-bottom: 15px;
  18. font-size: 24px;
  19. line-height: 1.3;
  20. font-weight: lighter;
  21. }
  22. .list-group-item {
  23. border-color: mix(@jumbotron-color, @fa-green, 15%);
  24. background: transparent;
  25. }
  26. .text-muted {
  27. color: mix(@jumbotron-color, @fa-green, 45%);
  28. }
  29. }
  30. .jumbotron-ad, .jumbotron-carousel {
  31. h1 {
  32. text-shadow: 4px 3px 0px @jumbotron-bg, 9px 8px 0px rgba(0,0,0,0.15); // double text shadow
  33. }
  34. p {
  35. color: mix(@jumbotron-color, @jumbotron-bg, 75%);
  36. text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  37. }
  38. }
  39. .jumbotron-icon {
  40. padding: 30px 0 25px;
  41. background-color: @gray-lighter;
  42. color: @gray-darker;
  43. &, h1 { text-shadow: 0 1px 0 #fff; }
  44. border-bottom-color: mix(@gray-light, @gray-lighter, 25%);
  45. border-top-color: mix(#fff, @gray-lighter, 50%);
  46. h1 {
  47. color: @gray-darker;
  48. margin-top: @buffer-lg;
  49. small {
  50. letter-spacing: normal;
  51. font-family: @font-family-sans-serif;
  52. font-size: @font-size-base;
  53. margin-left: 20px;
  54. }
  55. }
  56. .info-icons {
  57. font-size: @font-size-base;
  58. }
  59. .info-details {
  60. float: left;
  61. p {
  62. margin: 25px 0;
  63. font-weight: bold;
  64. }
  65. .dl-horizontal {
  66. dt { width: @component-offset-horizontal - 100; }
  67. dd { margin-left: @component-offset-horizontal - 85; }
  68. }
  69. }
  70. .fa-2 { font-size: 2em; }
  71. .fa-3 { font-size: 4em; }
  72. .fa-4 { font-size: 7em; }
  73. .fa-5 { font-size: 12em; }
  74. .fa-6 { font-size: 20em; }
  75. .fa-1, .fa-2, .fa-3, .fa-4, .fa-5, .fa-6 { margin-right: 1/14em; }
  76. }
  77. h1.info-class {
  78. font-size: 30px;
  79. }