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