From 2186c42a9d4218d3bd48e3a823c3d738618667f6 Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Wed, 31 Jul 2019 22:05:05 +0530 Subject: responsive-san pls work --- docs/style.css | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) (limited to 'docs') diff --git a/docs/style.css b/docs/style.css index 4eb28ce..348e832 100644 --- a/docs/style.css +++ b/docs/style.css @@ -25,30 +25,17 @@ body { } html { - font-size: 38px; + font-size: 18px; } .posts { - width: 100%; + width: 50%; } -/* tablets */ -@media only screen and (min-width: 720px) { +/* mobile devices */ +@media only screen and (max-width: 70em) { .posts { - width: 80%; - } - html { - font-size: 18px; - } -} - -/* laptops */ -@media only screen and (min-width: 1080px) { - .posts { - width: 50%; - } - html { - font-size: 18px; + width: 92%; } } -- cgit v1.2.3