77 lines
1.2 KiB
SCSS
77 lines
1.2 KiB
SCSS
.primary-color {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.draft-label {
|
|
color: var(--hover-color);
|
|
text-decoration: none;
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
margin-left: 6px;
|
|
background-color: var(--primary-color);
|
|
}
|
|
|
|
::selection {
|
|
background: var(--primary-color);
|
|
color: var(--hover-color);
|
|
}
|
|
|
|
p {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
hr {
|
|
border: 0;
|
|
border-top: 3px solid var(--border-color);
|
|
margin: 1em 0;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 3px solid var(--border-color);
|
|
color: var(--text-1);
|
|
margin: 0;
|
|
padding-left: 1em;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
position: relative;
|
|
transition: all .2s ease-in;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--hover-color);
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
a::after {
|
|
content: "";
|
|
display: inline-block;
|
|
position: absolute;
|
|
z-index: -1;
|
|
bottom: -3px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
background-color: var(--primary-color);
|
|
transition: all .2s ease-in;
|
|
}
|
|
|
|
a:hover::after {
|
|
height: 100%;
|
|
transform: translateY(-3px);
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
time {
|
|
color: var(--text-1);
|
|
}
|
|
|
|
/* Remove post list padding */
|
|
@media screen and (max-width: 600px) {
|
|
.list>ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
} |