summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: e414736ffe70dfd7119a542479ebedda626bbc70 (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. #tags {
  35. margin: 1em 0;
  36. }
  37. #backlinks {
  38. margin: 1em 0;
  39. }
  40. #footer {
  41. clear: both;
  42. margin: 1em 0;
  43. border-top: 1px solid #000;
  44. }
  45. #searchform {
  46. display: inline;
  47. float: right;
  48. }
  49. #editcontent {
  50. width: 100%;
  51. }
  52. img {
  53. border: 0px;
  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. .pagecloud {
  78. padding: 10px 10px;
  79. border: 1px solid #aaa;
  80. background: #eee;
  81. color: black !important;
  82. }
  83. /* Used for adding a blog page. */
  84. #blogform {
  85. padding: 10px 10px;
  86. border: 1px solid #aaa;
  87. background: #eee;
  88. color: black !important;
  89. }
  90. .inlinepage {
  91. padding: 10px 10px;
  92. border: 1px solid #aaa;
  93. }
  94. .pageinfo {
  95. clear: both;
  96. font-style: italic;
  97. display: block;
  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. }
  133. .smallestPC { font-size: 70%; }
  134. .smallPC { font-size: 85%; }
  135. .normalPC { font-size: 100%; }
  136. .bigPC { font-size: 115%; }
  137. .biggestPC { font-size: 130%; }
  138. #sidebar {
  139. line-height: 3ex;
  140. width: 20ex;
  141. float: right;
  142. margin-left: 40px;
  143. margin-bottom: 40px;
  144. padding: 2ex 2ex;
  145. }
  146. /* outlines */
  147. li.L1 {
  148. list-style: upper-roman;
  149. }
  150. li.L2 {
  151. list-style: decimal;
  152. }
  153. li.L3 {
  154. list-style: lower-alpha;
  155. }
  156. li.L4 {
  157. list-style: disc;
  158. }
  159. li.L5 {
  160. list-style: square;
  161. }
  162. li.L6 {
  163. list-style: circle;
  164. }
  165. li.L7 {
  166. list-style: lower-roman;
  167. }
  168. li.L8 {
  169. list-style: upper-alpha;
  170. }
  171. hr.poll {
  172. height: 10pt;
  173. color: white !important;
  174. background: #eee;
  175. border: 2px solid black;
  176. }
  177. div.poll {
  178. margin-top: 1ex;
  179. margin-bottom: 1ex;
  180. padding: 1ex 1ex;
  181. border: 1px solid #aaa;
  182. }
  183. input#openid_url {
  184. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  185. background-color: #fff;
  186. background-position: 0 50%;
  187. color: #000;
  188. padding-left: 18px;
  189. }
  190. /* Things to hide in printouts. */
  191. @media print {
  192. .actions { display: none; }
  193. .tags { display: none; }
  194. .feedbutton { display: none; }
  195. #searchform { display: none; }
  196. #blogform { display: none; }
  197. #backlinks { display: none; }
  198. }
  199. /* Provided for use by template plugin for floating info boxes. */
  200. .infobox {
  201. float: right;
  202. margin-left: 2ex;
  203. margin-top: 1ex;
  204. margin-bottom: 1ex;
  205. padding: 1ex 1ex;
  206. border: 1px solid #aaa;
  207. }
  208. /* Provided for use by template plugin for floating note boxes. */
  209. .notebox {
  210. float: right;
  211. margin-left: 2ex;
  212. margin-top: 1ex;
  213. margin-bottom: 1ex;
  214. padding: 1ex 1ex;
  215. border: 1px solid #aaa;
  216. width: 25%
  217. }
  218. /* Used by the popup template and for backlinks hiding. */
  219. .popup {
  220. border-bottom: 1px dotted #366;
  221. color: #366;
  222. }
  223. .popup .balloon,
  224. .popup .paren,
  225. .popup .expand {
  226. display: none;
  227. }
  228. .popup:hover .balloon,
  229. .popup:focus .balloon {
  230. position: absolute;
  231. display: inline;
  232. margin: 1em 0 0 -2em;
  233. padding: 0.625em;
  234. border: 2px solid;
  235. background-color: #dee;
  236. color: black;
  237. opacity: 0.95;
  238. -moz-opacity: 0.95;
  239. filter: alpha(opacity=95);
  240. }