fix(association): sections menu

This commit is contained in:
Matthieu Bessat 2024-03-10 23:27:47 +01:00
parent b525e02e09
commit 0ae55f47bb
11 changed files with 141 additions and 38 deletions

View file

@ -7,13 +7,16 @@
max-width: 100%;
img {
object-fit: contain;
object-fit: fit;
aspect-ratio: 1;
max-height: 60vh;
max-height: 50vh;
max-width: 100%;
}
}
.article {
}
// card in list
.article-card {
display: flex;

View file

@ -216,7 +216,7 @@ figure {
position: sticky;
top: 7rem;
background: white;
border: 1px solid black;
border: 1px solid $background-secondary;
ul {
display: flex;
@ -228,9 +228,33 @@ figure {
height: 100%;
li {
width: 100%;
height: 100%;
margin: 0;
padding: .5rem 1rem;
padding: 0;
border: 1px solid $background-secondary;
display: flex;
align-items: center;
a {
color: black;
text-decoration: none;
width: 100%;
height: 100%;
padding: .5rem 1rem;
transition: 0.2s all;
}
a:hover {
background-color: rgba(0, 0, 0, 0.2);
}
}
}
}
@media (max-width: $md-breakpoint) {
.sticky-nav {
ul {
flex-direction: column;
}
}
}