forked from samwho/symbol.wtf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsymbols.css
94 lines (84 loc) · 1.26 KB
/
symbols.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
html {
box-sizing: border-box;
font-size: 16px;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
margin: 0;
padding: 0;
font-weight: normal;
}
ol,
ul {
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
body {
font-size: 24px;
padding: 1rem;
}
.search {
display: flex;
justify-content: center;
margin-bottom: 1rem;
}
.symbols {
max-width: 1200px;
margin: 0 auto;
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
}
.symbol {
color: black;
border: 1px dashed #555;
border-radius: 10%;
padding: 1rem;
aspect-ratio: 1;
font-size: 6rem;
text-align: center;
line-height: 100%;
min-height: 125px;
max-height: 80vh;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: background 200ms linear;
}
.symbol:hover {
background: #f7b73322;
}
.symbol-clicked {
font-size: 2rem;
background-color: #B1E8B6;
color: black;
border: 1px dashed #555;
border-radius: 10%;
padding: 1rem;
aspect-ratio: 1;
text-align: center;
line-height: 100%;
min-height: 125px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: background 200ms linear;
}