From ca84da5b31fa00ca6c729a9b500efeb28f90b41b Mon Sep 17 00:00:00 2001
From: Nikola Georgiev <42315052+nikolageorgiev2000@users.noreply.github.com>
Date: Mon, 12 Sep 2022 00:05:14 +0000
Subject: [PATCH] feat: Hide full path to file in Wikilinks by default (#195)
---
assets/styles/base.scss | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/assets/styles/base.scss b/assets/styles/base.scss
index f7ad909..5eaf6c4 100644
--- a/assets/styles/base.scss
+++ b/assets/styles/base.scss
@@ -10,11 +10,14 @@
html {
scroll-behavior: smooth;
&:lang(ar) {
- & p, & h1, & h2, & h3, article {
+ & p, & h1, & h2, & h3, article, header {
direction: rtl;
text-align: right;
}
}
+ & footer > p {
+ text-align: center !important;
+ }
}
.singlePage {
@@ -224,7 +227,7 @@
& > li {
display: inline-block;
- margin: 0.4em 0;
+ margin: 0.4em 0.2em;
}
& > li > a {
@@ -592,9 +595,13 @@
font-size: 0.8rem;
}
+ & > p {
+ margin: 0;
+ padding: 0.5rem 0;
+ }
+
& > p, & > a {
font-size: 1rem;
- margin: 0.7rem 0;
font-weight: 400;
user-select: none;
}
--
Gitblit v1.10.0