responsive.styl 690 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Responsive styles */
  2. // Portrait phones and down
  3. // @media (max-width: 320px)
  4. // Larger phones to smaller landscape phones, and down
  5. @media (max-width: 480px)
  6. body
  7. font-size: 14px
  8. h1
  9. font-size: 2.5em
  10. h2
  11. font-size: 1.8em
  12. h3
  13. font-size: 1.3em
  14. h4
  15. font-size: 1.1em
  16. // Odd one
  17. // @media (max-width: 600px)
  18. // Landscape on larger phone to smaller tablet
  19. @media (min-width: 481px) and (max-width: 767px)
  20. h1
  21. font-size: 3em
  22. h2
  23. font-size: 2em
  24. h3
  25. font-size: 1.5em
  26. h4
  27. font-size: 1.2em
  28. // Portrait tablet to landscape and desktop
  29. // @media (min-width: 768px) and (max-width: 979px)
  30. // Large desktop
  31. // @media (min-width: 1200px)