feat: add articles section

This commit is contained in:
Alexis Fourmaux 2025-06-03 00:16:02 +02:00
parent 7d867a68a0
commit 1131638158
9 changed files with 67 additions and 24 deletions

View file

@ -8,14 +8,14 @@ h3,
h4,
h5,
h6 {
&>a {
&>a.zola-anchor {
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.5s linear;
}
&:hover {
&>a {
&>a.zola-anchor {
visibility: visible;
opacity: 1;
}

34
sass/parts/_articles.scss Normal file
View file

@ -0,0 +1,34 @@
ul.articles {
list-style-type: none;
padding-left: 0;
li {
margin-top: 3rem;
margin-bottom: 3rem;
}
.title {
margin: 0;
&>a {
color: var(--text);
text-decoration: none;
&:visited {
color: var(--lavender);
}
&:hover {
color: var(--sky);
}
}
}
.date {
color: var(--subtext0);
}
a.read-more {
color: var(--overlay1);
}
}