1

Intégration de mes livres à mes articles

This commit is contained in:
2025-12-09 13:55:48 +01:00
parent 4c8b68aea0
commit ae0e8a5e47
42 changed files with 213 additions and 33 deletions

View File

@@ -18,4 +18,77 @@ aside {
margin: var(--margin-half);
}
}
}
.oeuvre-panel {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: var(--gap-oeuvre-panel);
}
.oeuvre-panel__image {
margin: 0;
flex: 0 0 var(--width-oeuvre-cover);
}
.oeuvre-panel__image img {
display: block;
width: 100%;
height: auto;
}
.oeuvre-panel__content {
flex: 1 1 auto;
display: flex;
flex-direction: column;
gap: var(--gap-oeuvre-panel);
}
.oeuvre-panel h2 {
margin: 0;
font-size: var(--font-size-card-title);
color: var(--color-oeuvre-heading);
}
.oeuvre-panel p {
margin: 0;
color: var(--color-oeuvre-text);
}
.oeuvre-panel p+p {
margin-top: var(--gap-third);
}
.oeuvre-panel p:last-of-type {
display: flex;
flex-wrap: wrap;
gap: var(--gap-third);
}
.oeuvre-panel p:last-of-type a {
display: inline-block;
padding: 0.35rem 0.9rem;
font-size: 0.95em;
text-decoration: none;
background: var(--color-oeuvre-link-primary-bg);
color: var(--color-oeuvre-link-primary-text);
border: 1px solid var(--color-oeuvre-link-primary-border);
}
.oeuvre-panel p:last-of-type a:hover,
.oeuvre-panel p:last-of-type a:focus-visible {
color: var(--color-oeuvre-link-primary-text);
text-decoration: underline;
}
@media (max-width: 768px) {
.oeuvre-panel {
flex-direction: column;
align-items: stretch;
}
.oeuvre-panel__image {
max-width: 220px;
}
}