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