hexo-theme-reimu
Version:
A Hakurei Reimu style Hexo theme
95 lines (79 loc) • 1.5 kB
text/stylus
.tagcloud a {
display: inline-block;
margin: 5px 5px 0 0;
}
[data-theme='dark'] .widget-wrap {
box-shadow: var(--shadow-card);
}
.widget-wrap {
margin: 40px 0 0 0;
background: var(--color-wrap);
border-radius: post-radius;
transition: 0.3s;
}
.widget-wrapper {
transition: 0.3s;
.aos-animate {
transition-property: initial ;
&:hover {
box-shadow: var(--shadow-card-hover);
}
}
}
.widget-title {
text-transform: uppercase;
letter-spacing: 2px;
color: var(--grey-9);
padding: 20px 20px 8px;
}
.widget {
color: var(--grey-7);
padding: 4px 20px 20px;
li {
color: var(--color-link);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
a, span {
color: var(--color-link);
text-decoration: none;
opacity: 0.9;
transition: 0.3s;
&:hover {
opacity: 1;
color: var(--red-0);
}
}
span {
margin-left: 5px;
}
ul, ol, dl {
ul, ol, dl {
margin-left: 16px;
list-style: none;
}
}
li {
margin-top: 4px;
line-height: normal;
&:before {
content: '';
display: inline-block;
width: 5px;
height: 10px;
background: var(--color-h2-after);
vertical-align: middle;
margin-right: 12px;
box-shadow: var(--shadow-red-6-shadow);
opacity: 0.5;
transition: 0.3s;
}
&:hover:before {
width: 5px;
height: 5px;
border-radius: 50%;
opacity: 1;
}
}
}