cap-atlantique: put link lists images before title (#81967)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Corentin Sechet 2023-10-04 09:38:17 +02:00 committed by Corentin Sechet
parent 4af5ff74fd
commit c76129f1f6
1 changed files with 26 additions and 6 deletions

View File

@ -141,13 +141,33 @@ div#nav {
right: 1rem;
}
}
&.has-asset-picture picture {
display: block;
text-align: center;
border-bottom: $cell-entry-border;
img {
display: inline-block;
&.has-asset-picture {
> div {
display: grid;
grid-template-rows: 4rem auto;
grid-template-columns: auto 1fr;
& > h2 {
grid-area: 1 / 2 / 2 / 2;
height: 100%;
align-self: center;
border-bottom: $cell-entry-border;
}
& > picture {
grid-area: 1 / 1 / 2 / 2;
border-bottom: $cell-entry-border;
img {
height: 4rem;
}
}
& > .links-list {
grid-area: 2 / 1 / 3 / 3;
}
}
}
}
}