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