From 3250fae3f3c9f887f359294dcc43c5367769198d Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 21 Sep 2024 17:32:13 -0300 Subject: [PATCH] Hoist classes to .body { ... } --- src/css/_base.scss | 76 +++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/src/css/_base.scss b/src/css/_base.scss index 17e7c38..1c32ef7 100644 --- a/src/css/_base.scss +++ b/src/css/_base.scss @@ -8,6 +8,44 @@ html { body { height: 100%; margin: 0; + + .root { + height: 100%; + } + + .ltr { + font-family: "Kanit Regular"; + direction: ltr; + } + + .rtl { + font-family: "Cairo Regular", "Arial", "Tahoma", sans-serif; + direction: rtl; + } + + .invisible, .hidden { + display: none; + } + + .outline-0 { + outline: 0; + } + + .scroll-y { + overflow-y: auto; + } + + .font-cairo { + font-family: "Cairo Regular"; + } + + .font-cairo-bold { + font-family: "Cairo Bold"; + } + + .font-amiri { + font-family: "Amiri Quran Regular"; + } } } @@ -28,44 +66,6 @@ body .root .content.theme { scrollbar-color: var(--primary-color) var(--secondary-color); } - .root { - height: 100%; - } - - .ltr { - font-family: "Kanit Regular"; - direction: ltr; - } - - .rtl { - font-family: "Cairo Regular", "Arial", "Tahoma", sans-serif; - direction: rtl; - } - - .invisible, .hidden { - display: none; - } - - .outline-0 { - outline: 0; - } - - .scroll-y { - overflow-y: auto; - } - - .font-cairo { - font-family: "Cairo Regular"; - } - - .font-cairo-bold { - font-family: "Cairo Bold"; - } - - .font-amiri { - font-family: "Amiri Quran Regular"; - } - .color-primary { color: var(--primary-color); }