summaryrefslogtreecommitdiff
path: root/style.scss
blob: 97eeb93672a6516ac15c2ea028ab0c6370b646f4 (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. 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 5% 1% 0;
  153. }
  154. .img caption {
  155. text-align: left;
  156. line-height: 175%;
  157. margin-bottom: 1.5em;
  158. }
  159. #content img.deco {
  160. display: block;
  161. clear: both;
  162. float: right;
  163. width: 50%;
  164. max-width: 200px;
  165. margin-right: -50%;
  166. margin-top: 0;
  167. margin-bottom: 0;
  168. padding: 0 5% 5%;
  169. background-color: none;
  170. }
  171. #content img.solo {
  172. float: none;
  173. margin: 0 5% 5% 0;
  174. padding: 0;
  175. }
  176. #content img.x2470x3783 {
  177. height:3783px;
  178. width: 2470px;
  179. max-width: 2470px;
  180. }
  181. #content img.x1000x750 {
  182. height: 750px;
  183. width: 1000px;
  184. max-width: 1000px;
  185. }
  186. #content img.x108x132 {
  187. height: 132px;
  188. width: 108px;
  189. max-width: 108px;
  190. }
  191. .inlinepage {
  192. border: 0;
  193. padding: 1em 5%;
  194. margin: 0;
  195. background-color: LightYellow;
  196. }
  197. .inlinepage .header a {
  198. font-weight: normal;
  199. color: DarkRed;
  200. }
  201. .inlinefooter {
  202. display: none;
  203. }
  204. .inlineheader .author {
  205. display: none;
  206. }
  207. .sidebar {
  208. float: left;
  209. min-height: 480px;
  210. width: 14%;
  211. padding: 1%;
  212. margin-top: 2%;
  213. margin-left: -98%;
  214. margin-bottom: 2%;
  215. border: none;
  216. background-color: LightBlue;
  217. text-align: left;
  218. }
  219. .sidebar ul {
  220. padding-left: 0.5em;
  221. p {
  222. margin: 1em 0;
  223. }
  224. }
  225. .sidebar ul li {
  226. list-style-type: none;
  227. padding: 0;
  228. }
  229. .sidebar ul li,
  230. .sidebar ul li p {
  231. line-height: 1em;
  232. }
  233. .sidebar ul li a {
  234. font-weight: normal;
  235. }
  236. .sidebar p {
  237. color: DarkBlue;
  238. }
  239. .sidebar ul li .selflink {
  240. font-weight: bold;
  241. }
  242. .farbar {
  243. float: left;
  244. min-height: 480px;
  245. width: 14%;
  246. margin-top: 2%;
  247. margin-left: -18%;
  248. margin-bottom: 2%;
  249. padding: 1%;
  250. background-color: LightBlue;
  251. text-align: left;
  252. img {
  253. height: auto;
  254. width: 100%;
  255. }
  256. }
  257. .farbar p i {
  258. font-size: 0.8em;
  259. line-height: 1em;
  260. }
  261. .farbar .inlinepage img {
  262. display: none;
  263. }
  264. .tags {
  265. display: none;
  266. }
  267. #backlinks {
  268. display: none;
  269. }
  270. #footer {
  271. clear: left;
  272. width: 100%;
  273. margin: 2% 0 0;
  274. }
  275. #pageinfo {
  276. margin: 0;
  277. border-top: 0;
  278. padding:1em 1em 1em 20px;
  279. background-color: LightBlue;
  280. }
  281. .pagedate {
  282. margin-top: 0;
  283. }
  284. .pagecopyright,
  285. .pagecopyright P {
  286. margin-top: 0;
  287. margin-bottom: 0;
  288. }