2020-08-22 07:20:08 -04:00
|
|
|
.widget {
|
|
|
|
.widget-title {
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: var(--body-text-color);
|
2020-09-03 17:32:28 -04:00
|
|
|
font-weight: bold;
|
2020-08-22 07:20:08 -04:00
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-icon {
|
|
|
|
svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2020-09-03 17:32:28 -04:00
|
|
|
stroke-width: 1.6;
|
2020-08-22 07:20:08 -04:00
|
|
|
color: var(--body-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tag cloud widget */
|
|
|
|
.tagCloud {
|
|
|
|
.tagCloud-tags {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
a {
|
|
|
|
background: var(--card-background);
|
2020-09-09 10:14:30 -04:00
|
|
|
box-shadow: var(--shadow-l1);
|
2020-08-22 07:20:08 -04:00
|
|
|
border-radius: var(--tag-border-radius);
|
|
|
|
padding: 8px 20px;
|
|
|
|
|
|
|
|
color: var(--card-text-color-main);
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-right: 5px;
|
|
|
|
font-size: 1.4rem;
|
2020-09-07 11:28:22 -04:00
|
|
|
transition: box-shadow 0.3s ease;
|
|
|
|
|
|
|
|
&:hover {
|
2020-09-09 10:14:30 -04:00
|
|
|
box-shadow: var(--shadow-l2);
|
2020-09-07 11:28:22 -04:00
|
|
|
}
|
2020-08-22 07:20:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-06 15:14:10 -04:00
|
|
|
/* Archive widget */
|
2020-08-22 07:20:08 -04:00
|
|
|
.widget.archive {
|
|
|
|
.archive-year {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
a {
|
|
|
|
background-color: var(--card-background);
|
|
|
|
padding: 15px 25px;
|
|
|
|
border-radius: var(--card-border-radius);
|
2020-09-09 10:14:30 -04:00
|
|
|
box-shadow: var(--shadow-l1);
|
2020-08-22 07:20:08 -04:00
|
|
|
display: flex;
|
2020-09-07 11:28:22 -04:00
|
|
|
transition: box-shadow 0.3s ease;
|
2020-09-03 05:42:01 -04:00
|
|
|
|
2020-09-07 11:28:22 -04:00
|
|
|
&:hover {
|
2020-09-09 10:14:30 -04:00
|
|
|
box-shadow: var(--shadow-l2);
|
2020-09-07 11:28:22 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $on-desktop-large) {
|
2020-09-03 05:42:01 -04:00
|
|
|
padding: 12px 20px;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
2020-09-07 11:28:22 -04:00
|
|
|
|
2020-08-22 07:20:08 -04:00
|
|
|
span.year {
|
|
|
|
flex: 1;
|
|
|
|
color: var(--card-text-color-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
span.count {
|
|
|
|
color: var(--card-text-color-tertiary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|