summaryrefslogtreecommitdiff
path: root/style.scss
blob: 3a824384997e422e3a46add1af9dac5f1153784c (plain)
  1. @import "partials/base";
  2. @import "h5bp";
  3. @import "compass/typography/links";
  4. @import "../shared/themes/default/ikiwiki";
  5. // site defaults
  6. @include h5bp-normalize;
  7. @include h5bp-main;
  8. @include ikiwiki-images;
  9. @include ikiwiki-pre;
  10. // generic styles
  11. @include ikiwiki-lists;
  12. @include ikiwiki-feedbutton;
  13. @include ikiwiki-forms;
  14. @include ikiwiki-alignment;
  15. @include ikiwiki-debug;
  16. @include ikiwiki-plugin-highlight;
  17. @include ikiwiki-plugin-color;
  18. // based on ikiwiki-plugin-img
  19. // - img.img styling
  20. // + left-aligned
  21. // + vertical margin
  22. // + line-height
  23. .img caption {
  24. margin: -1em 0 1.5em;
  25. line-height: 175%;
  26. font-size: 80%;
  27. caption-side: bottom;
  28. text-align: left;
  29. }
  30. // shell
  31. // layout
  32. @include ikiwiki-site;
  33. @include ikiwiki-site-print;
  34. // modulars
  35. @include ikiwiki-infobox;
  36. @include ikiwiki-notebook;
  37. @include ikiwiki-popup;
  38. @include ikiwiki-plugin-calendar;
  39. @include ikiwiki-plugin-progress;
  40. @include ikiwiki-plugin-map;
  41. @include ikiwiki-plugin-poll;
  42. @include ikiwiki-plugin-pagestats;
  43. @include ikiwiki-plugin-flattr;
  44. @include ikiwiki-blogform;
  45. // section/page specific
  46. @include ikiwiki-archivepage;
  47. @include ikiwiki-plugin-recentchanges;
  48. @include ikiwiki-plugin-editpage;
  49. @include ikiwiki-plugin-attachment;
  50. @include ikiwiki-plugin-openid;
  51. h1 {
  52. font-weight: normal;
  53. color: DarkRed;
  54. margin-bottom: 0.1em;
  55. line-height: 1.4em;
  56. }
  57. h2,
  58. h3 {
  59. margin-bottom: 0.1em;
  60. }
  61. h4,
  62. h5,
  63. h6 {
  64. text-decoration: blink;
  65. }
  66. h2 {
  67. font-weight: normal;
  68. font-size: 1.4em;
  69. }
  70. h3 {
  71. font-size: 1.1em;
  72. font-weight: bold;
  73. line-height: 1.6em;
  74. }
  75. a {
  76. @include hover-link;
  77. color: darkblue;
  78. font-weight: normal;
  79. }
  80. p {
  81. margin-top: 0.2em;
  82. margin-bottom: 1.2em;
  83. }
  84. i {
  85. display: none;
  86. }
  87. ul {
  88. margin-bottom: 1.2em;
  89. }
  90. blockquote {
  91. font-style: italic;
  92. margin: 1em;
  93. }
  94. body {
  95. margin: 0;
  96. background-color: white;
  97. font-family: sans-serif;
  98. }
  99. .pageheader .title {
  100. display: none;
  101. }
  102. .parentlinks {
  103. display: none;
  104. }
  105. #searchform {
  106. margin: 20px;
  107. }
  108. .pageheader .actions {
  109. position: absolute;
  110. top: 6em;
  111. left: 30em;
  112. background-color: LightBlue;
  113. ul {
  114. border-bottom: 0;
  115. padding: 0 0 0 15px;
  116. }
  117. a {
  118. color: LightBlue;
  119. &:hover {
  120. color: white;
  121. }
  122. }
  123. }
  124. .author {
  125. font-size: 1em;
  126. line-height: 1.8em;
  127. }
  128. .archivepagedate {
  129. display: none;
  130. }
  131. .topbar {
  132. height: 60px;
  133. margin: 0;
  134. padding: 20px 0;
  135. background-color: LightBlue;
  136. text-align: center;
  137. text-transform: uppercase;
  138. letter-spacing: 1px;
  139. }
  140. .topbar p {
  141. float: left;
  142. }
  143. .topbar a {
  144. font-weight: bold;
  145. }
  146. .topbar ul {
  147. list-style-type:none;
  148. margin: 0;
  149. padding: 0;
  150. }
  151. .topbar ul li {
  152. display:inline;
  153. margin: 0 20px;
  154. }
  155. .topbar li,
  156. .topbar ul,
  157. .topbar ul li,
  158. .topbar ol,
  159. .topbar ol li {
  160. font-size: 1.1em;
  161. line-height: 2em;
  162. }
  163. .topbar img {
  164. margin: 0 20px;
  165. }
  166. #wrapper,
  167. #pagebody {
  168. float: left;
  169. width: 100%;
  170. }
  171. #content {
  172. float: left;
  173. min-height: 480px;
  174. max-width: 48em;
  175. margin: 2% 40% 2% 20%;
  176. padding: 0;
  177. text-align: left;
  178. background-color: none;
  179. }
  180. .notebox {
  181. float: none;
  182. display: block;
  183. //Overwrite ikiwiki default width:
  184. width: inherit;
  185. max-width: 48em;
  186. margin-right: 2em;
  187. //
  188. color: gray !important;
  189. background: none;
  190. margin-left: 0;
  191. text-align: center;
  192. }
  193. img {
  194. float: left;
  195. vertical-align: top;
  196. margin: 0 1em 1em 0;
  197. padding: 0;
  198. max-width: 100%;
  199. height: auto;
  200. }
  201. #content img.deco {
  202. display: block;
  203. clear: both;
  204. float: right;
  205. width: 50%;
  206. max-width: 200px;
  207. margin-right: -50%;
  208. margin-top: 0;
  209. margin-bottom: 0;
  210. padding: 0 5% 5%;
  211. background-color: none;
  212. }
  213. #content img.solo {
  214. float: none;
  215. display: block;
  216. padding: 0;
  217. }
  218. #content img.x2470x3783 {
  219. height:3783px;
  220. width: 2470px;
  221. max-width: 2470px;
  222. }
  223. #content img.x1000x750 {
  224. height: 750px;
  225. width: 1000px;
  226. max-width: 1000px;
  227. }
  228. #content img.x108x132 {
  229. height: 132px;
  230. width: 108px;
  231. max-width: 108px;
  232. }
  233. .inlinepage {
  234. border: 0;
  235. padding: 1em 5%;
  236. margin: 0;
  237. background-color: LightYellow;
  238. }
  239. .inlinepage .header a {
  240. font-weight: normal;
  241. color: DarkRed;
  242. line-height: 1.5em;
  243. }
  244. .inlinefooter {
  245. display: none;
  246. }
  247. .inlineheader .author {
  248. display: none;
  249. }
  250. .sidebar {
  251. float: left;
  252. min-height: 480px;
  253. width: 14%;
  254. padding: 1%;
  255. margin-top: 2%;
  256. margin-left: -98%;
  257. margin-bottom: 2%;
  258. border: none;
  259. background-color: LightBlue;
  260. text-align: left;
  261. }
  262. .sidebar ul {
  263. padding-left: 0.5em;
  264. p {
  265. margin: 1em 0;
  266. }
  267. }
  268. .sidebar ul li {
  269. list-style-type: none;
  270. padding: 0;
  271. }
  272. .sidebar ul li,
  273. .sidebar ul li p {
  274. line-height: 1.5em;
  275. }
  276. .sidebar ul li a {
  277. font-weight: normal;
  278. }
  279. .sidebar p {
  280. color: DarkBlue;
  281. }
  282. .sidebar ul li .selflink {
  283. font-weight: bold;
  284. }
  285. .farbar {
  286. float: left;
  287. min-height: 480px;
  288. width: 14%;
  289. margin-top: 2%;
  290. margin-left: -18%;
  291. margin-bottom: 2%;
  292. padding: 1%;
  293. background-color: LightBlue;
  294. text-align: left;
  295. img {
  296. height: auto;
  297. width: 100%;
  298. }
  299. #mc_embed_signup {
  300. background-color: inherit;
  301. font: inherit;
  302. }
  303. }
  304. .farbar p i {
  305. font-size: 0.8em;
  306. line-height: 1em;
  307. }
  308. .farbar .inlinepage img {
  309. display: none;
  310. }
  311. .farbar h3 a {
  312. color: black;
  313. font-weight: bold;
  314. }
  315. .tags {
  316. display: none;
  317. }
  318. #backlinks {
  319. display: none;
  320. }
  321. #footer {
  322. clear: left;
  323. width: 100%;
  324. margin: 2% 0 0;
  325. }
  326. #pageinfo {
  327. margin: 0;
  328. border-top: 0;
  329. padding:1em 1em 1em 20px;
  330. background-color: LightBlue;
  331. }
  332. .pagedate {
  333. margin-top: 0;
  334. }
  335. .pagecopyright,
  336. .pagecopyright P {
  337. margin-top: 0;
  338. margin-bottom: 0;
  339. }