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