aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-05-29 23:57:00 -0500
committerParker <contact@pkrm.dev>2025-05-29 23:57:00 -0500
commit6a422ed7b2ecf34793979b982b32d28590cd58da (patch)
tree19ba832ddbcdd725716b76eb4a96da25c47ac8fd
parent3397a67763974515fb0aa9e0ea3842a836578124 (diff)
font changes + fixes
-rw-r--r--css/index.css19
-rw-r--r--fonts/OpenSans.woff2bin0 -> 63728 bytes
-rw-r--r--index.html2
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
new file mode 100644
index 0000000..852f710
--- /dev/null
+++ b/fonts/OpenSans.woff2
Binary files differ
diff --git a/index.html b/index.html
index f90951d..06d89ae 100644
--- a/index.html
+++ b/index.html
@@ -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 -->