diff options
author | Parker <contact@pkrm.dev> | 2025-05-29 23:57:00 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2025-05-29 23:57:00 -0500 |
commit | 6a422ed7b2ecf34793979b982b32d28590cd58da (patch) | |
tree | 19ba832ddbcdd725716b76eb4a96da25c47ac8fd | |
parent | 3397a67763974515fb0aa9e0ea3842a836578124 (diff) |
font changes + fixes
-rw-r--r-- | css/index.css | 19 | ||||
-rw-r--r-- | fonts/OpenSans.woff2 | bin | 0 -> 63728 bytes | |||
-rw-r--r-- | index.html | 2 |
3 files changed, 18 insertions, 3 deletions
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 Binary files differnew file mode 100644 index 0000000..852f710 --- /dev/null +++ b/fonts/OpenSans.woff2 @@ -1,6 +1,8 @@ <!DOCTYPE html> <html lang="en"> <head> + <link rel="preload" href="/fonts/OpenSans.woff2" as="font" type="font/woff2" crossorigin> + <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Add .onion link --> |