From 9fb9667dbaa49eb6aacc7646130560bd2cc8e90c Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Wed, 16 Dec 2020 01:36:00 +0100 Subject: [PATCH] fix base css --- src/res/css/uwui-base.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/res/css/uwui-base.scss b/src/res/css/uwui-base.scss index fe555df..37d281f 100644 --- a/src/res/css/uwui-base.scss +++ b/src/res/css/uwui-base.scss @@ -17,6 +17,7 @@ height: 100%; top: 0; left: 0; + font-size: 16px; // Ensure we're display:block display: block; @@ -24,4 +25,23 @@ // we are click-through by default: pointer-events: none; + // defaults for some common elements: + p,h1,h2,h3,h4,h5,h6 { + display: block; + } + h1,h2,h3,h4,h5,h6,b { + font-weight: bold; + } + h1 { + font-size: 2em; + margin: .67em 0; + } + h2 { + font-size: 1.69em; + margin: .75em 0; + } + h3: { + font-size: 1.3em; + margin: .83em 0; + } } \ No newline at end of file