-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
257 lines (222 loc) · 6.16 KB
/
style.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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
/* 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 as the primary option */
margin: 0;
padding: 0;
line-height: 1.8;
cursor: url("cursors/Normal\ Select.png"), auto !important;
width: auto;
color: white; /* Set default text color to white */
background: url('https://impactcoding.github.io/rr-vr-ranking/assets/backgrounds/retro_rewind_background.png') no-repeat center;
background-size: cover; /* Ensures the image covers the entire page */
}
/* Optional: Styling for the page */
h1 {
text-align: center;
font-family: Arial, sans-serif;
margin-top: 20%;
color: #333;
}
#character {
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 */
}
/* unvisited link */
a:link {
color: #fffefe;
}
/* Visited link */
a:visited {
color: #902fff;
text-decoration: none; /* Add a value for text-decoration */
}
/* mouse over link */
a:hover {
color: hotpink;
cursor: url("cursors/Link-Select.png"), auto;
}
/* selected link */
a:active {
color: blue;
}
/* Header Styles */
header {
text-align: center;
margin-bottom: 20px;
float:left,
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
position:sticky;
top: 100px;
}
header nav ul li {
margin: 0 10px;
position:sticky;
top: 100px;
}
header nav ul li a {
color: white; /* Bright yellow for links */
text-decoration: none;
font-weight: bold;
position:sticky;
top: 100px;
text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.7);
}
/* Hero Section */
#hero {
text-align: center;
padding: 50px 20px;
color: white; /* Explicit text color for the hero section */
text-shadow: 2px 2px 4px rgb(138, 0, 32, 0.7); /* Add subtle shadow for readability */
}
#hero h2 {
font-size: 30px;
}
#hero .cta-button {
background: #ff4500; /* Bright orange button */
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-size: 1.5rem;
font-weight: bold;
}
/* Section Styles */
section {
padding: 20px 0;
margin-bottom: 20px;
}
.column {
float: left;
width: 20%;
padding-left: 130px;
padding-top: 60px;
}
.row::after {
content: "";
clear: both;
display: table;
}
section h2 {
text-align: center;
color: #ffcc00; /* Bright yellow for section headers */
text-shadow: 2px 2px 4px rgb(98, 14, 0, 0.7); /* Shadow for readability */
}
section p, section ul, section ol {
color: white; /* Consistent text color */
text-shadow: 1px 1px 3px rgb(3, 0, 0, 0.7); /* Subtle shadow */
font-size: 1.1rem;
}
#download .download-button {
display: inline-block;
background: #e74c3c;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
margin-top: 10px;
font-weight: bold;
}
/* 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;
}
/* 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 */
}
/* Specific Styles for Download Button */
#download .download-button {
display: inline-block;
background: #e74c3c;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
margin-top: 10px;
font-weight: bold;
}
/* Specific Styles for Lists in Credits Section */
#credits ul {
list-style: none;
padding: 0;
margin: 20px 0;
}
#credits ul li {
margin: 5px 0;
font-size: 1.1rem;
color: white;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Add shadow for better visibility */
}
/* Decorative Image Styling */
.left-image {
position: absolute; /* Position relative to the viewport */
top: 50%; /* Center vertically */
left: 20px; /* Position slightly inward from the left edge */
transform: translateY(-50%); /* Center the image vertically */
width: 150px; /* Adjust the width to make it smaller */
height: auto; /* Maintain the aspect ratio */
z-index: 10; /* Ensure it appears in front of the background */
}
#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;
}
}