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