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