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