summaryrefslogtreecommitdiff
path: root/style.scss
blob: 140f7567321458281acbdccca8ad0ebbb5d00828 (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. display: inline-block;
  113. position: absolute;
  114. top: 0;
  115. right: 2em;
  116. background-color: transparent;
  117. ul {
  118. border-bottom: 0;
  119. padding: 0 0 0 15px;
  120. }
  121. a {
  122. color: transparent;
  123. &:hover {
  124. color: lightblue;
  125. text-decoration: none;
  126. }
  127. }
  128. }
  129. .author {
  130. font-size: 1em;
  131. line-height: 1.8em;
  132. }
  133. .archivepage {
  134. margin-buttom: 0;
  135. }
  136. .archivepagedate {
  137. display: none;
  138. }
  139. .topbar {
  140. height: 60px;
  141. margin: 0;
  142. padding: 20px 0;
  143. background-color: lightblue;
  144. text-align: center;
  145. text-transform: uppercase;
  146. letter-spacing: 1px;
  147. // position: absolute;
  148. top: 0;
  149. // right: 0;
  150. }
  151. //styling of background image.//
  152. .topbar .imgframe {
  153. @extend .topbar;
  154. position: absolute;
  155. top: 0;
  156. width: 100%;
  157. z-index: -1;
  158. }
  159. .topbar p {
  160. float: left;
  161. }
  162. .topbar a {
  163. font-weight: bold;
  164. &:hover {
  165. text-decoration: none;
  166. }
  167. }
  168. .topbar ul {
  169. list-style-type:none;
  170. margin: 0;
  171. padding: 0;
  172. }
  173. .topbar ul li {
  174. display:inline;
  175. margin: 0 20px;
  176. }
  177. .topbar li,
  178. .topbar ul,
  179. .topbar ul li,
  180. .topbar ol,
  181. .topbar ol li {
  182. font-size: 1.1em;
  183. line-height: 2em;
  184. }
  185. .topbar img {
  186. margin: 0 20px;
  187. }
  188. #wrapper,
  189. #pagebody {
  190. float: left;
  191. width: 100%;
  192. }
  193. #content {
  194. float: left;
  195. min-height: 480px;
  196. width: 56%;
  197. max-width: 72em;
  198. margin: 2% 22%;
  199. padding: 0;
  200. text-align: left;
  201. background-color: none;
  202. }
  203. .notebox {
  204. float: none;
  205. display: block;
  206. //Overwrite ikiwiki default width:
  207. width: inherit;
  208. max-width: 48em;
  209. margin-right: 2em;
  210. //
  211. color: gray !important;
  212. background-color: none;
  213. margin-left: 0;
  214. text-align: center;
  215. }
  216. img {
  217. float: left;
  218. vertical-align: top;
  219. margin: 0 1em 1em 0;
  220. padding: 0;
  221. max-width: 100%;
  222. height: auto;
  223. }
  224. #content img.deco {
  225. display: block;
  226. clear: both;
  227. float: right;
  228. width: 50%;
  229. max-width: 200px;
  230. margin: 0;
  231. padding: 0 0 4% 4%;
  232. background-color: none;
  233. }
  234. #content img.solo {
  235. float: none;
  236. display: block;
  237. padding: 0;
  238. }
  239. #content img.x2470x3783 {
  240. height:3783px;
  241. width: 2470px;
  242. max-width: 2470px;
  243. }
  244. #content img.x1000x750 {
  245. height: 750px;
  246. width: 1000px;
  247. max-width: 1000px;
  248. }
  249. #content img.x108x132 {
  250. height: 132px;
  251. width: 108px;
  252. max-width: 108px;
  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. -webkit-column-count: 1; /* Chrome, Safari, Opera */
  390. -moz-column-count: 1; /* Firefox */
  391. column-count: 1;
  392. }
  393. .inlinepage {
  394. margin: 0;
  395. }
  396. }
  397. @media screen and (min-width: 480px) and (max-width: 700px) {
  398. .columns {
  399. @include column-count(2);
  400. -webkit-column-count: 2; /* Chrome, Safari, Opera */
  401. -moz-column-count: 2; /* Firefox */
  402. column-count: 2;
  403. }
  404. }
  405. @media screen and (min-width: 701px) {
  406. .columns {
  407. @include column-count(3);
  408. -webkit-column-count: 3; /* Chrome, Safari, Opera */
  409. -moz-column-count: 3; /* Firefox */
  410. column-count: 3;
  411. }
  412. }