aboutsummaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-07-17 16:19:54 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-07-17 16:19:54 +0200
commit889b2f83d6f908d56d907799cab9a73938b58eb6 (patch)
treef56de846a42801548ff5db2b3e6200d0f83e2dc4 /core/css
parent19ba872e9aae98686ad61acd543f9945d8577797 (diff)
downloadnextcloud-server-889b2f83d6f908d56d907799cab9a73938b58eb6.tar.gz
nextcloud-server-889b2f83d6f908d56d907799cab9a73938b58eb6.zip
fix(css): Shrink headlines a bit
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/apps.scss10
-rw-r--r--core/css/styles.scss5
2 files changed, 10 insertions, 5 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index a75e23441ed..6f3ec862ee1 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -51,23 +51,23 @@ h6 {
}
h2 {
- font-size: 30px;
+ font-size: 1.8em;
}
h3 {
- font-size: 26px;
+ font-size: 1.6em;
}
h4 {
- font-size: 23px;
+ font-size: 1.4em;
}
h5 {
- font-size: 20px;
+ font-size: 1.25em;
}
h6 {
- font-size: 17px;
+ font-size: 1.1em;
}
/* do not use italic typeface style, instead lighter color */
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 5c822905d0e..ef85a7964d6 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -6,6 +6,11 @@
@use 'sass:math';
@use 'variables';
+:root {
+ font-size: var(--default-font-size);
+ line-height: var(--default-line-height);
+}
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section, main {
margin: 0;
padding: 0;