-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
106 lines (96 loc) · 1.68 KB
/
styles.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
:root {
--text-color: #26577c;
--background-color: #27005d;
}
body {
text-align: center;
background-color: var(--background-color);
font-family: "Press Start 2P", cursive;
}
.heading {
font-family: "Press Start 2P", cursive;
font-size: 3rem;
margin: 2%;
color: var(--text-color);
text-shadow: 5px 5px black;
}
#new-game {
cursor: pointer;
transition: text-shadow 0.3s ease-in-out;
}
#new-game:hover {
text-shadow: 5px 5px aquamarine;
}
.container {
display: block;
width: 50%;
margin: auto;
height: max-content;
}
.btn {
margin: 25px;
display: inline-block;
height: 180px;
width: 180px;
border: 5px solid black;
border-radius: 20%;
transition: box-shadow 0.3s ease-in-out;
box-shadow: 5px 5px black;
}
.btn:hover {
opacity: 70%;
box-shadow: 10px 10px black;
}
.game-over {
background-color: red;
box-shadow: 5px 5px black;
opacity: 0.8;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
.blue {
background-color: blue;
}
.yellow {
background-color: yellow;
}
.pressed {
box-shadow: 0 0 20px white;
background-color: grey;
}
.copyright_text {
font-size: 20px;
display: flex;
justify-content: center;
margin-top: 2%;
color: var(--text-color);
}
.copyright_text a {
text-decoration: none;
color: var(--text-color);
}
@media only screen and (max-width: 1080px) {
#level_title {
font-size: 400%;
}
.container {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.btn {
margin: 25px;
display: inline-block;
height: 30vw;
width: 30vw;
border: 10px solid black;
border-radius: 20%;
}
}