From 20ee60da051a91ebab323a56bbafba9c83d82e8b Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 17 Oct 2024 00:59:11 +0000 Subject: [PATCH] Change CSS font-size units from px to rem in wiki_syntax.css (#2499). git-svn-id: https://svn.redmine.org/redmine/trunk@23136 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/wiki_syntax.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/wiki_syntax.css b/app/assets/stylesheets/wiki_syntax.css index c1410578b..27ee3d198 100644 --- a/app/assets/stylesheets/wiki_syntax.css +++ b/app/assets/stylesheets/wiki_syntax.css @@ -16,8 +16,8 @@ font-display: swap; } -h1 { font-family: "Noto Sans", sans-serif; font-size: 14px; text-align: center; color: #444; } -body { font-family: "Noto Sans", sans-serif; font-size: 12px; color: #444; } +h1 { font-family: "Noto Sans", sans-serif; font-size: 0.875rem; text-align: center; color: #444; } +body { font-family: "Noto Sans", sans-serif; font-size: 0.75rem; color: #444; } pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; } table th { padding-top: 1em; } table th { @@ -34,7 +34,7 @@ table th { &:before { content: "pre"; - font-size: 10px; + font-size: 0.625rem; color: #666; } }