-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
131 lines (110 loc) · 2.15 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
130
131
table .grid{
display: grid;
grid-template-areas: "a a";
font-size: small;
}
.hidden{
width: 3vh;
height: 3vh;
background-color: lightgray;
border-style: solid;
border-width: 1px;
text-align: center;
padding: 0px;
box-shadow: inset 2px 2px white, inset -2px -2px darkgray;
}
.hidden:after{
content: "";
display: block;
padding-bottom: 100%;
}
.hidden:active{
box-shadow: inset 1px 1px white, inset -1px -1px darkgray;
}
.flagged{
width: 3vh;
height: 3vh;
background-color: lightcoral;
border-style: solid;
border-width: 1px;
text-align: center;
padding: 0px;
}
.discovered{
width: 3vh;
height: 3vh;
background-color: lightgray;
border-style: solid;
border-width: 1px;
border-color: black;
text-align: center;
padding: 0px;
}
.image{
width: 2.5vh;
height: 2.5vh;
margin: 0px;
padding: 0px;
}
.number0:after {
padding: 100%;
}
.number1 {
color: blue;
}
.number2 {
color: green;
}
.number3 {
color: red;
}
.number4 {
color: purple;
}
.number5 {
color: darkblue;
}
.number6 {
color: darkgreen;
}
.number7 {
color: darkred;
}
.number8 {
color: darkviolet;
}
.centered {
display: flex;
justify-content: center;
}
.timer {
width: auto;
color: red;
font-family: digit, Arial, Helvetica, sans-serif;
font-size: xx-large;
box-shadow: inset 3px 3px rgb(230,230,230), inset -3px -3px darkgray;
background-color: lightgray;
padding-left: 1vh;
padding-right: 2vh;
}
.timer:active{
box-shadow: inset 1px 1px rgb(230,230,230), inset -1px -1px darkgray;
}
@font-face {
font-family: digit;
src: url(fonts/Digit.TTF);
}
.score {
display: block; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
top: 30vh;
width: 40vh; /* Full width */
overflow: auto; /* Enable scroll if needed */
background-color:lightgray;
color: red;
font-family: digit, Arial, Helvetica, sans-serif;
font-size: xx-large;
box-shadow: inset 3px 3px rgb(230,230,230),inset -3px -3px darkgray;
text-align: center;
}