Update styling

This commit is contained in:
Joop Schilder 2021-05-10 23:32:04 +02:00
parent 362bc58c1f
commit 9c46725c8c
1 changed files with 24 additions and 25 deletions

View File

@ -31,9 +31,6 @@ if ($form_submitted) {
.narrow { .narrow {
width: 80%; width: 80%;
} }
.off-the-wall {
margin-left: 3em;
}
.with-breating-room { .with-breating-room {
margin: 1.5em 1em; margin: 1.5em 1em;
} }
@ -126,7 +123,8 @@ if ($form_submitted) {
</form> </form>
</div> </div>
<?php if ($form_submitted): ?> <?php if ($form_submitted): ?>
<table class="bordered narrow off-the-wall"> <div class="with-breathing-room height-padded width-padded">
<table class="bordered narrow">
<tr><th class="width-padded height-padded bordered" colspan="100%"> <tr><th class="width-padded height-padded bordered" colspan="100%">
Component table for <?php printf("%.3g Ω ", $tweeter_impedance) ?> tweeter Component table for <?php printf("%.3g Ω ", $tweeter_impedance) ?> tweeter
and <?php printf("%.3g Ω", $woofer_impedance) ?> woofer and <?php printf("%.3g Ω", $woofer_impedance) ?> woofer
@ -150,6 +148,7 @@ if ($form_submitted) {
</tr> </tr>
<?php endfor ?> <?php endfor ?>
</table> </table>
</div>
<?php endif ?> <?php endif ?>
</body> </body>
</html> </html>