From 0deaee9fa98a7febee730c7b4a7453445301eaee Mon Sep 17 00:00:00 2001 From: NEVSTOP Date: Fri, 3 Jan 2025 11:29:33 +0800 Subject: [PATCH] update css --- _includes/link-previews.html | 3 ++- _sass/_normalize.scss | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_includes/link-previews.html b/_includes/link-previews.html index b9eb370..4cda098 100644 --- a/_includes/link-previews.html +++ b/_includes/link-previews.html @@ -18,6 +18,7 @@ box-shadow: 0 5px 10px rgba(0,0,0,0.1); opacity: 0; transition: opacity 100ms; + overflow: scroll; } #tooltip-wrapper:after { @@ -82,7 +83,7 @@ setTimeout(function() { tooltipWrapper.style.opacity = 1; }, 1) - } + } } else { tooltipContent.innerHTML = linkHistories[event.target.href] tooltipWrapper.style.display = 'block'; diff --git a/_sass/_normalize.scss b/_sass/_normalize.scss index 3a07a44..4aefe94 100644 --- a/_sass/_normalize.scss +++ b/_sass/_normalize.scss @@ -30,8 +30,8 @@ body { */ h1 { - font-size: 2em; - margin: 0.67em 0; + font-size: 1.5em; + margin: 0.5em 0; } /* Grouping content