summaryrefslogtreecommitdiff
path: root/style.scss
blob: 538e64925ddfd34f76838be66e2e53390bbb4432 (plain)
  1. @import "h5bp";
  2. @import "../shared/themes/default/ikiwiki";
  3. // site defaults
  4. @import "compass/typography/vertical_rhythm";
  5. @include h5bp-normalize;
  6. @include establish-baseline;
  7. h1 {
  8. @include adjust-font-size-to(32px);
  9. @include rhythm;
  10. font-weight: normal;
  11. }
  12. h2 {
  13. @include adjust-font-size-to(24px);
  14. @include rhythm;
  15. }
  16. h3 {
  17. @include adjust-font-size-to(16px);
  18. @include rhythm(1);
  19. font-weight: bold;
  20. }
  21. h4,
  22. h5,
  23. h6 {
  24. text-decoration: blink;
  25. }
  26. a {
  27. color: darkblue;
  28. font-weight: normal;
  29. text-decoration: none;
  30. &:hover {
  31. text-decoration: underline;
  32. }
  33. }
  34. p {
  35. @include rhythm;
  36. }
  37. em {
  38. font-weight: bold;
  39. }
  40. ol, ul {
  41. list-style: disc inside none;
  42. }
  43. body {
  44. font-family: Verdana, Helvetica, Sans-serif;
  45. }
  46. @include ikiwiki-images;
  47. @include ikiwiki-pre;
  48. // generic styles
  49. @include ikiwiki-lists;
  50. @include ikiwiki-plugin-img;
  51. @include ikiwiki-feedbutton;
  52. @include ikiwiki-forms;
  53. @include ikiwiki-alignment;
  54. @include ikiwiki-debug;
  55. @include ikiwiki-plugin-highlight;
  56. @include ikiwiki-plugin-color;
  57. // shell
  58. // layout
  59. // layout - main content
  60. div#wrapper,
  61. div#pagebody {
  62. float: left;
  63. width: 100%;
  64. }
  65. div#content {
  66. min-height: rhythm(25);
  67. max-width: 48em;
  68. margin: rhythm() 40% rhythm(2) 20%;
  69. padding: 0;
  70. text-align: left;
  71. background-color: none;
  72. }
  73. div#content IMG {
  74. display: block;
  75. clear: both;
  76. float: right;
  77. width: 50%;
  78. max-width: 200px;
  79. margin-right: -50%;
  80. padding: 0 rhythm() rhythm();
  81. background-color: none;
  82. }
  83. @include ikiwiki-inlinepage;
  84. div.inlinepage {
  85. border: 0;
  86. padding: rhythm(.5);
  87. margin: 0 -1em;
  88. background-color: LightYellow;
  89. }
  90. @include ikiwiki-inlinecontent;
  91. @include ikiwiki-inlineheader;
  92. div.inlinepage SPAN.header a {
  93. @include adjust-font-size-to(14px);
  94. font-weight: normal;
  95. }
  96. div.inlinefooter {
  97. display: none;
  98. }
  99. @include ikiwiki-plugin-comments;
  100. // layout - header
  101. @include ikiwiki-plugin-search;
  102. @include ikiwiki-actions;
  103. @include ikiwiki-plugin-po;
  104. div.header {
  105. @include adjust-font-size-to(20px);
  106. padding: rhythm(.5) 0 0 1em;
  107. background-color: LightBlue;
  108. color: LightBlue;
  109. }
  110. span.author,
  111. div.recentchanges,
  112. span.committype,
  113. div#footer {
  114. @include adjust-font-size-to(8px);
  115. }
  116. div.pageheader span.title {
  117. color: white;
  118. @include adjust-font-size-to(18px);
  119. }
  120. span.parentlinks {
  121. display: none;
  122. }
  123. FORM#searchform {
  124. margin: 0 2em 0 0;
  125. }
  126. div.pageheader div.actions {
  127. background-color: LightBlue;
  128. ul {
  129. border-bottom: none;
  130. }
  131. }
  132. div.actions ul {
  133. padding: rhythm(2/3) 0 rhythm(1/3) 2em;
  134. a {
  135. color: Lightblue;
  136. &:hover {
  137. color: white;
  138. }
  139. }
  140. }
  141. div#topbar,
  142. div.topbar {
  143. height: rhythm(2);
  144. margin: 0;
  145. padding: rhythm() 0;
  146. background-color: LightBlue;
  147. text-align: center;
  148. text-transform: uppercase;
  149. letter-spacing: 1px;
  150. p {
  151. float: left;
  152. }
  153. a {
  154. font-weight: bold;
  155. }
  156. ul {
  157. list-style-type:none;
  158. margin: 0;
  159. padding: 0;
  160. li {
  161. display:inline;
  162. margin: 0 20px;
  163. }
  164. }
  165. }
  166. div#topbar li,
  167. div#topbar ul,
  168. div#topbar ul li,
  169. div#topbar ol,
  170. div#topbar ol li,
  171. div.topbar li,
  172. div.topbar ul,
  173. div.topbar ul li,
  174. div.topbar ol,
  175. div.topbar ol li {
  176. @include adjust-font-size-to(18px);
  177. }
  178. div#topbar img,
  179. div.topbar img {
  180. margin: 0 20px;
  181. }
  182. // layout - footer
  183. @include ikiwiki-footer;
  184. div#footer {
  185. clear: left;
  186. width: 100%;
  187. margin: rhythm() 0 0;
  188. }
  189. @include ikiwiki-pageinfo;
  190. div#pageinfo {
  191. margin: 0;
  192. border-top: 0;
  193. padding: rhythm(.5) 1em rhythm(.5) 20px;
  194. background-color: LightBlue;
  195. }
  196. div.pagedate {
  197. margin-top: 0;
  198. }
  199. @include ikiwiki-tags;
  200. div.tags {
  201. display: none;
  202. }
  203. @include ikiwiki-backlinks;
  204. div#backlinks {
  205. display: none;
  206. }
  207. @include ikiwiki-authorship;
  208. div.pagecopyright,
  209. div.pagecopyright P {
  210. margin-top: 0;
  211. margin-bottom: 0;
  212. }
  213. @include ikiwiki-plugin-trail;
  214. // layout - aside
  215. @include ikiwiki-plugin-sidebar;
  216. div#sidebar,
  217. div.sidebar {
  218. float: left;
  219. min-height: rhythm(25);
  220. width: 14%;
  221. padding: rhythm(.5);
  222. margin-top: rhythm();
  223. margin-left: -98%;
  224. margin-bottom: rhythm();
  225. border: none;
  226. background-color: LightBlue;
  227. text-align: left;
  228. }
  229. div#sidebar ul,
  230. div.sidebar ul {
  231. padding-left: 0.5em;
  232. margin-bottom:0;
  233. margin-top:0;
  234. }
  235. div#sidebar ul li,
  236. div.sidebar ul li {
  237. list-style-type: none;
  238. padding: 0;
  239. }
  240. div#sidebar ul li,
  241. div.sidebar ul li,
  242. div#sidebar ul li p,
  243. div.sidebar ul li p {
  244. margin-bottom: 0;
  245. }
  246. div#sidebar ul li a,
  247. div.sidebar ul li a {
  248. font-weight: normal;
  249. color: black;
  250. &:hover {
  251. color: white;
  252. }
  253. }
  254. div#sidebar ul li SPAN.selflink,
  255. div.sidebar ul li SPAN.selflink {
  256. color: white;
  257. font-weight: bold;
  258. }
  259. div#farbar,
  260. div.farbar {
  261. float: left;
  262. min-height: rhythm(25);
  263. width: 14%;
  264. margin-top: rhythm();
  265. margin-left: -18%;
  266. margin-bottom: rhythm(2);
  267. padding: rhythm(.5);
  268. background-color: LightBlue;
  269. text-align: left;
  270. }
  271. // layout - print styles
  272. @include ikiwiki-site-print;
  273. // modulars
  274. @include ikiwiki-infobox;
  275. @include ikiwiki-notebook;
  276. @include ikiwiki-popup;
  277. @include ikiwiki-plugin-calendar;
  278. @include ikiwiki-plugin-progress;
  279. @include ikiwiki-plugin-map;
  280. @include ikiwiki-plugin-poll;
  281. @include ikiwiki-plugin-pagestats;
  282. @include ikiwiki-plugin-flattr;
  283. @include ikiwiki-blogform;
  284. // section/page specific
  285. @include ikiwiki-plugin-recentchanges;
  286. @include ikiwiki-plugin-editpage;
  287. @include ikiwiki-plugin-attachment;
  288. @include ikiwiki-plugin-openid;