summaryrefslogtreecommitdiff
path: root/style.scss
blob: ea1c75552602941940577b74ab5b8209729685b9 (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. // from excluded ikiwiki-plugin-img
  19. .img caption {
  20. font-size: 80%;
  21. caption-side: bottom;
  22. text-align: center;
  23. }
  24. // shell
  25. // layout
  26. @include ikiwiki-site;
  27. @include ikiwiki-site-print;
  28. // modulars
  29. @include ikiwiki-infobox;
  30. @include ikiwiki-notebook;
  31. @include ikiwiki-popup;
  32. @include ikiwiki-plugin-calendar;
  33. @include ikiwiki-plugin-progress;
  34. @include ikiwiki-plugin-map;
  35. @include ikiwiki-plugin-poll;
  36. @include ikiwiki-plugin-pagestats;
  37. @include ikiwiki-plugin-flattr;
  38. @include ikiwiki-blogform;
  39. // section/page specific
  40. @include ikiwiki-archivepage;
  41. @include ikiwiki-plugin-recentchanges;
  42. @include ikiwiki-plugin-editpage;
  43. @include ikiwiki-plugin-attachment;
  44. @include ikiwiki-plugin-openid;
  45. h1 {
  46. font-weight: normal;
  47. color: DarkRed;
  48. }
  49. h1,
  50. h2,
  51. h3 {
  52. margin-bottom: 0.1em;
  53. }
  54. h4,
  55. h5,
  56. h6 {
  57. text-decoration: blink;
  58. }
  59. h2 {
  60. font-weight: normal;
  61. font-size: 1.4em;
  62. }
  63. h3 {
  64. font-size: 1.1em;
  65. font-weight: bold;
  66. line-height: 1.6em;
  67. }
  68. a {
  69. @include hover-link;
  70. color: darkblue;
  71. font-weight: normal;
  72. }
  73. p {
  74. margin-top: 0.2em;
  75. margin-bottom: 1.2em;
  76. }
  77. i {
  78. display: none;
  79. }
  80. ul {
  81. margin-bottom: 1.2em;
  82. }
  83. blockquote {
  84. font-style: italic;
  85. margin: 1em;
  86. }
  87. body {
  88. margin: 0;
  89. background-color: white;
  90. font-family: sans-serif;
  91. }
  92. .pageheader .title {
  93. display: none;
  94. }
  95. .parentlinks {
  96. display: none;
  97. }
  98. #searchform {
  99. margin: 20px;
  100. }
  101. .pageheader .actions {
  102. position: absolute;
  103. top: 6em;
  104. left: 30em;
  105. background-color: LightBlue;
  106. ul {
  107. border-bottom: 0;
  108. padding: 0 0 0 15px;
  109. }
  110. a {
  111. color: LightBlue;
  112. &:hover {
  113. color: white;
  114. }
  115. }
  116. }
  117. .author {
  118. font-size: 1em;
  119. line-height: 1.8em;
  120. }
  121. .topbar {
  122. height: 60px;
  123. margin: 0;
  124. padding: 20px 0;
  125. background-color: LightBlue;
  126. text-align: center;
  127. text-transform: uppercase;
  128. letter-spacing: 1px;
  129. }
  130. .topbar p {
  131. float: left;
  132. }
  133. .topbar a {
  134. font-weight: bold;
  135. }
  136. .topbar ul {
  137. list-style-type:none;
  138. margin: 0;
  139. padding: 0;
  140. }
  141. .topbar ul li {
  142. display:inline;
  143. margin: 0 20px;
  144. }
  145. .topbar li,
  146. .topbar ul,
  147. .topbar ul li,
  148. .topbar ol,
  149. .topbar ol li {
  150. font-size: 1.1em;
  151. line-height: 2em;
  152. }
  153. .topbar img {
  154. margin: 0 20px;
  155. }
  156. #wrapper,
  157. #pagebody {
  158. float: left;
  159. width: 100%;
  160. }
  161. #content {
  162. float: left;
  163. min-height: 480px;
  164. max-width: 48em;
  165. margin: 2% 40% 2% 20%;
  166. padding: 0;
  167. text-align: left;
  168. background-color: none;
  169. }
  170. .notebox {
  171. float: none;
  172. width: 100%;
  173. color: gray !important;
  174. background: none;
  175. margin-left: 0;
  176. text-align: center;
  177. }
  178. img {
  179. float: left;
  180. vertical-align: top;
  181. margin: 0 5% 5% 0;
  182. padding: 0;
  183. max-width: 100%;
  184. height: auto;
  185. }
  186. // Override _ikiwiki.style.css
  187. img.img {
  188. margin: 0 1em 1em 0;
  189. }
  190. .img caption {
  191. text-align: left;
  192. line-height: 175%;
  193. margin-bottom: 1.5em;
  194. margin-top: -1em;
  195. }
  196. #content img.deco {
  197. display: block;
  198. clear: both;
  199. float: right;
  200. width: 50%;
  201. max-width: 200px;
  202. margin-right: -50%;
  203. margin-top: 0;
  204. margin-bottom: 0;
  205. padding: 0 5% 5%;
  206. background-color: none;
  207. }
  208. #content img.solo {
  209. float: none;
  210. margin: 0 5% 5% 0;
  211. padding: 0;
  212. }
  213. #content img.x2470x3783 {
  214. height:3783px;
  215. width: 2470px;
  216. max-width: 2470px;
  217. }
  218. #content img.x1000x750 {
  219. height: 750px;
  220. width: 1000px;
  221. max-width: 1000px;
  222. }
  223. #content img.x108x132 {
  224. height: 132px;
  225. width: 108px;
  226. max-width: 108px;
  227. }
  228. .inlinepage {
  229. border: 0;
  230. padding: 1em 5%;
  231. margin: 0;
  232. background-color: LightYellow;
  233. }
  234. .inlinepage .header a {
  235. font-weight: normal;
  236. color: DarkRed;
  237. }
  238. .inlinefooter {
  239. display: none;
  240. }
  241. .inlineheader .author {
  242. display: none;
  243. }
  244. .sidebar {
  245. float: left;
  246. min-height: 480px;
  247. width: 14%;
  248. padding: 1%;
  249. margin-top: 2%;
  250. margin-left: -98%;
  251. margin-bottom: 2%;
  252. border: none;
  253. background-color: LightBlue;
  254. text-align: left;
  255. }
  256. .sidebar ul {
  257. padding-left: 0.5em;
  258. p {
  259. margin: 1em 0;
  260. }
  261. }
  262. .sidebar ul li {
  263. list-style-type: none;
  264. padding: 0;
  265. }
  266. .sidebar ul li,
  267. .sidebar ul li p {
  268. line-height: 1em;
  269. }
  270. .sidebar ul li a {
  271. font-weight: normal;
  272. }
  273. .sidebar p {
  274. color: DarkBlue;
  275. }
  276. .sidebar ul li .selflink {
  277. font-weight: bold;
  278. }
  279. .farbar {
  280. float: left;
  281. min-height: 480px;
  282. width: 14%;
  283. margin-top: 2%;
  284. margin-left: -18%;
  285. margin-bottom: 2%;
  286. padding: 1%;
  287. background-color: LightBlue;
  288. text-align: left;
  289. img {
  290. height: auto;
  291. width: 100%;
  292. }
  293. }
  294. .farbar p i {
  295. font-size: 0.8em;
  296. line-height: 1em;
  297. }
  298. .farbar .inlinepage img {
  299. display: none;
  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. }