Last active
October 19, 2022 18:32
-
-
Save alexgearbox/af5948eaa65acab2b50f43b87e22f9f8 to your computer and use it in GitHub Desktop.
Пользовательские стили для «Докувики»
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| «/** | |
| * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) | |
| * | |
| * @author Aleksandr Selivanov <[email protected]> | |
| */ | |
| acronym, abbr { | |
| border-bottom: none; /* чтобы не было двойного подчёркивания */ | |
| } | |
| /*____________ LINKS ____________*/ | |
| a:link, | |
| a:visited, | |
| .dokuwiki .aside a:link, | |
| .dokuwiki .aside a:visited, | |
| #dokuwiki__header a:link, | |
| #dokuwiki__header a:visited, | |
| #dokuwiki__header div.breadcrumbs a:link, | |
| #dokuwiki__header div.breadcrumbs a:visited { | |
| text-decoration: none; | |
| border-bottom: 1px solid @ini_link_border_bottom; | |
| color: @ini_link; | |
| } | |
| a.urlextern, | |
| a.bugs, | |
| a.interwiki { | |
| border-bottom: 1px solid @ini_extern_border_bottom; | |
| } | |
| a.urlextern:link:hover, | |
| a.urlextern:visited:hover, | |
| a.urlextern:link:focus, | |
| a.urlextern:visited:focus, | |
| a.urlextern:link:active, | |
| a.urlextern:visited:active, | |
| a.bugs:link:hover, | |
| a.bugs:visited:hover, | |
| a.bugs:link:focus, | |
| a.bugs:visited:focus, | |
| a.bugs:link:active, | |
| a.bugs:visited:active, | |
| a.interwiki:link:hover, | |
| a.interwiki:visited:hover, | |
| a.interwiki:link:focus, | |
| a.interwiki:visited:focus, | |
| a.interwiki:link:active, | |
| a.interwiki:visited:active { | |
| border-bottom: 2px solid @ini_extern_hover_border_bottom; | |
| color: @ini_extern_hover; | |
| } | |
| a:link:hover, | |
| a:visited:hover, | |
| a:link:focus, | |
| a:visited:focus, | |
| a:link:active, | |
| a:visited:active, | |
| .dokuwiki .aside a:link:hover, | |
| .dokuwiki .aside a:visited:hover, | |
| .dokuwiki .aside a:link:focus, | |
| .dokuwiki .aside a:visited:focus, | |
| .dokuwiki .aside a:link:active, | |
| .dokuwiki .aside a:visited:active, | |
| #dokuwiki__header a:link:hover, | |
| #dokuwiki__header a:visited:hover, | |
| #dokuwiki__header a:link:focus, | |
| #dokuwiki__header a:visited:focus, | |
| #dokuwiki__header a:link:active, | |
| #dokuwiki__header a:visited:active, | |
| #dokuwiki__header .tools li a:link:hover, | |
| #dokuwiki__header .tools li a:visited:hover, | |
| #dokuwiki__header .tools li a:link:focus, | |
| #dokuwiki__header .tools li a:visited:focus, | |
| #dokuwiki__header .tools li a:link:active, | |
| #dokuwiki__header .tools li a:visited:active, | |
| #dokuwiki__header div.breadcrumbs a:link:hover, | |
| #dokuwiki__header div.breadcrumbs a:visited:hover, | |
| #dokuwiki__header div.breadcrumbs a:link:focus, | |
| #dokuwiki__header div.breadcrumbs a:visited:focus, | |
| #dokuwiki__header div.breadcrumbs a:link:active, | |
| #dokuwiki__header div.breadcrumbs a:visited:active { | |
| text-decoration: none; | |
| border-bottom: 2px solid @ini_missing_border_bottom; | |
| color: @ini_missing; | |
| } | |
| /* якорные ссылки */ | |
| a[href^="#"]:link, | |
| a[href^="#"]:visited { | |
| text-decoration: none; | |
| border-bottom: 1px dashed @ini_link_border_bottom; | |
| color: @ini_link; | |
| } | |
| a[href^="#"]:link:hover, | |
| a[href^="#"]:visited:hover, | |
| a[href^="#"]:link:focus, | |
| a[href^="#"]:visited:focus, | |
| a[href^="#"]:link:active, | |
| a[href^="#"]:visited:active { | |
| text-decoration: none; | |
| border-bottom-color: @ini_missing_border_bottom /*#f0b2b2*/; | |
| color: @ini_missing; | |
| } | |
| /* #dokuwiki__pagetools ul li - ссылки инструментов страницы */ | |
| #dokuwiki__pagetools ul li a { | |
| text-decoration: none; | |
| border: none; | |
| color: @ini_link; | |
| } | |
| /* ссылка на несуществующую страницу */ | |
| .dokuwiki a.wikilink2:link, | |
| .dokuwiki a.wikilink2:visited, | |
| #dokuwiki__header a.wikilink2:link, | |
| #dokuwiki__header a.wikilink2:visited, | |
| #dokuwiki__header div.breadcrumbs a.wikilink2:link, | |
| #dokuwiki__header div.breadcrumbs a.wikilink2:visited { | |
| text-decoration: none; | |
| border-bottom: 1px dashed @ini_missing_border_bottom; | |
| color: @ini_missing; | |
| } | |
| .dokuwiki a.wikilink2:hover, | |
| .dokuwiki a.wikilink2:active, | |
| .dokuwiki a.wikilink2:focus, | |
| #dokuwiki__header a.wikilink2:hover, | |
| #dokuwiki__header a.wikilink2:active, | |
| #dokuwiki__header a.wikilink2:focus, | |
| #dokuwiki__header div.breadcrumbs a.wikilink2:hover, | |
| #dokuwiki__header div.breadcrumbs a.wikilink2:active, | |
| #dokuwiki__header div.breadcrumbs a.wikilink2:focus { | |
| text-decoration: none; | |
| border-bottom: 1px solid @ini_missing; | |
| color: @ini_missing; | |
| } | |
| /* картинка-ссылка на сравнение версий страницы */ | |
| .dokuwiki form.changes li a.diff_link { | |
| text-decoration: none; | |
| border: none; | |
| } | |
| /* не показывать иконки для ссылок */ | |
| .dokuwiki a.urlextern, | |
| .dokuwiki a.bugs, | |
| .dokuwiki a.interwiki, | |
| .dokuwiki a.windows, | |
| .dokuwiki a.mail { | |
| text-decoration: none; | |
| background-image: none !important; | |
| padding-left: 0 !important; | |
| } | |
| /*____________ BREADCRUMBS ____________*/ | |
| /* отключаю перманентно изменения написания "хлебных крошек" */ | |
| /* .dokuwiki div.breadcrumbs span.curid a { | |
| font-weight: 400; | |
| } */ | |
| /* убираю верхнюю и нижнюю линии */ | |
| .dokuwiki div.breadcrumbs, | |
| .dokuwiki div.breadcrumbs div:first-child, | |
| .dokuwiki div.breadcrumbs div:last-child, | |
| .dokuwiki div.breadcrumbs div:only-child { | |
| border: none; | |
| } | |
| /*____________ FOOTNOTES ____________*/ | |
| .dokuwiki div.footnotes { | |
| border-top: 1px dotted @ini_border; | |
| } | |
| /*____________ TABLES ____________*/ | |
| table { | |
| border: 1px dotted @ini_border; | |
| } | |
| th, td { | |
| border: 0px; | |
| } | |
| tr { | |
| border: 1px dotted @ini_border; /* 2020-03-07 */ | |
| } | |
| /*____________ LISTS ____________*/ | |
| li { | |
| margin-top: .3em; | |
| } | |
| /*____________ TEXTAREA ____________*/ | |
| /* отключаю перманентно изменение шрифта окна редактирования */ | |
| .dokuwiki textarea.edit { | |
| font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; | |
| } | |
| /*____________ PLUGINS ____________*/ | |
| /* Bloglinks | |
| *********************************************************************/ | |
| #plugin_bloglinks__links { | |
| padding-bottom: 1em; | |
| } | |
| /* BlogTNG | |
| *********************************************************************/ | |
| /* заголовок новости. 12.07.2013 */ | |
| .blogtng_list h1 a, | |
| .blogtng_list h1 a:visited, | |
| .blogtng_entry h1 a, | |
| .blogtng_entry h1 a:visited { | |
| text-decoration: none; | |
| border-bottom: 1px solid @ini_border !important; | |
| color: @ini_text !important; | |
| } | |
| .blogtng_list h1 a:hover, | |
| .blogtng_list h1 a:active, | |
| .blogtng_entry h1 a:hover, | |
| .blogtng_entry h1 a:active { | |
| text-decoration: none; | |
| border-bottom: 1px solid @ini_text !important; | |
| } | |
| /* Cloud Plugin | |
| *********************************************************************/ | |
| /* links */ | |
| .dokuwiki div.cloud a:link, | |
| .dokuwiki div.cloud a:visited { | |
| text-decoration: none; | |
| border-bottom: 1px solid @ini_link_border_bottom; | |
| color: @ini_link; | |
| } | |
| .dokuwiki div.cloud a:link:hover, | |
| .dokuwiki div.cloud a:visited:hover, | |
| .dokuwiki div.cloud a:link:focus, | |
| .dokuwiki div.cloud a:visited:focus, | |
| .dokuwiki div.cloud a:link:active, | |
| .dokuwiki div.cloud a:visited:active { | |
| text-decoration: none; | |
| border-bottom: 1px solid @ini_missing_border_bottom; | |
| color: @ini_missing; | |
| } | |
| /* Data Plugin | |
| *********************************************************************/ | |
| /** Data Plugin, форма редактирования **/ | |
| #dw__editform fieldset.plugin__data table { | |
| text-align: left; | |
| } | |
| /** Data Plugin, ссылки в шапке таблицы **/ | |
| table.dataplugin_table th a:link, | |
| table.dataplugin_table th a:visited { | |
| text-decoration: none; | |
| border-bottom: 1px dashed @ini_link_border_bottom; | |
| } | |
| table.dataplugin_table th a:link:hover, | |
| table.dataplugin_table th a:visited:hover, | |
| table.dataplugin_table th a:link:focus, | |
| table.dataplugin_table th a:visited:focus, | |
| table.dataplugin_table th a:link:active, | |
| table.dataplugin_table th a:visited:active { | |
| text-decoration: none; | |
| border-bottom-color: @ini_missing_border_bottom; | |
| } | |
| /* Folder Plugin | |
| *********************************************************************/ | |
| /* link */ | |
| a.folder:link, | |
| a.folder:visited { | |
| text-decoration: none; | |
| border-bottom: 1px dashed @ini_link_border_bottom; | |
| } | |
| a.folder.open:link, | |
| a.folder.open:visited { | |
| text-decoration: none; | |
| border-bottom: 1px dashed @ini_text_alt; | |
| color: @ini_text; | |
| } | |
| a.folder:link:hover, | |
| a.folder:visited:hover, | |
| a.folder:link:active, | |
| a.folder:visited:active, | |
| a.folder.open:link:hover, | |
| a.folder.open:visited:hover, | |
| a.folder.open:link:active, | |
| a.folder.open:visited:active { | |
| text-decoration: none; | |
| border-bottom-color: @ini_missing_border_bottom; | |
| color: @ini_missing; | |
| } | |
| /* Include Plugin | |
| *********************************************************************/ | |
| .dokuwiki div.inclmeta { | |
| border: none; | |
| font-size: 95%; | |
| padding-top: .1em; | |
| margin-bottom: 5em; | |
| } | |
| .dokuwiki div.inclmeta div.tags { | |
| float: left; | |
| } | |
| /* Move Plugin | |
| *********************************************************************/ | |
| .dokuwiki .plugin_move_form fieldset { | |
| text-align: left; | |
| } | |
| /* Tag Plugin | |
| *********************************************************************/ | |
| .dokuwiki div.tags, | |
| .dokuwiki div.tagstop { | |
| border-top: 0px; | |
| text-align: left; | |
| } | |
| .dokuwiki div.tags span, | |
| .dokuwiki div.tagstop span { | |
| background: none; | |
| padding: 0px; | |
| } | |
| /* Pagenav Plugin | |
| *********************************************************************/ | |
| .dokuwiki p.plugin__pagenav { | |
| margin: 0; | |
| /* text-align: start; */ | |
| text-align: left; | |
| } | |
| .dokuwiki p.plugin__pagenav a { | |
| margin: 0px 1em 0px 0px; | |
| } | |
| /* Wrap Plugin | |
| *********************************************************************/ | |
| /** Wrap Plugin, typography **/ | |
| .dokuwiki .wrap_muchbigger { | |
| font-size: 200%; | |
| } | |
| .dokuwiki .wrap_bigger { | |
| font-size: 125%; | |
| } | |
| .dokuwiki .wrap_fontsize95 { | |
| font-size: 95%; | |
| } | |
| .dokuwiki .wrap_smaller { | |
| font-size: 85%; | |
| } | |
| /** Wrap Plugin, button-style link (fix) **/ | |
| .dokuwiki .wrap_button a:link, | |
| .dokuwiki .wrap_button a:visited { | |
| /* fix */ | |
| padding: .5em .7em !important; | |
| /* tuning */ | |
| -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; | |
| -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; | |
| 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; | |
| } | |
| .dokuwiki .wrap_button a:link:hover, | |
| .dokuwiki .wrap_button a:visited:hover, | |
| .dokuwiki .wrap_button a:link:focus, | |
| .dokuwiki .wrap_button a:visited:focus, | |
| .dokuwiki .wrap_button a:link:active, | |
| .dokuwiki .wrap_button a:visited:active { | |
| border: 1px solid rgba(211,211,211,1); | |
| color: @ini_text_neu; | |
| background: rgba(247,247,247,1); | |
| } | |
| /** Wrap Plugin, скругление углов **/ | |
| .dokuwiki div.wrap_smallround { | |
| -moz-border-radius: .5em; | |
| -webkit-border-radius: .5em; | |
| border-radius: .5em; | |
| } | |
| /* .dokuwiki span.wrap_smallround { | |
| .dokuwiki span.wrap_round; | |
| } */ | |
| /** Wrap Plugin, ссылки в табах <WRAP tabs></WRAP> **/ | |
| .dokuwiki .tabs a:hover, | |
| .dokuwiki .tabs a:focus, | |
| .dokuwiki .tabs a:active { | |
| border-bottom: none !important; | |
| background-color: @ini_background_alt !important; | |
| } | |
| /* Yearbox Plugin | |
| *********************************************************************/ | |
| /* выделение полужирным текущей даты. 11.07.2013 */ | |
| .dokuwiki .yearbox table td.today { | |
| font-weight: bold !important; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment