summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: 595a38dfa5bf43c5e411f538be8fd747d1eb9a23 (plain)
  1. /* ikiwiki style sheet */
  2. /* Note that instead of modifying this style sheet, you can instead edit
  3. * local.css and use it to override or change settings in this one.
  4. */
  5. .header {
  6. margin: 0;
  7. font-size: 22px;
  8. font-weight: bold;
  9. line-height: 1em;
  10. display: block;
  11. }
  12. .author {
  13. margin: 0;
  14. font-size: 18px;
  15. font-weight: bold;
  16. display: block;
  17. }
  18. .actions ul {
  19. margin: 0;
  20. padding: 6px;
  21. list-style-type: none;
  22. border-bottom: 1px solid #000;
  23. }
  24. .inlinepage .actions ul {
  25. border-bottom: 0;
  26. }
  27. .actions li {
  28. display: inline;
  29. padding: .2em .4em;
  30. }
  31. .pagefooter {
  32. clear: both;
  33. }
  34. .tags {
  35. }
  36. #pageinfo {
  37. margin: 1em 0;
  38. border-top: 1px solid #000;
  39. }
  40. div.tags {
  41. margin-top: 1em;
  42. }
  43. .mapparent {
  44. text-decoration: none;
  45. }
  46. .img caption {
  47. font-size: 80%;
  48. caption-side: bottom;
  49. text-align: center;
  50. }
  51. #backlinks {
  52. margin-top: 1em;
  53. }
  54. #searchform {
  55. display: inline;
  56. float: right;
  57. }
  58. #editcontent {
  59. width: 100%;
  60. }
  61. img {
  62. border-style: none;
  63. }
  64. div.recentchanges {
  65. border-style: solid;
  66. border-width: 1px;
  67. overflow: auto;
  68. clear: both;
  69. width: 100%;
  70. background: #eee;
  71. color: black !important;
  72. }
  73. .recentchanges .metadata {
  74. padding: 0px 0.5em;
  75. }
  76. .recentchanges .changelog {
  77. font-style: italic;
  78. clear: both;
  79. display: block;
  80. padding: 1px 2px;
  81. background: white !important;
  82. color: black !important;
  83. }
  84. .recentchanges .desc {
  85. display: none;
  86. }
  87. .recentchanges .diff {
  88. display: none;
  89. }
  90. .recentchanges .committer {
  91. float: left;
  92. margin: 0;
  93. width: 40%;
  94. }
  95. .recentchanges .committype {
  96. float: left;
  97. margin: 0;
  98. width: 5%;
  99. font-size: small;
  100. }
  101. .recentchanges .changedate {
  102. float: left;
  103. margin: 0;
  104. width: 35%;
  105. font-size: small;
  106. }
  107. .recentchanges .pagelinks {
  108. float: right;
  109. margin: 0;
  110. width: 60%;
  111. }
  112. /* Used for adding a blog page. */
  113. #blogform {
  114. padding: 10px 10px;
  115. border: 1px solid #aaa;
  116. background: #eee;
  117. color: black !important;
  118. }
  119. .inlinepage {
  120. padding: 10px 10px;
  121. border: 1px solid #aaa;
  122. }
  123. .pagedate,
  124. .pagelicense,
  125. .pagecopyright {
  126. font-style: italic;
  127. display: block;
  128. margin-top: 1em;
  129. }
  130. .error {
  131. color: #C00;
  132. }
  133. /* Used for invalid form fields. */
  134. .fb_invalid {
  135. color: red;
  136. background: white !important;
  137. }
  138. /* Used for required form fields. */
  139. .fb_required {
  140. font-weight: bold;
  141. }
  142. /* Orange feed button. */
  143. .feedbutton {
  144. background: #ff6600;
  145. color: white !important;
  146. border-left: 1px solid #cc9966;
  147. border-top: 1px solid #ccaa99;
  148. border-right: 1px solid #993300;
  149. border-bottom: 1px solid #331100;
  150. padding: 0px 0.5em 0px 0.5em;
  151. font-family: sans-serif;
  152. font-weight: bold;
  153. font-size: small;
  154. text-decoration: none;
  155. margin-top: 1em;
  156. }
  157. .feedbutton:hover {
  158. color: white !important;
  159. background: #ff9900;
  160. }
  161. /* Tag cloud. */
  162. .pagecloud {
  163. float: right;
  164. width: 30%;
  165. text-align: center;
  166. padding: 10px 10px;
  167. border: 1px solid #aaa;
  168. background: #eee;
  169. color: black !important;
  170. }
  171. .smallestPC { font-size: 70%; }
  172. .smallPC { font-size: 85%; }
  173. .normalPC { font-size: 100%; }
  174. .bigPC { font-size: 115%; }
  175. .biggestPC { font-size: 130%; }
  176. #sidebar {
  177. line-height: 3ex;
  178. width: 20ex;
  179. float: right;
  180. margin-left: 40px;
  181. margin-bottom: 40px;
  182. padding: 2ex 2ex;
  183. background: white;
  184. color: black !important;
  185. }
  186. /* outlines */
  187. li.L1 {
  188. list-style: upper-roman;
  189. }
  190. li.L2 {
  191. list-style: decimal;
  192. }
  193. li.L3 {
  194. list-style: lower-alpha;
  195. }
  196. li.L4 {
  197. list-style: disc;
  198. }
  199. li.L5 {
  200. list-style: square;
  201. }
  202. li.L6 {
  203. list-style: circle;
  204. }
  205. li.L7 {
  206. list-style: lower-roman;
  207. }
  208. li.L8 {
  209. list-style: upper-alpha;
  210. }
  211. hr.poll {
  212. height: 10pt;
  213. color: white !important;
  214. background: #eee;
  215. border: 2px solid black;
  216. }
  217. div.poll {
  218. margin-top: 1ex;
  219. margin-bottom: 1ex;
  220. padding: 1ex 1ex;
  221. border: 1px solid #aaa;
  222. }
  223. div.progress {
  224. margin-top: 1ex;
  225. margin-bottom: 1ex;
  226. border: 1px solid #888;
  227. width: 400px;
  228. background: #eee;
  229. color: black !important;
  230. padding: 1px;
  231. }
  232. div.progress-done {
  233. background: #ea6 !important;
  234. color: black !important;
  235. text-align: center;
  236. padding: 1px;
  237. }
  238. input#openid_url {
  239. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  240. background-color: #fff;
  241. background-position: 0 50%;
  242. color: #000;
  243. padding-left: 18px;
  244. }
  245. input#searchbox {
  246. background: url(wikiicons/search-bg.gif) no-repeat;
  247. background-color: #fff;
  248. background-position: 100% 50%;
  249. color: #000;
  250. padding-right: 16px;
  251. }
  252. /* Things to hide in printouts. */
  253. @media print {
  254. .actions { display: none; }
  255. .tags { display: none; }
  256. .feedbutton { display: none; }
  257. #searchform { display: none; }
  258. #blogform { display: none; }
  259. #backlinks { display: none; }
  260. }
  261. /* Provided for use by template plugin for floating info boxes. */
  262. .infobox {
  263. float: right;
  264. margin-left: 2ex;
  265. margin-top: 1ex;
  266. margin-bottom: 1ex;
  267. padding: 1ex 1ex;
  268. border: 1px solid #aaa;
  269. background: white;
  270. color: black !important;
  271. }
  272. /* Provided for use by template plugin for floating note boxes. */
  273. .notebox {
  274. float: right;
  275. margin-left: 2ex;
  276. margin-top: 1ex;
  277. margin-bottom: 1ex;
  278. padding: 1ex 1ex;
  279. border: 1px solid #aaa;
  280. width: 25%;
  281. background: white;
  282. color: black !important;
  283. }
  284. /* Used by the popup template and for backlinks hiding. */
  285. .popup {
  286. border-bottom: 1px dotted #366;
  287. color: #366;
  288. }
  289. .popup .balloon,
  290. .popup .paren,
  291. .popup .expand {
  292. display: none;
  293. }
  294. .popup:hover .balloon,
  295. .popup:focus .balloon {
  296. position: absolute;
  297. display: inline;
  298. margin: 1em 0 0 -2em;
  299. padding: 0.625em;
  300. border: 2px solid;
  301. background-color: #dee;
  302. color: black;
  303. /* Nonstandard, but very nice. */
  304. opacity: 0.95;
  305. -moz-opacity: 0.95;
  306. filter: alpha(opacity=95);
  307. }
  308. /* Formbuilder styling */
  309. fieldset {
  310. margin: 1ex 0;
  311. border: 1px solid black;
  312. }
  313. legend {
  314. padding: 0 1ex;
  315. }
  316. .fb_submit {
  317. float: left;
  318. margin: 2px 0;
  319. }
  320. #signin_openid_url_label {
  321. float: left;
  322. margin-right: 1ex;
  323. }
  324. #signin_openid {
  325. padding: 10px 10px;
  326. border: 1px solid #aaa;
  327. background: #eee;
  328. color: black !important;
  329. }
  330. span.color {
  331. padding: 2px;
  332. }