Repository navigation
Expand file tree
/
Copy pathEvents_for_homepage.css
More file actions
115 lines (108 loc) · 2.02 KB
/
Copy pathEvents_for_homepage.css
File metadata and controls
115 lines (108 loc) · 2.02 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
.events-box{
position: relative;
background-color: whitesmoke;
color: white;
height:750px;
width:70%;
border-top: solid 5px var(--navyBlue);
border-radius: 15px;
left: 50%;
margin-left: -35%;
font-size: 20px;
}
.events-navbar{
display: flex;
align-items: center;
justify-content: left;
background-color: var(--navyBlue);
border-top-left-radius: 15px;
border-top-right-radius: 15px;
height: 50px
}
.past-events-button{
width: 156px;
}
.event-content{
display: flex;
overflow: hidden;
}
.past-events{
position: absolute;
width:100%;
transition: opacity 0.3s;
}
.upcoming-events{
position: absolute;
transition: opacity 0.3s;
width:100%;
}
.upcoming-events-button:hover{
text-decoration: underline white;
cursor: pointer;
user-select: none;
}
.past-events-button:hover{
text-decoration: underline white;
cursor: pointer;
user-select: none;
}
.events-grid{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-row-gap: 30px;
grid-column-gap: 40px;
margin: 30px;
margin-left: 40px;
margin-right: 40px;
color: black;
text-align: justify;
}
.events-grid > div{
background-color: var(--kindaBlue);
padding: 5px;
height: 280px;
font-size: 13px;
border-radius: 10px;
}
.events-info{
padding: 5px;
}
.event-learn-more{
text-decoration: none;
color: var(--lotsOfYellow);
}
.event-learn-more:hover{
cursor: pointer;
text-decoration: underline var(--lotsOfYellow);
}
.event-imgs{
height: 160px;
width: 100%;
border-radius: 15px;
}
.events-navbar > div{
padding: 16px;
}
.events-dates{
color: white;
font-weight: 600;
}
.events-info{
color:white;
}
@media (max-width:1400px) {
.events-grid > div{
font-size:10px;
grid-template-columns:auto auto auto;
}
}
@media (max-width:1280px) {
.events-grid > div{
font-size:10px;
}
}
@media (max-width:1280px) {
.events-box{
display:none;
}
}