diff options
author | TinWoodman92 <chrhodgden@gmail.com> | 2024-01-09 16:37:38 -0600 |
---|---|---|
committer | TinWoodman92 <chrhodgden@gmail.com> | 2024-01-09 16:37:38 -0600 |
commit | 8e29e09ae2ecc50cc940f2432f0c503be2bfa79c (patch) | |
tree | e31c72fc88861897e8dd66ca31cf13ca8062f26a /style.css | |
parent | 9bc8345d90424400a36ab4fcbfbeeb0253747a86 (diff) |
added mobile media query
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 25 |
1 files changed, 16 insertions, 9 deletions
@@ -87,20 +87,20 @@ nav { } ul { - text-indent: -2em; - font-size: 1.25em; + text-indent: -2rem; + font-size: 1.25rem; font-weight: bold; } ul.projects-blog { color: var(--foreground-theme-color); - margin-left: 2em; - font-size: 1em; + margin-left: 2rem; + font-size: 1rem; font-weight: normal; } li { - text-indent: 0em; + text-indent: 0rem; font-size: 1rem; font-weight: normal; } @@ -133,7 +133,14 @@ a:hover { float: right; } -input[type='checkbox'] { - border-color: var(--foreground-accent-color); - background-color: var(--background-accent-color); -}
\ No newline at end of file +@media (max-width: 600px) { + html { + font-size: 1.5rem; + } +} + +@media (min-width: 601px) { + html { + font-size: 1rem; + } +} |