-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathhomepage.css
More file actions
125 lines (105 loc) · 2.01 KB
/
Copy pathhomepage.css
File metadata and controls
125 lines (105 loc) · 2.01 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
116
117
118
119
120
121
122
123
124
125
.events-section {
display: flex;
flex-wrap: wrap;
margin: 0;
}
.events-title {
margin-left: 16px;
}
.event-item {
position: relative;
width: calc(33% - 32px);
min-height: 140px;
margin: 16px;
padding: 16px;
border-radius: 6px;
box-shadow: rgba(0, 0, 0, 0.11) 0px 1.2px 3.6px, rgba(0, 0, 0, 0.11) 0px 6.4px 14.4px;
background-color: white;
display: flex;
flex-direction: column;
}
#add-event-link {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: none;
color: #000;
border: 2px solid #000;
text-decoration: none;
padding: 48px 0;
transition: 0.3s;
}
#add-event-link:hover {
box-shadow: rgba(0, 0, 0, 0.11) 0px 1.2px 3.6px, rgba(0, 0, 0, 0.11) 0px 6.4px 14.4px;
}
#add-event-link span {
font-family: 'Alegreya Sans', sans-serif;
font-size: 1.17em;
padding: 8px 16px;
text-align: center;
}
.event-item__speaker-list {
padding-block-start: 1rem;
--avatar--size: 2.5rem;
flex-wrap: wrap;
}
.event-item__speaker-list [data-avatar] {
box-shadow: 1px 1px 0 -1px hsla(0, 0%, 0%, 0.4);
}
.event-item .subtitle {
color: #78757f;
font-style: italic;
align-items: stretch;
font-size: 0.8em;
}
.fg1 {
flex-grow: 1;
}
.event-item a {
background-color: black;
color: white;
text-decoration: none;
padding: 4px 8px;
border-radius: 8px;
display: block;
align-self: flex-end;
width: fit-content;
margin-top: 1em;
}
.event-item a:hover {
opacity: 0.8;
}
.event-item a:focus-visible {
outline-color: #ba8d1c;
outline-offset: 5px;
outline-style: dotted;
outline-width: 2px;
}
.event-item a:active {
transform: scaleX(0.95);
}
#upcoming-events-section .event-item a {
background-color: gold;
color: black;
}
#past-events-section .event-item a {
background-color: #495057;
}
@media screen and (max-width: 960px) {
.event-item {
width: calc(50% - 32px);
}
}
@media screen and (max-width: 600px) {
.events-title {
text-align: center;
}
.events-section {
flex-direction: column;
}
.event-item {
width: calc(100% - 32px);
}
}