feat: Change article list on homepage to be simply date and title
This commit is contained in:
parent
1333b9cbf2
commit
85cad8793a
4 changed files with 53 additions and 2 deletions
37
sass/parts/_articles-index.scss
Normal file
37
sass/parts/_articles-index.scss
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
ul.articles-index {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
|
||||
li {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin: 0;
|
||||
|
||||
&>a {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
|
||||
&:visited {
|
||||
color: var(--lavender);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: var(--sky);
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "-";
|
||||
margin-left: .5rem;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.date {
|
||||
color: var(--subtext0);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue