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