-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
144 lines (127 loc) · 2.69 KB
/
styles.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
133
134
135
136
137
138
139
140
141
142
143
144
* {
margin: 0; padding: 0;
background-color: var(--black);
text-align: center;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: var(--white);
}
header {
height: 40px;
min-width: 260px;
margin: 10px 0;
border-bottom: solid 1px var(--black_alt);
padding-bottom: 10px;
}
main {
display: flex;
flex-direction: column;
align-items: center;
min-height: calc(92vh - 42px);
}
footer {
display: flex;
justify-content: space-around;
border-top: solid 1px var(--black_alt);
padding: 10px;
}
.field {
max-width: 200px;
margin: 15px 0;
border: solid 2px var(--black_alt);
border-radius: 10px;
padding: 15px 25px 10px;
}
.field > div, .word { position: relative; }
.word { translate: -10px; }
h2 {
margin: -30px 0 10px;
background-color: var(--black);
color: var(--white_alt);
}
input{
width: 100px;
height: 20px;
margin-bottom: 5px;
border: solid 1px var(--black_alt);
border-radius: 5px;
text-align: left;
color: var(--white_alt);
padding: 1px 5px;
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button, input[type=number] {
-webkit-appearance: none;
-moz-appearance: textfield;
}
button {
cursor: pointer;
width: 24px;
height: 24px;
border-radius: 5px;
border: solid 1px;
}
.remove-word-button {
position: absolute;
margin-left: 5px;
border-color: var(--red_alt);
color: var(--red_alt);
}
.remove-word-button:hover {
background-color: var(--red_alt);
color: var(--black);
}
.letter { margin: 0 5px; }
.letter input {
width: 20px;
height: 20px;
}
.letter:has(input:not(:placeholder-shown)) span, .letter input:not(:placeholder-shown) {
color: var(--blue_alt);
}
#letters {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
#add-word {
margin-top: 5px;
border-color: var(--green_alt);
color: var(--green_alt);
}
#add-word:hover {
background-color: var(--green_alt);
color: var(--black);
}
#remove-letters-value-button {
width: 100%;
color: var(--yellow);
border: solid var(--yellow) 1px;
}
#remove-letters-value-button:hover {
background-color: var(--yellow);
color: var(--black);
}
#show-possibilities-button {
width: 100%;
height: 30px;
margin-bottom: 5px;
border: solid var(--green) 2px;
font-size: 15px;
font-weight: bold;
color: var(--green);
}
#show-possibilities-button:hover {
background-color: var(--green);
color: var(--black);
}
#possibilities {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin: 20px;
}
#possibilities span {
margin: 5px 2px;
padding: 2px 5px;
border: solid 1px var(--magenta_alt);
border-radius: 10px;
}