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