-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathevents.css
100 lines (88 loc) · 1.61 KB
/
events.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
/* General Styling */
.Events {
text-align: center;
font-size: 3.5rem;
margin-bottom: 2rem;
width: 60vw;
margin-left: auto;
margin-right: auto;
padding-bottom: 10px;
border-bottom: 2px solid #000055;
margin-bottom: 5vh;
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
/* Flexbox for Event Cards */
.events-container {
display: flex;
flex-direction: column;
align-items: center;
margin-left: auto;
margin-right: auto;
width: 85%;
height: auto;
padding: 0 2rem;
gap: 3rem;
margin-bottom: 15vh;
}
.event-card {
display: flex;
flex-direction: row;
align-items: center;
gap: 2rem;
width: 100%;
max-width: 1200px;
background-color: #f1f1f1;
border-radius: 8px;
box-shadow: 0 4px 8px #0000006b;
padding: 2rem;
}
/* Event Image */
.event-image {
width: 40%;
height: auto;
border-radius: 8px;
border: 3px solid #000055
;
}
/* Event Info */
.event-info {
width: 60%;
}
.event-name {
font-size: 2.8rem;
font-weight: bold;
margin-bottom: 1rem;
color: #000055
;
}
.event-info p {
font-size: 1.4vh;
color: #06063a ;
line-height: 1.8vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.event-card:hover{
scale: 1.03;
}
/* Responsive Styles */
@media (max-width: 768px) {
.event-card {
flex-direction: column;
text-align: center;
}
.event-image {
width: 100%;
}
.event-info {
width: 100%;
}
.events-container {
gap: 5rem;
margin-bottom: 15vh;
}
}
.eventhead{
margin-top: 15vh;
padding-bottom: 5px;
color: #000055;
}