-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (87 loc) · 1.52 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
/* reset */
* {
margin: 0;
}
body {
width: 100%;
background-color: grey;
font-family: 'Roboto', sans-serif;
}
input[type="number"] {
font-size: 5vmin;
height: 100%;
max-height: 100%;
border:none;
background-image:none;
background-color:transparent;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
text-align: center;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"]:focus {
outline: none;
}
.header {
display: flex;
justify-content: center;
font-size: 1.5rem;
margin: 1rem;
}
.grid {
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-template-rows: repeat(9, 1fr);
width: 70vmin;
height: 70vmin;
background-color: white;
margin: 1rem auto;
border: 4px solid black;
}
.box {
border: 2px solid black;
text-align: center;
max-height: 100%;
}
.box * {
width: 100%;
}
.box div {
font-size: 5vmin;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.buttons {
display: flex;
justify-content: center;
margin-top: 1rem;
}
button {
color: white;
border: none;
padding: 1rem 2rem;
text-align: center;
font-size: 1.5rem;
}
.solve {
background-color: blue;
}
.reset {
display: none;
background-color: red;
}
.c3,
.c6 {
border-right: solid 4px black;
}
.r3,
.r6 {
border-bottom: solid 4px black;
}