Compare commits

..

2 Commits

2 changed files with 29 additions and 8 deletions

View File

@ -1,3 +1,7 @@
body {
font-size: 1.75em;
}
footer hr { footer hr {
border-width: 0; border-width: 0;
border-top: 1px solid lightgray; border-top: 1px solid lightgray;
@ -148,8 +152,25 @@ footer a, footer a:visited {
.player-body { .player-body {
display: none; display: none;
margin-left: 2ex;
}
.player-summary {
padding-left: 3ex;
text-indent: -3ex;
} }
.player-visible:checked ~ .player-body { .player-visible:checked ~ .player-body {
display: block; display: block;
} }
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
select, option {
font-size: inherit;
padding: 0;
margin: 0;
}

View File

@ -61,7 +61,7 @@
<div class="player-effects" id="player-{{ player.order }}-effects"> <div class="player-effects" id="player-{{ player.order }}-effects">
{% for effect_num, effect in player.fear.items %} {% for effect_num, effect in player.fear.items %}
<div class="effect effect-{{ effect_num }}"> <div class="effect effect-{{ effect_num }}">
Effect #{{ effect_num|add:1 }} #{{ effect_num|add:1 }}
<input type="hidden" name="player-{{ player.order }}-effect-{{ effect_num }}-fear-orig" value="{{ effect.pure_fear }}"> <input type="hidden" name="player-{{ player.order }}-effect-{{ effect_num }}-fear-orig" value="{{ effect.pure_fear }}">
<select name="player-{{ player.order }}-effect-{{ effect_num }}-fear"{% if player.ready %} disabled{% endif %}> <select name="player-{{ player.order }}-effect-{{ effect_num }}-fear"{% if player.ready %} disabled{% endif %}>
@ -106,7 +106,7 @@
{% if not results_only %} {% if not results_only %}
<template id="effect-template"> <template id="effect-template">
<div class="effect"> <div class="effect">
Effect #<span class="effect-num">?</span> #<span class="effect-num">?</span>
<input type="hidden" class="fear-orig" value="0"> <input type="hidden" class="fear-orig" value="0">
<select class="fear"> <select class="fear">