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