Skip to content

Commit 1e60b47

Browse files
author
Azgaar
authored
Merge pull request #486 from Azgaar/dev
v1.4 release
2 parents 66ed29c + edb8469 commit 1e60b47

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3391
-1079
lines changed

Fantasy Map Generator.lnk

2.25 KB
Binary file not shown.

Readme.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Azgaar's Fantasy Map Generator
2+
This is an open-source software available under MIT license
3+
https://github.com/Azgaar/Fantasy-Map-Generator
4+
5+
To run the tool unzip ALL files and open index.html in browser

icons.css

Lines changed: 34 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

images/icon.ico

195 KB
Binary file not shown.

index.css

Lines changed: 109 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ button, select, a, .pointer {
101101
fill-rule: evenodd;
102102
}
103103

104-
#lakes, #coastline, #armies {
104+
#lakes, #coastline, #armies, #ice {
105105
cursor: pointer;
106106
}
107107

@@ -114,7 +114,7 @@ button, select, a, .pointer {
114114
fill-rule: evenodd;
115115
}
116116

117-
#oceanLayers {
117+
#oceanLayers, #terrs {
118118
fill-rule: evenodd;
119119
}
120120

@@ -123,7 +123,7 @@ button, select, a, .pointer {
123123
stroke-linejoin: round;
124124
}
125125

126-
#regions, #cults, #relig, #biomes, #provs, #terrs, #biomes, #tooltip, #temperature, #texture, #landmass {
126+
#regions, #cults, #relig, #biomes, #provs, #terrs, #biomes, #tooltip, #temperature, #texture, #landmass, #fogging {
127127
pointer-events: none;
128128
}
129129

@@ -333,13 +333,13 @@ div.tab > button#optionsHide {
333333
.tab {
334334
overflow: hidden;
335335
border-bottom: 1px solid #5d4651;
336-
height: 2.3em;
336+
height: 2.2em;
337337
}
338338

339339
#options p {
340340
font-style: italic;
341341
font-weight: bold;
342-
margin-bottom: 0;
342+
margin: .8em 0 0 0;
343343
}
344344

345345
#aboutContent {
@@ -353,6 +353,7 @@ div.tab > button#optionsHide {
353353
#aboutContent a {
354354
color: #1d1b1c;
355355
font-weight: bold;
356+
text-decoration: underline;
356357
}
357358

358359
#optionsContent span {
@@ -482,7 +483,6 @@ input[type="color"]::-webkit-color-swatch-wrapper {
482483
width: 100%;
483484
background-color: white;
484485
text-align: left;
485-
height: 1.5em;
486486
}
487487

488488
#optionsContent input[type="range"] {
@@ -579,17 +579,17 @@ input[type="color"]::-webkit-color-swatch-wrapper {
579579
}
580580

581581
.tab > button.options {
582-
/* width: 23.25%; */
583582
width: 18.6%;
584583
height: 100%;
585-
padding: 7px 0px;
584+
padding: 6px 0px;
586585
}
587586

588587
button.options {
589588
background-color: #997b89;
590589
font-weight: bold;
591590
float: left;
592591
border: none;
592+
border-radius: 0;
593593
padding: 8px 10px;
594594
transition: 0.2s;
595595
}
@@ -949,30 +949,91 @@ body button.noicon {
949949
stroke: #2c0808;
950950
}
951951

952+
#battleBody > table {
953+
padding: .2em .6em .2em .6em;
954+
border: 1px solid #ccc;
955+
margin: .2em 0 .4em 0;
956+
display: block;
957+
overflow: auto;
958+
max-height: 34vh;
959+
width: 100%;
960+
}
961+
962+
#battleBody > table .regiment {
963+
width: 13em;
964+
font-weight: bold;
965+
}
966+
967+
tr.battleCasualties, tr.battleSurvivors {
968+
font-style: italic;
969+
font-size: .9em;
970+
}
971+
972+
#battleBody div.battlePhases,
973+
#battleBottom div.battleTypes {
974+
position: fixed;
975+
background-color: #ffffff30;
976+
}
977+
978+
#battleBody div.battlePhases > button,
979+
#battleBottom div.battleTypes > button {
980+
width: 3.2em;
981+
display: block;
982+
margin: .2em 0;
983+
}
984+
985+
div#regimentSelectorBody {
986+
max-height: 50vh;
987+
font-size: .9em;
988+
}
989+
990+
div#regimentSelectorBody > div {
991+
padding: .1em;
992+
border: 1px solid #fff;
993+
}
994+
995+
div#regimentSelectorBody > div:hover {
996+
border: 1px solid #ccc;
997+
}
998+
999+
div#regimentSelectorBody > div.selected {
1000+
border: 1px solid #b28585;
1001+
}
1002+
1003+
div#regimentSelectorBody > div.inactive {
1004+
background-color: #eee;
1005+
color: #aaa;
1006+
}
1007+
1008+
div#regimentSelectorBody > div > div {
1009+
display: inline-block;
1010+
pointer-events: none;
1011+
}
1012+
9521013
.drag-trigger {
953-
border-left: 12px solid transparent;
954-
border-right: 12px solid #916e7f;
955-
border-top: 12px solid transparent;
1014+
border-left: 1em solid transparent;
1015+
border-right: 1em solid #000;
1016+
border-top: 1em solid transparent;
9561017
position: absolute;
957-
right: 0;
958-
top: 100%;
959-
margin-top: -12px;
1018+
right: -1px;
1019+
bottom: -1px;
1020+
opacity: .3;
9601021
}
9611022

