From dcc56f5b1d7cc53effa533ade9932dc916e7a7e9 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 25 Sep 2024 15:35:11 +0800 Subject: chore: style lint --- src/css/dumbymap.css | 12 +++++++++--- src/css/index.css | 1 + src/css/style.css | 2 ++ 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 985f5ec..c911510 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css @@ -1,4 +1,4 @@ -.Dumby { +root { --block-focus-color: lightyellow; counter-reset: block; } @@ -14,7 +14,11 @@ @keyframes fade-out { from { opacity: 1; } - to { visibility: hidden; opacity: 0; } + + to { + visibility: hidden; + opacity: 0; + } } @keyframes map-fade-in { @@ -205,6 +209,7 @@ & > * { opacity: 0.3; } + /* animation: map-fade-out 1s; */ } } @@ -212,11 +217,12 @@ .Showcase { display: none; overflow: visible; + width: 100%; height: 100%; position: relative; - > * { + .map-container { width: 100%; height: 100%; diff --git a/src/css/index.css b/src/css/index.css index e4d29da..a5fd37f 100644 --- a/src/css/index.css +++ b/src/css/index.css @@ -166,5 +166,6 @@ body { .menu-item-add-geolink { padding: 0.5rem; + cursor: pointer; } diff --git a/src/css/style.css b/src/css/style.css index 9f15574..14a2e96 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -49,9 +49,11 @@ h3 { p { margin-top: 1em; margin-bottom: 1em; + &:first-child { margin-top: 0; } + &:last-child { margin-bottom: 0; } -- cgit v1.2.3-70-g09d2