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