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