Files
roll20-character-sheets/AgainstTheDarkMaster/AgainstTheDarkMaster.css
T

827 lines
15 KiB
CSS

/****************/
/* Basic layout */
/****************/
input {
background: transparent;
border: 1px solid transparent;
height: 24px;
}
textarea {
resize: none;
border-color: green;
}
.sheet-character-1,
.sheet-character-2 {
width: 992px;
height: 1403px;
display: none;
}
.sheet-character-1 {
background: url("https://i.imgur.com/7GC477k.png") top left no-repeat;
padding-top: 44px;
}
.sheet-character-2 {
background: url("https://i.imgur.com/B4jZDJG.png") top left no-repeat;
padding-top: 77px;
}
/* show the selected tab */
.sheet-tabstoggle[value="character-1"] ~ div.sheet-character-1,
.sheet-tabstoggle[value="character-2"] ~ div.sheet-character-2 {
display: block;
}
/*********************/
/* Character sheet 1 */
/*********************/
.sheet-character-1-top-row {
padding-left: 126px;
}
.sheet-character-1-top-row input {
margin-top: 3px;
height: 24px;
}
.sheet-character-1-top-row:nth-child(1) input {
width: 510px;
}
.sheet-character-1-top-row:nth-child(2) input:nth-child(1) {
width: 190px;
}
.sheet-character-1-top-row:nth-child(2) input:nth-child(2) {
margin-left: 59px;
width: 258px;
}
.sheet-character-1-top-row:nth-child(3) input:nth-child(1) {
width: 333px;
}
.sheet-character-1-top-row:nth-child(3) input:nth-child(2) {
margin-left: 25px;
width: 60px;
}
.sheet-character-1-top-row:nth-child(3) input:nth-child(3) {
margin-left: 36px;
width: 49px;
}
.sheet-character-1-top-row:nth-child(4) input,
.sheet-character-1-top-row:nth-child(5) input,
.sheet-character-1-top-row:nth-child(6) input {
width: 828px;
}
.sheet-character-1-medium-row {
margin-top: -5px;
padding-left: 160px;
}
.sheet-begin-section-2 {
margin-top: 36px;
padding-left: 349px;
}
.sheet-character-1-medium-row input:nth-child(1) {
width: 35px;
}
.sheet-character-1-medium-row input:nth-child(2) {
margin-left: 10px;
width: 36px;
}
.sheet-character-1-medium-row input:nth-child(3) {
margin-left: 8px;
width: 36px;
}
.sheet-character-1-medium-row input:nth-child(4) {
margin-left: 9px;
width: 36px;
}
.sheet-character-1-medium-row input:nth-child(5) {
margin-left: 5px;
width: 300px;
}
.sheet-character-1-medium-row input:nth-child(6) {
margin-left: 4px;
width: 297px;
}
.sheet-begin-section-2 input:nth-child(1) {
width: 300px;
}
.sheet-begin-section-2 input:nth-child(2) {
margin-left: 5px;
width: 297px;
}
.sheet-character-1-section-3 {
padding-top: 64px;
display: flex;
}
.sheet-character-1-left-row.sheet-type-1 input {
width: 30px;
margin-left: 458px;
text-align: center;
}
.sheet-character-1-left-row.sheet-type-2 input {
width: 33px;
margin-right: 8px;
}
.sheet-character-1-left-row.sheet-type-2 input:nth-child(1) {
margin-left: 191px;
}
.sheet-character-1-left-row.sheet-type-3 input {
width: 33px;
margin-right: 8px;
}
.sheet-character-1-left-row.sheet-type-3 input:nth-child(1) {
margin-left: 144px;
}
.sheet-character-1-left-column {
min-width: 503px;
}
.sheet-character-1-left-column .sheet-character-1-left-row {
margin-top: -4px;
}
.sheet-character-1-left-row:nth-child(3) {
margin-top: 13px;
}
.sheet-character-1-left-row.sheet-type-4 input:nth-child(1) {
width: 140px;
margin-left: 37px;
}
.sheet-character-1-left-row:nth-child(11),
.sheet-character-1-left-row:nth-child(25),
.sheet-character-1-left-row:nth-child(33),
.sheet-character-1-left-row:nth-child(17) {
margin-top: 10px;
}
.sheet-character-1-right-row {
margin-bottom: -6px;
}
.sheet-character-1-right-row:nth-child(8),
.sheet-character-1-right-row:nth-child(9),
.sheet-character-1-right-row:nth-child(10) {
margin-bottom: -4px;
}
.sheet-character-1-right-row:last-child {
margin-top: 2px;
}
.sheet-character-1-right-row input {
width: 35px;
margin-right: 6px;
text-align: center;
}
.sheet-character-1-right-row input:nth-child(1) {
width: 103px;
text-align: left;
}
.sheet-character-1-right-row input:last-child {
margin-left: -4px;
}
.sheet-character-1-right-divided-row {
display: flex;
}
.sheet-character-1-right-divided-left-row {
margin-left: 10px;
display: flex;
margin-bottom: -4px;
}
.sheet-character-1-right-divided-left-row input[type="text"] {
width: 35px;
margin-left: 106px;
text-align: center;
}
.sheet-character-1-right-divided-left-row:nth-child(2) {
margin-top: 41px;
}
.sheet-character-1-right-divided-left-row:nth-child(8),
.sheet-character-1-right-divided-left-row:nth-child(10) {
margin-top: 39px;
}
.sheet-container {
position: relative;
cursor: pointer;
font-size: 22px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: 0;
width: 12px;
margin-right: 18px;
}
/* Hide the browser's default radio button */
.sheet-container input {
position: absolute;
opacity: 0;
cursor: pointer;
width: 7px;
}
/* Create a custom radio button */
.sheet-checkmark {
position: absolute;
margin-top: -1px;
margin-left: -6px;
height: 12px;
width: 12px;
background-color: transparent;
border-radius: 50%;
}
/* When the radio button is checked, add a blue background */
.sheet-container input:checked ~ .sheet-checkmark {
background-color: black;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.sheet-checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the indicator (dot/circle) when checked */
.sheet-container input:checked ~ .sheet-checkmark:after {
display: block;
}
.sheet-character-1-right-divided-left-column {
margin-top: 58px;
}
.sheet-character-1-right-divided-right-column {
margin-top: 48px;
padding-left: 63px;
}
.sheet-character-1-right-divided-right-row {
display: flex;
margin-bottom: -5px;
}
.sheet-character-1-right-divided-right-row input {
width: 75px;
}
.sheet-character-1-right-divided-right-row input:first-child {
margin-right: 73px;
}
.sheet-character-1-right-divided-right-row:nth-child(3) {
margin-top: 41px;
margin-left: 7px;
}
.sheet-character-1-right-divided-right-row:nth-child(3) input:first-child {
width: 40px;
margin-right: 75px;
}
.sheet-character-1-right-divided-right-row:nth-child(3) input:last-child {
width: 106px;
}
.sheet-character-1-right-divided-right-row:nth-child(4) input:first-child {
margin-right: 49px;
margin-left: 7px;
width: 127px;
}
.sheet-character-1-right-divided-right-row:nth-child(4) input:last-child {
margin-top: 6px;
}
.sheet-character-1-right-divided-right-row:nth-child(5) {
margin-bottom: 34px;
}
.sheet-character-1-right-divided-right-row:nth-child(5) input {
margin-left: 7px;
width: 221px;
}
.sheet-character-1-right-divided-right-row:nth-child(6) input,
.sheet-character-1-right-divided-right-row:nth-child(7) input,
.sheet-character-1-right-divided-right-row:nth-child(8) input,
.sheet-character-1-right-divided-right-row:nth-child(9) input {
margin-left: 38px;
width: 190px;
}
.sheet-character-1-right-divided-right-row:nth-child(9) {
margin-bottom: 33px;
}
.sheet-character-1-right-divided-right-row:nth-child(10) input:first-child,
.sheet-character-1-right-divided-right-row:nth-child(11) input:first-child,
.sheet-character-1-right-divided-right-row:nth-child(12) input:first-child {
margin-left: 20px;
width: 52px;
margin-right: 107px;
}
.sheet-character-1-right-divided-right-row:nth-child(10) input:last-child,
.sheet-character-1-right-divided-right-row:nth-child(11) input:last-child,
.sheet-character-1-right-divided-right-row:nth-child(12) input:last-child {
width: 49px;
}
.sheet-character-1-right-row-bottom-1,
.sheet-character-1-right-row-bottom-2 {
margin-left: 43px;
}
.sheet-character-1-right-row-bottom-1 {
margin-top: 41px;
margin-bottom: -4px;
}
.sheet-character-1-right-row-bottom-1 input,
.sheet-character-1-right-row-bottom-2 input {
width: 50px;
}
.sheet-character-1-right-row-bottom-1 input:nth-child(1),
.sheet-character-1-right-row-bottom-2 input:nth-child(1) {
margin-right: 43px;
}
.sheet-character-1-right-row-bottom-1 input:nth-child(2),
.sheet-character-1-right-row-bottom-2 input:nth-child(2) {
margin-right: 35px;
}
.sheet-character-1-right-row-bottom-1 input:nth-child(3),
.sheet-character-1-right-row-bottom-2 input:nth-child(3),
.sheet-character-1-right-row-bottom-1 input:nth-child(4),
.sheet-character-1-right-row-bottom-2 input:nth-child(4) {
margin-right: 37px;
}
/*********************/
/* Character sheet 2 */
/*********************/
.sheet-character-2-top {
display: flex;
}
.sheet-character-2-row-type-1 {
margin-left: 37px;
margin-bottom: -8px;
}
.sheet-character-2-row-type-1:nth-child(5) {
margin-bottom: -11px;
}
.sheet-character-2-row-type-1:nth-child(n + 6) {
margin-bottom: -10px;
}
.sheet-character-2-row-type-1:nth-child(n + 11) {
margin-bottom: -8px;
}
.sheet-character-2-row-type-1:nth-child(n + 15) {
margin-bottom: -10px;
}
.sheet-character-2-row-type-1:nth-child(n + 20) {
margin-bottom: -9px;
}
.sheet-character-2-top-left-column {
margin-top: 29px;
}
.sheet-character-2-row-type-1 input {
width: 77px;
margin-right: 6px;
}
.sheet-character-2-row-type-1 input:nth-child(1) {
width: 202px;
}
.sheet-character-2-row-type-1 input:nth-child(n + 2) {
margin-right: 2px;
}
.sheet-character-2-top-left-column,
.sheet-character-2-top-right-column {
flex: 1;
}
/* Equipment */
.sheet-character-2-row-type-2 {
text-align: right;
display: flex;
}
.sheet-character-2-row-type-2 input {
margin-right: 44px;
flex: 1;
text-align: right;
}
.sheet-character-2-row-type-2 input:first-child {
flex: 1;
text-align: left;
}
.sheet-character-2-top-right-column {
padding-top: 3px;
}
.sheet-character-2-row-type-2:nth-child(1) {
margin-bottom: 8px;
}
.sheet-character-2-row-type-2:nth-child(2) {
margin-bottom: 12px;
}
.sheet-character-2-row-type-2:nth-child(3) {
margin-bottom: 18px;
}
.sheet-character-2-row-type-2:nth-child(4) {
margin-bottom: 20px;
}
.sheet-character-2-row-type-2:nth-child(n + 5) {
margin-bottom: 18px;
}
.sheet-character-2-row-type-2:nth-child(8) {
margin-bottom: 21px;
}
/* XP facts */
.sheet-xp-row {
text-align: right;
margin-bottom: 8px;
}
.sheet-xp-row.sheet-with-text {
text-align: left;
}
.sheet-xp-row:nth-child(2) {
margin-bottom: 12px;
}
.sheet-xp-row:nth-child(3) {
margin-bottom: 18px;
}
.sheet-xp-row:nth-child(4) {
margin-bottom: 15px;
}
.sheet-xp-row:nth-child(5) {
margin-bottom: 9px;
}
.sheet-xp-row:nth-child(8) {
margin-bottom: 11px;
}
.sheet-xp-row input {
margin-right: 44px;
}
.sheet-xp-row.sheet-with-text input {
margin-right: 0px;
}
.sheet-xp-row.sheet-with-text input[type="text"] {
width: 436px;
}
/* Notes section */
.sheet-note {
margin-bottom: -8px;
}
.sheet-note.sheet-init {
margin-top: 84px;
}
.sheet-note input {
width: 459px;
}
.sheet-attacks {
margin-top: 76px;
margin-left: 39px;
}
/* Weapons and attack section */
.sheet-attack {
margin-bottom: 7px;
}
.sheet-attack .sheet-weapon {
width: 143px;
}
.sheet-attack .sheet-hands {
width: 45px;
}
.sheet-attack .sheet-length {
width: 47px;
}
.sheet-attack .sheet-skill {
width: 58px;
}
.sheet-attack .sheet-mt {
width: 41px;
}
.sheet-attack .sheet-attack-table {
width: 60px;
}
.sheet-attack .sheet-res-max {
width: 63px;
}
.sheet-attack .sheet-crit-main {
width: 55px;
}
.sheet-attack .sheet-crit-alt {
width: 56px;
}
.sheet-attack .sheet-reach {
width: 34px;
}
.sheet-attack .sheet-without {
width: 34px;
}
.sheet-attack .sheet-light-armour {
width: 34px;
}
.sheet-attack .sheet-medium-armour {
width: 33px;
}
.sheet-attack .sheet-heavy-armour {
width: 35px;
}
.sheet-attack .sheet-properties {
width: 126px;
}
.sheet-character-2-bottom {
width: 100%;
display: flex;
padding-top: 29px;
}
.sheet-bottom-left-column,
.sheet-bottom-right-column {
flex: 1;
}
/* Armour and protection section */
.sheet-armour-and-protection {
padding-left: 40px;
padding-top: 39px;
}
.sheet-armour-row {
margin-bottom: 7px;
}
.sheet-armour-row .sheet-armour {
width: 109px;
}
.sheet-armour-row .sheet-type {
width: 108px;
}
.sheet-armour-row .sheet-agi-max,
.sheet-armour-row .sheet-mov-penalty,
.sheet-armour-row .sheet-bc-penalty,
.sheet-armour-row .sheet-per-penalty,
.sheet-armour-row .sheet-cac-penalty,
.sheet-armour-row .sheet-pro-bonus {
width: 34px;
}
/* Mount data */
.sheet-mount {
margin-top: 40px;
}
.sheet-companion {
margin-top: 48px;
}
.sheet-mount input {
border: 1px solid transparent;
}
.sheet-mount-row {
margin-bottom: -6px;
}
.sheet-mount-row .sheet-name {
margin-left: 89px;
width: 400px;
}
.sheet-mount-row .sheet-type {
margin-left: 64px;
width: 294px;
}
.sheet-mount-row .sheet-mount-bonus {
width: 41px;
margin-left: 86px;
}
.sheet-mount-row .sheet-movement {
margin-left: 112px;
width: 70px;
}
.sheet-mount-row .sheet-attack {
margin: 0;
margin-left: 41px;
width: 64px;
}
.sheet-mount-row .sheet-bc {
margin-left: 16px;
width: 39px;
}
.sheet-mount-row .sheet-def {
margin-left: 31px;
width: 41px;
}
.sheet-mount-row .sheet-pg {
margin-left: 17px;
width: 43px;
}
.sheet-mount-row .sheet-notes-1 {
margin-left: 74px;
width: 414px;
}
.sheet-mount-row .sheet-notes-2 {
margin-left: 37px;
width: 451px;
}
/* hit points */
.sheet-hit-points,
.sheet-magic-points {
padding-left: 7px;
}
.sheet-magic-points {
padding-top: 21px;
}
.sheet-hit-points-box,
.sheet-magic-points-box {
width: 441px;
height: 130px;
resize: none;
}
.sheet-magic-points-box {
height: 111px;
}
/* Hero path */
.sheet-heroic-path {
display: flex;
margin-top: 25px;
padding-left: 14px;
flex-wrap: wrap;
}
.sheet-hero-row {
display: flex;
flex-direction: row;
height: 22px;
}
.sheet-hero-row:nth-child(2) {
margin-bottom: -1px;
}
.sheet-hero-row .sheet-container {
border: 1px solid transparent;
position: relative;
cursor: pointer;
font-size: 22px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: 0;
width: 12px;
margin-right: 8px;
}
.sheet-hero-row .sheet-container:nth-child(4) {
margin-right: 9px;
}
.sheet-hero-row .sheet-container:nth-child(8) {
margin-right: 10px;
}
/* Hero checkboxes */
/* Hide the browser's default radio button */
.sheet-hero-row .sheet-container input {
position: absolute;
opacity: 0;
cursor: pointer;
width: 7px;
}
/* Create a custom radio button */
.sheet-hero-row .sheet-checkmark {
position: absolute;
margin-top: -1px;
margin-left: -6px;
height: 12px;
width: 12px;
background-color: transparent;
border-radius: 50%;
}
/* When the radio button is checked, add a blue background */
.sheet-hero-row .sheet-container input:checked ~ .sheet-checkmark {
background-color: black;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.sheet-hero-row .sheet-checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the indicator (dot/circle) when checked */
.sheet-hero-row .sheet-container input:checked ~ .sheet-checkmark:after {
display: block;
}