diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-09 21:14:59 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-09 21:15:06 +0800 |
commit | 6a1c655e01839dc3f3b40d567e998ca931594e22 (patch) | |
tree | 6cbfd5f1700ff1ae1ef9ed3d3683383f86bc0534 /src | |
parent | e6f50c841924ed967070d628a6e4734b069128a6 (diff) |
docs: update example of custom layouts
Diffstat (limited to 'src')
-rw-r--r-- | src/css/dumbymap.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index d31d7e6..10778e8 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
@@ -783,14 +783,15 @@ a[href^='http']:not(:has(img))::after, | |||
783 | } | 783 | } |
784 | 784 | ||
785 | .Dumby[data-layout='sticky'] { | 785 | .Dumby[data-layout='sticky'] { |
786 | max-width: 80em; | ||
786 | .Showcase { | 787 | .Showcase { |
787 | display: block; | 788 | display: block; |
788 | width: 20vw; | 789 | width: 20vw; |
789 | height: 40vh; | 790 | height: 40vh; |
790 | 791 | ||
791 | position: absolute; | 792 | position: absolute; |
792 | right: 0; | 793 | right: 20px; |
793 | bottom: 0; | 794 | bottom: 20px; |
794 | 795 | ||
795 | background: red; | 796 | background: red; |
796 | } | 797 | } |