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