From c2c224e3b190cd46cdecaa7ffc30bb602a7cbcd9 Mon Sep 17 00:00:00 2001 From: metastable-void Date: Thu, 2 May 2024 06:22:28 +0900 Subject: [PATCH] css update --- _sass/main.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/_sass/main.scss b/_sass/main.scss index d196514..ffe084e 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -72,6 +72,7 @@ h2 { background-color: #e1f0dd; background-image: url("../../assets/img/bg-1.svg"); background-size: cover; + padding: 1rem; } #top-bar { @@ -155,13 +156,17 @@ h2 { font-size: 1.25em; font-weight: 300; padding: 1em; - padding-block-start: 30%; + padding-block-start: 15%; + padding-block-end: 15%; background-position: center start; background-size: cover; - text-align: end; - color: $accent-text-color; + color: $text-color; + background-color: #ffffff80; font-weight: bold; - text-shadow: #000 -1px -1px 0, #000 -1px 1px 0, #000 1px -1px 0, #000 1px 1px 0, #000 0 1px 0, #000 -1px 0 0, #000 1px 0 0, #000 0 -1px 0, #000 0 0 .25em, #000 0 0 .25em, #000 0 0 .25em, #000 0 0 .25em; + box-sizing: border-box; + inline-size: 60%; + max-inline-size: 32rem; + margin-inline-start: auto; } #twitter-timeline {