From f1087bb9ef23c8169a9dfe667cdabfc90b7ac278 Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Tue, 30 Jul 2019 14:52:32 +0530 Subject: responsive fonts toO! --- docs/style.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/style.css b/docs/style.css index c303fa9..9288824 100644 --- a/docs/style.css +++ b/docs/style.css @@ -11,12 +11,15 @@ body { font-family: sans; background-color: var(--white); color: var(--black); - font-size: 18px; padding: 0; padding-top: 2rem; text-align: center; } +html { + font-size: 38px; +} + .posts { width: 100%; } @@ -25,6 +28,9 @@ body { .posts { width: 60%; } + html { + font-size: 18px; + } } .posts { @@ -67,7 +73,7 @@ hr { margin:0 auto; color: var(--white); text-align: center; - font-size: 120px; + font-size: 6rem; font-family: 'Iosevka Term', sans-serif; text-shadow: 0.25rem 0rem var(--cyan), -0.25rem 0rem var(--pink); line-height: 8.5rem; @@ -96,10 +102,11 @@ a:hover, a:active { text-decoration: none; color: var(--light-black); text-shadow: none; + font-size: 0.8rem; } .post-text { - font-size: 14px; + font-size: 0.8rem; } pre, code { -- cgit v1.2.3