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