You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

364 lines
6.5 KiB

  1. /**
  2. * This file provides the main design styles for the
  3. * bits that surround the content.
  4. *
  5. * @author Anika Henke <anika@selfthinker.org>
  6. * @author Andreas Gohr <andi@splitbrain.org>
  7. * @author Clarence Lee <clarencedglee@gmail.com>
  8. */
  9. .dokuwiki.export {
  10. background-color: @ini_background;
  11. }
  12. /* header
  13. ********************************************************************/
  14. #dokuwiki__header {
  15. padding: 2em 0 1.5em;
  16. .headings,
  17. .tools {
  18. margin-bottom: 1.5em;
  19. width: 49%;
  20. }
  21. .tools {
  22. margin-top: .2em;
  23. }
  24. .logo {
  25. margin: 0;
  26. font-size: 1.5em;
  27. font-weight: normal;
  28. line-height: 1.2;
  29. img {
  30. float: left;
  31. margin-right: .5em;
  32. height: 64px;
  33. width: auto;
  34. }
  35. span {
  36. display: block;
  37. padding-top: 10px;
  38. }
  39. a {
  40. text-decoration: none;
  41. color: @ini_text;
  42. background-color: inherit;
  43. }
  44. }
  45. p.claim {
  46. margin-bottom: 0;
  47. font-size: 0.875em;
  48. }
  49. /* make all links in header (including breadcrumb and interwiki) same colour as the rest */
  50. a {
  51. color: @ini_link;
  52. background-color: inherit;
  53. }
  54. }
  55. [dir=rtl] #dokuwiki__header .logo img {
  56. float: right;
  57. margin-left: .5em;
  58. margin-right: 0;
  59. }
  60. /* tools
  61. ********************************************************************/
  62. /* highlight selected tool */
  63. .mode_admin .action.admin a,
  64. .mode_login .action.login a,
  65. .mode_register .action.register a,
  66. .mode_profile .action.profile a,
  67. .mode_recent .action.recent a,
  68. .mode_index .action.index a,
  69. .mode_media .action.media a,
  70. .mode_revisions .action.revs a,
  71. .mode_backlink .action.backlink a,
  72. .mode_subscribe .action.subscribe a {
  73. font-weight: bold;
  74. }
  75. #dokuwiki__header .tools {
  76. ul {
  77. padding-left: 0;
  78. margin-bottom: 0;
  79. }
  80. li {
  81. font-size: 0.875em;
  82. margin-left: 1em;
  83. list-style: none;
  84. display: inline;
  85. vertical-align: top;
  86. }
  87. form.search div.ajax_qsearch li {
  88. font-size: 1em;
  89. margin-left: 0;
  90. display: block;
  91. overflow: hidden;
  92. text-overflow: ellipsis;
  93. }
  94. }
  95. [dir=rtl] #dokuwiki__header .tools li {
  96. margin-right: 1em;
  97. margin-left: 0;
  98. }
  99. #dokuwiki__header .mobileTools {
  100. display: none; /* hide mobile tools dropdown to only show in mobile view */
  101. }
  102. /*____________ site tools ____________*/
  103. #dokuwiki__sitetools {
  104. text-align: right;
  105. form.search {
  106. font-size: 0.875em;
  107. }
  108. }
  109. [dir=rtl] #dokuwiki__sitetools {
  110. text-align: left;
  111. }
  112. form.search {
  113. display: block;
  114. position: relative;
  115. margin-bottom: 0.5em;
  116. input {
  117. width: 18em;
  118. padding: .35em 22px .35em .1em;
  119. }
  120. button {
  121. background: transparent url(images/search.png) no-repeat 0 0;
  122. border-width: 0;
  123. width: 19px;
  124. height: 14px;
  125. text-indent: -99999px;
  126. margin-left: -20px;
  127. box-shadow: none;
  128. padding: 0;
  129. }
  130. }
  131. [dir=rtl] form.search {
  132. input {
  133. padding: .35em .1em .35em 22px;
  134. }
  135. button {
  136. background-position: 5px 0;
  137. margin-left: 0;
  138. margin-right: -20px;
  139. position: relative;
  140. }
  141. }
  142. /*____________ breadcrumbs ____________*/
  143. .dokuwiki div.breadcrumbs {
  144. border-top: 1px solid @ini_border;
  145. border-bottom: 1px solid @ini_background;
  146. margin-bottom: .5em;
  147. font-size: 0.875em;
  148. clear: both;
  149. div {
  150. padding: .1em .35em;
  151. }
  152. div:only-child {
  153. border-top: 1px solid @ini_background;
  154. border-bottom: 1px solid @ini_border;
  155. }
  156. div:first-child {
  157. border-top: 1px solid @ini_background;
  158. }
  159. div:last-child {
  160. border-bottom: 1px solid @ini_border;
  161. }
  162. .bcsep {
  163. font-size: 0.75em;
  164. }
  165. }
  166. /* sidebar
  167. ********************************************************************/
  168. .dokuwiki .aside {
  169. font-size: 0.875em;
  170. overflow: hidden;
  171. word-wrap: break-word;
  172. /* make sidebar more condensed */
  173. h1 {
  174. font-size: 1.714em;
  175. margin-bottom: .292em;
  176. }
  177. h2 {
  178. margin-bottom: .333em;
  179. }
  180. h3 {
  181. margin-bottom: .444em;
  182. }
  183. h4 {
  184. margin-bottom: .5em;
  185. }
  186. h5 {
  187. margin-bottom: .5714em;
  188. }
  189. p,
  190. ul,
  191. ol,
  192. dl,
  193. pre,
  194. table,
  195. fieldset,
  196. hr,
  197. blockquote,
  198. address {
  199. margin-bottom: .7em;
  200. }
  201. ul,
  202. ol {
  203. padding-left: .5em;
  204. }
  205. li ul,
  206. li ol {
  207. margin-bottom: 0;
  208. padding: 0;
  209. }
  210. a:link,
  211. a:visited {
  212. color: @ini_link;
  213. background-color: inherit;
  214. }
  215. }
  216. [dir=rtl] .dokuwiki .aside ul,
  217. [dir=rtl] .dokuwiki .aside ol {
  218. padding-right: .5em;
  219. }
  220. /* content
  221. ********************************************************************/
  222. .dokuwiki .pageId {
  223. float: right;
  224. margin-right: -1em;
  225. margin-bottom: -1px;
  226. margin-top: -1.5em;
  227. overflow: hidden;
  228. padding: 0.5em 1em 0;
  229. span {
  230. font-size: 0.875em;
  231. border: solid @ini_background_alt;
  232. border-width: 1px 1px 0;
  233. background-color: @ini_background;
  234. color: @ini_text_alt;
  235. padding: .1em .35em;
  236. border-top-left-radius: 2px;
  237. border-top-right-radius: 2px;
  238. box-shadow: 0 0 .5em @ini_text_alt;
  239. display: block;
  240. }
  241. }
  242. .dokuwiki div.page {
  243. clear: both;
  244. background: @ini_background;
  245. color: inherit;
  246. border: 1px solid @ini_background_alt;
  247. box-shadow: 0 0 .5em @ini_text_alt;
  248. border-radius: 2px;
  249. padding: 1.556em 2em 2em;
  250. margin-bottom: .5em;
  251. overflow: hidden;
  252. word-wrap: break-word;
  253. }
  254. .dokuwiki .docInfo {
  255. font-size: 0.875em;
  256. text-align: right;
  257. overflow-wrap: break-word;
  258. }
  259. /* license note under edit window */
  260. .dokuwiki div.license {
  261. font-size: 93.75%;
  262. }
  263. [dir=rtl] .dokuwiki .docInfo {
  264. text-align: left;
  265. }
  266. [dir=rtl] .dokuwiki .pageId {
  267. float: left;
  268. margin-left: -1em;
  269. margin-right: 0;
  270. }
  271. /* footer
  272. ********************************************************************/
  273. .dokuwiki .wrapper {
  274. margin-bottom: 1.4em;
  275. }
  276. #dokuwiki__footer {
  277. margin-bottom: 1em;
  278. text-align: center;
  279. > .pad {
  280. font-size: 0.875em;
  281. }
  282. div.license {
  283. margin-bottom: 0.5em;
  284. font-size: 100%;
  285. }
  286. div.buttons a {
  287. img {
  288. opacity: 0.5;
  289. }
  290. &:hover img,
  291. &:active img,
  292. &:focus img {
  293. opacity: 1;
  294. }
  295. }
  296. }
  297. [dir=rtl] #dokuwiki__footer .license img {
  298. margin: 0 0 0 .5em;
  299. }