summaryrefslogtreecommitdiff
path: root/blueview/style.scss
blob: 3342badbe1f67fe40eb9d9c7a18a58bc33aaa702 (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, #enclosure, #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, .pageheader .trailprev, .pageheader .trailnext, .pageheader .trailup {
  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, .pageheader a, .pageheader .trail a {
  265. font-weight: bold;
  266. color: white;
  267. text-decoration: none;
  268. }
  269. .pageheader .actions {
  270. text-align: right;
  271. vertical-align: bottom;
  272. clear: both;
  273. }
  274. #pagebody {
  275. padding-right: 1em;
  276. padding-bottom: 2em;
  277. border-right: ridge #eee;
  278. clear: none;
  279. }
  280. #content a, #enclosure a, #comments a, .sidebar a {
  281. color: #315485;
  282. text-decoration: none;
  283. font-weight: bold;
  284. }
  285. .sidebar h2 {
  286. border-bottom: ridge #eee;
  287. padding-right: 0;
  288. }
  289. .sidebar .menu {
  290. margin-left: 1em;
  291. }
  292. .inlinepage, .recentchanges, div.recentchanges {
  293. clear: none !important;
  294. margin-bottom: 2em;
  295. }
  296. .inlinefooter {
  297. border-top: 1px dotted #315485;
  298. }
  299. .inlinefooter .pagedate, .inlinefooter .tags {
  300. display: inline;
  301. clear: none;
  302. margin-right: 2em;
  303. }
  304. .calendar .month-calendar th, .calendar .month-calendar td {
  305. padding: 0.22em;
  306. }
  307. @media print {
  308. .sidebar, .page .pageheader .header .parentlinks {
  309. content: ".";
  310. display: block;
  311. height: 0;
  312. visibility: hidden;
  313. }
  314. .page {
  315. padding: 1em 1em 1em 1em;
  316. }
  317. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  318. color: #315485;
  319. }
  320. #content, #enclosure, #comments, #pagebody {
  321. margin-right: 0;
  322. *margin-right: 0;
  323. border-right: none;
  324. }
  325. }