feat: dark mode

This commit is contained in:
2020-02-07 12:57:54 +09:00
parent 9b826fde5f
commit 0f7465677c
3 changed files with 43 additions and 19 deletions

View File

@@ -14,15 +14,15 @@
.article-list__item__excerpt {
margin-top: 5px;
font-size: 20px;
color: #989898;
color: var(--tone);
line-height: 1.6em;
word-break: break-all;
}
a.article-list__item__button {
border: 1px solid #989898;
border: 1px solid var(--tone);
border-radius: 3px;
color: #989898;
color: var(--tone);
font-family: "Open Sans", sans-serif;
font-size: 14px;
display: inline-block;
@@ -31,8 +31,8 @@ a.article-list__item__button {
text-transform: uppercase;
&:hover {
background-color: #989898;
color: #fff;
background-color: var(--tone);
color: var(--background);
}
@media screen and (max-width: $break-small) {
@@ -42,8 +42,8 @@ a.article-list__item__button {
padding: 15px;
&:hover {
background-color: #fff;
color: #989898;
background-color: var(--background);
color: var(--tone);
}
}
}
@@ -83,12 +83,12 @@ a.article-list__item__button {
}
.article__pubdate {
color: #989898;
color: var(--tone);
font-size: 14px;
font-weight: normal;
font-family: sans-serif;
margin-bottom: 10px;
border: 1px solid #989898;
border: 1px solid var(--tone);
display: inline-block;
padding: 5px 20px;
@@ -179,7 +179,7 @@ a.article-list__item__button {
}
blockquote {
border-left: 5px solid red;
border-left: 5px solid var(--accent);
padding-left: 20px;
margin: 0;
}
@@ -207,8 +207,8 @@ a.article-list__item__button {
margin: 10px 0;
padding: 20px;
display: block;
background: black;
color: white;
background: var(--text);
color: var(--background);
text-align: center;
border-radius: 2px;
}