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