-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
159 lines (141 loc) · 3.07 KB
/
Copy pathstyles.css
File metadata and controls
159 lines (141 loc) · 3.07 KB
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
body {
background: linear-gradient(to bottom, #00306F, #739BC5);
color: white;
font-family: Arial, sans-serif;
margin: 0;
padding: 25px; /* Adjusted padding */
display: grid;
grid-template-rows: 100px 1fr 50px;
grid-template-columns: 200px 1fr;
height: 100vh;
}
.title {
color: #5C6AC4;
}
.menu {
grid-row: 2 / 3;
grid-column: 1 / 2;
display: flex;
flex-direction: column;
justify-content: flex-start;
background-color: transparent;
padding: 10px;
height: calc(100vh - 180px); /* Adjust based on window height */
border-radius: 10px;
box-sizing: border-box;
margin-top: 0; /* Removed extra margin */
padding-bottom: 8px; /* Reduced space below last menu button */
}
.menu a {
display: block;
color: white;
text-decoration: none;
padding: 10px;
margin: 5px 0;
text-align: left;
background-color: #497BBA;
border-radius: 10px;
transition: box-shadow 1.5s ease-in-out, background-color 0.3s ease;
}
.menu a:hover {
background-color: #497BBA;
box-shadow: 0 0 10px 1px white;
}
.scrolling-text {
display: inline-block;
white-space: nowrap;
overflow: hidden;
position: relative;
height: 20px;
color: black;
}
.scrolling-text span {
position: absolute;
display: inline-block;
animation: scroll-horizontal 10s linear infinite;
}
@keyframes scroll-horizontal {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
.guides {
margin-top: 20px;
padding-top: 10px;
border-top: 1px solid white;
}
.guides h3 {
color: #aabbcc;
text-align: center;
margin-bottom: 10px;
}
.terms {
margin-top: 20px;
padding-top: 10px;
border-top: 1px solid white;
text-align: center;
}
.content {
grid-row: 2 / 3;
grid-column: 2 / 3;
padding: 10px;
height: calc(100vh - 180px); /* Adjusted height to match menu */
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
grid-gap: 8px;
grid-template-rows: auto 1fr; /* First row for game-boxes, second for text-box */
overflow-y: auto;
}
.game-box {
padding: 0;
border-radius: 10px;
text-align: center;
transition: box-shadow 1.5s ease-in-out;
overflow: hidden;
height: 100%; /* Ensure the game-box takes up available height */
}
.game-box:hover {
box-shadow: 0 0 10px 1px white;
}
.game-box img {
width: 100%;
height: 100%;
object-fit: cover;
}
.text-box {
padding: 10px;
background-color: #001122;
border-radius: 10px;
height: calc(100vh - 180px - 20px); /* Adjusted height to match menu */
overflow-y: auto;
grid-column: span 3; /* Span across all three columns */
grid-row: 2; /* Place it in the second row */
margin-top: 0;
}
.footer {
background: linear-gradient(to bottom, #D3E2F3, #717CAD);
text-align: center;
padding: 20px;
position: fixed;
bottom: 0;
width: 100%;
color: black;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
}
@keyframes blink {
0%, 100% {
box-shadow: 0 0 10px 1px white;
}
50% {
box-shadow: 0 0 5px 0.5px white;
}
}
.menu a:hover, .game-box:hover {
animation: blink 1.5s infinite;
}