Optimize Gemini & highlight style

This commit is contained in:
Mimi 2020-06-23 00:34:00 +08:00
parent ae21b8b8e0
commit e01a2043b7
2 changed files with 2 additions and 25 deletions

View File

@ -32,6 +32,7 @@ pre, code {
code {
@extend $code-inline;
border-radius: 3px;
font-size: $table-font-size;
padding: 2px 4px;
word-wrap();
}
@ -99,7 +100,6 @@ kbd {
}
.code pre {
background: var(--highlight-background);
padding-left: 10px;
width: 100%;
}
@ -120,7 +120,6 @@ pre {
code {
background: none;
font-size: $table-font-size;
padding: 0;
text-shadow: none;
}

View File

@ -19,9 +19,6 @@
// P.S. If u want to change this paddings u may set this variables into `custom_file_path.variable` (in theme _config.yml).
// So, it will 12px in Desktop, 10px in Tablets and 8px in Mobiles for all possible paddings.
// ==================================================
// Read values from NexT config and set they as local variables to use as string variables (in any CSS section).
$use-seo = hexo-config('seo');
// ==================================================
// Desktop layout styles.
@ -82,15 +79,6 @@ $use-seo = hexo-config('seo');
padding: 10px 0 10px;
}
// Footer alignment.
.main {
padding-bottom: initial;
}
.footer {
bottom: auto;
}
// Sub-menu(s).
.sub-menu {
border-bottom: initial;
@ -120,17 +108,7 @@ $use-seo = hexo-config('seo');
}
h3 {
if ($use-seo) {
border-bottom: 1px solid $body-bg-color;
} else {
border-bottom: 1px dotted $body-bg-color;
}
}
h4 {
if ($use-seo) {
border-bottom: 1px dotted $body-bg-color;
}
border-bottom: 1px dotted $body-bg-color;
}
}