From da73d14e04844f77568e30f5483afa5d3d632d49 Mon Sep 17 00:00:00 2001 From: Skywt2003 Date: Sun, 29 Aug 2021 21:04:05 +0800 Subject: [PATCH] Style update --- assets/css/argon-design-system.css | 9 +++++---- assets/style.css | 10 +++++----- header.php | 4 ++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/assets/css/argon-design-system.css b/assets/css/argon-design-system.css index 43e356a..b6d55e4 100755 --- a/assets/css/argon-design-system.css +++ b/assets/css/argon-design-system.css @@ -23953,17 +23953,18 @@ pre[class*="language-"] { -moz-hyphens: none; -ms-hyphens: none; hyphens: none; - background: #f5f7ff; - color: #5e6687; + /* background: #f5f7ff; + color: #5e6687; */ border-radius: .25rem; } +/* 虽然直接改这个 Argon 框架里面的东西不太好,但是实在找不到这个优先级问题的处理办法了 QwQ */ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { text-shadow: none; - background: #dfe2f1; + /* background: #dfe2f1; */ } pre[class*="language-"]::selection, @@ -23971,7 +23972,7 @@ pre[class*="language-"] ::selection, code[class*="language-"]::selection, code[class*="language-"] ::selection { text-shadow: none; - background: #dfe2f1; + /* background: #dfe2f1; */ } /* Code blocks */ diff --git a/assets/style.css b/assets/style.css index 318b7a7..73e7c74 100644 --- a/assets/style.css +++ b/assets/style.css @@ -26,7 +26,7 @@ line-height: 1.7; } /* post content style */ - article, article a { +article, article .post-title a { color: #172b4d; } article{ @@ -49,12 +49,13 @@ blockquote:before { line-height: 0; } code, pre { - font-family: consolas, Courier, monospace, sans-serif; - font-size: .9em; + font-family: Consolas,Menlo,Monaco,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Courier New,Courier,monospace; background: #f0f0f0; color: #444; } - +code { + padding:.1em .5em; +} .flex-container { display: flex; height: 100vh; @@ -66,7 +67,6 @@ code, pre { .flex-footer { display: block; - } .friend { diff --git a/header.php b/header.php index d5a341b..6b383bc 100644 --- a/header.php +++ b/header.php @@ -20,7 +20,7 @@ - + @@ -38,7 +38,7 @@ - +