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