Previous version made GPDR-friendly
This commit is contained in:
43
src/scss/components/_posts.scss
Normal file
43
src/scss/components/_posts.scss
Normal file
@@ -0,0 +1,43 @@
|
||||
.posts {
|
||||
.wrapper:first-child {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.post-filter {
|
||||
align-self: flex-end;
|
||||
margin-bottom: 2rem;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
|
||||
+ li {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
a {
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.active a {
|
||||
text-decoration: underline;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.posts {
|
||||
h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.post-filter {
|
||||
align-self: flex-start;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user