forked from ArpitPy/Prajwalan2k22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
event.css
170 lines (163 loc) · 3.29 KB
/
event.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
body {
background: #262a2b;
}
.tilesWrap {
padding: 0;
margin: 50px auto;
list-style: none;
text-align: center;
}
.tilesWrap li {
display: inline-block;
width: 20%;
min-width: 200px;
max-width: 230px;
padding: 80px 20px 40px;
position: relative;
vertical-align: top;
margin: 10px;
font-family: 'helvetica', san-serif;
font-weight:bold;
font-size: large;
min-height: 25vh;
background: #262a2b;
border: 1px solid #252727;
text-align: left;
}
.tilesWrap li h2 {
font-size: 114px;
margin: 0;
position: absolute;
opacity: 0.2;
top: 50px;
right: 10px;
transition: all 0.3s ease-in-out;
}
.tilesWrap li h3 {
font-size: 20px;
color: #b7b7b7;
margin-bottom: 5px;
}
.tilesWrap li p {
font-size: 16px;
line-height: 18px;
color: #b7b7b7;
margin-top: 5px;
}
.tilesWrap li button {
background: transparent;
border: 1px solid #b7b7b7;
padding: 10px 20px;
color: #b7b7b7;
border-radius: 3px;
position: relative;
transition: all 0.3s ease-in-out;
transform: translateY(-40px);
opacity: 0;
cursor: pointer;
overflow: hidden;
}
.tilesWrap li button:before {
content: '';
position: absolute;
height: 100%;
width: 120%;
background: #b7b7b7;
top: 0;
opacity: 0;
left: -140px;
border-radius: 0 20px 20px 0;
z-index: -1;
transition: all 0.3s ease-in-out;
}
.tilesWrap li:hover button {
transform: translateY(5px);
opacity: 1;
}
.tilesWrap li button:hover {
color: #262a2b;
}
.tilesWrap li button:hover:before {
left: 0;
opacity: 1;
}
.tilesWrap li:hover h2 {
top: 0px;
opacity: 0.6;
}
.tilesWrap li:before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
z-index: -1;
background: #fff;
transform: skew(2deg, 2deg);
}
.tilesWrap li:after {
content: '';
position: absolute;
width: 40%;
height: 100%;
left: 0;
top: 0;
background: rgba(255, 255, 255, 0.02);
}
.tilesWrap li:nth-child(1):before {
background: #C9FFBF;
background: -webkit-linear-gradient(to right, #FFAFBD, #C9FFBF);
background: linear-gradient(to right, #FFAFBD, #C9FFBF);
}
.tilesWrap li:nth-child(2):before {
background: #f2709c;
background: -webkit-linear-gradient(to right, #ff9472, #f2709c);
background: linear-gradient(to right, #ff9472, #f2709c);
}
.tilesWrap li:nth-child(3):before {
background: #c21500;
background: -webkit-linear-gradient(to right, #ffc500, #c21500);
background: linear-gradient(to right, #ffc500, #c21500);
}
.tilesWrap li:nth-child(4):before {
background: #FC354C;
background: -webkit-linear-gradient(to right, #0ABFBC, #FC354C);
background: linear-gradient(to right, #0ABFBC, #FC354C);
}
.header{
padding: -13px;
box-shadow: 0 5px 15px rgba(184, 99, 233, 0.26);
z-index: 999;
position:relative ;
top: 0;
left: 0;
}
h1 {
text-align: center;
color: hsl(0, 0%, 28%);
font-size: 50px;
font-weight: 800;
font-family: monospace;
letter-spacing: 7px;
cursor: pointer;
text-transform: uppercase;
}
h1 {
padding: 20px;
background: linear-gradient(to right, hsl(0, 0%, 30%) 0, #883ff9 10%, hsl(0, 0%, 30%) 20%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shine 3s infinite linear;
}
@keyframes shine {
0% {
background-position: 0;
}
60% {
background-position: 600px;
}
100% {
background-position: 600px;
}
}