xref: /template/writr/css/plugins/tag.less (revision 3d96b7b99e434764ff05bf22047083b2fe1fe6ca)
1/* =Tag & Tagcloud Plugin
2----------------------------------------------- */
3
4.dokuwiki{
5
6    a[rel="tag"]::before {
7        font-family: 'bootstrap-icons';
8        content: "\F5B0";
9        font-size: 16px;
10        padding-right: 4px;
11        line-height: 16px;
12        vertical-align: middle;
13    }
14    a[rel="tag"] {
15        display: inline-block;
16        padding: 5px 10px;
17        margin: 0 5px 5px 0;
18        background: @ini_theme_color;
19        color: @ini_background;
20        font-size: 12px;
21        text-decoration: none;
22        border-radius: 5px;
23    }
24    a[rel="tag"]:hover,
25    a[rel="tag"]:focus,
26    a[rel="tag"]:active {
27        background: @ini_theme_color_alt;
28        color: @ini_background;
29    }
30
31    div.tags,
32    div.tagstop {
33        margin-bottom: 15px;
34        font-size: 0px;
35        text-align: right;
36
37        span {
38            background-position: -2px 6px;
39        }
40    }
41
42    div.tags {
43        border-top: 3px solid @ini_background_alt;
44        padding-top: 8px;
45        margin-top: 8px;
46    }
47
48    div.tagstop {
49        border-bottom: 15px double @ini_background_alt;
50        padding-bottom: 20px;
51    }
52
53    div.widget-area div.cloud {
54        a {
55            background: @ini_theme_color_alt;
56        }
57        a:hover,
58        a:focus,
59        a:active {
60            background: @ini_background;
61            color: @ini_theme_color;
62        }
63    }
64}
65
66/* repeating and being more specific because tagcloud styles are very specific */
67body.tpl_writr.dokuwiki div.cloud a {
68    color: @ini_background;
69}
70