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