summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: b985079914f9230163a67283465fc9b71ed2b14f (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. /* Used for invalid form fields. */
  130. .fb_invalid {
  131. color: red;
  132. background: white !important;
  133. }
  134. /* Used for required form fields. */
  135. .fb_required {
  136. font-weight: bold;
  137. }
  138. /* Orange feed button. */
  139. .feedbutton {
  140. background: #ff6600;
  141. color: white !important;
  142. border-left: 1px solid #cc9966;
  143. border-top: 1px solid #ccaa99;
  144. border-right: 1px solid #993300;
  145. border-bottom: 1px solid #331100;
  146. padding: 0px 0.5em 0px 0.5em;
  147. font-family: sans-serif;
  148. font-weight: bold;
  149. font-size: small;
  150. text-decoration: none;
  151. margin-top: 1em;
  152. }
  153. .feedbutton:hover {
  154. color: white !important;
  155. background: #ff9900;
  156. }
  157. /* Tag cloud. */
  158. .pagecloud {
  159. float: right;
  160. width: 30%;
  161. text-align: center;
  162. padding: 10px 10px;
  163. border: 1px solid #aaa;
  164. background: #eee;
  165. color: black !important;
  166. }
  167. .smallestPC { font-size: 70%; }
  168. .smallPC { font-size: 85%; }
  169. .normalPC { font-size: 100%; }
  170. .bigPC { font-size: 115%; }
  171. .biggestPC { font-size: 130%; }
  172. #sidebar {
  173. line-height: 3ex;
  174. width: 20ex;
  175. float: right;
  176. margin-left: 40px;
  177. margin-bottom: 40px;
  178. padding: 2ex 2ex;
  179. }
  180. /* outlines */
  181. li.L1 {
  182. list-style: upper-roman;
  183. }
  184. li.L2 {
  185. list-style: decimal;
  186. }
  187. li.L3 {
  188. list-style: lower-alpha;
  189. }
  190. li.L4 {
  191. list-style: disc;
  192. }
  193. li.L5 {
  194. list-style: square;
  195. }
  196. li.L6 {
  197. list-style: circle;
  198. }
  199. li.L7 {
  200. list-style: lower-roman;
  201. }
  202. li.L8 {
  203. list-style: upper-alpha;
  204. }
  205. hr.poll {
  206. height: 10pt;
  207. color: white !important;
  208. background: #eee;
  209. border: 2px solid black;
  210. }
  211. div.poll {
  212. margin-top: 1ex;
  213. margin-bottom: 1ex;
  214. padding: 1ex 1ex;
  215. border: 1px solid #aaa;
  216. }
  217. input#openid_url {
  218. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  219. background-color: #fff;
  220. background-position: 0 50%;
  221. color: #000;
  222. padding-left: 18px;
  223. }
  224. /* Things to hide in printouts. */
  225. @media print {
  226. .actions { display: none; }
  227. .tags { display: none; }
  228. .feedbutton { display: none; }
  229. #searchform { display: none; }
  230. #blogform { display: none; }
  231. #backlinks { display: none; }
  232. }
  233. /* Provided for use by template plugin for floating info boxes. */
  234. .infobox {
  235. float: right;
  236. margin-left: 2ex;
  237. margin-top: 1ex;
  238. margin-bottom: 1ex;
  239. padding: 1ex 1ex;
  240. border: 1px solid #aaa;
  241. }
  242. /* Provided for use by template plugin for floating note boxes. */
  243. .notebox {
  244. float: right;
  245. margin-left: 2ex;
  246. margin-top: 1ex;
  247. margin-bottom: 1ex;
  248. padding: 1ex 1ex;
  249. border: 1px solid #aaa;
  250. width: 25%
  251. }
  252. /* Used by the popup template and for backlinks hiding. */
  253. .popup {
  254. border-bottom: 1px dotted #366;
  255. color: #366;
  256. }
  257. .popup .balloon,
  258. .popup .paren,
  259. .popup .expand {
  260. display: none;
  261. }
  262. .popup:hover .balloon,
  263. .popup:focus .balloon {
  264. position: absolute;
  265. display: inline;
  266. margin: 1em 0 0 -2em;
  267. padding: 0.625em;
  268. border: 2px solid;
  269. background-color: #dee;
  270. color: black;
  271. /* Nonstandard, but very nice. */
  272. opacity: 0.95;
  273. -moz-opacity: 0.95;
  274. filter: alpha(opacity=95);
  275. }
  276. /* Formbuilder styling */
  277. fieldset {
  278. margin: 1ex 0;
  279. border: 1px solid black;
  280. }
  281. legend {
  282. padding: 0 1ex;
  283. }
  284. .fb_submit {
  285. float: left;
  286. margin: 2px 0;
  287. }
  288. #signin_openid_url_label {
  289. float: left;
  290. margin-right: 1ex;
  291. }
  292. #signin_openid {
  293. padding: 10px 10px;
  294. border: 1px solid #aaa;
  295. background: #eee;
  296. color: black !important;
  297. }