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