aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/stylelint.sh2
-rw-r--r--src/css/dumbymap.css12
-rw-r--r--src/css/index.css1
-rw-r--r--src/css/style.css2
4 files changed, 13 insertions, 4 deletions
diff --git a/scripts/stylelint.sh b/scripts/stylelint.sh
index 8cadbed..91561de 100755
--- a/scripts/stylelint.sh
+++ b/scripts/stylelint.sh
@@ -1,4 +1,4 @@
1#! /bin/bash 1#! /bin/bash
2 2
3shopt -s extglob 3shopt -s extglob
4npx stylelint src/css/!(easymde.min.css) 4stylelint src/css/!(easymde.min.css) --fix
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 @@
1.Dumby { 1root {
2 --block-focus-color: lightyellow; 2 --block-focus-color: lightyellow;
3 counter-reset: block; 3 counter-reset: block;
4} 4}
@@ -14,7 +14,11 @@
14 14
15@keyframes fade-out { 15@keyframes fade-out {
16 from { opacity: 1; } 16 from { opacity: 1; }
17 to { visibility: hidden; opacity: 0; } 17
18 to {
19 visibility: hidden;
20 opacity: 0;
21 }
18} 22}
19 23
20@keyframes map-fade-in { 24@keyframes map-fade-in {
@@ -205,6 +209,7 @@
205 & > * { 209 & > * {
206 opacity: 0.3; 210 opacity: 0.3;
207 } 211 }
212
208 /* animation: map-fade-out 1s; */ 213 /* animation: map-fade-out 1s; */
209 } 214 }
210 } 215 }
@@ -212,11 +217,12 @@
212 .Showcase { 217 .Showcase {
213 display: none; 218 display: none;
214 overflow: visible; 219 overflow: visible;
220 width: 100%;
215 height: 100%; 221 height: 100%;
216 222
217 position: relative; 223 position: relative;
218 224
219 > * { 225 .map-container {
220 width: 100%; 226 width: 100%;
221 height: 100%; 227 height: 100%;
222 228
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 {
166 166
167.menu-item-add-geolink { 167.menu-item-add-geolink {
168 padding: 0.5rem; 168 padding: 0.5rem;
169
169 cursor: pointer; 170 cursor: pointer;
170} 171}
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 {
49p { 49p {
50 margin-top: 1em; 50 margin-top: 1em;
51 margin-bottom: 1em; 51 margin-bottom: 1em;
52
52 &:first-child { 53 &:first-child {
53 margin-top: 0; 54 margin-top: 0;
54 } 55 }
56
55 &:last-child { 57 &:last-child {
56 margin-bottom: 0; 58 margin-bottom: 0;
57 } 59 }