style.css 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. @font-face {
  2. font-family: bacon;
  3. src: url('/fonts/BaconSans.eot');
  4. src: url('/fonts/BaconSans.woff') format('woff'),
  5. url('/fonts/BaconSans.svg#BaconSans') format('svg'),
  6. url('www/fonts/BaconSans.ttf') format('truetype');
  7. }
  8. * { margin: 0; padding: 0; font-size: 1.05em; }
  9. body { margin: 50px 100px; }
  10. header { margin-bottom: 50px; }
  11. header a { font-style: normal; color: black; padding: 0; }
  12. footer { margin-top: 50px; }
  13. footer.page-footer { clear: both; padding-top: 75px; text-align: center; }
  14. h1 { display: inline-block; padding: 25px; margin: 10px 0; background-color: #D3B3A5; color: black; font-weight: bold; font-size: 2.5rem; font-family: bacon; }
  15. h2 { color: #D3B3A5; font-weight: bold; font-size: 1.7rem; font-family: bacon; }
  16. h3 { color: #EDD6CB; font-weight: bold; font-size: 1.25rem; font-family: bacon; }
  17. a { padding: 10px; background-color: #D3B3A5; text-decoration: none; color: white; font-style: italic; font-family: bacon; }
  18. a.disabled { padding: 10px; visibility: hidden; }
  19. a.dailyBt { display: inline-block; margin: 10px 0; }
  20. img { max-width: 100%; }
  21. .date { font-style: italic; }
  22. .section { display: inline-block; width: 50%; float: left; }
  23. .section-content { margin: 0 20px 0 0; }
  24. .article-footer { text-align: center; }
  25. .alert { background: #EDD6CB; border: 1px solid #D3B3A5; margin: 0 0 30px 0; padding: 10px 25px; border-radius: 5px; }
  26. .input-group { margin: 10px 0; }
  27. .input-group span { display: inline-block; width: 250px; }
  28. input[type="submit"] { display: inline-block; margin: 10px 0; padding: 10px; border: none; background-color: #D3B3A5; color: white; font-family: bacon; }
  29. @media screen and (max-width: 1024px) {
  30. body { margin: 0 10px 50px 10px; text-align: center; }
  31. .section { display: block; width: 100%; margin: 15px 0; float: none; }
  32. .input-group { text-align: left; }
  33. .input-group span { width: 100%; }
  34. }