forked from ChromeGaming/Dot-Box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.css
132 lines (109 loc) · 2.64 KB
/
about.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
body {
margin: 0;
padding: 0;
background-color: #e7b537; /* Orange background */
}
.about-header {
font-family: "Anton", sans-serif;
background-color: transparent;
color: #0e0e0e; /* White text */
padding: 20px;
text-shadow: 2px 2px 10px white;
text-align: center;
font-size: 2.1rem; /* Larger heading size */
transition: background-color 0.3s ease; /* Smooth transition on hover */
}
.about-header:hover {
background-color: #e59253; /* Light orange on hover */
}
h1 {
margin: 0;
}
main {
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
p {
color: #333;
line-height: 1.5;
text-align: justify;
max-width: 700px;
margin: 0 auto;
}
.functionalities,
.how-to-play {
flex: 1;
width: 250px;
height: 300px;
margin: 10px;
background-color: #3370e2; /* Light background for sections */
border-radius: 10px; /* Rounded corners for a softer look */
/* padding: 20px; */
/* Add space between sections */
box-shadow: 2px 2px 10px white; /* Subtle shadow for depth */
transition: transform 0.3s ease; /* Smooth scale on hover */
}
.functionalities:hover,
.how-to-play:hover {
transform: scale(1.05); /* Slightly scale up on hover */
}
h2 {
margin-bottom: 10px; /* Add space below section headers */
text-align: center;
}
ul {
list-style: none; /* Remove default bullet points */
padding: 0;
margin: 0;
text-align: center;
}
li {
margin-bottom: 10px;
line-height: 1.5;
}
.about-footer {
background-color: transparent;
color: #fff;
font-size: 20px; }
.about-footer p{
text-align: center;
color: white;
}
/* .about-footer p:hover{
color: #3370e2;
} */
.functionalities ul{
color: wheat;
}
.how-to-play p{
color: wheat;
font-family: "Tiny5", sans-serif;
}
/* Footer Styles */
.about-footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
overflow: hidden; /* Ensure the text doesn't overflow horizontally */
}
.about-footer p {
display: inline-block;
white-space: nowrap; /* Prevents the text from wrapping */
padding-left: 100%; /* Initial offset to start the animation off-screen */
animation: scroll 10s linear infinite; /* Animates the text infinitely */
}
@keyframes scroll {
from {
transform: translateX(0); /* Starts at the leftmost part of the text */
}
to {
transform: translateX(-100%); /* Moves the text all the way to the left */
}
}