-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
150 lines (128 loc) · 2.8 KB
/
style.css
File metadata and controls
150 lines (128 loc) · 2.8 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
@import url(https://fonts.googleapis.com/css?family=Orbitron:regular,500,600,700,800,900);
@import url(https://fonts.googleapis.com/css?family=Permanent+Marker:regular);
@import url(https://fonts.googleapis.com/css?family=Press+Start+2P:regular);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
/* min-width: 768px;
max-width: 1440px; */
width: 100%;
background-color: black;
overflow-x: hidden;
overflow-y: hidden;
}
/* Works fine until 802x570 */
.container {
padding-bottom: 6rem;
height: 100vh;
width: 100vw;
background: url(images/bg/default1.png) no-repeat center center/cover;
}
header {
padding-top: 20px;
/* text-align: center; */
/* font-family: 'Orbitron'; */
font-family: 'Permanent Marker', curvisve;
/* font-family: 'Press Start 2P', cursive; */
color: rgba(255, 0, 0, 0.664);
display: flex;
justify-content: center;
align-items: center;
}
header h1 {
background-color: rgba(0, 0, 0, 0.247);
backdrop-filter: blur(2px);
border-radius: 100px;
padding: 0 18px;
}
.game {
height: 100%;
flex-direction: column;
display: flex;
justify-content: center;
align-items: center;
}
#grid {
width: 750px;
height: 450px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
#cringe {
height: 10%;
text-align: center;
margin-top: 20px;
bottom: 0;
}
#cringe h4 {
margin: 5px;
border: 1px solid rgba(255, 0, 0, 0.445);
border-radius: 25px;
background-color: rgba(0, 0, 0, 0.452);
color: red;
font-family: 'Press Start 2P', cursive;
padding: 8px;
backdrop-filter: blur(3px);
}
#cringe button {
margin: 5px;
border: 1px solid rgba(255, 0, 0, 0.445);
border-radius: 25px;
background-color: rgba(0, 0, 0, 0.452);
color: red;
font-family: 'Press Start 2P', cursive;
padding: 8px;
backdrop-filter: blur(3px);
}
#cringe button:hover {
outline: red groove 2px;
}
#cringe button:focus {
outline: red groove 2px;
}
.hide {
visibility: hidden;
}
@media screen and (min-width: 360px)and (max-width: 768px) {
* {
margin: 0;
padding: 0;
}
body {
margin: 0;
padding: 0;
height: auto;
}
.container {
/* padding-bottom: 3rem; */
/* height: auto; */
height: 100vh;
}
header {
padding: 5px;
/* margin: 10px; */
font-size: 24px;
text-align: center;
}
header h1 {
font-size: 2rem;
padding: 0 5px;
}
#grid {
width: 100%;
height: auto;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
#grid img {
width: 10rem;
}
}