fix overlay on upcoming events
This commit is contained in:
@ -6,9 +6,27 @@
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
|
||||
header {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: var(--spacing-xs);
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 40%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
background: linear-gradient(90deg, transparent, var(--color-deepBrick));
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
.eventList {
|
||||
@ -17,22 +35,9 @@
|
||||
list-style: none;
|
||||
display: flex;
|
||||
width: calc(var(--size-item-width) * 10);
|
||||
position: relative;
|
||||
|
||||
li {
|
||||
padding-right: var(--spacing-s);
|
||||
}
|
||||
}
|
||||
|
||||
.calendarLink {
|
||||
padding: var(--spacing-s) var(--spacing-sitepadding-inline);
|
||||
text-align: right;
|
||||
font-family: var(--font-serif);
|
||||
font-style: italic;
|
||||
font-size: var(--font-size-lead);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 40%;
|
||||
background: linear-gradient(90deg, transparent, var(--color-deepBrick));
|
||||
}
|
Reference in New Issue
Block a user