Taille et soulignement des titres.
This commit is contained in:
@@ -77,6 +77,63 @@ code:not([class]) {
|
|||||||
color: $green;
|
color: $green;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Soulignement des titres
|
||||||
|
h1 {
|
||||||
|
font-size: 1em;
|
||||||
|
color: $fg0;
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 1em; /* ≈ hauteur d’un caractère */
|
||||||
|
|
||||||
|
background-image: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent 35.71%,
|
||||||
|
$fg0 35.71% 42.85%,
|
||||||
|
transparent 42.85% 49.99%,
|
||||||
|
$fg0 49.99% 57.13%,
|
||||||
|
transparent 57.13%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: $fg0;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2::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%,
|
||||||
|
$fg0 49.99% 57.13%,
|
||||||
|
transparent 57.13%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// Prompt and command line.
|
// Prompt and command line.
|
||||||
// ========================
|
// ========================
|
||||||
.cmdblock {
|
.cmdblock {
|
||||||
|
|||||||
Reference in New Issue
Block a user