add event header component and the first pig
This commit is contained in:
32
web/src/components/events/eventHeader.module.scss
Normal file
32
web/src/components/events/eventHeader.module.scss
Normal file
@ -0,0 +1,32 @@
|
||||
.eventHeader {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
column-gap: var(--spacing-gap-column);
|
||||
align-items: flex-end;
|
||||
padding: 0 0 var(--spacing-sitepadding) 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: var(--font-size-h1);
|
||||
}
|
||||
|
||||
.image {
|
||||
grid-column: span 2;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.details {
|
||||
font-family: var(--font-serif);
|
||||
}
|
||||
|
||||
.pig {
|
||||
position: absolute;
|
||||
bottom: -30%;
|
||||
right: -2.5rem;
|
||||
color: var(--color-white);
|
||||
}
|
Reference in New Issue
Block a user