refactor(css): remove duplicate color rules

This commit is contained in:
curben 2019-08-30 18:46:41 +01:00
parent 06c10c36d8
commit 73d7028e36
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 4 additions and 101 deletions

View File

@ -630,33 +630,17 @@ blockquote {
display: none; display: none;
} }
.dark {
color: #e6e6e6;
}
.dark, .dark,
.dark .container, .dark .container,
.dark .footer { .dark .footer {
background-color: #000;
}
.dark a {
color: #e6e6e6; color: #e6e6e6;
background-color: #000;
} }
.dark a:hover { .dark a:hover {
color: #fff; color: #fff;
} }
.dark .home {
color: #e6e6e6;
}
.dark .home h1,
.dark .home strong {
color: #e6e6e6;
}
.dark .home a { .dark .home a {
border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
} }
@ -666,102 +650,21 @@ blockquote {
} }
.dark code, .dark code,
kbd, .dark kbd,
pre, .dark pre,
samp { .dark samp {
font-size: 0.9em; font-size: 0.9em;
background-color: #333; background-color: #333;
} }
.dark .archive-container .header .main-nav-link,
.dark .article .header .main-nav-link,
.dark .category-container .header .main-nav-link,
.dark .tag-container .header .main-nav-link {
color: #e6e6e6;
}
.dark .archive-container .header .main-nav-link:hover,
.dark .article .header .main-nav-link:hover,
.dark .category-container .header .main-nav-link:hover,
.dark .tag-container .header .main-nav-link:hover {
color: #fff;
}
.dark .archive-container .article-nav,
.dark .archive-container .page-nav,
.dark .article .article-nav,
.dark .article .page-nav,
.dark .category-container .article-nav,
.dark .category-container .page-nav,
.dark .tag-container .article-nav,
.dark .tag-container .page-nav {
color: #e6e6e6;
}
.dark .archive-container .article-nav a,
.dark .archive-container .page-nav a,
.dark .article .article-nav a,
.dark .article .page-nav a,
.dark .category-container .article-nav a,
.dark .category-container .page-nav a,
.dark .tag-container .article-nav a,
.dark .tag-container .page-nav a {
color: #e6e6e6;
}
.dark .archive-container .article-nav a:hover,
.dark .archive-container .page-nav a:hover,
.dark .article .article-nav a:hover,
.dark .article .page-nav a:hover,
.dark .category-container .article-nav a:hover,
.dark .category-container .page-nav a:hover,
.dark .tag-container .article-nav a:hover,
.dark .tag-container .page-nav a:hover {
color: #fff;
}
.dark .archive-container .article-entry blockquote footer strong,
.dark .archive-container .article-meta a,
.dark .article .article-entry blockquote footer strong,
.dark .article .article-meta a,
.dark .category-container .article-entry blockquote footer strong,
.dark .category-container .article-meta a,
.dark .tag-container .article-entry blockquote footer strong,
.dark .tag-container .article-meta a {
color: #e6e6e6;
}
.dark blockquote {
color: #e6e6e6;
}
.dark b,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark strong {
color: #e6e6e6;
}
.dark em,
.dark caption,
.dark legend {
color: #e6e6e6;
}
.dark table caption, .dark table caption,
.dark table td, .dark table td,
.dark td { .dark td {
border: 1px solid #ddd; border: 1px solid #ddd;
color: #e6e6e6;
} }
.dark .article-entry .highlight, .dark .article-entry .highlight,
.dark .article-entry pre { .dark .article-entry pre {
color: #e6e6e6;
background-color: #333; background-color: #333;
} }