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