resize attack check images

This commit is contained in:
Greg Gauthier 2024-06-28 23:26:42 +01:00
parent 1d3560bb9e
commit 9246cb5900
5 changed files with 6 additions and 11 deletions

View File

@ -6,8 +6,9 @@
<script src="chargen.js" defer></script>
</head>
<body>
<h1> Gamma World Character Generator </h1>
<h2> Generate A Character </h2>
<form id="characterForm">
<select id="charType">
<option value="human">Human</option>

View File

@ -6,10 +6,8 @@
<script src="encounter.js" defer></script>
</head>
<body>
<h1> Gamma World Encounter Check</h1>
<h2>Choose Terrain Being Traverse</h2>
<!-- Valid values are: '
'"clear", "mountains", "forest", "desert", "watery", "ruins", "deathlands"' -->
<h2>Check For An Encounter</h2>
<form id="terrainForm">
<select id="terrainType">
<option value="clear">Clear</option>

View File

@ -8,9 +8,7 @@
</head>
<body>
<h1>Mental Attack Roll!</h1>
<h4>Set Mental Strength Values, and Press Attack!</h4>
<h2>Attempt A Mental Attack</h2>
<div class="content-container">
<form id="mentalAttackForm">

View File

@ -45,7 +45,7 @@ window.onload = function () {
html += `<p><h2>${outcomeText}</h2></p>`;
// adding img tag
let outcomeImage = 'img/' + outcomeText.replace(' ', '%20') + '.png';
html += `<img src="${outcomeImage}" width="500px" height="500px"/>`
html += `<img src="${outcomeImage}" width="350px" height="350px"/>`
resultsDiv.innerHTML = html;
}

View File

@ -8,8 +8,6 @@
</head>
<body>
<h1>Gamma World Die Roller</h1>
<h2>Roll Dice</h2>
<div class="content-container">