_base.scss 870 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Base styles
  2. // ---------------------------------------/
  3. * {
  4. -webkit-box-sizing: border-box;
  5. -moz-box-sizing: border-box;
  6. box-sizing: border-box;
  7. }
  8. html {
  9. background: $white;
  10. }
  11. body{
  12. @include serif;
  13. color: $text_color;
  14. font-size: 16px;
  15. line-height: 1.5;
  16. }
  17. .wrapper:before,
  18. .wrapper:after { content:""; display:table; }
  19. .wrapper:after { clear: both; }
  20. .wrapper {
  21. max-width: 728px;
  22. padding: 0 24px;
  23. margin: 0 auto;
  24. zoom: 1;
  25. }
  26. // clearfix (now called group,
  27. // via http://css-tricks.com/snippets/css/clear-fix/)
  28. .group:before,
  29. .group:after { content:""; display:table; }
  30. .group:after { clear:both; }
  31. .group { zoom:1; /* For IE 6/7 (trigger hasLayout) */ }
  32. ::-moz-selection {
  33. background: rgba(51,51,51,.8);
  34. color: #fff;
  35. text-shadow: none;
  36. }
  37. ::selection {
  38. background: rgba(51,51,51,.8);
  39. color: #fff;
  40. text-shadow: none;
  41. }