-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (85 loc) · 1.33 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
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
#text {
font-size: 5vw;
}
#new-game-options {
position: absolute;
background: white;
width: 100vw;
height: 100vh;
font-size: 2vw;
user-select: none;
padding:1em;
}
#new-game-options input {
font-size: 2vw;
margin:0.5em;
}
#new-game-options select {
font-size: 2vw;
margin:0.5em;
}
#inputs input {
height: 25vh;
font-size: 4vw;
padding:5px;
}
#inputs input[type="submit"] {
aspect-ratio: 1;
}
@media only screen and (max-width: 768px) {
/* For mobile phones: */
#new-game-options {
font-size: 5vw;
}
#new-game-options input {
font-size: 6vw;
}
#new-game-options select {
font-size: 6vw;
}
#inputs input {
width:100%;
font-size:6vw;
}
}
#letters {
display: flex;
}
#letters div {
align-items: center;
display: flex;
transition: 300ms;
aspect-ratio: 1;
justify-content: center;
font-size: 8vw;
font-family: monospace;
width: 100vw;
user-select: none;
}
#letters div:hover {
background: #aaa;
}
#letters div:disabled {
background: #aaa;
cursor: auto;
}
.trash {
font-size:initial!important;
margin:0.5em;
}
#found {
font-size: 5vw;
list-style-position: inside;
margin:0.25em;
padding:0.25em;
}
#found li {
border: rgb(141, 141, 141) 1px solid;
border-radius: 0.5em;
padding: 1em ;
}