Lighten link color in dark mode (Fix #164)

This commit is contained in:
Rinki Agarwal 2019-10-01 15:11:00 +05:30
parent 6784ae592a
commit 534ae81268
3 changed files with 40 additions and 20 deletions

28
dist/mini-dark.css vendored
View file

@ -22,8 +22,8 @@
--universal-margin: 0.5rem; --universal-margin: 0.5rem;
--universal-padding: 0.5rem; --universal-padding: 0.5rem;
--universal-border-radius: 0.125rem; --universal-border-radius: 0.125rem;
--a-link-color: #0277bd; --a-link-color: #65A0C7;
--a-visited-color: #01579b; --a-visited-color: #3985B7;
} }
html { html {
@ -1074,6 +1074,10 @@ header.row {
box-sizing: content-box; box-sizing: content-box;
} }
header.row .logo {
line-height: 1;
}
header .logo { header .logo {
color: var(--header-fore-color); color: var(--header-fore-color);
font-size: 1.75rem; font-size: 1.75rem;
@ -1374,6 +1378,22 @@ table:not(.horizontal) tbody tr:first-child td {
border-top: 0; border-top: 0;
} }
table:not(.horizontal) thead tr:first-child th:first-child {
border-top-left-radius: var(--universal-border-radius);
}
table:not(.horizontal) thead tr:first-child th:last-child {
border-top-right-radius: var(--universal-border-radius);
}
table:not(.horizontal) tbody tr:last-child td:first-child {
border-bottom-left-radius: var(--universal-border-radius);
}
table:not(.horizontal) tbody tr:last-child td:last-child {
border-bottom-right-radius: var(--universal-border-radius);
}
table.horizontal { table.horizontal {
border: 0; border: 0;
} }
@ -1608,11 +1628,11 @@ mark.inline-block {
} }
.tooltip:not(.bottom):before { .tooltip:not(.bottom):before {
border-top-color: #fafafa; border-top-color: var(--tooltip-back-color);
} }
.tooltip.bottom:before { .tooltip.bottom:before {
border-bottom-color: #fafafa; border-bottom-color: var(--tooltip-back-color);
} }
.tooltip:after { .tooltip:after {

File diff suppressed because one or more lines are too long

View file

@ -34,8 +34,8 @@ $blockquote-cite-size: 0.75em; // Font size for the [cite] of <blockquote>
$code-font-size: 0.85em; // Font size for <code>, <kbd> $code-font-size: 0.85em; // Font size for <code>, <kbd>
$sup-top: -0.5em; // <sup> top $sup-top: -0.5em; // <sup> top
$sub-bottom: -0.25em; // <sub> bottom $sub-bottom: -0.25em; // <sub> bottom
$a-link-color: #0277bd; // Color for <a>:link $a-link-color: #65A0C7; // Color for <a>:link
$a-visited-color: #01579b; // Color for <a>:visited $a-visited-color: #3985B7; // Color for <a>:visited
$bold-font-weight: 700; // Font weight for <b> and <strong> $bold-font-weight: 700; // Font weight for <b> and <strong>
$mobile-breakpoint: 768px; // Breakpoint between small and medium screens (px) $mobile-breakpoint: 768px; // Breakpoint between small and medium screens (px)
$large-screen-breakpoint: 1280px; // Breakpoint between medium and large screens (px) $large-screen-breakpoint: 1280px; // Breakpoint between medium and large screens (px)