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