From 0e75fb2e6e15a0b3723a4305ae10ac42b012acff Mon Sep 17 00:00:00 2001 From: eric Date: Sun, 8 Mar 2026 11:47:09 -0500 Subject: [PATCH] 's' --- app/[locale]/ebook/ebook.module.css | 36 ++++++++++++++--------------- app/components/Header.tsx | 29 +++++++++++------------ app/globals.css | 2 ++ app/layout.tsx | 8 ++++++- 4 files changed, 40 insertions(+), 35 deletions(-) diff --git a/app/[locale]/ebook/ebook.module.css b/app/[locale]/ebook/ebook.module.css index f472704..13bd6dc 100644 --- a/app/[locale]/ebook/ebook.module.css +++ b/app/[locale]/ebook/ebook.module.css @@ -47,7 +47,7 @@ display: flex; align-items: center; justify-content: center; - font-size: 32px; + font-size: 16px; font-weight: 600; color: #1a1a2e; letter-spacing: 2px; @@ -155,7 +155,7 @@ } .markdownBody { - font-size: 32px !important; + font-size: 16px !important; line-height: 1.85 !important; color: #2c3e50 !important; word-wrap: break-word; @@ -163,10 +163,10 @@ } .markdownBody h1 { - font-size: 48px !important; + font-size: 24px !important; font-weight: 800; color: #1a1a2e; - margin: 56px 0 20px; + margin: 28px 0 10px; padding-bottom: 0; border-bottom: none; line-height: 1.3; @@ -175,42 +175,42 @@ .markdownBody h1::after { content: ""; display: block; - width: 80px; - height: 6px; + width: 40px; + height: 3px; background: linear-gradient(90deg, #4facfe, #00f2fe); border-radius: 3px; - margin-top: 16px; + margin-top: 8px; } .markdownBody h2 { - font-size: 42px !important; + font-size: 21px !important; font-weight: 700; color: #2c3e50; - margin: 44px 0 18px; + margin: 22px 0 9px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; line-height: 1.3; } .markdownBody h3 { - font-size: 36px !important; + font-size: 18px !important; font-weight: 600; color: #34495e; - margin: 36px 0 14px; + margin: 18px 0 7px; } .markdownBody h4, .markdownBody h5, .markdownBody h6 { - font-size: 32px !important; + font-size: 16px !important; font-weight: 600; color: #4a5568; - margin: 28px 0 12px; + margin: 14px 0 6px; } .markdownBody p { - font-size: 32px !important; - margin-bottom: 20px; + font-size: 16px !important; + margin-bottom: 10px; line-height: 1.9; } @@ -257,7 +257,7 @@ .markdownBody pre code { font-family: "SF Mono", "Fira Code", Menlo, Monaco, Consolas, monospace; - font-size: 26px !important; + font-size: 13px !important; line-height: 1.6; color: #e2e8f0; background: none !important; @@ -266,8 +266,8 @@ .markdownBody code { font-family: "SF Mono", "Fira Code", Menlo, Monaco, Consolas, monospace; - font-size: 28px !important; - padding: 4px 10px; + font-size: 14px !important; + padding: 2px 6px; background: #f1f5f9; color: #e53e3e; border-radius: 6px; diff --git a/app/components/Header.tsx b/app/components/Header.tsx index baf425c..1656081 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -34,15 +34,14 @@ export default function Header() { return (
-
-
- +
+ 🌍 {t("siteName")} {t("siteNameShort")} @@ -67,7 +66,7 @@ export default function Header() { -
+
{userEmail ? (
@@ -89,16 +88,9 @@ export default function Header() { )} - - {t("explore")} - - + + {t("explore")} +
-
{mobileOpen && ( -
-