forked from lisps/plugin-button
-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
63 lines (52 loc) · 1.44 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.plugin_button:hover {
background-color: __background_neu__;
color: __text__;
}
.plugin_button {
border-radius:6px;
border:1px solid __border__;
background-color: __background_alt__;
box-shadow:inset 0px 1px 0px 0px #ffffff;
padding:0.5em;
margin: 0.2em;
text-decoration:none;
display: inline-table;
text-align:center;
text-shadow:1px 1px 0px #ffffff;
vertical-align: middle;
}
/* 2020-05-11 : moved maximum CSS up a level to allow override on a per-button basis
- text-shallow : simply moved
- vertical-align : force inherit to get the one from upper level
*/
.plugin_button_text {
display: table-cell;
width: 99%;
vertical-align: inherit;
}
.plugin_button_text.mediafile {
background-position:left center;
}
.plugin_button_image {
display: table-cell;
vertical-align: inherit;
white-space: nowrap;
padding-right: 1em;
}
/* 2014-07-28 : fix bizarre chrome behaviour */
#content .plugin_button_image img , .plugin_button_image img {
max-width: none;
}
/*
Note :
- template style won't apply to the links because it is not a <a> link.
- if I forced a link here (beside some problems in layout), it will override css given
If you want standard CSS here, just copy it below, and add a space between 'a' and the class
(example below for external links)
*/
.dokuwiki a .urlextern {
background-image: url(../../images/external-link.png);
background-repeat: no-repeat;
background-position: 0 center;
padding: 0 0 0 18px;
}