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