diff --git a/themes/42/assets/css/article-body.css b/themes/42/assets/css/article-body.css index 3d57716d..c28e359d 100644 --- a/themes/42/assets/css/article-body.css +++ b/themes/42/assets/css/article-body.css @@ -69,6 +69,40 @@ article.article-body { } } + dl { + margin: var(--margin) auto; + max-width: 100%; + display: grid; + grid-template-columns: 40% 60%; + row-gap: 0; + border: var(--border-panel-outer); + overflow: hidden; + margin: var(--margin) auto; + font-size: 1rem; + } + + /* Base commune */ + dt, + dd { + padding: var(--padding-half) var(--padding); + } + + /* Colonne de gauche */ + dt { + font-weight: bold; + } + + /* Colonne de droite */ + dd { + line-height: 1.6; + } + + /* Effet zébré sur les paires dt/dd */ + dl dt:nth-of-type(odd), + dl dd:nth-of-type(odd) { + background-color: var(--background-body-alt); + } + >ul, >ol, >details ul,