-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
executable file
·74 lines (67 loc) · 1.07 KB
/
main.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
body * {
font-family: Futura, Helvetica, Arial, sans-serif;
font-size: 2rem;
box-sizing: border-box;
}
@media (max-width: 425px) {
body * {
font-size: unset;
}
}
.container {
display: flex;
align-items: center;
flex-direction: column;
}
.board {
display: grid;
grid-template-columns: repeat(9, 1fr);
border: 1px solid black;
height: 36rem;
width: 36rem;
}
@media (max-width: 425px) {
.board {
height: 18rem;
width: 18rem;
}
}
.solved {
color: green;
}
input {
margin: 0;
padding: 0;
border-radius: 0;
border: 1px solid black;
width: 4rem;
height: 4rem;
text-align: center;
}
@media (max-width: 425px) {
input {
width: 2rem;
height: 2rem;
}
}
button {
padding: 1rem 4rem;
margin: 2rem;
border-radius: .25rem;
text-align: center;
}
@media (max-width: 425px) {
button {
padding: .5rem 1rem;
}
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}