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