From 29d9f70f4432a30f35c2043a9b38478c9a3bd594 Mon Sep 17 00:00:00 2001 From: bocharudo Date: Sun, 22 Dec 2024 10:26:02 +0800 Subject: [PATCH] fix font size --- index.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 98169a5..c12f228 100644 --- a/index.html +++ b/index.html @@ -22,6 +22,9 @@ margin: 0; padding: 0; } +html { + font-size: 62.5%; +} body { font-family: Arial, Helvetica, sans-serif; display: flex; @@ -56,6 +59,15 @@ p { footer { margin-top: 2rem; } + +@media only screen and (min-width: 768px) { + h1 { + font-size: 3rem; + } + p { + font-size: 1.5rem; + } +} @@ -98,6 +110,6 @@ footer { \ No newline at end of file -- 2.39.5