Files
Michael 3d7e6e48e5 bug fixes and usability improvements
fixed:
- mana calculation after level up
- unarmed attack output

usability:
- numbered each section for easier reference
- rearranged bonus attributes to reflect main section
2017-10-06 16:52:55 +02:00

575 lines
15 KiB
CSS

.charsheet {
background-color: rgb(115,82,49);
padding: 5px;
min-width: 760px;
}
.charsheet > div {
min-width: 750px;
max-width: 1500px;
margin: 0 auto;
padding: 5px;
background-color: white;
}
.charsheet * {
font-family: Arial;
font-size: 16px;
padding: 0;
margin: 0;
white-space: nowrap;
flex-shrink: 0;
box-sizing: border-box;
}
.charsheet button {
cursor: pointer;
}
.charsheet input,
.charsheet textarea {
border-radius: 0px;
}
.sheet-checks button[type=roll] {
border-radius: 0px;
margin: 0;
}
.charsheet input:disabled {
background-color: white;
border: none;
color: black;
}
.charsheet textarea {
width: 100%;
resize: none;
display: block;
height: 60px;
border: none;
white-space: pre-wrap;
}
.charsheet > div > .sheet-section {
position:relative;
padding: 10px;
border: 1px solid black;
}
.sheet-section fieldset {
border: none;
}
.charsheet *[title] {
font-style:italic;
text-decoration: underline;
}
.charsheet .sheet-visibility-controls,
.charsheet input[type=radio]:checked + table {
display: none;
}
.sheet-flex {
display: flex;
}
.charsheet .sheet-col1 {
width: 200px;
}
.charsheet .sheet-col1 input[type=text] {
width: 160px;
border: none;
}
.charsheet label {
display: initial;
margin: 0;
font-weight: initial;
font-size: initial;
padding: 0;
}
.charsheet .sheet-col1 label input {
display: none;
}
.charsheet strong {
position: absolute;
top: 1px;
left: 1px;
font-size: 10px;
line-height: 10px;
}
/* SECTION SPECIFIC STYLES */
.charsheet .sheet-character img {
width: 152px;
height: auto;
}
.charsheet .sheet-character .sheet-flex span {
font-size: 16px;
background-color: rgb(230, 230, 230);
}
.charsheet .sheet-character .sheet-flex input {
font-size: 14px;
}
.charsheet .sheet-character .sheet-flex .sheet-col2,
.charsheet .sheet-character .sheet-flex .sheet-col2 span,
.charsheet .sheet-character .sheet-flex .sheet-col2 input,
.charsheet .sheet-character .sheet-flex .sheet-col3,
.charsheet .sheet-character .sheet-flex .sheet-col3 span,
.charsheet .sheet-character .sheet-flex .sheet-col3 input {
text-align: center;
width: 70px;
}
.charsheet .sheet-character input.sheet-split:nth-child(2) {
width: 25px;
border-right: none;
display: inline-block;
}
.charsheet .sheet-character input.sheet-split:nth-child(3) {
width: 20px;
border-left: none;
border-right: none;
display: inline-block;
}
.charsheet .sheet-character input.sheet-split:nth-child(4) {
width: 25px;
border-left: none;
display: inline-block;
}
.charsheet .sheet-character .sheet-flex .sheet-col1,
.charsheet .sheet-character .sheet-flex .sheet-col4 {
width: 160px;
flex-grow: 1;
}
.charsheet .sheet-character .sheet-flex .sheet-col1 input,
.charsheet .sheet-character .sheet-flex .sheet-col4 input {
width: 100%;
}
.charsheet .sheet-character .sheet-flex label {
margin: 5px;
}
.charsheet .sheet-character .sheet-flex span,
.charsheet .sheet-character .sheet-flex input {
border: 1px solid black;
padding: 2px;
display: block;
}
.charsheet .sheet-characteristics .sheet-flex label {
padding: 5px;
}
.charsheet .sheet-characteristics .sheet-flex .sheet-flex {
flex-direction: column;
flex-grow: 1;
}
.charsheet .sheet-characteristics .sheet-flex label span {
border: 1px solid black;
display: block;
padding: 2px;
font-size: 16px;
background-color: rgb(230, 230, 230);
}
.charsheet .sheet-characteristics .sheet-flex label input,
.charsheet .sheet-characteristics .sheet-flex label textarea {
width: 100%;
padding: 2px;
border: 1px solid black;
font-size: 14px;
}
.charsheet .sheet-attributes-traits .sheet-flex {
justify-content: space-around;
padding: 5px;
}
.charsheet .sheet-attributes-traits .sheet-flex label {
text-align: right;
flex-basis: 165px;
}
.charsheet .sheet-attributes-traits .sheet-attributes * {
font-weight: bold;
font-size: 22px;
}
.charsheet .sheet-attributes-traits .sheet-traits * {
font-size: 18px;
}
.charsheet .sheet-attributes-traits input {
width: 42px;
height: 42px;
border: 1px solid black;
}
.charsheet .sheet-combat-values > .sheet-flex {
justify-content: space-around;
flex-wrap: wrap;
}
.charsheet .sheet-combat-values > .sheet-flex > .sheet-flex {
justify-content: space-around;
flex-basis: 50px;
flex-grow: 1;
}
.charsheet .sheet-combat-values > .sheet-flex > .sheet-flex > .sheet-flex {
flex-direction: column;
align-items: center;
padding: 5px;
}
.charsheet .sheet-combat-values input {
width: 35px;
height: 35px;
background-size: contain;
text-align: center;
}
.charsheet .sheet-bonus-details td {
padding: 2px 20px;
}
.charsheet .sheet-bonus-details span {
padding-right: 20px;
font-size: 12px;
}
.charsheet .sheet-bonus-details span::after {
content:':';
}
.charsheet .sheet-bonus-details input {
border: none;
border-bottom: 1px solid black;
width: 20px;
text-align: center;
font-size: 12px;
float: right;
}
.charsheet .sheet-img-select {
display: flex;
flex-direction: column;
}
.charsheet .sheet-img-select input {
display: none;
}
.charsheet .sheet-img-select:hover label {
cursor: pointer;
}
.charsheet .sheet-img-select span {
height: 18px;
display: block;
background-size: auto 18px;
background-repeat: no-repeat;
background-position: center center;
}
.charsheet .sheet-img-select:hover input:not(:checked) + span {
opacity: 0.5;
}
.charsheet .sheet-img-select:not(:hover) input:not(:checked) + span {
display: none;
}
.charsheet .sheet-edit-bonuses {
width: auto;
height: 14px;
}
.charsheet .sheet-edit-bonuses:hover {
cursor: pointer;
}
.charsheet .sheet-show-bonuses:not(:checked) + div {
display: none;
}
.charsheet .sheet-header * {
font-size: 16px !important;
font-weight: normal;
background-color: rgb(230, 230, 230);
}
.charsheet .sheet-weapon .sheet-flex > * {
border: 1px solid black;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-weapon .sheet-col2,
.charsheet .sheet-weapon .sheet-col3,
.charsheet .sheet-weapon .sheet-col4,
.charsheet .sheet-weapon .sheet-col5 {
width: 55px;
text-align: center;
}
.charsheet .sheet-weapon .sheet-col6 {
width: 55px;
text-align: center;
}
.charsheet .sheet-weapon .sheet-col7 {
width: 80px;
flex-grow: 3;
}
.charsheet .sheet-weapon .sheet-melee-attack {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Dungeonslayers-4/DS4-MAT.png');
}
.charsheet .sheet-weapon .sheet-ranged-attack {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Dungeonslayers-4/DS4-RAT.png');
}
.charsheet .sheet-weapon .sheet-both-attack {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Dungeonslayers-4/DS4-MRA.png');
}
.charsheet .sheet-armor .sheet-flex > * {
border: 1px solid black;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-armor .sheet-col2,
.charsheet .sheet-armor .sheet-col3,
.charsheet .sheet-armor .sheet-col4,
.charsheet .sheet-armor .sheet-col5 {
width: 70px;
text-align: center;
}
.charsheet .sheet-armor .sheet-col6 {
width: 80px;
flex-grow: 3;
}
.charsheet .sheet-spell .sheet-flex {
flex-wrap: wrap;
}
.charsheet .sheet-spell .sheet-flex > * {
border: 1px solid black;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-spell .sheet-col1 input[type=text] {
width: 177px;
}
.charsheet .sheet-spell .sheet-col2 {
width: 40px;
text-align: center;
}
.charsheet .sheet-spell .sheet-col3,
.charsheet .sheet-spell .sheet-col4,
.charsheet .sheet-spell .sheet-col5,
.charsheet .sheet-spell .sheet-col6,
.charsheet .sheet-spell .sheet-col7 {
width: 80px;
text-align: center;
max-width: 120px;
flex-grow: 1;
}
.charsheet .sheet-spell .sheet-row2 {
display: flex;
border-top: none;
background-color: rgb(230, 230, 230);
}
.charsheet .sheet-spell .sheet-row2 span {
padding-right: 10px;
text-align: right;
display: inline-block;
}
.charsheet .sheet-spell .sheet-row2 textarea {
width: 40px;
height: 40px;
flex-grow: 1;
border: none;
}
.charsheet .sheet-spell .sheet-normal-spell {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Dungeonslayers-4/DS4-SPC.png');
}
.charsheet .sheet-spell .sheet-targeted-spell {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Dungeonslayers-4/DS4-TSC.png');
}
.charsheet .sheet-spell .sheet-mind-influencing-spell {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Dungeonslayers-4/DS4-MSPC.png');
}
.charsheet .sheet-talent .sheet-flex > * {
border: none;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-talent .sheet-col1 {
border: 1px solid black;
}
.charsheet .sheet-talent .sheet-col2 {
width: 75px;
text-align: center;
border: 1px solid black;
padding: 2px 6px;
}
.charsheet .sheet-talent .sheet-col2-1,
.charsheet .sheet-talent .sheet-col2-2,
.charsheet .sheet-talent .sheet-col2-3 {
width: 25px;
text-align: center;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
.charsheet .sheet-talent .sheet-col2-1 {
border-left: 1px solid black;
}
.charsheet .sheet-talent .sheet-col2-3 {
border-right: 1px solid black;
}
.charsheet .sheet-talent .sheet-col3 {
width: 100px;
flex-grow: 3;
border: 1px solid black;
}
.charsheet .sheet-equipment .sheet-flex > * {
border: 1px solid black;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-equipment .sheet-flex > *:nth-child(1) {
width: 200px;
}
.charsheet .sheet-equipment .sheet-flex > *:nth-child(2) {
width: 75px;
text-align: center;
}
.charsheet .sheet-equipment .sheet-flex > *:nth-child(3),
.charsheet .sheet-equipment .sheet-flex > *:nth-child(4) {
width: 120px;
flex-grow: 1;
}
.charsheet .sheet-equipment .sheet-flex > div {
padding-right: 20px;
}
.charsheet .sheet-equipment .sheet-flex > div input[type=text] {
width: 100%;
border: none;
}
.charsheet .sheet-equipment input[type=checkbox] {
display: none;
}
.charsheet .sheet-miscellaneous .sheet-flex > * {
border: 1px solid black;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-miscellaneous .sheet-flex > *:nth-child(1) {
width: 200px;
text-align: center;
}
.charsheet .sheet-miscellaneous .sheet-flex > *:nth-child(2) {
width: 120px;
flex-grow: 1;
}
.charsheet .sheet-progress-points1 {
min-width: 500px;
}
.charsheet .sheet-progress-points1 > div {
overflow-x: auto;
}
.charsheet .sheet-progress-points1 table {
border-collapse: collapse;
width: 100%;
}
.charsheet .sheet-progress-points1 tr:nth-child(1),
.charsheet .sheet-progress-points1 tr:nth-child(4),
.charsheet .sheet-progress-points1 tr:nth-child(10) {
border-bottom: 2px solid black;
}
.charsheet .sheet-progress-points1 th,
.charsheet .sheet-progress-points1 td {
border: 1px solid black;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-progress-points1 td:nth-child(3),
.charsheet .sheet-progress-points1 td:nth-child(4),
.charsheet .sheet-progress-points1 td:nth-child(5),
.charsheet .sheet-progress-points1 td:nth-child(6),
.charsheet .sheet-progress-points1 td:nth-child(7),
.charsheet .sheet-progress-points1 td:nth-child(13),
.charsheet .sheet-progress-points1 td:nth-child(14),
.charsheet .sheet-progress-points1 td:nth-child(15) {
border-left: none;
border-right: none;
}
.charsheet .sheet-progress-points1 td:last-child {
border-right: 1px solid black;
}
.charsheet .sheet-progress-points1 input {
border: none;
width: 100%;
text-align: center;
}
.charsheet .sheet-progress-points1 th {
text-align: center;
}
.charsheet .sheet-progress-points1 td:nth-child(13) input,
.charsheet .sheet-progress-points1 td:nth-child(15) input {
width: 30px;
}
.charsheet .sheet-progress-points2 {
min-width: 500px;
}
.charsheet .sheet-progress-points2 > div {
overflow-x: auto;
}
.charsheet .sheet-progress-points2 table {
border-collapse: collapse;
width: 100%;
}
.charsheet .sheet-progress-points2 tr:nth-child(1),
.charsheet .sheet-progress-points2 tr:nth-child(3) {
border-bottom: 2px solid black;
}
.charsheet .sheet-progress-points2 th,
.charsheet .sheet-progress-points2 td {
border: 1px solid black;
padding: 2px;
font-size: 14px;
}
.charsheet .sheet-progress-points2 td:nth-child(2),
.charsheet .sheet-progress-points2 td:nth-child(3),
.charsheet .sheet-progress-points2 td:nth-child(4),
.charsheet .sheet-progress-points2 td:nth-child(5),
.charsheet .sheet-progress-points2 td:nth-child(6) {
border-left: none;
border-right: none;
}
.charsheet .sheet-progress-points2 input {
border: none;
width: 100%;
text-align: center;
}
.charsheet .sheet-progress-points2 th {
text-align: center;
}
.charsheet .sheet-progress-points2 th:nth-child(4),
.charsheet .sheet-progress-points2 td:nth-child(8),
.charsheet .sheet-progress-points2 td:nth-child(8) input {
width: 100%;
text-align: left;
}
.charsheet .sheet-checks > .sheet-flex {
flex-wrap: wrap;
justify-content: space-around;
max-width: 1190px;
margin: 0 auto;
}
.charsheet .sheet-checks .sheet-flex .sheet-flex *, .charsheet button[type=roll] {
border: 1px solid black;
padding: 2px;
font-size: 14px !important;
}
.charsheet .sheet-checks .sheet-flex .sheet-flex {
margin: 0 calc((100% - 750px)/6);
}
.charsheet .sheet-checks .sheet-flex .sheet-flex *:nth-child(1) {
width: 130px;
text-align: left;
}
.charsheet .sheet-checks .sheet-flex .sheet-flex *:nth-child(2),
.charsheet .sheet-checks .sheet-flex .sheet-flex *:nth-child(3) {
width: 55px;
text-align: center;
}
.charsheet.lang-de .sheet-checks > div > div:nth-child(4) {order: 17;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(5) {order: 2;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(6) {order: 21;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(7) {order: 22;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(8) {order: 19;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(9) {order: 7;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(10) {order: 5;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(11) {order: 16;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(12) {order: 10;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(13) {order: 18;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(14) {order: 6;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(15) {order: 24;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(16) {order: 23;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(17) {order: 1;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(18) {order: 15;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(19) {order: 9;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(20) {order: 8;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(21) {order: 14;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(22) {order: 12;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(23) {order: 20;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(24) {order: 13;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(25) {order: 3;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(26) {order: 4;}
.charsheet.lang-de .sheet-checks > div > div:nth-child(27) {order: 11;}
.charsheet .sheet-attack-checks .sheet-flex {
flex-wrap: wrap;
justify-content: space-around;
}
.charsheet .sheet-attack-checks button {
margin: 5px;
padding: 2px;
}
.charsheet .sheet-notes textarea {
height: 300px;
}