From 2c53982472bbb9ab3f899cefd313461cbd03053e Mon Sep 17 00:00:00 2001 From: 7Wate Date: Tue, 25 Jan 2022 22:24:53 +0800 Subject: [PATCH] fix(css): some some stylesheet --- module/macro.ftl | 5 +++-- source/css/Redemption.css | 20 +++++++++++++++++--- source/css/base/_base.scss | 4 ++-- source/css/base/_font.scss | 24 ++++++++++++++++-------- source/css/redemption.css.map | 2 +- 5 files changed, 39 insertions(+), 16 deletions(-) diff --git a/module/macro.ftl b/module/macro.ftl index 1aea2ec..f82683b 100644 --- a/module/macro.ftl +++ b/module/macro.ftl @@ -1,6 +1,7 @@ <#macro layout title> - +<#-- --> + @@ -16,7 +17,7 @@ <#-- 自定义样式表 --> - +
diff --git a/source/css/Redemption.css b/source/css/Redemption.css index 2ca9663..d67123f 100644 --- a/source/css/Redemption.css +++ b/source/css/Redemption.css @@ -4,6 +4,20 @@ html { -webkit-font-smoothing: antialiased; font-size: 16px; } +@media (max-width: 870px) { + html { + font-size: 18px; + font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-weight: 500; + } +} +@media (min-width: 870px) and (max-width: 2048px) { + html { + font-size: 16px; + font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-weight: 400; + } +} [data-font=serif] { font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; @@ -70,8 +84,8 @@ main { } @media (max-width: 870px) { main { - width: 90%; - margin-top: 5%; + width: 99%; + margin-top: 1%; padding-bottom: 5%; } } @@ -977,4 +991,4 @@ footer .copyright a:hover { } } -/*# sourceMappingURL=redemption.css.map */ +/*# sourceMappingURL=Redemption.css.map */ diff --git a/source/css/base/_base.scss b/source/css/base/_base.scss index cb57887..a853dcd 100644 --- a/source/css/base/_base.scss +++ b/source/css/base/_base.scss @@ -69,8 +69,8 @@ main { // =========== 移动端 =========== @media (max-width: 870px) { - width: 90%; - margin-top: 5%; + width: 99%; + margin-top: 1%; padding-bottom: 5%; } diff --git a/source/css/base/_font.scss b/source/css/base/_font.scss index 4f821ea..cb9a0f5 100644 --- a/source/css/base/_font.scss +++ b/source/css/base/_font.scss @@ -5,15 +5,23 @@ html { -webkit-font-smoothing: antialiased; font-size: 16px; - // // =========== 移动端 =========== - // @media (max-width: 870px) { - // font-size: 16px; - // } + // =========== 移动端 =========== + @media (max-width: 870px) { + font-size: 18px; + font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + 'Noto Sans', serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', + 'Noto Color Emoji'; + font-weight: 500; + } - // // =========== 桌面端 =========== - // @media (min-width: 870px) and (max-width: 2048px) { - // font-size: 16px; - // } + // =========== 桌面端 =========== + @media (min-width: 870px) and (max-width: 2048px) { + font-size: 16px; + font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', + 'Noto Color Emoji'; + font-weight: 400; + } } // 衬线字体 diff --git a/source/css/redemption.css.map b/source/css/redemption.css.map index be78432..bab86b1 100644 --- a/source/css/redemption.css.map +++ b/source/css/redemption.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["base/_font.scss","base/_base.scss","base/_variables.scss","pages/layout/_header.scss","pages/layout/_footer.scss","pages/layout/_pagenav.scss","pages/layout/_comment.scss","pages/_archives.scss","pages/_category.scss","pages/_index.scss","pages/_journals.scss","pages/_links.scss","pages/_post.scss","pages/_tag.scss"],"names":[],"m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Z;IACI;;EACA;IACI;;EAEA;IACI;;;AAQpB;EACI;IACI;;EACA;IACI;;EACA;IACI;;;AAQhB;EACI;IACI;;EACA;IACI;;EACA;IACI;;;;AChGpB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcQ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAEA;EAEI;;AAEA;EACI;;AXPZ;EWgBI;IACI;;EAIA;IACI;;EAEA;IACI;;;AASpB;EACI;IACI;;EAEA;IACI;IACA;;EAGJ;IACI;IACA;;EAEA;IACI;;;AAOhB;EACI;IACI;;EACA;IACI;;EAEJ;IACI;IACA;;;;AAQZ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAEA;EACI;;AAGJ;EACI;;AAKZ;EACI;EACA;EACA;EACA;EACA;;AXlGJ;EW0GQ;IACI;;EAEA;IACI;;;AAQpB;EAhDJ;IAiDQ;;EAGI;IACI;;;AAKZ;EA1DJ;IA2DQ;;EAII;IACI","file":"redemption.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["base/_font.scss","base/_base.scss","base/_variables.scss","pages/layout/_header.scss","pages/layout/_footer.scss","pages/layout/_pagenav.scss","pages/layout/_comment.scss","pages/_archives.scss","pages/_category.scss","pages/_index.scss","pages/_journals.scss","pages/_links.scss","pages/_post.scss","pages/_tag.scss"],"names":[],"mappings":";AAEA;EACI;EACA;EACA;;AAGA;EANJ;IAOQ;IACA;IAGA;;;AAIJ;EAfJ;IAgBQ;IACA;IAGA;;;;AAKR;EACI;EAGA;;;AAIJ;EACI;EAGA;;;ACnCF;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAIA;EACE;;ACOE;EDDJ;IACE;;EAIA;IACE;;;;AAOR;EACE;EACA;;ACdM;EDYR;IAKI;IACA;;;;AAKJ;EACE;EACA;EACA;EACA;;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;;ACrCM;ED+BR;IAUI;IACA;;;AAIF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EA;IACI;;;AASpB;EACI;IACI;;EAEA;IACI;IACA;;EAGJ;IACI;IACA;;EAEA;IACI;;;AAOhB;EACI;IACI;;EACA;IACI;;EAEJ;IACI;IACA;;;;AAQZ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAEA;EACI;;AAGJ;EACI;;AAKZ;EACI;EACA;EACA;EACA;EACA;;AXlGJ;EW0GQ;IACI;;EAEA;IACI;;;AAQpB;EAhDJ;IAiDQ;;EAGI;IACI;;;AAKZ;EA1DJ;IA2DQ;;EAII;IACI","file":"Redemption.css"} \ No newline at end of file