From 7772998637bc2da2da2bb95f62dac207b4364735 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Fri, 14 Feb 2025 20:54:31 -0500 Subject: [PATCH] =?UTF-8?q?=E3=80=8CS=E3=80=8DQuotes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.svelte | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index fc1c477..9c9c4fe 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -129,8 +129,8 @@
-

{quotes[quoteIdx][0]}

-

{quotes[quoteIdx][1]}

+
{quotes[quoteIdx][0]}
+
{quotes[quoteIdx][1]}
@@ -164,12 +164,15 @@ .info // color: rgb(136 130 130 / 70%) color: rgb(206 182 160) + display: flex + flex-direction: column + align-items: center h1 font-size: 3rem color: transparent // background-color: rgb(136 130 130 / 70%) - background-color: rgb(187 146 119 / 57%) + background-color: rgb(183 133 101 / 57%) -webkit-background-clip: text background-clip: text // text-shadow: rgba(255, 255, 255, .7) 0 3px 6px @@ -183,10 +186,33 @@ display: flex align-items: center font-size: 1.5rem + width: 100% a display: flex align-items: center + + .quote + font-size: 1.2rem + position: relative + margin-top: 1rem + opacity: 0.7 + width: max-content + + &::before, &::after + font-size: 2rem + margin-right: 0.2rem + position: absolute + + &::before + content: '「' + top: -0.5rem + left: -2.5rem + + &::after + content: '」' + bottom: -0.5rem + right: -2.5rem @media screen and (max-width: 400px) .info