main.css 537 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Sticky footer styles: unneeded with .navbar-fixed-bottom */
  2. html {
  3. min-height: 100%;
  4. position: relative;
  5. }
  6. body {
  7. /* Margin bottom by footer height */
  8. margin-bottom: 220px;
  9. }
  10. .footer {
  11. bottom: 0;
  12. /* Set the fixed height of the footer here */
  13. height: 220px;
  14. position: absolute;
  15. width: 100%;
  16. }
  17. @media only screen and (max-width: 768px) {
  18. body {
  19. margin-bottom: 400px;
  20. }
  21. .footer {
  22. height: 400px;
  23. }
  24. }
  25. /* Other styles */
  26. .footer {
  27. background-color: #333;
  28. color: #efefef;
  29. padding: 30px 0;
  30. }