summaryrefslogtreecommitdiff
path: root/style.scss
blob: 6562b9cdd9eddc10d2270079ed78b2b100fe2aa4 (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. }
  56. h2,
  57. h3 {
  58. margin-bottom: 0.1em;
  59. }
  60. h4,
  61. h5,
  62. h6 {
  63. text-decoration: blink;
  64. }
  65. h2 {
  66. font-weight: normal;
  67. font-size: 1.4em;
  68. }
  69. h3 {
  70. font-size: 1.1em;
  71. font-weight: bold;
  72. line-height: 1.6em;
  73. }
  74. a {
  75. @include hover-link;
  76. color: darkblue;
  77. font-weight: normal;
  78. }
  79. p {
  80. margin-top: 0.2em;
  81. margin-bottom: 1.2em;
  82. }
  83. i {
  84. display: none;
  85. }
  86. ul {
  87. margin-bottom: 1.2em;
  88. }
  89. blockquote {
  90. font-style: italic;
  91. margin: 1em;
  92. }
  93. body {
  94. margin: 0;
  95. background-color: white;
  96. font-family: sans-serif;
  97. }
  98. .pageheader .title {
  99. display: none;
  100. }
  101. .parentlinks {
  102. display: none;
  103. }
  104. #searchform {
  105. margin: 20px;
  106. }
  107. .pageheader .actions {
  108. position: absolute;
  109. top: 6em;
  110. left: 30em;
  111. background-color: LightBlue;
  112. ul {
  113. border-bottom: 0;
  114. padding: 0 0 0 15px;
  115. }
  116. a {
  117. color: LightBlue;
  118. &:hover {
  119. color: white;
  120. }
  121. }
  122. }
  123. .author {
  124. font-size: 1em;
  125. line-height: 1.8em;
  126. }
  127. .archivepagedate {
  128. display: none;
  129. }
  130. .topbar {
  131. height: 60px;
  132. margin: 0;
  133. padding: 20px 0;
  134. background-color: LightBlue;
  135. text-align: center;
  136. text-transform: uppercase;
  137. letter-spacing: 1px;
  138. }
  139. .topbar p {
  140. float: left;
  141. }
  142. .topbar a {
  143. font-weight: bold;
  144. }
  145. .topbar ul {
  146. list-style-type:none;
  147. margin: 0;
  148. padding: 0;
  149. }
  150. .topbar ul li {
  151. display:inline;
  152. margin: 0 20px;
  153. }
  154. .topbar li,
  155. .topbar ul,
  156. .topbar ul li,
  157. .topbar ol,
  158. .topbar ol li {
  159. font-size: 1.1em;
  160. line-height: 2em;
  161. }
  162. .topbar img {
  163. margin: 0 20px;
  164. }
  165. #wrapper,
  166. #pagebody {
  167. float: left;
  168. width: 100%;
  169. }
  170. #content {
  171. float: left;
  172. min-height: 480px;
  173. max-width: 48em;
  174. margin: 2% 40% 2% 20%;
  175. padding: 0;
  176. text-align: left;
  177. background-color: none;
  178. }
  179. .notebox {
  180. float: none;
  181. width: 100%;
  182. color: gray !important;
  183. background: none;
  184. margin-left: 0;
  185. text-align: center;
  186. }
  187. img {
  188. float: left;
  189. vertical-align: top;
  190. margin: 0 1em 1em 0;
  191. padding: 0;
  192. max-width: 100%;
  193. height: auto;
  194. }
  195. #content img.deco {
  196. display: block;
  197. clear: both;
  198. float: right;
  199. width: 50%;
  200. max-width: 200px;
  201. margin-right: -50%;
  202. margin-top: 0;
  203. margin-bottom: 0;
  204. padding: 0 5% 5%;
  205. background-color: none;
  206. }
  207. #content img.solo {
  208. float: none;
  209. display: block;
  210. padding: 0;
  211. }
  212. #content img.x2470x3783 {
  213. height:3783px;
  214. width: 2470px;
  215. max-width: 2470px;
  216. }
  217. #content img.x1000x750 {
  218. height: 750px;
  219. width: 1000px;
  220. max-width: 1000px;
  221. }
  222. #content img.x108x132 {
  223. height: 132px;
  224. width: 108px;
  225. max-width: 108px;
  226. }
  227. .inlinepage {
  228. border: 0;
  229. padding: 1em 5%;
  230. margin: 0;
  231. background-color: LightYellow;
  232. }
  233. .inlinepage .header a {
  234. font-weight: normal;
  235. color: DarkRed;
  236. }
  237. .inlinefooter {
  238. display: none;
  239. }
  240. .inlineheader .author {
  241. display: none;
  242. }
  243. .sidebar {
  244. float: left;
  245. min-height: 480px;
  246. width: 14%;
  247. padding: 1%;
  248. margin-top: 2%;
  249. margin-left: -98%;
  250. margin-bottom: 2%;
  251. border: none;
  252. background-color: LightBlue;
  253. text-align: left;
  254. }
  255. .sidebar ul {
  256. padding-left: 0.5em;
  257. p {
  258. margin: 1em 0;
  259. }
  260. }
  261. .sidebar ul li {
  262. list-style-type: none;
  263. padding: 0;
  264. }
  265. .sidebar ul li,
  266. .sidebar ul li p {
  267. line-height: 1.5em;
  268. }
  269. .sidebar ul li a {
  270. font-weight: normal;
  271. }
  272. .sidebar p {
  273. color: DarkBlue;
  274. }
  275. .sidebar ul li .selflink {
  276. font-weight: bold;
  277. }
  278. .farbar {
  279. float: left;
  280. min-height: 480px;
  281. width: 14%;
  282. margin-top: 2%;
  283. margin-left: -18%;
  284. margin-bottom: 2%;
  285. padding: 1%;
  286. background-color: LightBlue;
  287. text-align: left;
  288. img {
  289. height: auto;
  290. width: 100%;
  291. }
  292. #mc_embed_signup {
  293. background-color: inherit;
  294. font: inherit;
  295. }
  296. }
  297. .farbar p i {
  298. font-size: 0.8em;
  299. line-height: 1em;
  300. }
  301. .farbar .inlinepage img {
  302. display: none;
  303. }
  304. .farbar h3 a {
  305. color: black;
  306. font-weight: bold;
  307. }
  308. .tags {
  309. display: none;
  310. }
  311. #backlinks {
  312. display: none;
  313. }
  314. #footer {
  315. clear: left;
  316. width: 100%;
  317. margin: 2% 0 0;
  318. }
  319. #pageinfo {
  320. margin: 0;
  321. border-top: 0;
  322. padding:1em 1em 1em 20px;
  323. background-color: LightBlue;
  324. }
  325. .pagedate {
  326. margin-top: 0;
  327. }
  328. .pagecopyright,
  329. .pagecopyright P {
  330. margin-top: 0;
  331. margin-bottom: 0;
  332. }