From d6eca764d60623a03d3119506db914a8190e0ac9 Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Sun, 31 May 2020 00:34:09 +1000 Subject: [PATCH] missing @import statement: why do i always do these things --- README.md | 1 + docs/index.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e100c9e..6267e53 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,7 @@ css below will work for every instance of the element, but if you wish to hide o **styles must be added to the top of the `user.css` file, so that nothing (other than comments) is above them @import statement** ```css +@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Oxygen&family=Roboto+Slab:wght@300&display=swap'); .notion-app-inner { font-family: 'Oxygen', sans-serif !important; } diff --git a/docs/index.html b/docs/index.html index 8cfecc1..f37a7c6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -163,7 +163,8 @@ changes will be applied instantly on notion reload custom fonts

styles must be added to the top of the user.css file, so that nothing (other than comments) is above them @import statement

-
.notion-app-inner {
+
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Oxygen&family=Roboto+Slab:wght@300&display=swap');
+.notion-app-inner {
   font-family: 'Oxygen', sans-serif !important;
 }
 [style*='monospace;'] {