From 7548110a1d329c26bffa2c5886dfffbe368be7f5 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Mon, 12 Aug 2019 18:36:26 +0200 Subject: example/css: Use relative font sizes Signed-off-by: Michael Buesch --- example/cms.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/example/cms.css b/example/cms.css index 0d4657b..edda734 100644 --- a/example/cms.css +++ b/example/cms.css @@ -10,7 +10,6 @@ body { background-image: url(images/background_paper.png); background-repeat: repeat; font-family: sans-serif; - font-size: 12pt; border-radius: 1px; @@ -80,7 +79,7 @@ h1 a:hover, h2 a:hover, h3 a:hover { width: 100%; margin: 0px 20px 0px 20px; - font-size: 21pt; + font-size: 1.75rem; font-weight: bold; } @@ -92,7 +91,7 @@ h1 a:hover, h2 a:hover, h3 a:hover { display: flex; flex-direction: row; - font-size: 13pt; + font-size: 1.1rem; text-align: left; } @@ -169,7 +168,7 @@ h1 a:hover, h2 a:hover, h3 a:hover { z-index: 210; padding: 3px 5px; margin: 0px; - font-size: 11pt; + font-size: 1.0rem; border-top-right-radius: 15px; border-bottom-right-radius: 15px; @@ -212,7 +211,7 @@ h1 a:hover, h2 a:hover, h3 a:hover { float: left; padding: 3px 0px 3px 0px; margin: 0px; - font-size: 13.5pt; + font-size: 1.0rem; } .navbar .navgroups .navhome a { @@ -263,7 +262,7 @@ h1 a:hover, h2 a:hover, h3 a:hover { background: #ebebff; padding: 3px 5px; margin: 0px; - font-size: 11pt; + font-size: 1.0rem; border-radius: 15px; border: solid #cbcbff; -- cgit v1.2.3