summaryrefslogtreecommitdiff
path: root/style.scss
blob: b384ce35e58669700e63a697a060927c9f8d7f86 (plain)
  1. @import "h5bp";
  2. @import "../shared/themes/default/style";
  3. @import "compass/typography/vertical_rhythm";
  4. $round-to-nearest-half-line: true;
  5. @include h5bp-normalize;
  6. @include establish-baseline;
  7. h1 {
  8. color: DarkRed;
  9. @include adjust-font-size-to(2 * $base-font-size, 1);
  10. }
  11. h2 {
  12. @include adjust-font-size-to(1.4 * $base-font-size, 1.5);
  13. }
  14. h3 {
  15. @include adjust-font-size-to(1.1 * $base-font-size, 1.6em / $base-rhythm-unit);
  16. font-weight: bold;
  17. }
  18. h1,
  19. h2,
  20. h3 {
  21. @include trailer (.1);
  22. }
  23. h4,
  24. h5,
  25. h6 {
  26. text-decoration: blink;
  27. }
  28. a {
  29. color: darkblue;
  30. font-weight: normal;
  31. text-decoration: none;
  32. &:hover {
  33. text-decoration: underline;
  34. }
  35. }
  36. p {
  37. @include rhythm(.2em / $base-rhythm-unit, $trailer: 1.2em / $base-rhythm-unit);
  38. }
  39. em {
  40. font-weight: bold;
  41. }
  42. ol, ul {
  43. list-style: disc inside none;
  44. }
  45. body {
  46. font-family: Helvetica, Verdana, Sans-serif;
  47. }
  48. div.header {
  49. padding: rhythm(.5em / $base-rhythm-unit) 0 0 1.5em;
  50. background-color: LightBlue;
  51. color: LightBlue;
  52. }
  53. span.author,
  54. div.recentchanges,
  55. span.committype,
  56. div#footer {
  57. @include adjust-font-size-to(.8 * $base-font-size);
  58. }
  59. div.pageheader span.title {
  60. color: white;
  61. @include adjust-font-size-to(1.2 * $base-font-size, .8);
  62. }
  63. span.parentlinks {
  64. display: none;
  65. }
  66. FORM#searchform {
  67. margin: 0 2em 0 0;
  68. }
  69. div.pageheader div.actions {
  70. background-color: LightBlue;
  71. ul {
  72. border-bottom: none;
  73. }
  74. }
  75. div.actions ul {
  76. padding: rhythm(2/3) 0 rhythm(1/3) 2em;
  77. a {
  78. color: Lightblue;
  79. &:hover {
  80. color: white;
  81. }
  82. }
  83. }
  84. div#topbar,
  85. div.topbar {
  86. height: rhythm(2.5);
  87. margin: 0;
  88. padding: rhythm(20px / $base-line-height) 0;
  89. background-color: LightBlue;
  90. text-align: center;
  91. text-transform: uppercase;
  92. letter-spacing: 1px;
  93. p {
  94. float: left;
  95. }
  96. a {
  97. font-weight: bold;
  98. }
  99. ul {
  100. list-style-type:none;
  101. margin: 0;
  102. padding: 0;
  103. li {
  104. display:inline;
  105. margin: 0 20px;
  106. }
  107. }
  108. }
  109. div#topbar li,
  110. div#topbar ul,
  111. div#topbar ul li,
  112. div#topbar ol,
  113. div#topbar ol li,
  114. div.topbar li,
  115. div.topbar ul,
  116. div.topbar ul li,
  117. div.topbar ol,
  118. div.topbar ol li {
  119. @include adjust-font-size-to(1.1 * $base-font-size, 2em / $base-rhythm-unit);
  120. }
  121. div#topbar img,
  122. div.topbar img {
  123. margin: 0 20px;
  124. }
  125. div#wrapper,
  126. div#pagebody {
  127. float: left;
  128. width: 100%;
  129. }
  130. // FIXME: use vertical rhythm
  131. div#content {
  132. min-height: 480px;
  133. max-width: 48em;
  134. margin: 2% 40% 2% 20%;
  135. padding: 0;
  136. text-align: left;
  137. background-color: none;
  138. }
  139. // FIXME: use vertical rhythm
  140. div#content IMG {
  141. display: block;
  142. clear: both;
  143. float: right;
  144. width: 50%;
  145. max-width: 200px;
  146. margin-right: -50%;
  147. padding: 0 5% 5%;
  148. background-color: none;
  149. }
  150. div.inlinepage {
  151. border: 0;
  152. padding: 1em;
  153. margin: 0 -1em;
  154. background-color: LightYellow;
  155. }
  156. div.inlinepage SPAN.header a {
  157. @include adjust-font-size-to(.9 * $base-font-size);
  158. font-weight: normal;
  159. color: DarkRed;
  160. }
  161. div.inlinefooter {
  162. display: none;
  163. }
  164. // FIXME: use vertical rhythm
  165. div#sidebar,
  166. div.sidebar {
  167. float: left;
  168. min-height: 480px;
  169. width: 14%;
  170. padding: 1%;
  171. margin-top: 2%;
  172. margin-left: -98%;
  173. margin-bottom: 2%;
  174. border: none;
  175. background-color: LightBlue;
  176. text-align: left;
  177. }
  178. div#sidebar ul,
  179. div.sidebar ul {
  180. padding-left: 0.5em;
  181. margin-bottom:0;
  182. margin-top:0;
  183. }
  184. div#sidebar ul li,
  185. div.sidebar ul li {
  186. list-style-type: none;
  187. padding: 0;
  188. }
  189. div#sidebar ul li,
  190. div.sidebar ul li,
  191. div#sidebar ul li p,
  192. div.sidebar ul li p {
  193. margin-bottom: 0;
  194. }
  195. div#sidebar ul li a,
  196. div.sidebar ul li a {
  197. font-weight: normal;
  198. color: black;
  199. &:hover {
  200. color: white;
  201. }
  202. }
  203. div#sidebar ul li SPAN.selflink,
  204. div.sidebar ul li SPAN.selflink {
  205. color: white;
  206. font-weight: bold;
  207. }
  208. // FIXME: use vertical rhythm
  209. div#farbar,
  210. div.farbar {
  211. float: left;
  212. min-height: 480px;
  213. width: 14%;
  214. margin-top: 2%;
  215. margin-left: -18%;
  216. margin-bottom: 2%;
  217. padding: 1%;
  218. background-color: LightBlue;
  219. text-align: left;
  220. }
  221. div.tags {
  222. display: none;
  223. }
  224. div#backlinks {
  225. display: none;
  226. }
  227. // FIXME: use vertical rhythm
  228. div#footer {
  229. clear: left;
  230. width: 100%;
  231. margin: 2% 0 0;
  232. }
  233. div#pageinfo {
  234. margin: 0;
  235. border-top: 0;
  236. padding: rhythm(1em / $base-rhythm-unit) 1em rhythm(1em / $base-rhythm-unit) 20px;
  237. background-color: LightBlue;
  238. }
  239. div.pagedate {
  240. margin-top: 0;
  241. }
  242. div.pagecopyright,
  243. div.pagecopyright P {
  244. margin-top: 0;
  245. margin-bottom: 0;
  246. }