From adc0c47066fcf84309ee83b43fe0f6ab95cca6f2 Mon Sep 17 00:00:00 2001 From: Hozefa Patel <136026095+hoz-efa@users.noreply.github.com> Date: Sat, 28 Sep 2024 00:31:53 -0400 Subject: [PATCH] Update style.css --- style.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index 70c2d39..0f81382 100644 --- a/style.css +++ b/style.css @@ -35,7 +35,7 @@ body { background-color: var(--background-color); color: var(--text-color); transition: background-color 0.3s ease, color 0.3s ease; - font-size: 16px; + font-size: 16px; /* Ensure font size is at least 16px */ line-height: 1.6; min-height: 100vh; display: flex; @@ -379,6 +379,7 @@ body { border-radius: 5px; background-color: transparent; color: var(--text-color); + font-size: 16px; /* Ensure input font size is at least 16px */ } .contact-form input::placeholder, @@ -393,6 +394,7 @@ body { border: none; border-radius: 5px; cursor: pointer; + font-size: 16px; } .contact-form button:hover { @@ -542,9 +544,10 @@ body.modal-active > *:not(.modal):not(.modal-overlay) { } @media (max-width: 768px) { - body { + /* Removed font-size adjustment to keep font-size at least 16px */ + /* body { font-size: 14px; - } + } */ .name { font-size: 1.3rem; @@ -553,7 +556,7 @@ body.modal-active > *:not(.modal):not(.modal-overlay) { .job-title, .location, .bio { - font-size: 0.85rem; + font-size: 0.9rem; } .timeline-content h3 { @@ -562,7 +565,7 @@ body.modal-active > *:not(.modal):not(.modal-overlay) { .timeline-content p, .skills-category ul li { - font-size: 0.85rem; + font-size: 0.9rem; } .top-nav {