summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: 7991f752f37087598d3f350d14014556474a7c06 (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. width: 100%;
  69. background: #eee;
  70. color: black !important;
  71. }
  72. .recentchanges .metadata {
  73. padding: 0px 0.5em;
  74. }
  75. .recentchanges .changelog {
  76. font-style: italic;
  77. clear: both;
  78. display: block;
  79. padding: 1px 2px;
  80. background: white !important;
  81. color: black !important;
  82. }
  83. .recentchanges .desc {
  84. display: none;
  85. }
  86. .recentchanges .diff {
  87. display: none;
  88. }
  89. .recentchanges .committer {
  90. float: left;
  91. margin: 0;
  92. width: 40%;
  93. }
  94. .recentchanges .committype {
  95. float: left;
  96. margin: 0;
  97. width: 5%;
  98. font-size: small;
  99. }
  100. .recentchanges .changedate {
  101. float: left;
  102. margin: 0;
  103. width: 35%;
  104. font-size: small;
  105. }
  106. .recentchanges .pagelinks {
  107. float: right;
  108. margin: 0;
  109. width: 60%;
  110. }
  111. /* Used for adding a blog page. */
  112. #blogform {
  113. padding: 10px 10px;
  114. border: 1px solid #aaa;
  115. background: #eee;
  116. color: black !important;
  117. }
  118. .inlinepage {
  119. padding: 10px 10px;
  120. border: 1px solid #aaa;
  121. }
  122. .pagedate,
  123. .pagelicense,
  124. .pagecopyright {
  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. background: white;
  183. color: black !important;
  184. }
  185. /* outlines */
  186. li.L1 {
  187. list-style: upper-roman;
  188. }
  189. li.L2 {
  190. list-style: decimal;
  191. }
  192. li.L3 {
  193. list-style: lower-alpha;
  194. }
  195. li.L4 {
  196. list-style: disc;
  197. }
  198. li.L5 {
  199. list-style: square;
  200. }
  201. li.L6 {
  202. list-style: circle;
  203. }
  204. li.L7 {
  205. list-style: lower-roman;
  206. }
  207. li.L8 {
  208. list-style: upper-alpha;
  209. }
  210. hr.poll {
  211. height: 10pt;
  212. color: white !important;
  213. background: #eee;
  214. border: 2px solid black;
  215. }
  216. div.poll {
  217. margin-top: 1ex;
  218. margin-bottom: 1ex;
  219. padding: 1ex 1ex;
  220. border: 1px solid #aaa;
  221. }
  222. input#openid_url {
  223. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  224. background-color: #fff;
  225. background-position: 0 50%;
  226. color: #000;
  227. padding-left: 18px;
  228. }
  229. input#searchbox {
  230. background: url(wikiicons/search-bg.gif) no-repeat;
  231. background-color: #fff;
  232. background-position: 100% 50%;
  233. color: #000;
  234. padding-right: 16px;
  235. }
  236. /* Things to hide in printouts. */
  237. @media print {
  238. .actions { display: none; }
  239. .tags { display: none; }
  240. .feedbutton { display: none; }
  241. #searchform { display: none; }
  242. #blogform { display: none; }
  243. #backlinks { display: none; }
  244. }
  245. /* Provided for use by template plugin for floating info boxes. */
  246. .infobox {
  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. background: white;
  254. color: black !important;
  255. }
  256. /* Provided for use by template plugin for floating note boxes. */
  257. .notebox {
  258. float: right;
  259. margin-left: 2ex;
  260. margin-top: 1ex;
  261. margin-bottom: 1ex;
  262. padding: 1ex 1ex;
  263. border: 1px solid #aaa;
  264. width: 25%
  265. background: white;
  266. color: black !important;
  267. }
  268. /* Used by the popup template and for backlinks hiding. */
  269. .popup {
  270. border-bottom: 1px dotted #366;
  271. color: #366;
  272. }
  273. .popup .balloon,
  274. .popup .paren,
  275. .popup .expand {
  276. display: none;
  277. }
  278. .popup:hover .balloon,
  279. .popup:focus .balloon {
  280. position: absolute;
  281. display: inline;
  282. margin: 1em 0 0 -2em;
  283. padding: 0.625em;
  284. border: 2px solid;
  285. background-color: #dee;
  286. color: black;
  287. /* Nonstandard, but very nice. */
  288. opacity: 0.95;
  289. -moz-opacity: 0.95;
  290. filter: alpha(opacity=95);
  291. }
  292. /* Formbuilder styling */
  293. fieldset {
  294. margin: 1ex 0;
  295. border: 1px solid black;
  296. }
  297. legend {
  298. padding: 0 1ex;
  299. }
  300. .fb_submit {
  301. float: left;
  302. margin: 2px 0;
  303. }
  304. #signin_openid_url_label {
  305. float: left;
  306. margin-right: 1ex;
  307. }
  308. #signin_openid {
  309. padding: 10px 10px;
  310. border: 1px solid #aaa;
  311. background: #eee;
  312. color: black !important;
  313. }