feat: add articles section

This commit is contained in:
Ungol 2025-12-23 22:27:52 +01:00
parent 6aa8bdc754
commit 43c2e0853b
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);
}
}