wiki:tips:local-links-with-icons
Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слеваПредыдущая версия | |||
| wiki:tips:local-links-with-icons [2025/01/19 13:28] – vladpolskiy | wiki:tips:local-links-with-icons [2025/01/19 13:47] (текущий) – vladpolskiy | ||
|---|---|---|---|
| Строка 8: | Строка 8: | ||
| padding-left: | padding-left: | ||
| } | } | ||
| + | </ | ||
| + | Оригинальный файл links.css | ||
| + | <code css _links.css [enable_line_numbers=" | ||
| + | /** | ||
| + | * This file provides styles for all types of links. | ||
| + | */ | ||
| + | |||
| + | / | ||
| + | |||
| + | /* existing wikipage */ | ||
| + | .dokuwiki a.wikilink1 { | ||
| + | } | ||
| + | /* not existing wikipage */ | ||
| + | .dokuwiki a.wikilink2 { | ||
| + | text-decoration: | ||
| + | } | ||
| + | .dokuwiki a.wikilink2: | ||
| + | .dokuwiki a.wikilink2: | ||
| + | border-bottom: | ||
| + | } | ||
| + | .dokuwiki a.wikilink2: | ||
| + | .dokuwiki a.wikilink2: | ||
| + | .dokuwiki a.wikilink2: | ||
| + | border-bottom-width: | ||
| + | } | ||
| + | |||
| + | /* any link to current page */ | ||
| + | .dokuwiki span.curid a { | ||
| + | font-weight: | ||
| + | } | ||
| + | |||
| + | / | ||
| + | |||
| + | .dokuwiki a.urlextern, | ||
| + | .dokuwiki a.windows, | ||
| + | .dokuwiki a.mail, | ||
| + | .dokuwiki a.mediafile, | ||
| + | .dokuwiki a.interwiki { | ||
| + | background-size: | ||
| + | background-repeat: | ||
| + | background-position: | ||
| + | padding: 0 0 0 1.4em; | ||
| + | } | ||
| + | /* external link */ | ||
| + | .dokuwiki a.urlextern { | ||
| + | background-image: | ||
| + | } | ||
| + | /* windows share */ | ||
| + | .dokuwiki a.windows { | ||
| + | background-image: | ||
| + | } | ||
| + | /* email link */ | ||
| + | .dokuwiki a.mail { | ||
| + | background-image: | ||
| + | } | ||
| + | |||
| + | /* icons of the following are set by dokuwiki in lib/ | ||
| + | /* link to some embedded media */ | ||
| + | .dokuwiki a.mediafile { | ||
| + | } | ||
| + | /* interwiki link */ | ||
| + | .dokuwiki a.interwiki { | ||
| + | } | ||
| + | |||
| + | /* RTL corrections; | ||
| + | [dir=rtl] .dokuwiki a.urlextern, | ||
| + | [dir=rtl] .dokuwiki a.windows, | ||
| + | [dir=rtl] .dokuwiki a.mail, | ||
| + | [dir=rtl] .dokuwiki a.interwiki, | ||
| + | [dir=rtl] .dokuwiki a.mediafile { | ||
| + | background-position: | ||
| + | padding: 0 18px 0 0; | ||
| + | } | ||
| + | |||
| </ | </ | ||
wiki/tips/local-links-with-icons.1737282494.txt.gz · Последнее изменение: — vladpolskiy
