-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
103 lines (103 loc) · 2.19 KB
/
app.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
body{
margin: 0rem;
background-color: #dae0e6;
font-family: "Segoe UI", Tahoma, Helvetica, Sans-Serif, serif;
font-style: normal;
font-size: 14px;
color: gray;
}
#root{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.app{
width: 100%;
text-align: center;
}
.title{
display: inline-block;
font-size: 2.5rem;
font-weight: bold;
margin: .4rem;
color: gray;
}
.row{
white-space: nowrap;
}
.cell{
max-width: 3rem;
width: 3rem;
height: 3rem;
background-color: white;
border: solid .01rem black;
font-size: 2rem;
text-align: center;
outline: none;
border-radius: 0%;
color: black;
}
.row:nth-child(3n+0) .cell{
border-bottom-width: .14rem;
}
.row:nth-child(3n+1) .cell{
border-top-width: .14rem;
}
.row .cell:nth-child(3n+0){
border-right-width: .14rem;
}
.row .cell:nth-child(3n+1){
border-left-width: .14rem;
}
.row:nth-child(-n+3) .cell:nth-child(n + 4):nth-child(-n + 6){
background-color: lightgray;
}
.row:nth-last-child(-n+3) .cell:nth-child(n + 4):nth-child(-n + 6){
background-color: lightgray;
}
.row:nth-child(n + 4):nth-child(-n + 6) .cell:nth-child(-n+3){
background-color: lightgray;
}
.row:nth-child(n + 4):nth-child(-n + 6) .cell:nth-last-child(-n+3){
background-color: lightgray;
}
.buttonrow{
margin-top: 1rem;
}
button{
margin-right: .3rem;
padding: 10px 12px;
background-color: #4d90fe;
background-image: linear-gradient(#4d90fe 0px,#4787ed 100%);
border: 1px solid #3079ed;
border-radius: .3rem;
color: #fff;
cursor: pointer;
font-weight: bold;
}
.resetbutton{
background-color: white;
background-image: none;
border: solid 1px gray;
color: black;
}
button:hover{
background-color: #357ae8;
background-image: linear-gradient(#4d90fe 0px,#357ae8 100%);
border: 1px solid #2f5bb7;
color: #fff;
}
.resetbutton:hover{
background-color: white;
background-image: none;
border: solid 1px black;
color: black;
}
button:active{
opacity: .7;
}
.answerCell{
color: blue;
}