site.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. body {
  2. padding-top: 20px;
  3. }
  4. /* Everything but the jumbotron gets side spacing for mobile-first views */
  5. .masthead,
  6. .body-content,
  7. .footer {
  8. padding-left: 15px;
  9. padding-right: 15px;
  10. }
  11. .masthead:before,
  12. .masthead:after {
  13. display: table;
  14. content: " ";
  15. }
  16. .masthead:after {
  17. clear: both;
  18. }
  19. .footer {
  20. border-top: 1px solid #ddd;
  21. margin-top: 30px;
  22. padding-top: 29px;
  23. padding-bottom: 30px;
  24. }
  25. /* Main marketing message and sign up button */
  26. .jumbotron {
  27. text-align: center;
  28. background-color: transparent;
  29. }
  30. .jumbotron .btn {
  31. font-size: 21px;
  32. padding: 14px 24px;
  33. }
  34. /* Customize the nav-justified links to be fill the entire space of the .navbar */
  35. .nav-justified {
  36. max-height: 50px;
  37. background-color: #eee;
  38. border-radius: 5px;
  39. border: 1px solid #ccc;
  40. }
  41. .nav-justified > li > a {
  42. padding-top: 15px;
  43. padding-bottom: 15px;
  44. color: #777;
  45. font-weight: bold;
  46. text-align: center;
  47. border-left: 1px solid rgba(255,255,255,.75);
  48. border-right: 1px solid rgba(0,0,0,.1);
  49. background-color: #e5e5e5; /* Old browsers */
  50. background-repeat: repeat-x; /* Repeat the gradient */
  51. background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
  52. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
  53. background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
  54. background-image: -ms-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* IE10+ */
  55. background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
  56. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  57. background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
  58. }
  59. .nav-justified > .active > a {
  60. background-color: #ddd;
  61. background-image: none;
  62. box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
  63. }
  64. .nav-justified > li:first-child > a {
  65. border-left: 0;
  66. border-top-left-radius: 5px;
  67. border-bottom-left-radius: 5px;
  68. }
  69. .nav-justified > li:last-child > a {
  70. border-right: 0;
  71. border-top-right-radius: 5px;
  72. border-bottom-right-radius: 5px;
  73. }
  74. /* Responsive: Portrait tablets and up */
  75. @media screen and (min-width: 768px) {
  76. /* Remove the padding we set earlier */
  77. .masthead,
  78. .marketing,
  79. .footer {
  80. padding-left: 0;
  81. padding-right: 0;
  82. }
  83. }