Skip to content

Commit

Permalink
css work
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperknot committed Jan 17, 2024
1 parent 2a33733 commit edcd136
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion website/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ button {
}

.button-container {
margin: 0 auto;
margin: 0 auto 0.6em;
max-width: 600px;
display: flex;
flex-wrap: nowrap;
Expand Down
15 changes: 7 additions & 8 deletions website/blocks/map_docs.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<div id="map"></div>

<p>
Choose a style:
<div class="button-container">
<button onclick="selectStyle('bright')">Bright</button>
<button onclick="selectStyle('liberty')">Liberty</button>
<button onclick="selectStyle('positron')">Positron</button>
</div>
</p>
<p>Choose a style:</p>
<div class="button-container">
<button onclick="selectStyle('bright')">Bright</button>
<button onclick="selectStyle('liberty')">Liberty</button>
<button onclick="selectStyle('positron')">Positron</button>
</div>

<p style="margin-bottom: 2em">
Use the following style in a MapLibre map:
<code id="style-url-code">
Expand Down

0 comments on commit edcd136

Please sign in to comment.