summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: c56494fffb9c42bc1c263fef1d4ba3a9f16eff1c (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. .inlineheader .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. }
  23. .actions li {
  24. display: inline;
  25. padding: .2em .4em;
  26. }
  27. .pageheader .actions ul {
  28. border-bottom: 1px solid #000;
  29. }
  30. .inlinepage .actions ul {
  31. border-bottom: 0;
  32. }
  33. #otherlanguages ul {
  34. margin: 0;
  35. padding: 6px;
  36. list-style-type: none;
  37. }
  38. #otherlanguages li {
  39. display: inline;
  40. padding: .2em .4em;
  41. }
  42. .pageheader #otherlanguages {
  43. border-bottom: 1px solid #000;
  44. }
  45. div.inlinecontent {
  46. margin-top: .4em;
  47. }
  48. .pagefooter {
  49. clear: both;
  50. }
  51. .inlinefooter {
  52. clear: both;
  53. }
  54. .tags {
  55. }
  56. #pageinfo {
  57. margin: 1em 0;
  58. border-top: 1px solid #000;
  59. }
  60. div.tags {
  61. margin-top: 1em;
  62. }
  63. .mapparent {
  64. text-decoration: none;
  65. }
  66. .img caption {
  67. font-size: 80%;
  68. caption-side: bottom;
  69. text-align: center;
  70. }
  71. .align-left {
  72. float:left;
  73. }
  74. .align-right {
  75. float:right;
  76. }
  77. .align-top {
  78. vertical-align:top;
  79. }
  80. .align-bottom {
  81. vertical-align:bottom;
  82. }
  83. .align-middle {
  84. vertical-align:middle;
  85. }
  86. #backlinks {
  87. margin-top: 1em;
  88. }
  89. #searchform {
  90. display: inline;
  91. float: right;
  92. }
  93. #editcontent {
  94. width: 100%;
  95. }
  96. img {
  97. border-style: none;
  98. }
  99. div.recentchanges {
  100. border-style: solid;
  101. border-width: 1px;
  102. overflow: auto;
  103. clear: both;
  104. width: 100%;
  105. background: #eee;
  106. color: black !important;
  107. }
  108. .recentchanges .metadata {
  109. padding: 0px 0.5em;
  110. }
  111. .recentchanges .changelog {
  112. font-style: italic;
  113. clear: both;
  114. display: block;
  115. padding: 1px 2px;
  116. background: white !important;
  117. color: black !important;
  118. }
  119. .recentchanges .desc {
  120. display: none;
  121. }
  122. .recentchanges .diff {
  123. display: none;
  124. }
  125. .recentchanges .committer {
  126. float: left;
  127. margin: 0;
  128. width: 40%;
  129. }
  130. .recentchanges .committype {
  131. float: left;
  132. margin: 0;
  133. width: 5%;
  134. font-size: small;
  135. }
  136. .recentchanges .changedate {
  137. float: left;
  138. margin: 0;
  139. width: 35%;
  140. font-size: small;
  141. }
  142. .recentchanges .pagelinks {
  143. float: right;
  144. margin: 0;
  145. width: 60%;
  146. }
  147. /* Used for adding a blog page. */
  148. #blogform {
  149. padding: 10px 10px;
  150. border: 1px solid #aaa;
  151. background: #eee;
  152. color: black !important;
  153. }
  154. .inlinepage {
  155. padding: 10px 10px;
  156. border: 1px solid #aaa;
  157. }
  158. .pagedate,
  159. .pagelicense,
  160. .pagecopyright {
  161. font-style: italic;
  162. display: block;
  163. margin-top: 1em;
  164. }
  165. .error {
  166. color: #C00;
  167. }
  168. /* Used for invalid form fields. */
  169. .fb_invalid {
  170. color: red;
  171. background: white !important;
  172. }
  173. /* Used for required form fields. */
  174. .fb_required {
  175. font-weight: bold;
  176. }
  177. /* Orange feed button. */
  178. .feedbutton {
  179. background: #ff6600;
  180. color: white !important;
  181. border-left: 1px solid #cc9966;
  182. border-top: 1px solid #ccaa99;
  183. border-right: 1px solid #993300;
  184. border-bottom: 1px solid #331100;
  185. padding: 0px 0.5em 0px 0.5em;
  186. font-family: sans-serif;
  187. font-weight: bold;
  188. font-size: small;
  189. text-decoration: none;
  190. margin-top: 1em;
  191. }
  192. .feedbutton:hover {
  193. color: white !important;
  194. background: #ff9900;
  195. }
  196. /* Tag cloud. */
  197. .pagecloud {
  198. float: right;
  199. width: 30%;
  200. text-align: center;
  201. padding: 10px 10px;
  202. border: 1px solid #aaa;
  203. background: #eee;
  204. color: black !important;
  205. }
  206. .smallestPC { font-size: 70%; }
  207. .smallPC { font-size: 85%; }
  208. .normalPC { font-size: 100%; }
  209. .bigPC { font-size: 115%; }
  210. .biggestPC { font-size: 130%; }
  211. #sidebar {
  212. line-height: 3ex;
  213. width: 20ex;
  214. float: right;
  215. margin-left: 40px;
  216. margin-bottom: 40px;
  217. padding: 2ex 2ex;
  218. background: white;
  219. color: black !important;
  220. }
  221. /* outlines */
  222. li.L1 {
  223. list-style: upper-roman;
  224. }
  225. li.L2 {
  226. list-style: decimal;
  227. }
  228. li.L3 {
  229. list-style: lower-alpha;
  230. }
  231. li.L4 {
  232. list-style: disc;
  233. }
  234. li.L5 {
  235. list-style: square;
  236. }
  237. li.L6 {
  238. list-style: circle;
  239. }
  240. li.L7 {
  241. list-style: lower-roman;
  242. }
  243. li.L8 {
  244. list-style: upper-alpha;
  245. }
  246. hr.poll {
  247. height: 10pt;
  248. color: white !important;
  249. background: #eee;
  250. border: 2px solid black;
  251. }
  252. div.poll {
  253. margin-top: 1ex;
  254. margin-bottom: 1ex;
  255. padding: 1ex 1ex;
  256. border: 1px solid #aaa;
  257. }
  258. div.progress {
  259. margin-top: 1ex;
  260. margin-bottom: 1ex;
  261. border: 1px solid #888;
  262. width: 400px;
  263. background: #eee;
  264. color: black !important;
  265. padding: 1px;
  266. }
  267. div.progress-done {
  268. background: #ea6 !important;
  269. color: black !important;
  270. text-align: center;
  271. padding: 1px;
  272. }
  273. input#openid_url {
  274. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  275. background-color: #fff;
  276. background-position: 0 50%;
  277. color: #000;
  278. padding-left: 18px;
  279. }
  280. input#searchbox {
  281. background: url(wikiicons/search-bg.gif) no-repeat;
  282. background-color: #fff;
  283. background-position: 100% 50%;
  284. color: #000;
  285. padding-right: 16px;
  286. }
  287. /* Things to hide in printouts. */
  288. @media print {
  289. .actions { display: none; }
  290. .tags { display: none; }
  291. .feedbutton { display: none; }
  292. #searchform { display: none; }
  293. #blogform { display: none; }
  294. #backlinks { display: none; }
  295. }
  296. /* Provided for use by template plugin for floating info boxes. */
  297. .infobox {
  298. float: right;
  299. margin-left: 2ex;
  300. margin-top: 1ex;
  301. margin-bottom: 1ex;
  302. padding: 1ex 1ex;
  303. border: 1px solid #aaa;
  304. background: white;
  305. color: black !important;
  306. }
  307. /* Provided for use by template plugin for floating note boxes. */
  308. .notebox {
  309. float: right;
  310. margin-left: 2ex;
  311. margin-top: 1ex;
  312. margin-bottom: 1ex;
  313. padding: 1ex 1ex;
  314. border: 1px solid #aaa;
  315. width: 25%;
  316. background: white;
  317. color: black !important;
  318. }
  319. /* Used by the popup template and for backlinks hiding. */
  320. .popup {
  321. border-bottom: 1px dotted #366;
  322. color: #366;
  323. }
  324. .popup .balloon,
  325. .popup .paren,
  326. .popup .expand {
  327. display: none;
  328. }
  329. .popup:hover .balloon,
  330. .popup:focus .balloon {
  331. position: absolute;
  332. display: inline;
  333. margin: 1em 0 0 -2em;
  334. padding: 0.625em;
  335. border: 2px solid;
  336. background-color: #dee;
  337. color: black;
  338. }
  339. /* Formbuilder styling */
  340. fieldset {
  341. margin: 1ex 0;
  342. border: 1px solid black;
  343. }
  344. legend {
  345. padding: 0 1ex;
  346. }
  347. .fb_submit {
  348. float: left;
  349. margin: 2px 0;
  350. }
  351. #signin_openid_url_label {
  352. float: left;
  353. margin-right: 1ex;
  354. }
  355. #signin_openid {
  356. padding: 10px 10px;
  357. border: 1px solid #aaa;
  358. background: #eee;
  359. color: black !important;
  360. }
  361. span.color {
  362. padding: 2px;
  363. }
  364. .comment-header,
  365. .microblog-header {
  366. font-style: italic;
  367. margin-top: .3em;
  368. }
  369. .comment .author,
  370. .microblog .author {
  371. font-weight: bold;
  372. }
  373. .comment-subject {
  374. font-weight: bold;
  375. }
  376. .comment {
  377. border: 1px solid #aaa;
  378. padding: 3px;
  379. }
  380. /* Used by the highlight plugin. */
  381. pre.hl { color:#000000; background-color:#ffffff; }
  382. .hl.num { color:#2928ff; }
  383. .hl.esc { color:#ff00ff; }
  384. .hl.str { color:#ff0000; }
  385. .hl.dstr { color:#818100; }
  386. .hl.slc { color:#838183; font-style:italic; }
  387. .hl.com { color:#838183; font-style:italic; }
  388. .hl.dir { color:#008200; }
  389. .hl.sym { color:#000000; }
  390. .hl.line { color:#555555; }
  391. .hl.mark { background-color:#ffffbb; }
  392. .hl.kwa { color:#000000; font-weight:bold; }
  393. .hl.kwb { color:#830000; }
  394. .hl.kwc { color:#000000; font-weight:bold; }
  395. .hl.kwd { color:#010181; }
  396. /* For the calendar plugin. */
  397. .month-calendar-day-this-day { background-color: #eee; }
  398. .year-calendar-this-month { background-color: #eee; }