From dbbc672c67aa5ac0a915d22af5cf44c4e7011aae Mon Sep 17 00:00:00 2001
From: Mara-Li <mara-li@outlook.fr>
Date: Sun, 04 Feb 2024 03:55:24 +0000
Subject: [PATCH] feat: Adding support for i18n (closes #462) (#738)
---
quartz/styles/base.scss | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 68ee111..33d6267 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -4,7 +4,6 @@
html {
scroll-behavior: smooth;
- -webkit-text-size-adjust: none;
text-size-adjust: none;
overflow-x: hidden;
width: 100vw;
@@ -27,7 +26,7 @@
}
::selection {
- background: color-mix(in srgb, var(--tertiary) 75%, transparent);
+ background: color-mix(in srgb, var(--tertiary) 60%, rgba(255, 255, 255, 0));
color: var(--darkgray);
}
@@ -55,11 +54,10 @@
}
a {
- font-weight: 600;
+ font-weight: $boldWeight;
text-decoration: none;
transition: color 0.2s ease;
color: var(--secondary);
- display: inline-block;
&:hover {
color: var(--tertiary) !important;
@@ -70,6 +68,7 @@
background-color: var(--highlight);
padding: 0 0.1rem;
border-radius: 5px;
+ line-height: 1.4rem;
&:has(> img) {
background-color: none;
@@ -172,9 +171,11 @@
& .sidebar.right {
right: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
+ flex-wrap: wrap;
& > * {
@media all and (max-width: $fullPageWidth) {
flex: 1;
+ min-width: 140px;
}
}
}
@@ -277,7 +278,6 @@
opacity: 0;
transition: opacity 0.2s ease;
transform: translateY(-0.1rem);
- display: inline-block;
font-family: var(--codeFont);
user-select: none;
}
@@ -356,6 +356,7 @@
counter-increment: line 0;
display: grid;
padding: 0.5rem 0;
+ overflow-x: scroll;
& [data-highlighted-chars] {
background-color: var(--highlight);
--
Gitblit v1.10.0