mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
css work
This commit is contained in:
@@ -167,7 +167,7 @@ button {
|
||||
}
|
||||
|
||||
.button-container {
|
||||
margin: 0 auto;
|
||||
margin: 0 auto 0.6em;
|
||||
max-width: 600px;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user