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