-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
188 lines (181 loc) · 4.02 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
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: "Aladin", Times, "Times New Roman", serif;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
background-image: url("./images/IMG-20201006-WA0000.jpg");
background-repeat: no-repeat;
background-size: cover;
}
.game-name {
width: 300px;
text-align: center;
background-color: rgba(245, 245, 219, 0.9);
margin-bottom: 15px;
border: 1px solid brown;
border-radius: 5px;
box-shadow: 0 0 10px 2px darkgreen, inset 0 0 40px saddlebrown;
}
.game-name .game-name-text {
font-family: "Aladin", Times, "Times New Roman", serif;
color: #3c0f00;
text-shadow: 2px 2px 5px darkgreen;
font-size: 3rem;
margin: 0;
}
.container {
display: grid;
grid-template-columns: 350px;
grid-template-rows: 450px 100px;
width: 350px;
height: 550px;
background-color: rgba(245, 245, 219, 0.9);
margin: 0;
border: 1px solid brown;
border-radius: 5px;
box-shadow: 0 0 10px 2px darkgreen, inset 0 0 40px saddlebrown;
}
.container .text {
display: flex;
justify-content: center;
align-items: center;
width: 350px;
margin: 0;
padding: 5px;
font-size: 1.4rem;
font-weight: 550;
text-align: center;
color: #1e0f00;
text-shadow: 0px 0px 10px #002707;
}
.container .button-container {
display: flex;
justify-content: center;
align-items: center;
width: 350px;
margin: 0;
padding: 5px;
}
.container .button-container .btn1,
.container .button-container .btn2 {
background-color: rgba(139, 69, 19, 0.8);
box-shadow: 0 0 10px 2px darkgreen, inset 0 0 15px saddlebrown;
border: 1px solid saddlebrown;
border-radius: 10px;
padding: 5px 10px;
margin: 0px 10px 3px 10px;
color: #003200;
text-shadow: 0.5px 0.5px 2px limegreen;
outline: none;
font-size: 1.5rem;
transition: opacity 2s;
}
@media only screen and (min-width: 768px) {
.game-name {
width: 460px;
margin-bottom: 15px;
}
.game-name .game-name-text {
font-size: 4.6rem;
}
.container {
grid-template-columns: 600px;
grid-template-rows: 500px 150px;
width: 600px;
height: 650px;
}
.container .text {
width: 600px;
padding: 10px;
font-size: 1.9rem;
font-weight: 550;
text-shadow: 1px 1px 5px #002707;
}
.container .button-container {
width: 600px;
padding: 10px;
}
.container .button-container .btn1,
.container .button-container .btn2 {
padding: 8px 15px;
margin: 0px 15px 8px 15px;
font-size: 2.2rem;
}
.container .button-container .btn1:hover,
.container .button-container .btn2:hover {
border: none;
box-shadow: 0px 0px 5px 5px darkgreen;
}
}
@media only screen and (min-width: 1024px) {
.game-name {
width: 500px;
margin-bottom: 20px;
}
.game-name .game-name-text {
font-size: 4rem;
}
.container {
grid-template-columns: 750px;
width: 750px;
}
.container .text {
width: 750px;
padding: 10px 15px;
font-size: 2rem;
font-weight: 580;
text-shadow: 1px 1px 8px #002707;
}
.container .button-container {
width: 750px;
}
.container .button-container .btn1,
.container .button-container .btn2 {
font-size: 2.3rem;
}
}
@media only screen and (max-height: 800px) and (min-width: 768px) {
.game-name {
width: 350px;
margin-bottom: 15px;
}
.game-name .game-name-text {
font-size: 2.8rem;
}
.container {
grid-template-columns: 700px;
grid-template-rows: 450px 100px;
width: 700px;
height: 550px;
}
.container .text {
width: 700px;
padding: 10px;
font-size: 1.9rem;
font-weight: 550;
text-shadow: 1px 1px 5px #002707;
}
.container .button-container {
width: 700px;
padding: 10px;
}
.container .button-container .btn1,
.container .button-container .btn2 {
padding: 8px 15px;
margin: 0px 15px 8px 15px;
font-size: 2.2rem;
}
.container .button-container .btn1:hover,
.container .button-container .btn2:hover {
border: none;
box-shadow: 0px 0px 5px 5px darkgreen;
}
}