This repository was archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (67 loc) · 1.32 KB
/
style.css
File metadata and controls
78 lines (67 loc) · 1.32 KB
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
@font-face {
/* https://www.fontspace.com/bitwise-font-f5077 */
font-family: Bitwise;
src: url(Bitwise-m19x.ttf);
}
* {
font-family: Bitwise;
}
body {
background-color: rgb(25, 25, 25);
color: white;
}
.game-title {
text-align: center;
font-size: 3rem;
text-shadow: rgba(255, 255, 255, 0.3) 0.22rem 0.22rem;
}
.info-and-control-bar {
display: flex;
justify-content: space-between;
}
.info-and-control-bar > div {
height: 2em;
width: 30%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
}
.scoreArea {
text-align: center;
text-shadow: rgba(255, 255, 255, 0.3) 0.22rem 0.22rem;
}
button {
font-size: 2rem;
background-color: white;
color: black;
border: #1a8cff solid thick;
border-radius: 0.6rem;
padding: 0.5rem 4rem;
cursor: pointer;
-webkit-transition-duration: 0.1s;
transition-duration: 0.1s;
}
button:hover {
background-color: #1a8cff;
color: white;
box-shadow: 0 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.2);
}
button:active {
box-shadow: 0 0 0.1rem 0 rgba(0, 0, 0, 0.4);
transform: translateY(0.2rem);
}
#game {
display: flex;
justify-content: center;
align-items: center;
flex-flow: row wrap;
}
#game div {
border: 0.1rem solid white;
border-radius: 0.5rem;
width: 15rem;
height: 15rem;
margin: 1rem;
display: inline-block;
}