2024-06-26 07:45:20 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2024-07-01 21:35:47 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="styles.css">
|
2024-07-02 23:00:10 +00:00
|
|
|
<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>
|
2024-06-28 22:00:49 +00:00
|
|
|
<title>Gamma World Encounter Check</title>
|
2024-07-01 15:03:40 +00:00
|
|
|
<script src="config.js"></script>
|
2024-06-26 07:45:20 +00:00
|
|
|
<script src="encounter.js" defer></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-06-28 22:26:42 +00:00
|
|
|
<h2>Check For An Encounter</h2>
|
|
|
|
|
2024-06-26 07:45:20 +00:00
|
|
|
<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>
|