_mixins.scss 459 B

12345678910111213141516171819
  1. // Mixins
  2. @mixin transition-all() {
  3. -webkit-transition: all 0.2s;
  4. -moz-transition: all 0.2s;
  5. transition: all 0.2s;
  6. }
  7. @mixin background-cover() {
  8. -webkit-background-size: cover;
  9. -moz-background-size: cover;
  10. -o-background-size: cover;
  11. background-size: cover;
  12. }
  13. @mixin serif-font() {
  14. font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
  15. }
  16. @mixin sans-serif-font() {
  17. font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  18. }