mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
Removed the radio buttons from stress tracks; clicking on the labels will now select that value. Adjusted style to make it more obvious which value is selected.
224 lines
3.6 KiB
CSS
224 lines
3.6 KiB
CSS
/* === GENERAL === */
|
|
.charsheet {
|
|
min-width: 820px;
|
|
}
|
|
|
|
.sheet-header-fight {
|
|
margin-bottom: 2px;
|
|
padding: 1px 2px;
|
|
|
|
background: #00008B
|
|
;
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-header {
|
|
margin-bottom: 4px;
|
|
padding: 2px 4px;
|
|
|
|
background: #00008B
|
|
;
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-section {
|
|
float: left;
|
|
width: 100%;
|
|
|
|
margin: 4px 0;
|
|
padding: 1px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sheet-half {
|
|
max-width: 50%;
|
|
}
|
|
|
|
.sheet-break {
|
|
clear: both;
|
|
}
|
|
|
|
label,
|
|
select {
|
|
margin: 0;
|
|
}
|
|
|
|
textarea {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 215px;
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sheet-repitem,
|
|
.repitem {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
/* Override Roll20 Button styling for something less conspicious */
|
|
button {
|
|
height: 22px;
|
|
line-height: 16px;
|
|
margin: 0 !important;
|
|
border-radius: 0 !important;
|
|
background-image: none !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.repitem button {
|
|
height: 28px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
/* === BASIC === */
|
|
.sheet-logo {
|
|
width: 820px;
|
|
margin: 4px 4px;
|
|
float: center;
|
|
|
|
}
|
|
.charsheet {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Infinity-2d20/Infinitybackground.png");
|
|
}
|
|
|
|
.sheet-section-basic .sheet-column {
|
|
width: calc(50% - 200px);
|
|
}
|
|
|
|
/* === SKILLS === */
|
|
.sheet-section-skills {
|
|
min-width: 400px;
|
|
}
|
|
|
|
.sheet-section-skills input[type=number] {
|
|
width: 60px;
|
|
}
|
|
|
|
.sheet-section-skills {
|
|
text-align: right;
|
|
font-weight: bold;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.sheet-skill-on {
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.sheet-skill-off {
|
|
background-color: #E3E3E3;
|
|
border: 1px solid gray;
|
|
}
|
|
|
|
/* === Momentum Tracker === */
|
|
|
|
.sheet-radio-tracker label {
|
|
display: inline;
|
|
}
|
|
|
|
.sheet-radio-tracker input[type=radio] {
|
|
width: auto;
|
|
margin-right: 2px;
|
|
position: relative;
|
|
top: -2px;
|
|
}
|
|
|
|
td.sheet-radio-tracker {
|
|
text-align: right;
|
|
}
|
|
|
|
/* STRESS TRACKERS */
|
|
|
|
table.sheet-stress-tracker label {
|
|
text-align: center;
|
|
font-weight: normal;
|
|
color: DarkGrey;
|
|
}
|
|
|
|
table.sheet-stress-tracker input[type=radio] {
|
|
display: none;
|
|
width: 5px;
|
|
}
|
|
|
|
table.sheet-stress-tracker input[type=checkmark] {
|
|
display: inline;
|
|
width: auto;
|
|
margin: 0px;
|
|
}
|
|
|
|
table.sheet-stress-tracker input[type=text] {
|
|
text-align: center;
|
|
}
|
|
|
|
table.sheet-stress-tracker label:hover {
|
|
cursor: pointer;
|
|
color: Red;
|
|
}
|
|
|
|
table.sheet-stress-tracker td {
|
|
width: 9%;
|
|
padding: 1px;
|
|
margin: 0px;
|
|
text-align: center;
|
|
}
|
|
|
|
table.sheet-stress-tracker input:checked + span {
|
|
color: Black;
|
|
font-weight: bold;
|
|
}
|
|
|
|
tr.sheet-stress-tracker-harms td:first-child {
|
|
text-align: right;
|
|
font-weight: bold;
|
|
border-right-style: none;
|
|
}
|
|
|
|
tr.sheet-stress-tracker-harms td:nth-child(2),
|
|
tr.sheet-stress-tracker-harms td:nth-child(3),
|
|
tr.sheet-stress-tracker-harms td:nth-child(4),
|
|
tr.sheet-stress-tracker-harms td:nth-child(5),
|
|
tr.sheet-stress-tracker-harms td:nth-child(6),{
|
|
border-left-style: none;
|
|
border-right-style: none;
|
|
}
|
|
|
|
tr.sheet-stress-tracker-harms td:nth-child(7) {
|
|
border-right-style: none;
|
|
}
|
|
|
|
tr.sheet-stress-tracker-harms td:nth-child(8) {
|
|
border-left-style: none;
|
|
}
|
|
|
|
/* === CONSEQUENCES === */
|
|
.sheet-section-consequences {
|
|
float: right;
|
|
}
|
|
|
|
.sheet-section-consequences select {
|
|
width: 100px;
|
|
float: left;
|
|
}
|
|
|
|
/* === VERSION INFO ===*/
|
|
|
|
td.sheet-version-info span,
|
|
td.sheet-version-info label,
|
|
span.sheet-version-info {
|
|
font-family: "Lucida Console";
|
|
font-size: 0.8em;
|
|
font-weight: normal;
|
|
text-align: left;
|
|
}
|
|
|
|
/* SHEET TRANSFER */
|
|
div.sheet-old-stress {
|
|
display:none;
|
|
}
|
|
|
|
input.sheet-old-stress:checked ~ div.sheet-old-stress{
|
|
display:block;
|
|
} |