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