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