-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (71 loc) · 1.34 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.decronym {
background: hsla(203, 67%, 90%, 1);
padding: 1px 3px;
margin: -1px -2px;
transition: background color 0.2s;
border-radius: 2px;
cursor: pointer;
display: inline-block;
}
.decronym:hover {
background: #2276AB;
color: #fcfcfc;
}
.wrap1 {
position: relative;
display: inline-block;
}
.decronym .wrap2 {
position: absolute;
opacity: 0;
transition: 0.2s opacity;
pointer-events: none;
display: flex;
flex-direction: column;
width: 350px;
margin-left: -3px;
bottom: 15px;
}
.decronym:hover .wrap2 {
opacity: 1;
pointer-events: all;
}
.decronym .meaning {
background: #2276AB;
position: static;
padding: 2px 8px;
border-radius: 2px;
color: #fcfcfc;
margin-bottom: 5px;
}
body .comment .entry {
margin-left: 32px;
overflow: visible;
}
.decronym a {
color: #fcfcfc;
text-decoration: underline;
}
.decronymInfo {
position: fixed;
transition: opacity 1s ease-in 1s;
opacity: 0;
pointer-events: none;
left: 0;
right: 0;
bottom: 10px;
z-index: 10;
text-align: center;
}
.decronymInfo.active {
transition: 0s opacity;
opacity: 1;
}
.decronymInfo p {
background: #2276AB;
padding: 4px 8px;
border-radius: 2px;
color: #fcfcfc;
font-size: 10px;
display: inline-block;
}