From 440899f085c441a8d8ec0c207a8e410a90c120e9 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Mon, 27 Apr 2020 11:40:20 +0300 Subject: [PATCH 1/2] refactor(v2): make better typography --- packages/core/styles/common/variables.css | 2 +- packages/core/styles/content/list.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/styles/common/variables.css b/packages/core/styles/common/variables.css index 94f45036..991ab514 100644 --- a/packages/core/styles/common/variables.css +++ b/packages/core/styles/common/variables.css @@ -211,7 +211,7 @@ 'Segoe UI Emoji', 'Segoe UI Symbol'; --ifm-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; - --ifm-font-size-base: 16px; + --ifm-font-size-base: 100%; --ifm-font-weight-light: 300; --ifm-font-weight-normal: 400; diff --git a/packages/core/styles/content/list.css b/packages/core/styles/content/list.css index bd8bf688..d194495d 100644 --- a/packages/core/styles/content/list.css +++ b/packages/core/styles/content/list.css @@ -1,6 +1,6 @@ :root { --ifm-list-left-padding: 2rem; - --ifm-list-margin: 1rem; + --ifm-list-margin: var(--ifm-leading); --ifm-list-item-margin: 0.25rem; --ifm-list-paragraph-margin: 1rem; } From 856ef5ff72fe7ebf13d15ef400745847bab5cfbb Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Sun, 17 May 2020 16:54:52 +0800 Subject: [PATCH 2/2] Update list.css --- packages/core/styles/content/list.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/styles/content/list.css b/packages/core/styles/content/list.css index d194495d..bd8bf688 100644 --- a/packages/core/styles/content/list.css +++ b/packages/core/styles/content/list.css @@ -1,6 +1,6 @@ :root { --ifm-list-left-padding: 2rem; - --ifm-list-margin: var(--ifm-leading); + --ifm-list-margin: 1rem; --ifm-list-item-margin: 0.25rem; --ifm-list-paragraph-margin: 1rem; }