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