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