forked from yf-dev/mahjong-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (110 loc) · 2.1 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
@font-face {
font-family: 'KyoboHand';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/[email protected]/KyoboHand.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500&display=swap');
.icon-tabler {
vertical-align: middle;
}
img.emote {
width: auto;
height: auto;
}
img.tile {
display: inline-block;
width: 4vw;
min-width: 2rem;
max-width: 4rem;
height: auto;
vertical-align: middle;
}
img.tile.inline-text {
width: 3vw;
min-width: 1rem;
max-width: 3rem;
padding-bottom: 0.5rem;
}
.hanja {
font-family: "Noto Serif TC", serif;
}
.unblur-hover {
filter: blur(0.2rem);
opacity: 0.2;
transition: 0.2s;
}
.unblur-hover:hover {
filter: none;
opacity: 1;
}
.highlight-text-hover:hover {
color: #ff4242;
}
.indicator-box {
border: 5px solid #34bd34;
border-radius: 5px;
position: absolute;
animation-duration: 1s;
animation-name: blink;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes blink {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.tooltip {
position: relative;
display: inline-block;
/* border-bottom: 0.1rem dotted #ff4242; */
}
.tooltip .tooltip-text {
visibility: hidden;
width: 20rem;
bottom: 100%;
left: 50%;
margin-left: -10rem;
background-color: #fffc93;
color: #000000;
border: 2px solid #f1eb1f;
border-radius: 0.3rem;
text-align: center;
padding: 5px 0;
position: absolute;
z-index: 1;
font-size: 1.5rem;
font-weight: 400;
}
.tooltip:hover .tooltip-text {
visibility: visible;
}
h1, h2, h3, h4, h5, h6, p, span, div, li, td {
cursor: default;
}
body {
font-size: 16px;
}
@media (max-width: 800px) {
body {
font-size: 1.5vw;
}
}
.desktop-title {
display: initial;
}
.mobile-title {
display: none;
}
@media (max-width: 768px) {
.desktop-title {
display: none;
}
.mobile-title {
display: initial;
}
}