From fbadd49d158ea63caa5abb01364f56011942adfe Mon Sep 17 00:00:00 2001 From: bendtherules Date: Fri, 16 Oct 2020 12:25:04 +0530 Subject: [PATCH] css - Make font-width larger only on desktop --- src/css/custom.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/css/custom.css b/src/css/custom.css index 7abdbe2..5ed4a52 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -7,7 +7,6 @@ /* You can override the default Infima variables here. */ :root { - --ifm-font-size-base: 106.25%; --ifm-color-primary: #25c2a0; --ifm-color-primary-dark: rgb(33, 175, 144); --ifm-color-primary-darker: rgb(31, 165, 136); @@ -18,6 +17,12 @@ --ifm-code-font-size: 95%; } +@media screen and (min-width: 1024px) { + :root { + --ifm-font-size-base: 106.25%; + } +} + .docusaurus-highlight-code-line { background-color: rgb(72, 77, 91); display: block;