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