Compare commits

...

5 Commits

4 changed files with 39 additions and 13 deletions

View File

@ -29,6 +29,8 @@ a {
font-family: $text-font-family;
font-weight: $text-font-weight;
color: $link-color;
letter-spacing: 0.3px;
margin: 0 1px;
text-decoration: none;
&:focus,
&:hover {

View File

@ -82,28 +82,37 @@
margin-left: auto;
margin-right: auto;
}
p a:link {
font-weight: bold;
font-size: 0.95em;
}
}
.meta-tag {
div.content .meta-tag {
padding: 0 12px;
margin: 3px;
border: 1px solid #eaeaea;
border: 1px solid darken($bg-color, 7%);
border-radius: 1px;
background-color: #ededed;
background-color: darken($bg-color, 5%);
color: #333;
color: $fg-color;
i {
font-size: 0.9em;
}
&--link {
color: $link-color;
font-size: 0.8em;
text-decoration: underline;
&:hover {
opacity: 1;
color: #999;
color: lighten($link-color, 20%);
.icon {
color: $link-color;
}
}
i {
@ -193,7 +202,6 @@
i {
font-size: 1em;
text-align: center;
width: 1.6rem;
margin-left: 0;
margin-right: 0.5rem;
}

View File

@ -1,7 +1,5 @@
@mixin content_dark {
.content {
.list {
ul {
li {
@ -31,16 +29,34 @@
}
}
}
}
.meta-tag {
color: darken($fg-color-dark, 35%);
background-color: lighten($bg-color-dark, 5%);
border: 0;
&--link {
color: $link-color-dark;
&:hover {
opacity: 1;
color: lighten($link-color-dark, 15%);
.icon {
color: $link-color-dark;
}
}
}
}
}
}
body.colorscheme-dark {
@include content_dark()
@include content_dark();
}
body.colorscheme-auto {
@media (prefers-color-scheme: dark) {
@include content_dark()
@include content_dark();
}
}

View File

@ -14,11 +14,11 @@ $bg-color: #fafafa !default;
$fg-color: #212121 !default;
$alt-bg-color: #e0e0e0 !default;
$alt-fg-color: #000 !default;
$link-color: #464f56 !default;
$link-color: #0862da !default;
// Colors dark
$bg-color-dark: #212121 !default;
$fg-color-dark: #dadada !default;
$alt-bg-color-dark: #424242 !default;
$alt-fg-color-dark: #dadada !default;
$link-color-dark: #464f56 !default;
$link-color-dark: #2381ff !default;