-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
87 lines (87 loc) · 1.6 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
html {
background: #222;
color: #000;
font-family: Sans-Serif;
}
#nobat {
position: fixed;
width: 10px;
height: 10px;
border: 1px solid #fff;
transition: background-color .5s;
}
#counter {
position: fixed;
top: 0;
right: 0;
margin: 10px;
text-align: center;
line-height: 0;
background: #ffa500;
border-radius: 1rem;
padding: 5px;
display: flex;
}
#blackC {
background: #000;
border: 1px solid #000;
color: #fff;
height: 30px;
width: 30px;
border-radius: 40%;
}
#whiteC {
background: #fff;
border: 1px solid #000;
color: #000;
height: 30px;
width: 30px;
border-radius: 40%;
margin-left: 5px;
}
#container {
display: grid;
grid-template-columns: 4% 12% 12% 12% 12% 12% 12% 12% 12%;
grid-template-rows: 4% 12% 12% 12% 12% 12% 12% 12% 12%;
box-sizing: border-box;
background: #ffa500;
padding: 2mm;
border-radius: 7%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.colums {
text-align: center;
transform: translateY(-1mm);
}
.row {
text-align: center;
padding: 90% 0;
}
.block {
border: 2px solid #ffa500;
box-sizing: border-box;
background: #b17300;
border-radius: 100%;
transition: background-color .5s;
}
@media screen and (orientation:portrait) {
#container {
width: 96vw;
height: 96vw;
}
}
@media screen and (orientation:landscape) {
#container {
width: 96vh;
height: 96vh;
}
}
.white {
background-color: #fff;
}
.black {
background-color: #000;
}