alexgearbox

userstyle.css for DokuWiki

Jan 19th, 2015 (edited)
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 14.39 KB | None | 0 0
  1. /**
  2.  * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
  3.  *
  4.  * @author Aleksandr Selivanov <alexgearbox@yandex.ru>
  5.  */
  6.  
  7. acronym, abbr {
  8.     border-bottom: none; /* чтобы не было двойного подчёркивания в Firefox*/
  9. }
  10.  
  11. /*____________ LINKS ____________*/
  12.  
  13. a:link,
  14. a:visited,
  15. .dokuwiki .aside a:link,
  16. .dokuwiki .aside a:visited,
  17. #dokuwiki__header a:link,
  18. #dokuwiki__header a:visited,
  19. #dokuwiki__header div.breadcrumbs a:link,
  20. #dokuwiki__header div.breadcrumbs a:visited {
  21.     text-decoration: none;
  22.     border-bottom: 1px solid @ini_link_border_bottom;
  23.     color: @ini_link;
  24. }
  25. a.urlextern,
  26. a.bugs,
  27. a.interwiki {
  28.     border-bottom: 1px solid @ini_extern_border_bottom;
  29. }
  30. a.urlextern:link:hover,
  31. a.urlextern:visited:hover,
  32. a.urlextern:link:focus,
  33. a.urlextern:visited:focus,
  34. a.urlextern:link:active,
  35. a.urlextern:visited:active,
  36. a.bugs:link:hover,
  37. a.bugs:visited:hover,
  38. a.bugs:link:focus,
  39. a.bugs:visited:focus,
  40. a.bugs:link:active,
  41. a.bugs:visited:active,
  42. a.interwiki:link:hover,
  43. a.interwiki:visited:hover,
  44. a.interwiki:link:focus,
  45. a.interwiki:visited:focus,
  46. a.interwiki:link:active,
  47. a.interwiki:visited:active {
  48.     border-bottom: 2px solid @ini_extern_hover_border_bottom;
  49.     color: @ini_extern_hover;
  50. }
  51. a:link:hover,
  52. a:visited:hover,
  53. a:link:focus,
  54. a:visited:focus,
  55. a:link:active,
  56. a:visited:active,
  57. .dokuwiki .aside a:link:hover,
  58. .dokuwiki .aside a:visited:hover,
  59. .dokuwiki .aside a:link:focus,
  60. .dokuwiki .aside a:visited:focus,
  61. .dokuwiki .aside a:link:active,
  62. .dokuwiki .aside a:visited:active,
  63. #dokuwiki__header a:link:hover,
  64. #dokuwiki__header a:visited:hover,
  65. #dokuwiki__header a:link:focus,
  66. #dokuwiki__header a:visited:focus,
  67. #dokuwiki__header a:link:active,
  68. #dokuwiki__header a:visited:active,
  69. #dokuwiki__header .tools li a:link:hover,
  70. #dokuwiki__header .tools li a:visited:hover,
  71. #dokuwiki__header .tools li a:link:focus,
  72. #dokuwiki__header .tools li a:visited:focus,
  73. #dokuwiki__header .tools li a:link:active,
  74. #dokuwiki__header .tools li a:visited:active,
  75. #dokuwiki__header div.breadcrumbs a:link:hover,
  76. #dokuwiki__header div.breadcrumbs a:visited:hover,
  77. #dokuwiki__header div.breadcrumbs a:link:focus,
  78. #dokuwiki__header div.breadcrumbs a:visited:focus,
  79. #dokuwiki__header div.breadcrumbs a:link:active,
  80. #dokuwiki__header div.breadcrumbs a:visited:active {
  81.     text-decoration: none;
  82.     border-bottom: 2px solid @ini_missing_border_bottom;
  83.     color: @ini_missing;
  84. }
  85.  
  86. /* якорные ссылки */
  87. a[href^="#"]:link,
  88. a[href^="#"]:visited {
  89.     text-decoration: none;
  90.     border-bottom: 1px dashed @ini_link_border_bottom;
  91.     color: @ini_link;
  92. }
  93. a[href^="#"]:link:hover,
  94. a[href^="#"]:visited:hover,
  95. a[href^="#"]:link:focus,
  96. a[href^="#"]:visited:focus,
  97. a[href^="#"]:link:active,
  98. a[href^="#"]:visited:active {
  99.     text-decoration: none;
  100.     border-bottom-color: #f0b2b2; /* @ini_missing_border_bottom */
  101.     color: @ini_missing;
  102. }
  103.  
  104. /* #dokuwiki__pagetools ul li - ссылки инструментов страницы */
  105. #dokuwiki__pagetools ul li a {
  106.     text-decoration: none;
  107.     border: none;
  108.     color: @ini_link;
  109. }
  110.  
  111. /* ссылка на несуществующую страницу */
  112. .dokuwiki a.wikilink2:link,
  113. .dokuwiki a.wikilink2:visited,
  114. #dokuwiki__header a.wikilink2:link,
  115. #dokuwiki__header a.wikilink2:visited,
  116. #dokuwiki__header div.breadcrumbs a.wikilink2:link,
  117. #dokuwiki__header div.breadcrumbs a.wikilink2:visited {
  118.     text-decoration: none;
  119.     border-bottom: 1px dashed @ini_missing_border_bottom;
  120.     color: @ini_missing;
  121. }
  122. .dokuwiki a.wikilink2:hover,
  123. .dokuwiki a.wikilink2:active,
  124. .dokuwiki a.wikilink2:focus,
  125. #dokuwiki__header a.wikilink2:hover,
  126. #dokuwiki__header a.wikilink2:active,
  127. #dokuwiki__header a.wikilink2:focus,
  128. #dokuwiki__header div.breadcrumbs a.wikilink2:hover,
  129. #dokuwiki__header div.breadcrumbs a.wikilink2:active,
  130. #dokuwiki__header div.breadcrumbs a.wikilink2:focus {
  131.     text-decoration: none;
  132.     border-bottom: 1px solid @ini_missing;
  133.     color: @ini_missing;
  134. }
  135.  
  136. /* картинка-ссылка на сравнение версий страницы */
  137. .dokuwiki form.changes li a.diff_link {
  138.     text-decoration: none;
  139.     border: none;
  140. }
  141.  
  142. /* не показывать иконки для ссылок */
  143. .dokuwiki a.urlextern,
  144. .dokuwiki a.bugs,
  145. .dokuwiki a.interwiki,
  146. .dokuwiki a.windows,
  147. .dokuwiki a.mail {
  148.     text-decoration: none;
  149.     background-image: none !important;
  150.     padding-left: 0 !important;
  151. }
  152.  
  153. /*____________ BREADCRUMBS ____________*/
  154.  
  155. /* отключаю перманентно изменения написания "хлебных крошек" */
  156. /* .dokuwiki div.breadcrumbs span.curid a {
  157.     font-weight: 400;
  158. } */
  159. /* убираю верхнюю и нижнюю линии */
  160. .dokuwiki div.breadcrumbs,
  161. .dokuwiki div.breadcrumbs div:first-child,
  162. .dokuwiki div.breadcrumbs div:last-child,
  163. .dokuwiki div.breadcrumbs div:only-child {
  164.     border: none;
  165. }
  166.  
  167.  
  168. /*____________ FOOTNOTES ____________*/
  169.  
  170. .dokuwiki div.footnotes {
  171.     border-top: 1px dotted @ini_border;
  172. }
  173.  
  174.  
  175. /*____________ TABLES ____________*/
  176.  
  177. table {
  178.     border: 1px dotted @ini_border;
  179. }
  180. th, td {
  181.     border: 0px;
  182. }
  183. tr {
  184.     border: 1px dotted @ini_border; /* 2020-03-07 */
  185. }
  186.  
  187.  
  188. /*____________ LISTS ____________*/
  189.  
  190. li {
  191.     margin-top: .3em;
  192. }
  193.  
  194.  
  195. /*____________ TEXTAREA ____________*/
  196.  
  197. /* отключаю перманентно изменение шрифта окна редактирования */
  198. .dokuwiki textarea.edit {
  199.     font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
  200. }
  201.  
  202.  
  203. /*____________ PLUGINS ____________*/
  204.  
  205. /* Bloglinks
  206. *********************************************************************/
  207. #plugin_bloglinks__links {
  208.     padding-bottom: 1em;
  209. }
  210.  
  211. /* BlogTNG
  212. *********************************************************************/
  213.  
  214. /* заголовок новости. 12.07.2013 */
  215. .blogtng_list h1 a,
  216. .blogtng_list h1 a:visited,
  217. .blogtng_entry h1 a,
  218. .blogtng_entry h1 a:visited {
  219.     text-decoration: none;
  220.     border-bottom: 1px solid @ini_border !important;
  221.     color: @ini_text !important;
  222. }
  223. .blogtng_list h1 a:hover,
  224. .blogtng_list h1 a:active,
  225. .blogtng_entry h1 a:hover,
  226. .blogtng_entry h1 a:active {
  227.     text-decoration: none;
  228.     border-bottom: 1px solid @ini_text !important;
  229. }
  230.  
  231.  
  232. /* Cloud Plugin
  233. *********************************************************************/
  234. /* links */
  235. .dokuwiki div.cloud a:link,
  236. .dokuwiki div.cloud a:visited {
  237.     text-decoration: none;
  238.     border-bottom: 1px solid @ini_link_border_bottom;
  239.     color: @ini_link;
  240. }
  241. .dokuwiki div.cloud a:link:hover,
  242. .dokuwiki div.cloud a:visited:hover,
  243. .dokuwiki div.cloud a:link:focus,
  244. .dokuwiki div.cloud a:visited:focus,
  245. .dokuwiki div.cloud a:link:active,
  246. .dokuwiki div.cloud a:visited:active {
  247.     text-decoration: none;
  248.     border-bottom: 1px solid @ini_missing_border_bottom;
  249.     color: @ini_missing;
  250. }
  251.  
  252.  
  253. /* Data Plugin
  254. *********************************************************************/
  255.  
  256. /** Data Plugin, форма редактирования **/
  257. #dw__editform fieldset.plugin__data table {
  258.     text-align: left;
  259. }
  260.  
  261. /** Data Plugin, ссылки в шапке таблицы **/
  262. table.dataplugin_table th a:link,
  263. table.dataplugin_table th a:visited {
  264.     text-decoration: none;
  265.     border-bottom: 1px dashed @ini_link_border_bottom;
  266. }
  267. table.dataplugin_table th a:link:hover,
  268. table.dataplugin_table th a:visited:hover,
  269. table.dataplugin_table th a:link:focus,
  270. table.dataplugin_table th a:visited:focus,
  271. table.dataplugin_table th a:link:active,
  272. table.dataplugin_table th a:visited:active {
  273.     text-decoration: none;
  274.     border-bottom-color: @ini_missing_border_bottom;
  275. }
  276.  
  277. /* Folder Plugin
  278. *********************************************************************/
  279. /* link */
  280. a.folder:link,
  281. a.folder:visited {
  282.     text-decoration: none;
  283.     border-bottom: 1px dashed @ini_link_border_bottom;
  284. }
  285. a.folder.open:link,
  286. a.folder.open:visited {
  287.     text-decoration: none;
  288.     border-bottom: 1px dashed @ini_text_alt;
  289.     color: @ini_text;
  290. }
  291. a.folder:link:hover,
  292. a.folder:visited:hover,
  293. a.folder:link:active,
  294. a.folder:visited:active,
  295. a.folder.open:link:hover,
  296. a.folder.open:visited:hover,
  297. a.folder.open:link:active,
  298. a.folder.open:visited:active {
  299.     text-decoration: none;
  300.     border-bottom-color: @ini_missing_border_bottom;
  301.     color: @ini_missing;
  302. }
  303.  
  304. /* Include Plugin
  305. *********************************************************************/
  306. .dokuwiki div.inclmeta {
  307.     border: none;
  308.     font-size: 95%;
  309.     padding-top: .1em;
  310.     margin-bottom: 5em;
  311. }
  312. .dokuwiki div.inclmeta div.tags {
  313.     float: left;
  314. }
  315.  
  316.  
  317. /* Move Plugin
  318. *********************************************************************/
  319. .dokuwiki .plugin_move_form fieldset {
  320.     text-align: left;
  321. }
  322.  
  323.  
  324. /* Tag Plugin
  325. *********************************************************************/
  326. .dokuwiki div.tags,
  327. .dokuwiki div.tagstop {
  328.     border-top: 0px;
  329.     text-align: left;
  330. }
  331. .dokuwiki div.tags span,
  332. .dokuwiki div.tagstop span {
  333.     background: none;
  334.     padding: 0px;
  335. }
  336.  
  337.  
  338. /* Pagenav Plugin
  339. *********************************************************************/
  340. .dokuwiki p.plugin__pagenav {
  341.     margin: 0;
  342.     /* text-align: start; */
  343.     text-align: left;
  344. }
  345. .dokuwiki p.plugin__pagenav a {
  346.     margin: 0px 1em 0px 0px;
  347. }
  348.  
  349.  
  350. /* Wrap Plugin
  351. *********************************************************************/
  352.  
  353. /** Wrap Plugin, typography **/
  354. .dokuwiki .wrap_muchbigger {
  355.     font-size: 200%;
  356. }
  357. .dokuwiki .wrap_bigger {
  358.     font-size: 125%;
  359. }
  360. .dokuwiki .wrap_fontsize95 {
  361.     font-size: 95%;
  362. }
  363. .dokuwiki .wrap_smaller {
  364.     font-size: 85%;
  365. }
  366.  
  367. /** Wrap Plugin, EMPLOYEES TABLE **/
  368.  
  369. /*** BOTH parts of employees table ***/
  370. .wrap_employees {
  371.     white-space: nowrap; /* prevent word wraps */
  372.     font-size: .7em;     /* making the font smaller */
  373. }
  374.  
  375. /*** FIXED part of employees table ***/
  376. .wrap_employees_fixed {
  377.     float: left;         /* make it apper to the left of the scrolling part */
  378. }
  379.  
  380. /*** SCROLLING part of employees table ***/
  381. .wrap_employees_scrolling {
  382.     overflow-x: scroll;  /* do the scrolling magic*/
  383. }
  384.  
  385. /*** Opera browser Hack ***/
  386. .wrap_employees th {
  387.     height: 2.3em;       /* pevents table headers have different height */
  388. }
  389.  
  390. /** Wrap Plugin, поведение блока при наведении курсора мыши **/
  391. .dokuwiki div.wrap_opacity1 a img,
  392. .dokuwiki div.wrap_opacity1 img {
  393.     opacity: .1;
  394.     border: 0;
  395. }
  396. .dokuwiki div.wrap_opacity2 a img,
  397. .dokuwiki div.wrap_opacity2 img {
  398.     opacity: .2;
  399.     border: 0;
  400. }
  401. .dokuwiki div.wrap_opacity3 a img,
  402. .dokuwiki div.wrap_opacity3 img {
  403.     opacity: .3;
  404.     border: 0;
  405. }
  406. .dokuwiki div.wrap_opacity4 a img,
  407. .dokuwiki div.wrap_opacity4 img {
  408.     opacity: .4;
  409.     border: 0;
  410. }
  411. .dokuwiki div.wrap_opacity5 a img,
  412. .dokuwiki div.wrap_opacity5 img {
  413.     opacity: .5;
  414.     border: 0;
  415. }
  416. .dokuwiki div.wrap_opacity6 a img,
  417. .dokuwiki div.wrap_opacity6 img {
  418.     opacity: .6;
  419.     border: 0;
  420. }
  421. .dokuwiki div.wrap_opacity7 a img,
  422. .dokuwiki div.wrap_opacity7 img {
  423.     opacity: .7;
  424.     border: 0;
  425. }
  426. .dokuwiki div.wrap_opacity8 a img,
  427. .dokuwiki div.wrap_opacity8 img {
  428.     opacity: .8;
  429.     border: 0;
  430. }
  431. .dokuwiki div.wrap_opacity9 a img,
  432. .dokuwiki div.wrap_opacity9 img {
  433.     opacity: .9;
  434.     border: 0;
  435. }
  436. .dokuwiki div.wrap_opacity1 a:hover img,
  437. .dokuwiki div.wrap_opacity1 img:hover,
  438. .dokuwiki div.wrap_opacity2 a:hover img,
  439. .dokuwiki div.wrap_opacity2 img:hover,
  440. .dokuwiki div.wrap_opacity3 a:hover img,
  441. .dokuwiki div.wrap_opacity3 img:hover,
  442. .dokuwiki div.wrap_opacity4 a:hover img,
  443. .dokuwiki div.wrap_opacity4 img:hover,
  444. .dokuwiki div.wrap_opacity5 a:hover img,
  445. .dokuwiki div.wrap_opacity5 img:hover,
  446. .dokuwiki div.wrap_opacity6 a:hover img,
  447. .dokuwiki div.wrap_opacity6 img:hover,
  448. .dokuwiki div.wrap_opacity7 a:hover img,
  449. .dokuwiki div.wrap_opacity7 img:hover,
  450. .dokuwiki div.wrap_opacity8 a:hover img,
  451. .dokuwiki div.wrap_opacity8 img:hover,
  452. .dokuwiki div.wrap_opacity9 a:hover img,
  453. .dokuwiki div.wrap_opacity9 img:hover {
  454.     opacity: 1;
  455. }
  456.  
  457. /** Wrap Plugin, button-style link (fix) **/
  458. .dokuwiki .wrap_button a:link,
  459. .dokuwiki .wrap_button a:visited {
  460.     /* fix */
  461.     padding: .5em .7em !important;
  462.     /* tuning */
  463.     -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  464.     -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  465.     box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  466. }
  467. .dokuwiki .wrap_button a:link:hover,
  468. .dokuwiki .wrap_button a:visited:hover,
  469. .dokuwiki .wrap_button a:link:focus,
  470. .dokuwiki .wrap_button a:visited:focus,
  471. .dokuwiki .wrap_button a:link:active,
  472. .dokuwiki .wrap_button a:visited:active {
  473.     border: 1px solid rgba(211,211,211,1);
  474.     color: @ini_text_neu;
  475.     background: rgba(247,247,247,1);
  476. }
  477.  
  478. /** Wrap Plugin, цветовое кодирование приоритетности задач, вопросов **/
  479. .dokuwiki .wrap_high {
  480.     background-color: #ffbcaf;
  481. }
  482. .dokuwiki .wrap__dark.wrap_high {
  483.     background-color: #6b1100;
  484. }
  485. .dokuwiki .wrap_medium {
  486.     background-color: #d6efc2;
  487. }
  488. .dokuwiki .wrap__dark.wrap_medium  {
  489.     background-color: #345717;
  490. }
  491. .dokuwiki .wrap_low {
  492.     background-color: @ini_background_alt;
  493. }
  494.  
  495. .dokuwiki div.wrap_high,
  496. .dokuwiki div.wrap_medium,
  497. .dokuwiki div.wrap_low {
  498.     padding: 1em 1em .5em;
  499.     margin-bottom: 1.5em;
  500. }
  501. .dokuwiki span.wrap_high,
  502. .dokuwiki span.wrap_medium,
  503. .dokuwiki span.wrap_low {
  504.     padding: 0 .3em;
  505. }
  506.  
  507. /** Wrap Plugin, скругление углов **/
  508. .dokuwiki div.wrap_smallround {
  509.     -moz-border-radius: .5em;
  510.     -webkit-border-radius: .5em;
  511.     border-radius: .5em;
  512. }
  513. /* .dokuwiki span.wrap_smallround {
  514.     .dokuwiki span.wrap_round;
  515. } */
  516.  
  517. /** Wrap Plugin, ссылки в табах <WRAP tabs></WRAP> **/
  518. .dokuwiki .tabs a:hover,
  519. .dokuwiki .tabs a:focus,
  520. .dokuwiki .tabs a:active {
  521.     border-bottom: none !important;
  522.     background-color: @ini_background_alt !important;
  523. }
  524.  
  525.  
  526. /* Yearbox Plugin
  527. *********************************************************************/
  528. /* выделение полужирным текущей даты. 11.07.2013 */
  529. .dokuwiki .yearbox table td.today {
  530.     font-weight: bold !important;
  531. }
  532.  
Add Comment
Please, Sign In to add comment