summaryrefslogtreecommitdiff
path: root/test.scss
blob: 6a1ed3c2fcd6c7dc49b3462ca0259d5c7961932d (plain)
  1. @import 'h5bp/helpers';
  2. @import 'compass/css3';
  3. #content {
  4. width: 96%;
  5. margin: 2%;
  6. }
  7. .inlinepage {
  8. border: 0;
  9. padding: 1em 5%;
  10. margin: 0;
  11. background-color: none;
  12. }
  13. .inlinepage .header a {
  14. font-weight: normal;
  15. color: DarkRed;
  16. }
  17. .inlinefooter,
  18. .inlineheader .author,
  19. .sidebar,
  20. .farbar {
  21. @include h5bp-hidden;
  22. }
  23. //Responsive design
  24. @media screen and (max-width: 40em) {
  25. #content {
  26. width: 100%;
  27. margin: 0;
  28. }
  29. .inlinepage {
  30. background-color: Blue;
  31. }
  32. .columns {
  33. @include column-count(1);
  34. }
  35. }
  36. @media screen and (min-width: 41em) and (max-width: 70em) {
  37. .inlinepage {
  38. background-color: Black;
  39. }
  40. .columns {
  41. @include column-count(2);
  42. }
  43. }
  44. @media only screen and (min-width: 71em) {
  45. .inlinepage {
  46. background-color: Red;
  47. }
  48. .columns {
  49. @include column-count(3);
  50. }
  51. }