From 2a5f2f3912f308ac17cbeddae655b8edfbe568c6 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Wed, 6 Apr 2022 19:02:02 -0400 Subject: [PATCH] feat: minor font fixes --- styles/global.css | 8 ++++++-- styles/notion.css | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/styles/global.css b/styles/global.css index e35d677..bdcbcc5 100644 --- a/styles/global.css +++ b/styles/global.css @@ -11,11 +11,15 @@ body, html { padding: 0; margin: 0; - font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, - Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; + scroll-behavior: smooth; } body { + --notion-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, + 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', + 'Droid Sans', 'Helvetica Neue', 'Noto Sans', sans-serif; + font-family: var(--notion-font); + overflow-x: hidden; } diff --git a/styles/notion.css b/styles/notion.css index 20285f1..112429c 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -96,6 +96,10 @@ filter: brightness(120%); } +.notion-collection-card-body { + padding: 10px; +} + /* only target safari */ @media screen and (-webkit-min-device-pixel-ratio: 0) { _::-webkit-full-page-media,