-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathintro-styles.css
100 lines (86 loc) · 1.92 KB
/
intro-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
/* intro-styles.css */
/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Press+Start+2P&display=swap');
/* Overall background gradient */
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background: linear-gradient(135deg, #000000, #FF0000);
color: #FFFFFF;
}
/* Container styling */
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background: rgba(0, 0, 0, 0.8);
border-radius: 15px;
}
/* Header styling */
header h1 {
text-align: center;
font-size: 1.5em;
margin-bottom: 20px;
animation: fadeIn 2s ease-in;
font-family: 'Press Start 2P', cursive;
}
/* Section headings */
h2 {
color: #FF0000;
border-bottom: 2px solid #FF0000;
padding-bottom: 5px;
margin-bottom: 15px;
font-size: 1.8em;
animation: slideIn 1s ease-out;
font-family: 'Roboto', sans-serif;
}
/* Paragraph and list styling */
p, ul {
font-size: 1.1em;
line-height: 1.6;
margin-bottom: 20px;
font-family: 'Roboto', sans-serif;
}
ul {
padding-left: 20px;
}
ul li {
margin-bottom: 10px;
}
/* Prize section styling */
.prize p {
font-size: 1.2em;
font-weight: bold;
color: #C8F702;
font-family: 'Roboto', sans-serif;
}
/* Footer button styling */
footer {
text-align: center;
margin-top: 20px;
}
.play-btn {
display: inline-block;
padding: 15px 30px;
font-size: 1.2em;
color: #FFFFFF;
background: #690000;
text-decoration: none;
border-radius: 10px;
transition: background 0.3s ease, transform 0.3s ease;
font-family: 'Roboto', sans-serif;
}
.play-btn:hover {
background: #DD0000;
transform: scale(1.05);
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideIn {
from { transform: translateX(-100px); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}