1/**
2 * This file provides styles for all types of links.
3 */
4
5/*____________ links to wiki pages ____________*/
6
7/* existing wikipage */
8.dokuwiki a.wikilink1 {
9}
10/* not existing wikipage */
11.dokuwiki a.wikilink2 {
12    text-decoration: none;
13}
14.dokuwiki a.wikilink2:link,
15.dokuwiki a.wikilink2:visited {
16    border-bottom: 1px dashed;
17}
18.dokuwiki a.wikilink2:hover,
19.dokuwiki a.wikilink2:active,
20.dokuwiki a.wikilink2:focus {
21    border-bottom-width: 0;
22}
23
24/* any link to current page */
25.dokuwiki span.curid a {
26    font-weight: bold;
27}
28
29/*____________ other link types ____________*/
30
31.dokuwiki a.urlextern,
32.dokuwiki a.windows,
33.dokuwiki a.mail,
34.dokuwiki a.mediafile,
35.dokuwiki a.interwiki {
36    background-repeat: no-repeat;
37    background-position: 0 center;
38    padding: 0 0 0 18px;
39}
40/* external link */
41.dokuwiki a.urlextern {
42    background-image: url(../../images/external-link.png);
43}
44/* windows share */
45.dokuwiki a.windows {
46    background-image: url(../../images/unc.png);
47}
48/* email link */
49.dokuwiki a.mail {
50    background-image: url(../../images/email.png);
51}
52
53/* icons of the following are set by dokuwiki in lib/exe/css.php */
54/* link to some embedded media */
55.dokuwiki a.mediafile {
56}
57/* interwiki link */
58.dokuwiki a.interwiki {
59}
60
61/* RTL corrections; if link icons don't work as expected, remove the following lines */
62[dir=rtl] .dokuwiki a.urlextern,
63[dir=rtl] .dokuwiki a.windows,
64[dir=rtl] .dokuwiki a.mail,
65[dir=rtl] .dokuwiki a.interwiki,
66[dir=rtl] .dokuwiki a.mediafile {
67    background-position: right center;
68    padding: 0 18px 0 0;
69}
70
71/*____________ links to wiki pages (addition to _links) ____________*/
72
73/* existing wikipage */
74.dokuwiki a.wikilink1 {
75    color: @ini_existing;
76    background-color: inherit;
77}
78
79/* not existing wikipage */
80.dokuwiki a.wikilink2 {
81    color: @ini_missing;
82    background-color: inherit;
83}
84
85/*____________ links ____________*/
86
87a {
88    outline: none;
89}
90a:link,
91a:visited {
92    text-decoration: none;
93}
94a:link:hover,
95a:visited:hover,
96a:link:focus,
97a:visited:focus,
98a:link:active,
99a:visited:active {
100    text-decoration: underline;
101}
102