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