summaryrefslogtreecommitdiff
path: root/style.scss
blob: 6aaba0417a19c3ab6efa3d152d2cf4a2a52ca84c (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. .archivepage {
  129. margin-buttom: 0;
  130. }
  131. .archivepagedate {
  132. display: none;
  133. }
  134. .topbar {
  135. height: 60px;
  136. margin: 0;
  137. padding: 20px 0;
  138. background-color: LightBlue;
  139. text-align: center;
  140. text-transform: uppercase;
  141. letter-spacing: 1px;
  142. }
  143. .topbar p {
  144. float: left;
  145. }
  146. .topbar a {
  147. font-weight: bold;
  148. }
  149. .topbar ul {
  150. list-style-type:none;
  151. margin: 0;
  152. padding: 0;
  153. }
  154. .topbar ul li {
  155. display:inline;
  156. margin: 0 20px;
  157. }
  158. .topbar li,
  159. .topbar ul,
  160. .topbar ul li,
  161. .topbar ol,
  162. .topbar ol li {
  163. font-size: 1.1em;
  164. line-height: 2em;
  165. }
  166. .topbar img {
  167. margin: 0 20px;
  168. }
  169. #wrapper,
  170. #pagebody {
  171. float: left;
  172. width: 100%;
  173. }
  174. #content {
  175. float: left;
  176. min-height: 480px;
  177. width: 56%;
  178. max-width: 72em;
  179. margin: 2% 22%;
  180. padding: 0;
  181. text-align: left;
  182. background-color: none;
  183. }
  184. .notebox {
  185. float: none;
  186. display: block;
  187. //Overwrite ikiwiki default width:
  188. width: inherit;
  189. max-width: 48em;
  190. margin-right: 2em;
  191. //
  192. color: gray !important;
  193. background: none;
  194. margin-left: 0;
  195. text-align: center;
  196. }
  197. img {
  198. float: left;
  199. vertical-align: top;
  200. margin: 0 1em 1em 0;
  201. padding: 0;
  202. max-width: 100%;
  203. height: auto;
  204. }
  205. #content img.deco {
  206. display: block;
  207. clear: both;
  208. float: right;
  209. width: 50%;
  210. max-width: 200px;
  211. margin: 0;
  212. padding: 0 0 4% 4%;
  213. background-color: none;
  214. }
  215. #content img.solo {
  216. float: none;
  217. display: block;
  218. padding: 0;
  219. }
  220. #content img.x2470x3783 {
  221. height:3783px;
  222. width: 2470px;
  223. max-width: 2470px;
  224. }
  225. #content img.x1000x750 {
  226. height: 750px;
  227. width: 1000px;
  228. max-width: 1000px;
  229. }
  230. #content img.x108x132 {
  231. height: 132px;
  232. width: 108px;
  233. max-width: 108px;
  234. }
  235. .columns {
  236. -webkit-column-count: 3; /* Chrome, Safari, Opera */
  237. -moz-column-count: 3; /* Firefox */
  238. column-count: 3;
  239. }
  240. td,
  241. th {
  242. padding: 0 1em 0 0;
  243. }
  244. .inlinepage {
  245. border: 0;
  246. padding: 1em 5%;
  247. margin: 0;
  248. background-color: LightYellow;
  249. }
  250. .inlinepage .header a {
  251. font-weight: normal;
  252. color: DarkRed;
  253. line-height: 1.5em;
  254. }
  255. .inlinefooter {
  256. display: none;
  257. }
  258. .inlineheader .author {
  259. display: none;
  260. }
  261. .sidebar {
  262. float: left;
  263. min-height: 480px;
  264. width: 16%;
  265. padding: 1%;
  266. margin-top: 2%;
  267. margin-left: -98%;
  268. margin-bottom: 2%;
  269. border: none;
  270. background-color: LightBlue;
  271. text-align: left;
  272. }
  273. .sidebar ul {
  274. padding-left: 0.5em;
  275. p {
  276. margin: 1em 0;
  277. }
  278. }
  279. .sidebar ul li {
  280. list-style-type: none;
  281. padding: 0;
  282. }
  283. .sidebar ul li,
  284. .sidebar ul li p {
  285. line-height: 1.5em;
  286. }
  287. .sidebar ul li a {
  288. font-weight: normal;
  289. }
  290. .sidebar p {
  291. color: DarkBlue;
  292. }
  293. .sidebar ul li .selflink {
  294. font-weight: bold;
  295. }
  296. .farbar {
  297. float: left;
  298. min-height: 480px;
  299. width: 16%;
  300. margin-top: 2%;
  301. margin-left: -20%;
  302. margin-bottom: 2%;
  303. padding: 1%;
  304. background-color: LightBlue;
  305. text-align: left;
  306. img {
  307. height: auto;
  308. width: 100%;
  309. }
  310. #mc_embed_signup {
  311. background-color: inherit;
  312. font: inherit;
  313. }
  314. }
  315. .farbar p i {
  316. font-size: 0.8em;
  317. line-height: 1em;
  318. }
  319. .farbar .inlinepage img {
  320. display: none;
  321. }
  322. .farbar h3 a {
  323. color: black;
  324. font-weight: bold;
  325. }
  326. .tags {
  327. display: none;
  328. }
  329. #backlinks {
  330. display: none;
  331. }
  332. #footer {
  333. clear: left;
  334. width: 100%;
  335. margin: 2% 0 0;
  336. ul {
  337. list-style-type: none;
  338. padding: 0;
  339. }
  340. }
  341. #pageinfo {
  342. margin: 0;
  343. border-top: 0;
  344. padding:1em 1em 1em 20px;
  345. background-color: LightBlue;
  346. }
  347. .pagedate {
  348. margin-top: 0;
  349. }
  350. .pagecopyright,
  351. .pagecopyright P {
  352. margin-top: 0;
  353. margin-bottom: 0;
  354. }