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