fix overlay on upcoming events
This commit is contained in:
@ -6,9 +6,27 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
|
header {
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-bottom: var(--spacing-xs);
|
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 {
|
.eventList {
|
||||||
@ -17,22 +35,9 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: calc(var(--size-item-width) * 10);
|
width: calc(var(--size-item-width) * 10);
|
||||||
|
position: relative;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
padding-right: var(--spacing-s);
|
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