summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: 317d4c7aacbb3efb76b52a8c664d11a4cdfdb163 (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. line-height: 3ex;
  204. width: 20ex;
  205. float: right;
  206. margin-left: 40px;
  207. margin-bottom: 40px;
  208. padding: 2ex 2ex;
  209. background: white;
  210. color: black !important;
  211. }
  212. /* outlines */
  213. li.L1 {
  214. list-style: upper-roman;
  215. }
  216. li.L2 {
  217. list-style: decimal;
  218. }
  219. li.L3 {
  220. list-style: lower-alpha;
  221. }
  222. li.L4 {
  223. list-style: disc;
  224. }
  225. li.L5 {
  226. list-style: square;
  227. }
  228. li.L6 {
  229. list-style: circle;
  230. }
  231. li.L7 {
  232. list-style: lower-roman;
  233. }
  234. li.L8 {
  235. list-style: upper-alpha;
  236. }
  237. hr.poll {
  238. height: 10pt;
  239. color: white !important;
  240. background: #eee;
  241. border: 2px solid black;
  242. }
  243. div.poll {
  244. margin-top: 1ex;
  245. margin-bottom: 1ex;
  246. padding: 1ex 1ex;
  247. border: 1px solid #aaa;
  248. }
  249. div.progress {
  250. margin-top: 1ex;
  251. margin-bottom: 1ex;
  252. border: 1px solid #888;
  253. width: 400px;
  254. background: #eee;
  255. color: black !important;
  256. padding: 1px;
  257. }
  258. div.progress-done {
  259. background: #ea6 !important;
  260. color: black !important;
  261. text-align: center;
  262. padding: 1px;
  263. }
  264. input#openid_url {
  265. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  266. background-color: #fff;
  267. background-position: 0 50%;
  268. color: #000;
  269. padding-left: 18px;
  270. }
  271. input#searchbox {
  272. background: url(wikiicons/search-bg.gif) no-repeat;
  273. background-color: #fff;
  274. background-position: 100% 50%;
  275. color: #000;
  276. padding-right: 16px;
  277. }
  278. /* Things to hide in printouts. */
  279. @media print {
  280. .actions { display: none; }
  281. .tags { display: none; }
  282. .feedbutton { display: none; }
  283. #searchform { display: none; }
  284. #blogform { display: none; }
  285. #backlinks { display: none; }
  286. }
  287. /* Provided for use by template plugin for floating info boxes. */
  288. .infobox {
  289. float: right;
  290. margin-left: 2ex;
  291. margin-top: 1ex;
  292. margin-bottom: 1ex;
  293. padding: 1ex 1ex;
  294. border: 1px solid #aaa;
  295. background: white;
  296. color: black !important;
  297. }
  298. /* Provided for use by template plugin for floating note boxes. */
  299. .notebox {
  300. float: right;
  301. margin-left: 2ex;
  302. margin-top: 1ex;
  303. margin-bottom: 1ex;
  304. padding: 1ex 1ex;
  305. border: 1px solid #aaa;
  306. width: 25%;
  307. background: white;
  308. color: black !important;
  309. }
  310. /* Used by the popup template and for backlinks hiding. */
  311. .popup {
  312. border-bottom: 1px dotted #366;
  313. color: #366;
  314. }
  315. .popup .balloon,
  316. .popup .paren,
  317. .popup .expand {
  318. display: none;
  319. }
  320. .popup:hover .balloon,
  321. .popup:focus .balloon {
  322. position: absolute;
  323. display: inline;
  324. margin: 1em 0 0 -2em;
  325. padding: 0.625em;
  326. border: 2px solid;
  327. background-color: #dee;
  328. color: black;
  329. }
  330. /* Formbuilder styling */
  331. fieldset {
  332. margin: 1ex 0;
  333. border: 1px solid black;
  334. }
  335. legend {
  336. padding: 0 1ex;
  337. }
  338. .fb_submit {
  339. float: left;
  340. margin: 2px 0;
  341. }
  342. #signin_openid_url_label {
  343. float: left;
  344. margin-right: 1ex;
  345. }
  346. #signin_openid {
  347. padding: 10px 10px;
  348. border: 1px solid #aaa;
  349. background: #eee;
  350. color: black !important;
  351. }
  352. span.color {
  353. padding: 2px;
  354. }
  355. .comment-header,
  356. .microblog-header {
  357. font-style: italic;
  358. margin-top: .3em;
  359. }
  360. .comment .author,
  361. .microblog .author {
  362. font-weight: bold;
  363. }
  364. .comment-subject {
  365. font-weight: bold;
  366. }
  367. .comment {
  368. border: 1px solid #aaa;
  369. padding: 3px;
  370. }
  371. /* Used by the highlight plugin. */
  372. pre.hl { color:#000000; background-color:#ffffff; }
  373. .hl.num { color:#2928ff; }
  374. .hl.esc { color:#ff00ff; }
  375. .hl.str { color:#ff0000; }
  376. .hl.dstr { color:#818100; }
  377. .hl.slc { color:#838183; font-style:italic; }
  378. .hl.com { color:#838183; font-style:italic; }
  379. .hl.dir { color:#008200; }
  380. .hl.sym { color:#000000; }
  381. .hl.line { color:#555555; }
  382. .hl.mark { background-color:#ffffbb; }
  383. .hl.kwa { color:#000000; font-weight:bold; }
  384. .hl.kwb { color:#830000; }
  385. .hl.kwc { color:#000000; font-weight:bold; }
  386. .hl.kwd { color:#010181; }
  387. /* For the calendar plugin. */
  388. .month-calendar-day-this-day { background-color: #eee; }
  389. .year-calendar-this-month { background-color: #eee; }