code optimization

This commit is contained in:
Luke 2023-03-11 11:30:38 +01:00 committed by GitHub
parent accd2d3474
commit e8a6d5624f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,6 @@
//Import
@import "base", "mixin", "typography", "layout", "syntax.scss", "custom.scss", "responsive.scss";
/////////////////////////////////////////
/////////////////////////////////////////
/////////////////////////////////////////
@ -16,24 +14,23 @@
/////////////////////////////////////////
//html {
//background-color: #0f0f0f;
////background-color: #f0f0f0;
//background-color: #0f0f0f;
////background-color: #f0f0f0;
//html {
//[>background-color: #0f0f0f;<]
////background-color: #f0f0f0;
//background-color: lightblue;
//[>background-color: #0f0f0f;<]
////background-color: #f0f0f0;
//background-color: lightblue;
//}
////body {
//////background-color: #f0f0f0;
////background-color: #0f0f0f;
//////background-color: #f0f0f0;
////background-color: #0f0f0f;
//body {
//[>background-color: #0f0f0f;<]
////background-color: #f0f0f0;
//background-color: lightblue;
//[>background-color: #0f0f0f;<]
////background-color: #f0f0f0;
//background-color: lightblue;
//}
// Default Style (Dark)
@ -125,12 +122,13 @@ p.by-line-post {
background-color: var(--nav-bg-color);
}
#nav a, #nav-left a {
#nav a,
#nav-left a {
color: var(--nav-text-color);
}
#nav a:hover, #nav-left a:hover {
#nav a:hover,
#nav-left a:hover {
background-color: var(--nav-bg-hover-color);
color: var(--nav-bg-color);
}
@ -142,7 +140,6 @@ p.by-line-post {
#menu.btn-close::before,
#menu.btn-close::after {
background-color: var(--nav-bg-hover-color);
}
.page-item {
@ -151,7 +148,7 @@ p.by-line-post {
}
.pagination a:hover {
background-color: var(--nav-bg-color);;
background-color: var(--nav-bg-color);
}
.footer {
@ -179,7 +176,8 @@ p.by-line-post {
}
#header {
a.rss, a.donate {
a.rss,
a.donate {
display: block;
padding-bottom: 0;
}