aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2019-08-12 18:36:26 +0200
committerMichael Buesch <m@bues.ch>2019-08-12 18:36:26 +0200
commit7548110a1d329c26bffa2c5886dfffbe368be7f5 (patch)
tree4b5f4e49219ff401e797b189dc96537d73fd24eb
parent8a1c54beab1cdcf5fe92d45ef7c5e5b3a5daff28 (diff)
downloadcms-7548110a1d329c26bffa2c5886dfffbe368be7f5.tar.xz
cms-7548110a1d329c26bffa2c5886dfffbe368be7f5.zip
example/css: Use relative font sizes
Signed-off-by: Michael Buesch <m@bues.ch>
-rw-r--r--example/cms.css11
1 files 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;
bues.ch cgit interface