Styled the categories on the site
This commit is contained in:
parent
f45bdcd83c
commit
d9aec4af2c
16 changed files with 176 additions and 59 deletions
55
layouts/simplecss/static/style.css
Normal file
55
layouts/simplecss/static/style.css
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
.h-entry {
|
||||
margin-block-start: 1.5rem;
|
||||
margin-block-end: 2.5rem;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.post-meta a {
|
||||
color: var(--text-light);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.post-categories {
|
||||
display: inline-flex;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.post-categories a:before {
|
||||
content: "#";
|
||||
}
|
||||
|
||||
/* Category list */
|
||||
|
||||
ul.category-list {
|
||||
list-style: none;
|
||||
padding-inline-start: 0;
|
||||
}
|
||||
|
||||
ul.category-list li {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
justify-content: start;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
ul.category-list span.category-list-name {
|
||||
min-width: 15vw;
|
||||
}
|
||||
|
||||
/* Category single */
|
||||
|
||||
.category-description {
|
||||
margin-block-start: 1.5rem;
|
||||
margin-block-end: 2.5rem;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue