forked from jayasree-g/Webathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent.css
100 lines (88 loc) · 1.76 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
.items{
float: right;
background-color: #e91e63;
font-size: large;
margin-right: 25px;
width: 200px;
}
.events {
width: 20%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
box-sizing: border-box;
}
.events ul {
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0;
padding: 40px;
box-sizing: border-box;
margin-top: 40px;
}
.events ul li {
list-style: none;
box-sizing: border-box;
height: 200px;
margin: 15px 0;
}
.events ul li .time {
position: relative;
padding: 20px;
background: #262626;
box-sizing: border-box;
width: 30%;
height: 100%;
float: left;
text-align: center;
transition: .5s;
}
.events ul li .time h2 {
position: absolute;
margin: 0;
padding: 0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #ffffff;
font-size: 60px;
line-height: 30px;
}
.events ul li .time h2 span {
font-size: 30px;
}
.events ul li .details {
padding: 20px;
background: #acbaec;
box-sizing: border-box;
width: 50%;
height: 100%;
float: left;
}
.events ul li .details h3 {
position: relative;
margin: 0;
padding: 0;
font-size: 22px;
}
.events ul li .details p {
position: relative;
margin: 10px 0 0;
padding: 0;
font-size: 16px;
font-weight: 100;
}
.events ul li .details a {
display: inline-block;
text-decoration: none;
padding: 10px 15px;
border: 1.5px solid #262626;
margin-top: 8px;
font-size: 18px;
transition: .5s;
}
.events ul li .details a:hover {
background: #e91e63;
color: #fff;
border-color: #e91e63;
}