gammatools/web/encounter.html

56 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="styles.css">
<style>
#resultSection {
font-family: Arial, sans-serif;
font-size: 14pt;
}
.container {
display: grid;
grid-template-columns: 1.1fr 1fr 0.9fr;
grid-template-rows: 1.2fr 0.5fr 1.3fr;
gap: 0px 0px;
grid-auto-flow: row;
}
.container.android {
display: flex;
flex-direction: column;
gap: 20px;
}
.creature_id { grid-area: 1 / 1 / 2 / 2; }
.creature_profile { grid-area: 1 / 2 / 2 / 3; }
.creature_abilities { grid-area: 1 / 3 / 2 / 4; }
.creature_attacks { grid-area: 2 / 1 / 3 / 4; }
.creature_mutations { grid-area: 2 / 2 / 3 / 2; }
.creature_description { grid-area: 3 / 1 / 4 / 4; }
</style>
<title>Gamma World Encounter Check</title>
<script src="config.js"></script>
<script src="encounter.js" defer></script>
</head>
<body>
<h2>Check For An Encounter</h2>
<form id="terrainForm">
<select id="terrainType">
<option value="clear">Clear</option>
<option value="mountains">Mountainous</option>
<option value="forest">Forest</option>
<option value="desert">Desert</option>
<option value="watery">Watery</option>
<option value="ruins">Ruins</option>
<option value="deathlands">Death Lands</option>
</select>
<button type="submit">Check For Encounter</button>
</form>
<hr/>
<div id="resultSection"></div>
</body>
</html>