From ec689c2ae72a9ee4cd1289d11ea0d33fdb72a006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hozda?= Date: Tue, 6 Oct 2020 12:33:05 +0200 Subject: [PATCH] update line height --- static/main.css | 10 +++++----- static/main.styl | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/main.css b/static/main.css index f0f7ee1..a6b8e88 100644 --- a/static/main.css +++ b/static/main.css @@ -103,7 +103,7 @@ canvas { padding: 1rem 3rem; } .horizontal-menu { - font-size: calc(var(--font-size) / 2); + font-size: calc(var(--font-size) / 1.8); position: absolute; display: flex; bottom: 5vh; @@ -183,7 +183,7 @@ canvas { display: flex; flex-direction: row; align-items: center; - line-height: 1; + line-height: 1.6; margin-bottom: 4vh; margin-right: 2vw; margin-left: 2vw; @@ -196,12 +196,12 @@ canvas { } .number-thing p, .number-thing .down p { - font-size: calc(var(--font-size) / 2); + font-size: calc(var(--font-size) / 1.7); margin-bottom: 0; } .number-thing li, .number-thing .down li { - font-size: calc(var(--font-size) / 2); + font-size: calc(var(--font-size) / 1.7); text-align: justify; } .number-thing ol, @@ -213,7 +213,7 @@ canvas { .number-thing .down ol li { counter-increment: list; list-style-type: none; - font-size: calc(var(--font-size) / 2); + font-size: calc(var(--font-size) / 1.7); position: relative; } .number-thing ol li:before, diff --git a/static/main.styl b/static/main.styl index 69e0bf7..4c7d545 100644 --- a/static/main.styl +++ b/static/main.styl @@ -180,7 +180,7 @@ body > canvas display flex flex-direction row align-items center - line-height 1.4 + line-height 1.6 margin-bottom: 4vh margin-right: 2vw margin-left: 2vw