mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 14:32:15 +00:00
css work
This commit is contained in:
@@ -167,7 +167,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.button-container {
|
.button-container {
|
||||||
margin: 0 auto;
|
margin: 0 auto 0.6em;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
|
|
||||||
<p>
|
<p>Choose a style:</p>
|
||||||
Choose a style:
|
<div class="button-container">
|
||||||
<div class="button-container">
|
|
||||||
<button onclick="selectStyle('bright')">Bright</button>
|
<button onclick="selectStyle('bright')">Bright</button>
|
||||||
<button onclick="selectStyle('liberty')">Liberty</button>
|
<button onclick="selectStyle('liberty')">Liberty</button>
|
||||||
<button onclick="selectStyle('positron')">Positron</button>
|
<button onclick="selectStyle('positron')">Positron</button>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
|
||||||
<p style="margin-bottom: 2em">
|
<p style="margin-bottom: 2em">
|
||||||
Use the following style in a MapLibre map:
|
Use the following style in a MapLibre map:
|
||||||
<code id="style-url-code">
|
<code id="style-url-code">
|
||||||
|
|||||||
Reference in New Issue
Block a user