mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Optimize Gemini & highlight style
This commit is contained in:
parent
ae21b8b8e0
commit
e01a2043b7
@ -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;
|
||||
}
|
||||
|
||||
@ -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,20 +108,10 @@ $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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ==================================================
|
||||
// > 768px & < 991px
|
||||
// ==================================================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user