summaryrefslogtreecommitdiff
path: root/style.scss
blob: cf12305f24190f97d68d61573325dcc0a85ff555 (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. .topbar {
  128. height: 60px;
  129. margin: 0;
  130. padding: 20px 0;
  131. background-color: LightBlue;
  132. text-align: center;
  133. text-transform: uppercase;
  134. letter-spacing: 1px;
  135. }
  136. .topbar p {
  137. float: left;
  138. }
  139. .topbar a {
  140. font-weight: bold;
  141. }
  142. .topbar ul {
  143. list-style-type:none;
  144. margin: 0;
  145. padding: 0;
  146. }
  147. .topbar ul li {
  148. display:inline;
  149. margin: 0 20px;
  150. }
  151. .topbar li,
  152. .topbar ul,
  153. .topbar ul li,
  154. .topbar ol,
  155. .topbar ol li {
  156. font-size: 1.1em;
  157. line-height: 2em;
  158. }
  159. .topbar img {
  160. margin: 0 20px;
  161. }
  162. #wrapper,
  163. #pagebody {
  164. float: left;
  165. width: 100%;
  166. }
  167. #content {
  168. float: left;
  169. min-height: 480px;
  170. max-width: 48em;
  171. margin: 2% 40% 2% 20%;
  172. padding: 0;
  173. text-align: left;
  174. background-color: none;
  175. }
  176. .notebox {
  177. float: none;
  178. width: 100%;
  179. color: gray !important;
  180. background: none;
  181. margin-left: 0;
  182. text-align: center;
  183. }
  184. img {
  185. float: left;
  186. vertical-align: top;
  187. margin: 0 1em 1em 0;
  188. padding: 0;
  189. max-width: 100%;
  190. height: auto;
  191. }
  192. #content img.deco {
  193. display: block;
  194. clear: both;
  195. float: right;
  196. width: 50%;
  197. max-width: 200px;
  198. margin-right: -50%;
  199. margin-top: 0;
  200. margin-bottom: 0;
  201. padding: 0 5% 5%;
  202. background-color: none;
  203. }
  204. #content img.solo {
  205. float: none;
  206. display: block;
  207. padding: 0;
  208. }
  209. #content img.x2470x3783 {
  210. height:3783px;
  211. width: 2470px;
  212. max-width: 2470px;
  213. }
  214. #content img.x1000x750 {
  215. height: 750px;
  216. width: 1000px;
  217. max-width: 1000px;
  218. }
  219. #content img.x108x132 {
  220. height: 132px;
  221. width: 108px;
  222. max-width: 108px;
  223. }
  224. .inlinepage {
  225. border: 0;
  226. padding: 1em 5%;
  227. margin: 0;
  228. background-color: LightYellow;
  229. }
  230. .inlinepage .header a {
  231. font-weight: normal;
  232. color: DarkRed;
  233. }
  234. .inlinefooter {
  235. display: none;
  236. }
  237. .inlineheader .author {
  238. display: none;
  239. }
  240. .sidebar {
  241. float: left;
  242. min-height: 480px;
  243. width: 14%;
  244. padding: 1%;
  245. margin-top: 2%;
  246. margin-left: -98%;
  247. margin-bottom: 2%;
  248. border: none;
  249. background-color: LightBlue;
  250. text-align: left;
  251. }
  252. .sidebar ul {
  253. padding-left: 0.5em;
  254. p {
  255. margin: 1em 0;
  256. }
  257. }
  258. .sidebar ul li {
  259. list-style-type: none;
  260. padding: 0;
  261. }
  262. .sidebar ul li,
  263. .sidebar ul li p {
  264. line-height: 1em;
  265. }
  266. .sidebar ul li a {
  267. font-weight: normal;
  268. }
  269. .sidebar p {
  270. color: DarkBlue;
  271. }
  272. .sidebar ul li .selflink {
  273. font-weight: bold;
  274. }
  275. .farbar {
  276. float: left;
  277. min-height: 480px;
  278. width: 14%;
  279. margin-top: 2%;
  280. margin-left: -18%;
  281. margin-bottom: 2%;
  282. padding: 1%;
  283. background-color: LightBlue;
  284. text-align: left;
  285. img {
  286. height: auto;
  287. width: 100%;
  288. }
  289. }
  290. .farbar p i {
  291. font-size: 0.8em;
  292. line-height: 1em;
  293. }
  294. .farbar .inlinepage img {
  295. display: none;
  296. }
  297. .farbar h3 a {
  298. color: black;
  299. font-weight: bold;
  300. }
  301. .tags {
  302. display: none;
  303. }
  304. #backlinks {
  305. display: none;
  306. }
  307. #footer {
  308. clear: left;
  309. width: 100%;
  310. margin: 2% 0 0;
  311. }
  312. #pageinfo {
  313. margin: 0;
  314. border-top: 0;
  315. padding:1em 1em 1em 20px;
  316. background-color: LightBlue;
  317. }
  318. .pagedate {
  319. margin-top: 0;
  320. }
  321. .pagecopyright,
  322. .pagecopyright P {
  323. margin-top: 0;
  324. margin-bottom: 0;
  325. }