diff --git a/assets/style.scss b/assets/style.scss index cbfc88b..243ef9a 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -134,6 +134,30 @@ h2::after { ); } +// Séparation des articles. +article:not(:last-of-type) { + margin: 0; + padding-bottom: 1em; + position: relative; +} + +article:not(:last-of-type)::after { + content: ""; + position: absolute; + + left: 0; + bottom: 0; + width: 100%; + height: 1em; /* ≈ hauteur d’un caractère */ + + background-image: linear-gradient( + to bottom, + transparent 49.99%, + $fg 49.99% 57.13%, + transparent 57.13% + ); +} + // Prompt and command line. // ======================== .cmdblock {