cap-atlantique: put link lists images before title (#81967)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
4af5ff74fd
commit
c76129f1f6
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue