-
Notifications
You must be signed in to change notification settings - Fork 1
/
peace.css
89 lines (88 loc) · 1.66 KB
/
peace.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/**
* PEACE.js - http://humancopy.net/peace-js.html
* Peace please, humancopy.net 2017
* Version 1.3.1
*
*/
/** Ultra Light */
@font-face {
font-family: "San Francisco";
font-weight: 100;
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2");
}
.peace {
opacity: 0.65;
margin: 1.5em 0;
font: 100 13px "San Francisco", Helvetica, Arial;
text-align: center;
position: relative;
/* Themes */
}
.peace a,
.peace span {
display: inline;
cursor: pointer;
text-decoration: none;
height: 32px;
line-height: 32px;
vertical-align: middle;
-webkit-transition: -webkit-transform 0.3s ease-in-out;
-moz-transition: -moz-transform 0.3s ease-in-out;
-o-transition: -o-transform 0.3s ease-in-out;
transition: opacity 0.3s ease-in-out;
}
.peace span {
opacity: 1;
font-size: 32px;
left: 50%;
top: 0;
position: absolute;
margin-left: -16px;
z-index: 1;
}
a:not([href]) {
cursor: default;
}
.peace.symbol a {
opacity: 0;
position: relative;
z-index: 2;
}
.peace.symbol.show a,
.peace.symbol:hover a {
opacity: 1;
}
.peace.symbol.show span,
.peace.symbol:hover span {
opacity: 0;
}
.peace.black span,
.peace.black a,
.peace.black a:hover,
.peace.black a:visited {
color: #000;
}
.peace.white span,
.peace.white a,
.peace.white a:hover,
.peace.white a:visited {
color: #fff;
}
.peace.red span,
.peace.red a,
.peace.red a:hover,
.peace.red a:visited {
color: #ee0000;
}
.peace.green span,
.peace.green a,
.peace.green a:hover,
.peace.green a:visited {
color: #00ee00;
}
.peace.blue span,
.peace.blue a,
.peace.blue a:hover,
.peace.blue a:visited {
color: #0000ee;
}