forked from himanshishekhawat/College-Progect
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
195 lines (170 loc) · 3.51 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Indie Flower', cursive;
text-align: center;
color: white;
background-color: black;
}
#loginForm, #homePage {
display: none;
}
.gameButton {
margin: 10px;
padding: 10px;
font-size: 18px;
cursor: pointer;
}
.underline {
text-decoration:underline;
cursor: pointer;
}
.detailContainer{
z-index: 1;
border-radius: 20px;
border: 1px solid white;
display: flex;
flex-direction: column;
position: absolute;
top: 50%;
left: 50%;
align-items: center;
transform: translate(-50%, -50%);
width: 25%;
height: 500px;
background-color: rgba(255, 255, 255, 0.059);
}
#signUp,#login{
display: flex;
flex-direction: column;
row-gap: 4px;
text-align: left;
}
.button{
font-size:15px;
font-weight: 400;
font-family: 'Indie Flower', cursive;
background-color: yellow;
border: 3px solid white;
border-radius: 20px;
padding: 5px 0;
}
input {
font-family: 'Indie Flower', cursive;
color: white;
border: none;
border-bottom: 2px solid white;
background-color:rgba(255, 255, 0, 0);
padding:5px;
outline: none;
}
.img-style{
opacity: 0.2;
z-index: -1;
height: 120px;
width: auto;
position: relative;
}
.img-style:nth-child(1){
animation: example1 10s ease-in-out 0.1s infinite alternate;
}
.img-style:nth-child(2){
animation: example 10s ease-in-out 0.1s infinite alternate;
}
.img-style:nth-child(3){
animation: example2 10s ease-in-out 0.1s infinite alternate;
}
.img-style:nth-child(4){
animation: example3 10s ease-in-out 0.1s infinite alternate;
}
.img-style:nth-child(5){
animation: example4 10s ease-in-out 0.1s infinite alternate;
}
.img-style:nth-child(6){
animation: example5 10s ease-in-out 0.1s infinite alternate;
}
.img-style:nth-child(7){
animation: example6 10s ease-in-out 0.1s infinite alternate;
}
@keyframes example1 {
0% {top: 0px; left:0px;}
25% {top:0px; left:100px;}
50% {top:120px; left:-300px;}
100% {top:500px; left:300px;}
}
@keyframes example2 {
0% {top: 200px; left:0px;}
25% {top:120px; right:-200px;}
50% {top:51px; left:500px;}
100% {top:60px; left:-400px;}
}
@keyframes example3 {
0% {top:400px; left:-400px;}
25% {top:60px; left:-400px;}
50% {top:400px; left:-30px;}
100% {top:58px; left:160px;}
}
@keyframes example {
0% {top: 100px; left:300px;}
25% {top:100px; left:200px;}
50% {top:550px; left:300px;}
100% {top:100px; left:-100px;}
}
@keyframes example4 {
0% {top: 100px; left:50px;}
25% {top:400px; left:20px;}
50% {top:500px; left:530px;}
100% {top:200px; left:100px;}
}
@keyframes example5 {
0% {top: 300px; left:0;}
25% {top:50px; left:200px;}
50% {top:170px; left:30px;}
100% {top:530px; left:100px;} /* Corrected 'buttom' to 'bottom' */
}
@keyframes example6 {
0% {top: 80px; left:30px;}
25% {top:300px; left:20px;}
50% {top:190px; left:300px;}
100% {top:100px; left:100px;}
}
.home-page{
display: block;
}
.Heading{
font-weight:300;
font-family: 'Sacramento', cursive;
font-size: 45px;
top: 50px;
left: 50%;
transform: translateX(-50%);
position: absolute;
color: yellow;
}
.game-container{
margin: 60px 60px;
display:flex;
flex-direction: row;
align-items: center;
justify-content:center;
column-gap: 60px;
}
.game-card{
font-size: 30px;
font-family: 'Indie Flower', cursive;
background-color: rgba(240, 248, 255, 0.048);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
height: 300px;
border: 1px solid white;
flex: 2;
border-radius: 40px;
}
.game-buttons{
color: white;
}