menu style - grid layout

This commit is contained in:
Azgaar 2021-09-10 00:22:07 +03:00 committed by Peter
parent f8ee3fbc88
commit a5f4939875
3 changed files with 12 additions and 2892 deletions

View file

@ -709,6 +709,17 @@ input[type='color']::-webkit-color-swatch-wrapper {
margin: 0.16em 0.12em;
}
#toolsContent div {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin: 0.2em 0;
}
#toolsContent button {
padding: 0.35em 0;
margin: 0.16em 0.12em;
}
#mapLayers {
display: inline-block;
padding: 0;

2891
index.html

File diff suppressed because one or more lines are too long

View file

@ -11,7 +11,7 @@ function editHeightmap() {
<p>You can <i>keep</i> the data, but you won't be able to change the coastline.</p>
<p>Try <i>risk</i> mode to change the coastline and keep the data. The data will be restored as much as possible, but it can cause unpredictable errors.</p>
<p>Please <span class="pseudoLink" onclick=dowloadMap(); editHeightmap();>save the map</span> before editing the heightmap!</p>
<p>Check out ${link("https://github.com/Azgaar/Fantasy-Map-Generator/wiki/Heightmap-customization", "wiki")} for guidance.</p>`;
<p style="margin-bottom: 0">Check out ${link("https://github.com/Azgaar/Fantasy-Map-Generator/wiki/Heightmap-customization", "wiki")} for guidance.</p>`;
$('#alert').dialog({
resizable: false,