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