chore: add recent links widget
This commit is contained in:
parent
7443d797a9
commit
56f28f7e3f
22 changed files with 91 additions and 62 deletions
19
src/assets/styles/components/addon-links.css
Normal file
19
src/assets/styles/components/addon-links.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
:root {
|
||||
--grid: repeat(1,minmax(0,1fr));
|
||||
}
|
||||
|
||||
.addon-links__wrapper {
|
||||
display: grid;
|
||||
gap: var(--sizing-sm);
|
||||
grid-template-columns: var(--grid);
|
||||
}
|
||||
|
||||
.addon-links__wrapper h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
:root {
|
||||
--grid: repeat(2,minmax(0,1fr));
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
--grid-vertical: repeat(3,minmax(0,1fr));
|
||||
}
|
||||
|
||||
.now__section--header {
|
||||
h2 {
|
||||
margin: var(--sizing-3xl) 0 var(--sizing-lg);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
.popular-posts h2 {
|
||||
margin: var(--sizing-base) 0;
|
||||
}
|
|
@ -325,12 +325,15 @@ article p:first-of-type {
|
|||
margin-top: var(--sizing-sm);
|
||||
}
|
||||
|
||||
.tag:not(:last-child) {
|
||||
margin-right: var(--sizing-lg);
|
||||
.tag {
|
||||
margin-bottom: var(--sizing-lg);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.tag:not(:last-child) {
|
||||
margin-right: var(--sizing-lg);
|
||||
}
|
||||
|
||||
/* buttons */
|
||||
button {
|
||||
appearance: none;
|
||||
|
@ -464,9 +467,12 @@ li {
|
|||
margin-top: var(--sizing-md);
|
||||
}
|
||||
|
||||
.tag {
|
||||
margin-bottom: var(--sizing-sm);
|
||||
}
|
||||
|
||||
.tag:not(:last-child) {
|
||||
margin-right: var(--sizing-sm);
|
||||
margin-bottom: var(--sizing-sm);
|
||||
}
|
||||
|
||||
footer nav:first-child {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
.four-oh-four__wrapper .image__banner,
|
||||
.four-oh-four__wrapper a {
|
||||
.four-oh-four__wrapper .image__banner {
|
||||
margin-bottom: var(--sizing-base);
|
||||
}
|
|
@ -14,11 +14,15 @@
|
|||
width: var(--sizing-base);
|
||||
}
|
||||
|
||||
.now__section--header {
|
||||
h2 {
|
||||
margin: var(--sizing-3xl) 0 var(--sizing-lg);
|
||||
}
|
||||
|
||||
.now__section--header:first-of-type {
|
||||
h2:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.link__list {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue