From 94ce0883e7fbf38252377af2f144c971a2ff591b Mon Sep 17 00:00:00 2001
From: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:28:06 +0000
Subject: [PATCH] style: integrate tertiary color to text-select (#413)

---
 quartz/styles/base.scss |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index b5e6b27..aa7fce4 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -27,6 +27,11 @@
   border-radius: 5px;
 }
 
+::selection {
+  background: color-mix(in srgb, var(--tertiary) 75%, transparent);
+  color: var(--darkgray)
+}
+
 p,
 ul,
 text,
@@ -45,7 +50,6 @@
 }
 
 .math {
-  font-size: 1.1rem;
   &.math-display {
     text-align: center;
   }
@@ -321,7 +325,6 @@
   border-radius: 5px;
   overflow-x: auto;
   border: 1px solid var(--lightgray);
-  position: relative;
 
   &:has(> code.mermaid) {
     border: none;
@@ -444,7 +447,7 @@
 ul.overflow,
 ol.overflow {
   height: 300px;
-  overflow-y: scroll;
+  overflow-y: auto;
 
   // clearfix
   content: "";

--
Gitblit v1.10.0