jumbotron.less 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. }
  23. .jumbotron-ad, .jumbotron-carousel {
  24. h1 {
  25. text-shadow: 4px 3px 0px @jumbotron-bg, 9px 8px 0px rgba(0,0,0,0.15); // double text shadow
  26. }
  27. p {
  28. color: mix(@jumbotron-color, @jumbotron-bg, 75%);
  29. text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  30. }
  31. }
  32. .jumbotron-icon {
  33. padding: 30px 0 25px;
  34. background-color: @gray-lighter;
  35. color: @gray-darker;
  36. &, h1 { text-shadow: 0 1px 0 #fff; }
  37. border-bottom-color: mix(@gray-light, @gray-lighter, 25%);
  38. border-top-color: mix(#fff, @gray-lighter, 50%);
  39. h1 {
  40. color: @gray-darker;
  41. margin-top: @buffer-lg;
  42. small {
  43. letter-spacing: normal;
  44. font-family: @font-family-sans-serif;
  45. font-size: @font-size-base;
  46. margin-left: 20px;
  47. }
  48. }
  49. .info-icons {
  50. font-size: @font-size-base;
  51. }
  52. .info-details {
  53. float: left;
  54. p {
  55. margin: 25px 0;
  56. font-weight: bold;
  57. }
  58. .dl-horizontal {
  59. dt { width: @component-offset-horizontal - 100; }
  60. dd { margin-left: @component-offset-horizontal - 85; }
  61. }
  62. }
  63. .fa-2 { font-size: 2em; }
  64. .fa-3 { font-size: 4em; }
  65. .fa-4 { font-size: 7em; }
  66. .fa-5 { font-size: 12em; }
  67. .fa-6 { font-size: 20em; }
  68. .fa-1, .fa-2, .fa-3, .fa-4, .fa-5, .fa-6 { margin-right: 1/14em; }
  69. }
  70. h1.info-class {
  71. font-size: 30px;
  72. }