9621023
.drag-trigger:hover {
9631024
cursor: move;
964-
border-right-color: #5e4fa2;
1025+
opacity: .6;
9651026
}
9661027

9671028
.tint {
9681029
filter: sepia(1) hue-rotate(200deg);
9691030
}
9701031

9711032
.color-div {
972-
width: 2.7em;
973-
height: 1.1em;
1033+
width: 3em;
1034+
height: 1em;
9741035
display: inline-block;
975-
margin: .1em .2em;
1036+
margin: 0 .16em;
9761037
border: 1px #c5c5c5 groove;
9771038
cursor: pointer;
9781039
}
@@ -1151,10 +1212,21 @@ div.slider .ui-slider-handle {
11511212

11521213
.table {
11531214
max-height: 75vh;
1215+
max-width: 75vw;
11541216
overflow-x: hidden;
11551217
overflow-y: auto;
11561218
}
11571219

1220+
.overflow {
1221+
max-width: 93vw;
1222+
overflow: auto;
1223+
max-height: 75vh;
1224+
}
1225+
1226+
.overflow > div {
1227+
width: max-content;
1228+
}
1229+
11581230
div.header > div {
11591231
font-weight: bold;
11601232
font-size: .9em;
@@ -1657,14 +1729,17 @@ rect.fillRect {
16571729

16581730
#militaryOptionsTable input {
16591731
width: 9em;
1660-
padding-left: 3px;
16611732
border: 1px solid #d4d4d4;
16621733
}
16631734

16641735
#militaryOptionsTable input[type="number"] {
16651736
width: 4em;
16661737
}
16671738

1739+
#militaryOptionsTable button {
1740+
width: 100%;
1741+
}
1742+
16681743
#gridOverlay {
16691744
fill: none;
16701745
}
@@ -1691,7 +1766,7 @@ ul.share-buttons li {
16911766
}
16921767

16931768
ul.share-buttons img {
1694-
width: 18px;
1769+
width: 2em;
16951770
}
16961771

16971772
input[type="checkbox"] {
@@ -1760,24 +1835,6 @@ div.textual span, .textual legend {
17601835
vertical-align: top;
17611836
}
17621837

1763-
#markerIconTable {
1764-
font-size: 1.6em;
1765-
cursor: pointer;
1766-
}
1767-
1768-
#markerIconTable td:hover {
1769-
transition: .1s;
1770-
color: #3c3ca9;
1771-
}
1772-
1773-
#markerIconTable td:active {
1774-
transform: translate(0px, 1px);
1775-
}
1776-
1777-
#markerIconTable td.selected {
1778-
outline: 1px solid #9b9b9b;
1779-
}
1780-
17811838
.highlighted {
17821839
outline-width: 2px;
17831840
outline-style: dashed;
@@ -1808,7 +1865,9 @@ div#notesHeader {
18081865
}
18091866

18101867
div#notesBody {
1811-
padding: 0 10px;
1868+
padding: 0 1em;
1869+
max-height: 80vh;
1870+
overflow: auto;
18121871
}
18131872

18141873
svg.button {
@@ -2025,7 +2084,7 @@ svg.button {
20252084
left: 50%;
20262085
top: 50%;
20272086
transform: translate(-50%, -50%);
2028-
max-width: 21em;
2087+
max-width: 22em;
20292088
background-color: #fff;
20302089
padding: 1.2em;
20312090
border: solid 1px #000;
@@ -2056,6 +2115,16 @@ svg.button {
20562115
text-shadow: 0px 1px 4px #4c3a35;
20572116
}
20582117

2118+
.epgrid line {
2119+
stroke: lightgrey;
2120+
stroke-opacity: .7;
2121+
shape-rendering: crispEdges;
2122+
}
2123+
2124+
.epgrid path {
2125+
stroke-width: 0;
2126+
}
2127+
20592128
#debug {
20602129
font-size: 1px;
20612130
opacity: .8;

0 commit comments

Comments
 (0)