sr2ini/css/custom.css
Tobias 493d7160b6 - streamlined handling of contextual classes and damage badges; these are now all being applied in sortTable only
- combatantModal now displays wound penalties
- when two combatants have the same ini: only compare reaction values if both are set, report tie otherwise
- elegantified certain commands, e.g. retrieving damage type in applyDamage (formerly handleDamageMonitorClick)
- rearranged some of the functions in sr2ini.js
2023-02-09 14:26:51 +01:00

84 lines
1.1 KiB
CSS

#dummy-row {
display: none;
}
#dummy-row:only-child {
display: table-row;
}
header.navbar {
background-image: url("../img/horizon.png");
}
span.navbar-brand {
position: absolute;
right: 110px;
text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}
input:invalid {
border: 2px solid red;
}
.ko-or-dead {
color: coral;
text-decoration: line-through;
background-color: darkslategray;
}
.table-primary {
font-weight: bold;
}
.badge.bg-warning {
left: 12px;
bottom: -4px;
width: 20px;
}
.badge.bg-danger {
left: 12px;
top: 12px;
width: 20px;
}
.damage-monitor {
position: absolute;
z-index: 20;
top: 40px;
right: -8px;
width: 60px;
}
.damage-monitor th {
width: 28px;
height: 28px;
/* background-color: white;*/
/* border: solid darkgray 1px;*/
padding: 3px;
}
.damage-monitor td {
width: 30px;
height: 24px;
}
.damage-monitor button {
font-size: smaller;
height: 24px;
width: 30px;
padding: 2px;
}
.damage-monitor button.active {
filter: brightness(91%);
}
footer p {
font-size: x-small;
margin-bottom: .5rem;
}
footer hr {
margin: .5rem 0;