From 6a422ed7b2ecf34793979b982b32d28590cd58da Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 29 May 2025 23:57:00 -0500 Subject: font changes + fixes --- css/index.css | 19 ++++++++++++++++--- fonts/OpenSans.woff2 | Bin 0 -> 63728 bytes index.html | 2 ++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 fonts/OpenSans.woff2 diff --git a/css/index.css b/css/index.css index 3b2d987..c007fe2 100644 --- a/css/index.css +++ b/css/index.css @@ -4,9 +4,17 @@ html { } html * { - font-family: "Open Sans", Arial; + font-family: Arial, sans-serif; color: #444; background-color: #F0F0F0; + line-height: 1.4; + letter-spacing: 0.025em; +} + +@media only screen and (max-width: 600px) { + html * { + line-height: 1.3; + } } html svg, @@ -31,13 +39,18 @@ h3 { /* media query for mobile */ @media only screen and (max-width: 600px) { + h1 { + font-size: 35px; + width: 300px; + } + h2 { - font-size: 33px; + font-size: 25px; width: 300px; } h3 { - font-size: 23px; + font-size: 20px; width: 300px; } } diff --git a/fonts/OpenSans.woff2 b/fonts/OpenSans.woff2 new file mode 100644 index 0000000..852f710 Binary files /dev/null and b/fonts/OpenSans.woff2 differ diff --git a/index.html b/index.html index f90951d..06d89ae 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,8 @@ + + -- cgit v1.2.3-70-g09d2