summaryrefslogtreecommitdiff
path: root/blueview/style.scss
blob: f99a55f5ecd1e8e9b86e5c034021d09ee5800316 (plain)
  1. @import "ikiwiki";
  2. @include ikiwiki;
  3. /* bzed theme for ikiwiki
  4. *
  5. * Copyright (C) 2010 Bernd Zeimetz
  6. * Licensed under same license as ikiwiki: GPL v2 or later
  7. *
  8. * Parts of this file are based on the awesome YUI,
  9. * these parts will stay under the BSD license,
  10. * but you're free to apply the GPLv2 to them, of course.
  11. */
  12. /* -------------------------------------------------------------------------------------------------
  13. Based on reset-fonts-grids.css from yui.
  14. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  15. Code licensed under the BSD License:
  16. http://developer.yahoo.net/yui/license.txt
  17. version: 2.5.1
  18. */
  19. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, legend, p, blockquote, th, td {
  20. margin: 0;
  21. padding: 0;
  22. }
  23. table {
  24. border-collapse: collapse;
  25. border-spacing: 0;
  26. }
  27. img {
  28. border: 0;
  29. }
  30. address, caption, cite, code, dfn, em, strong, th, var {
  31. font-style: normal;
  32. font-weight: normal;
  33. }
  34. li {
  35. list-style: none;
  36. }
  37. caption, th {
  38. text-align: left;
  39. }
  40. h1, h2, h3, h4, h5, h6 {
  41. font-size: 100%;
  42. font-weight: normal;
  43. }
  44. q:before, q:after {
  45. content: '';
  46. }
  47. abbr, acronym {
  48. border: 0;
  49. font-variant: normal;
  50. }
  51. sup {
  52. vertical-align: text-top;
  53. }
  54. sub {
  55. vertical-align: text-bottom;
  56. }
  57. input, textarea, select {
  58. font-family: inherit;
  59. font-size: 13px/1.23;
  60. font-weight: normal;
  61. }
  62. input, textarea, select {
  63. *font-size: 100%;
  64. }
  65. legend {
  66. color: #000;
  67. }
  68. /* body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} */
  69. body {
  70. font: 13px/1.231 "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;
  71. *font-size: small;
  72. *font: x-small;
  73. }
  74. table {
  75. font-size: inherit;
  76. font: 100%;
  77. }
  78. pre, code, kbd, samp, tt {
  79. font-family: monospace;
  80. }
  81. body {
  82. text-align: left;
  83. }
  84. .inlinefooter {
  85. clear: both;
  86. }
  87. /* #doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;} */
  88. .page {
  89. margin: auto;
  90. text-align: left;
  91. width: 57.69em;
  92. *width: 56.25em;
  93. min-width: 750px;
  94. }
  95. /* #doc3{margin:auto 10px;width:auto;} */
  96. .page {
  97. margin: auto 10px;
  98. width: auto;
  99. }
  100. #pagebody, .sidebar {
  101. position: relative;
  102. }
  103. #pagebody, .sidebar {
  104. _position: static;
  105. }
  106. #pagebody {
  107. position: static;
  108. }
  109. .sidebar {
  110. float: right;
  111. width: 16.5em;
  112. *width: 16em;
  113. }
  114. #pagebody {
  115. margin-right: 19em;
  116. *margin-right: 18.5em;
  117. }
  118. /* #content {float:none;width:auto;} */
  119. #pagebody:after, .sidebar:after, .page:after {
  120. content: ".";
  121. display: block;
  122. height: 0;
  123. clear: both;
  124. visibility: hidden;
  125. }
  126. .page f {
  127. zoom: 1;
  128. }
  129. /* ------------------------------------------------------------------------------------------------
  130. * Taken from base.css, part of YUI's CSS Foundation
  131. * Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  132. * Code licensed under the BSD License:
  133. * http://developer.yahoo.net/yui/license.txt
  134. * version: 2.5.1
  135. */
  136. h1 {
  137. /*18px via YUI Fonts CSS foundation*/
  138. font-size: 138.5%;
  139. }
  140. h2 {
  141. /*16px via YUI Fonts CSS foundation*/
  142. font-size: 123.1%;
  143. }
  144. h3 {
  145. /*14px via YUI Fonts CSS foundation*/
  146. font-size: 108%;
  147. }
  148. h1, h2, h3 {
  149. /* top & bottom margin based on font size */
  150. margin: 1em 0;
  151. }
  152. h1, h2, h3, h4, h5, h6, strong {
  153. /*bringing boldness back to headers and the strong element*/
  154. font-weight: bold;
  155. }
  156. abbr, acronym {
  157. /*indicating to users that more info is available */
  158. border-bottom: 1px dotted #000;
  159. cursor: help;
  160. }
  161. em {
  162. /*bringing italics back to the em element*/
  163. font-style: italic;
  164. }
  165. blockquote, ul, ol, dl {
  166. /*giving blockquotes and lists room to breath*/
  167. margin: 1em;
  168. }
  169. ol, ul, dl {
  170. /*bringing lists on to the page with breathing room */
  171. margin-left: 2em;
  172. }
  173. ol li {
  174. /*giving OL's LIs generated numbers*/
  175. list-style: decimal outside;
  176. }
  177. ul li {
  178. /*giving UL's LIs generated disc markers*/
  179. list-style: disc outside;
  180. }
  181. dl dd {
  182. /*giving UL's LIs generated numbers*/
  183. margin-left: 1em;
  184. }
  185. th, td {
  186. /*borders and padding to make the table readable*/
  187. border: 1px solid #000;
  188. padding: .5em;
  189. }
  190. th {
  191. /*distinguishing table headers from data cells*/
  192. font-weight: bold;
  193. text-align: center;
  194. }
  195. caption {
  196. /*coordinated margin to match cell's padding*/
  197. margin-bottom: .5em;
  198. /*centered so it doesn't blend in to other content*/
  199. text-align: center;
  200. }
  201. p, fieldset, table, pre {
  202. /*so things don't run into each other*/
  203. margin-bottom: 1em;
  204. }
  205. #searchbox {
  206. width: 21.5em;
  207. *width: 21em;
  208. }
  209. /* ------------------------------------------------------------------------------------------------
  210. * All CSS below is
  211. * Copyright (C) 2010 Bernd Zeimetz
  212. * Licensed under same license as ikiwiki: GPL v2 or later */
  213. .page, .pageheader, .sidebar, #content, #enclosure, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
  214. border: none;
  215. }
  216. html, body {
  217. color: #000;
  218. /* background-image: url('body_background.png');
  219. background-repeat: repeat; */
  220. background-color: #8da1b8;
  221. }
  222. body {
  223. padding-left: 5%;
  224. padding-right: 5%;
  225. padding-top: 1em;
  226. padding-bottom: 1em;
  227. }
  228. .page {
  229. background: #fff;
  230. border: outset #ccc;
  231. padding-left: 1em;
  232. padding-right: 1em;
  233. padding-top: 1em;
  234. }
  235. .pageheader {
  236. background-image: url("header_background.png");
  237. background-repeat: repeat-x;
  238. height: 100px;
  239. padding-left: 1em;
  240. padding-right: 1em;
  241. padding-bottom: 1em;
  242. padding-top: 1em;
  243. }
  244. .pageheader .header {
  245. text-align: top;
  246. clear: both;
  247. }
  248. .pageheader .header form {
  249. padding: 0em 0em 0em 0em;
  250. float: right;
  251. margin-top: 0.5em;
  252. }
  253. .pageheader .header .title, .pageheader .header .parentlinks,
  254. .inlinepage .inlineheader,
  255. h1, h2, h3, h4, h5, h6 {
  256. margin-top: 1em;
  257. font-weight: bold;
  258. }
  259. .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span, .pageheader #otherlanguages ul li, .pageheader .trailprev, .pageheader .trailnext, .pageheader .trailup {
  260. padding: 0.25em 0.25em 0.25em 0.25em;
  261. background-image: url("background_darkness.png");
  262. background-repeat: repeat;
  263. color: white;
  264. }
  265. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a, .pageheader #otherlanguages ul li a, .pageheader a, .pageheader .trail a {
  266. font-weight: bold;
  267. color: white;
  268. text-decoration: none;
  269. }
  270. .pageheader .actions {
  271. text-align: right;
  272. vertical-align: bottom;
  273. clear: both;
  274. }
  275. #pagebody {
  276. padding-right: 1em;
  277. padding-bottom: 2em;
  278. border-right: ridge #eee;
  279. clear: none;
  280. }
  281. #content a, #enclosure a, #comments a, .sidebar a {
  282. color: #315485;
  283. text-decoration: none;
  284. font-weight: bold;
  285. }
  286. .sidebar h2 {
  287. border-bottom: ridge #eee;
  288. padding-right: 0;
  289. }
  290. .sidebar .menu {
  291. margin-left: 1em;
  292. }
  293. .inlinepage, .recentchanges, div.recentchanges {
  294. clear: none !important;
  295. margin-bottom: 2em;
  296. }
  297. .inlinefooter {
  298. border-top: 1px dotted #315485;
  299. }
  300. .inlinefooter .pagedate, .inlinefooter .tags {
  301. display: inline;
  302. clear: none;
  303. margin-right: 2em;
  304. }
  305. .calendar .month-calendar th, .calendar .month-calendar td {
  306. padding: 0.22em;
  307. }
  308. @media print {
  309. .sidebar, .page .pageheader .header .parentlinks {
  310. content: ".";
  311. display: block;
  312. height: 0;
  313. visibility: hidden;
  314. }
  315. .page {
  316. padding: 1em 1em 1em 1em;
  317. }
  318. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  319. color: #315485;
  320. }
  321. #content, #enclosure, #comments, #pagebody {
  322. margin-right: 0;
  323. *margin-right: 0;
  324. border-right: none;
  325. }
  326. }