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