-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwheelwizard.css
227 lines (195 loc) · 4.82 KB
/
wheelwizard.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/* General Styles */
@font-face {
font-family: 'mariokart';
src: url('./fonts/ATTFShinGoProHeavy.ttf')
format('truetype');
font-weight: bold;
}
body {
font-family: 'mariokart', sans-serif; /* Use the custom font */
margin: 0;
padding: 0;
line-height: 1.8;
cursor: url("./cursors/Normal\ Select.png"), auto !important;
color: white; /* Default text color */
background: url('./Images/WheelWizardbg.png') no-repeat center;
background-size: cover; /* Cover the entire page */
}
/* Optional: Styling for the page */
h1 {
text-align: center;
font-family: Arial, sans-serif;
margin-top: 20%;
color: #333;
}
#column {
display: flex; /* Use flexbox to align items horizontally */
justify-content: center; /* Center the images horizontally */
align-items: center; /* Center the images vertically */
height: 150vh; /* Ensure the section takes up the full viewport height */
width: 100%; /* Ensure the section takes up the full width of the page */
gap: 20px; /* Add space between the images */
}
.image {
height: 250px; /* Set height */
width: 280px; /* Set width */
object-fit: cover; /* Ensure the images cover their box without distortion */
}
/* Link Styles */
a:link {
color: #01CBA5;
}
a:visited {
color: #ffffff;
}
a:hover {
color: #65f800;
cursor: url("cursors/Link-Select.png"), auto;
}
a:active {
color: #00797e;
}
/* Header Styles */
header {
text-align: center;
margin-bottom: 20px;
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
position: sticky;
top: 100px;
}
.column {
float: left;
width: 20%;
padding-left: 280px;
padding-top: 60px;
}
.row::after {
content: "";
clear: both;
display: table;
}
header nav ul li {
margin: 0 10px;
}
header nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.7);
width: 100vw;
}
/* Hero Section */
#hero {
text-align: center;
padding: 50px 20px;
color: white;
text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.7);
}
#hero h2 {
font-size: 30px;
}
#hero .cta-button {
background: #03826E;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-size: 1.5rem;
font-weight: bold;
}
/* Section Styles */
section {
padding: 20px;
margin-bottom: 20px;
text-align: center;
color: white;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
/* General Section Styles */
section {
display: flex; /* Use flexbox for alignment */
flex-direction: column; /* Stack content vertically */
justify-content: center; /* Center vertically */
align-items: center; /* Center horizontally */
padding: 20px;
margin-bottom: 20px;
text-align: center; /* Center text */
}
/* Download Button */
#download .download-button {
display: inline-block;
background: #01CBA5;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}
/* Credits Section */
#credits ul {
list-style: none;
margin: 20px 0;
padding: 0;
}
#credits ul li {
margin: 5px 0;
font-size: 1.1rem;
color: white;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
/* Decorative Image */
.left-image {
position: absolute;
top: 50%;
left: 20px;
transform: translateY(-50%);
width: 150px;
height: auto;
z-index: 10;
}
/* Footer Styles */
footer {
text-align: center;
padding: 10px 0;
background: rgba(0, 0, 0, 0.6); /* Slightly transparent black background */
color: white;
font-size: 0.9rem;
}
#column {
display: flex; /* Align items horizontally */
justify-content: center; /* Center the images horizontally */
align-items: center; /* Center the images vertically */
flex-wrap: wrap; /* Allow wrapping for smaller screens */
height: auto; /* Adjust height automatically */
width: 100%; /* Full width of the page */
gap: 20px; /* Space between images */
box-sizing: border-box; /* Include padding and border in dimensions */
padding: 10px; /* Optional padding for better appearance */
}
.image {
height: 250px; /* Image height */
width: 280px; /* Image width */
object-fit: cover; /* Maintain aspect ratio */
flex-shrink: 0; /* Prevent shrinking */
}
/* Media Queries for Responsiveness */
/* For screens smaller than 768px (tablets, small laptops) */
@media (max-width: 768px) {
.image {
height: 200px; /* Adjust height for smaller screens */
width: 220px; /* Adjust width for smaller screens */
}
}
/* For screens smaller than 480px (mobile devices) */
@media (max-width: 480px) {
.image {
height: 150px; /* Further reduce image size */
width: 180px;
}
}