-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
129 lines (106 loc) · 1.97 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
text-align: center;
font-family: 'Roboto', sans-serif;
background-color: #ddd;
}
h1 {
color: #1769aa;
}
.container {
margin: 1rem auto;
padding: 1rem;
width: 80%;
border-radius: 5px;
background-color: white;
box-shadow: 1px 1px 6px 5px #bbb;
}
.container>div {
display: flex;
justify-content: space-around;
}
.exampleDiv {
margin-top: 1rem;
text-align: left;
}
.example {
background-color: #ddd;
border: 1px solid #eee;
border-radius: 5px;
margin-top: 0.5rem;
padding: 0.5rem;
}
ul {
margin-left: 1.5rem;
}
.sliderCont{
display: flex;
align-items: center;
}
.sliderCont>h3{
margin-right: 0.5rem;
}
.speedSlider{
color: yellow;
/* background-color: teal; */
}
.root {
margin: 1rem auto;
text-align: center;
border: 1px solid black;
width: 350px;
display: grid;
grid-template-rows: repeat(9, 0.5fr);
grid-template-columns: repeat(9, 0.5fr);
}
/* sudoku design */
.root>div {
padding: 0.5rem;
border: 1px solid #aaa;
vertical-align: middle;
background-color: white;
/* font-weight: bold; */
}
.root>div:nth-child(3n) {
border-right: 1px solid black;
}
.root>div:nth-child(9n+1) {
border-left: 1px solid black;
}
.root>div:nth-child(-n+9) {
border-top: 1px solid black;
}
.root>div:nth-child(n+73) {
border-bottom: 1px solid black;
}
.root>div:nth-child(n+19):nth-child(-n+27) {
border-bottom: 1px solid black;
}
.root>div:nth-child(n+46):nth-child(-n+54) {
border-bottom: 1px solid black;
}
/* sudoku desing end */
button {
padding: 0.5rem 2rem;
background-color: #1769aa;
border: 0;
border-radius: 3px;
color: white;
}
#added, .success {
background-color: green;
color: white;
}
#removed, .failed {
background-color: red;
color: white;
}
.message {
color: white;
border-radius: 5px;
padding: 0.5rem;
}