Files
roll20-character-sheets-tester/Miseries & Misfortunes/m&m.css
T

1003 lines
20 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Frank+Ruhl+Libre|Fondamento|Syne+Mono&display=swap');
button[type='roll'] {
background-color: transparent;
color: rgb(64, 64, 64);
border: none;
font-size: 1em !important;
text-align: left;
background-image: none;
text-shadow: none;
box-shadow: none;
padding: 0px;
margin: 0px;
width: 100%;
overflow: hidden;
}
button[type='roll']::before {
content: '' !important;
}
button[type='roll']:hover,
input[type='checkbox'].sheet-roll-trigger:hover + span {
color: #3155a4;
}
.sheet-roll-trigger {
position: absolute;
right: 0;
top: 0;
width: 100%;
height: 100%;
}
input[type='checkbox'].sheet-roll-trigger {
opacity: 0;
cursor: pointer;
z-index: 10;
height: 100%;
width: 100%;
}
.charsheet div.sheet-row.sheet-combat-container {
display: flex;
}
.charsheet div.sheet-row.sheet-combat-container.sheet-block {
display: block;
min-height: 20px;
}
.sheet-combat-container .sheet-combat-column {
position: relative;
flex: 1;
border-bottom: 1px solid black;
}
.sheet-combat-container .sheet-middle-column {
border-left: 1px solid black;
border-right: 1px solid black;
}
.sheet-combat-column-double {
position: relative;
flex: 2;
border-bottom: 1px solid black;
border-left: 1px solid black;
}
input[type='radio'].sheet-editing:checked ~ .sheet-tabcontainer .sheet-combat-column span:first-child {
display: block;
}
.sheet-special-skill input.sheet-edit {
width: 100%;
}
.sheet-reputation-armor-flag[value='none'] + button,
.sheet-reputation-armor-flag[value='lowest'] + button {
display: none;
}
.sheet-combat-container button {
width: 90%;
}
.sheet-combat-container select {
margin: 0px;
height: 15px;
}
.sheet-die-container {
position: relative;
min-height: 50px;
}
.sheet-die-container span {
position: absolute;
}
.sheet-d4 {
font-family: 'dicefontd4';
}
.sheet-d6 {
font-family: 'dicefontd6';
}
.sheet-d8 {
font-family: 'dicefontd8';
}
.sheet-d10 {
font-family: 'dicefontd10';
}
.sheet-d12 {
font-family: 'dicefontd12';
}
.sheet-d20 {
font-family: 'dicefontd20';
}
input.sheet-dietype-flag[value='d4'] ~ .sheet-d4,
input.sheet-dietype-flag[value='d6'] ~ .sheet-d6,
input.sheet-dietype-flag[value='d8'] ~ .sheet-d8,
input.sheet-dietype-flag[value='d10'] ~ .sheet-d10,
input.sheet-dietype-flag[value='d12'] ~ .sheet-d12,
input.sheet-dietype-flag[value='d20'] ~ .sheet-d20,
input.sheet-dietype-flag[value='d4'] ~ button .sheet-die-container .sheet-d4,
input.sheet-dietype-flag[value='d6'] ~ button .sheet-die-container .sheet-d6,
input.sheet-dietype-flag[value='d8'] ~ button .sheet-die-container .sheet-d8,
input.sheet-dietype-flag[value='d10'] ~ button .sheet-die-container .sheet-d10,
input.sheet-dietype-flag[value='d12'] ~ button .sheet-die-container .sheet-d12,
input.sheet-dietype-flag[value='d20'] ~ button .sheet-die-container .sheet-d20 {
display: initial;
font-size: 3.5em;
position: absolute;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
color: #2a2d80;
text-shadow: rgb(0, 0, 0) 0px 0px 3px;
z-index: 1;
top: 14px;
opacity: 0.8;
}
.sheet-d4::after,
.sheet-d6::after,
.sheet-d8::after,
.sheet-d10::after,
.sheet-d12::after,
.sheet-d20::after {
content: '0';
}
.sheet-tn {
border: none;
background-color: transparent;
font-size: 2em;
z-index: 2;
position: absolute;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
top: 16px;
text-shadow: -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff, 1px 1px 1px #fff;
}
.sheet-die-container-skill {
position: relative;
min-height: 15px;
display: inline-block;
}
.sheet-die-container-skill .sheet-tn {
font-size: 1em;
}
input.sheet-dietype-flag[value='0'] ~ .sheet-d10,
input.sheet-dietype-flag[value='1'] ~ .sheet-d6,
input.sheet-dietype-flag[value='2'] ~ .sheet-d6,
input.sheet-dietype-flag[value='3'] ~ .sheet-d6,
input.sheet-dietype-flag[value='4'] ~ .sheet-d6,
input.sheet-dietype-flag[value='5'] ~ .sheet-d6,
input.sheet-dietype-flag[value='6'] ~ .sheet-d8,
input.sheet-dietype-flag[value='7'] ~ .sheet-d10,
input.sheet-dietype-flag[value='8'] ~ .sheet-d12,
input.sheet-dietype-flag[value='9'] ~ .sheet-d20 {
display: initial;
font-size: 1.7em;
position: absolute;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
color: #2a2d80;
text-shadow: rgb(0, 0, 0) 0px 0px 3px;
z-index: 1;
top: 14px;
opacity: 0.8;
}
.sheet-row {
display: block;
}
.sheet-column {
width: calc(32.7%);
display: inline-block;
vertical-align: top;
}
.sheet-flex {
display: flex;
}
.sheet-container {
width: 850px;
position: relative;
}
.sheet-block {
display: block;
}
.sheet-main-body > .sheet-column:not(:last-child) {
border-right: 1px solid black;
padding-right: 3px;
}
.sheet-main-body > .sheet-column:not(:first-child) {
margin-left: 3px;
}
.sheet-main-body {
margin-top: 20px;
}
.sheet-half {
display: inline-block;
width: calc(49%);
}
.sheet-border-above {
border-top: 1px solid black;
}
.sheet-border-below {
border-bottom: 1px solid black;
}
.sheet-negative-margin-top {
margin-top: -1px;
}
/* MARGINS */
.sheet-rules-container,
.sheet-special-martial-container,
.sheet-wealth,
.sheet-wealth-container span,
.sheet-special-skill,
.sheet-combat-container .sheet-combat-column-double span:nth-of-type(1),
.sheet-combat-container .sheet-combat-column span:nth-of-type(1),
.sheet-age-exertion span,
.sheet-measures-container .sheet-left span,
.sheet-text-area-container,
.sheet-skill-repeating-container span,
.sheet-skill-container span,
.sheet-qualities .sheet-font-big,
.sheet-qualities .sheet-handwritten,
.sheet-font-bigger.sheet-bold,
.sheet-lifepath-name span,
.sheet-pad3 {
padding-left: 5px;
}
.sheet-ability-container {
width: calc(16.6%);
display: inline-block;
text-align: center;
position: relative;
border: 1px solid black;
margin-left: -1px;
min-height: 70px;
}
.sheet-ability-container .sheet-row {
position: relative;
}
.sheet-ability-container .sheet-left {
display: inline-block;
width: calc(61%);
height: 50px;
}
.sheet-ability-container .sheet-right {
display: inline-block;
width: calc(32%);
}
.sheet-ability-number {
font-size: 3em;
}
.sheet-ability-container .sheet-right {
vertical-align: bottom;
}
.sheet-ability-container .sheet-ability-mod {
font-size: 1.7em;
position: absolute;
top: -21px;
left: 17px;
}
input[type='radio'].sheet-playing:checked ~ .sheet-edit,
input[type='radio'].sheet-editing:checked ~ .sheet-play,
input[type='radio'].sheet-playing:checked ~ .sheet-tabcontainer .sheet-edit,
input[type='radio'].sheet-editing:checked ~ .sheet-tabcontainer .sheet-play,
input[type='radio'].sheet-playing:checked ~ .sheet-tabcontainer .repcontrol {
display: none;
}
.sheet-edit:not(span),
.sheet-edit > select,
input[type='radio'].sheet-editing:checked ~ .sheet-tabcontainer .sheet-both {
background-color: rgb(255, 255, 0, 0.2);
}
.sheet-both,
input.sheet-edit,
select {
width: 170px;
font-family: 'Syne Mono';
color: #505050;
border: none;
line-height: 10px;
padding: 0px;
}
textarea.sheet-edit {
width: calc(100% - 15px);
resize: vertical;
height: 100px;
font-family: 'Syne Mono';
color: #505050;
border: none;
padding: 0px;
}
.sheet-text-area-container {
min-height: 100px;
}
input[type='number'] {
text-align: center;
}
input[type='number'].sheet-both {
margin-left: 10px;
}
.sheet-lifepath-level,
.sheet-lifepath-name {
display: inline-block;
}
.sheet-lifepath-level {
display: inline-block;
width: calc(32%);
text-align: center;
}
.sheet-lifepath-name {
display: inline-block;
width: calc(65%);
}
.sheet-lifepaths-container .repitem {
display: inline-block;
width: calc(50%);
}
.sheet-lifepath-name input {
width: 90px;
}
.sheet-lifepath-level input {
width: 35px;
}
.sheet-age-exertion .sheet-left,
.sheet-age-exertion .sheet-right {
display: inline-block;
width: calc(49%);
}
.charsheet div.sheet-row.sheet-measures-container {
display: flex;
}
.sheet-measures-container div {
display: inline-block;
position: relative;
}
.sheet-measures-container .sheet-left {
width: calc(25%);
padding-top: 10px;
}
.sheet-measures-container .sheet-right {
width: calc(75%);
display: flex;
}
.sheet-measures-container .sheet-quarter {
flex: 1;
border-left: 1px solid black;
border-bottom: 1px solid black;
text-align: center;
padding-top: 3px;
}
.sheet-measures-container .sheet-half {
flex: 2;
border-left: 1px solid black;
border-bottom: 1px solid black;
text-align: center;
padding-top: 3px;
}
.sheet-measures-container .sheet-full {
flex: 1;
border-left: 1px solid black;
border-bottom: 1px solid black;
text-align: center;
padding-top: 3px;
}
.sheet-modal-flag[value='1'] + .sheet-roll-modal {
display: block;
position: fixed;
top: 100px;
right: 0;
left: 0;
margin-right: auto;
margin-left: auto;
z-index: 100;
width: 250px;
background: rgb(240, 240, 240);
border: 2px solid rgba(64, 64, 64, 0.8);
border-radius: 5px;
padding: 10px;
text-align: center;
}
input[type='checkbox'].sheet-close-modal,
input[type='checkbox'].sheet-close-modal + span {
position: absolute;
top: 0px;
right: 0px;
width: 15px;
height: 15px;
}
input[type='checkbox'].sheet-close-modal {
cursor: pointer;
opacity: 0;
z-index: 101;
}
input[type='checkbox'].sheet-close-modal + span::before {
content: '✖';
}
input.sheet-roll-modifier-flag[value='save'] ~ div .sheet-roll,
input.sheet-roll-modifier-flag[value='combat'] ~ div .sheet-roll,
input.sheet-roll-modifier-flag[value='d20'] ~ div .sheet-difficulty,
input.sheet-roll-modifier-flag[value='skill'] ~ div .sheet-skill {
display: initial;
}
input.sheet-roll-modifier-flag[value='skill'] ~ .sheet-skill {
display: inline-block;
}
.sheet-wits-dropdown {
width: 100px;
}
.sheet-shot-container .sheet-left,
.sheet-shot-container .sheet-right,
.sheet-range .sheet-left,
.sheet-range .sheet-right {
display: inline-block;
vertical-align: top;
}
.sheet-shot-container .sheet-right,
.sheet-range .sheet-right {
text-align: left;
}
.sheet-shot-container .sheet-right div,
.sheet-range .sheet-right div {
display: block;
}
input.sheet-combat-shot-flag[value='melee'] ~ .sheet-shot-container {
display: none;
}
input.sheet-combat-shot-flag[value='melee'] ~ .sheet-range .sheet-ranged,
input.sheet-combat-shot-flag:not([value='melee']) ~ .sheet-range .sheet-melee {
pointer-events: none;
color: #888;
}
.sheet-combat-mod-container div {
display: inline-block;
}
.sheet-combat-mod-container input {
display: inline-block;
}
.sheet-opponent-stat-flag[value='intimate'] + .sheet-opponent-stat-container,
.sheet-opponent-stat-flag[value='melee'] + .sheet-opponent-stat-container {
display: inline-block;
}
.sheet-modifier-container {
display: inline-block;
}
.sheet-roll-modal div.sheet-modifier-container:last-child {
margin-left: 25px;
}
.sheet-rules-die-container {
position: relative;
display: inline-block;
width: 20px;
}
.sheet-rules-die-container span {
position: absolute;
}
.sheet-rules-die-container .sheet-backing {
display: initial;
font-size: 1.7em;
position: absolute;
left: 50%;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
color: #2a2d80;
text-shadow: rgb(0, 0, 0) 0px 0px 3px;
z-index: 1;
top: -7px;
opacity: 0.8;
}
.sheet-rules-die-container .sheet-tn {
font-size: 1em;
top: 0px;
}
.sheet-rules-die-container .sheet-subtext {
top: 25px;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
}
.sheet-rules-die-container .sheet-curly-brace {
top: 5px;
left: 6px;
transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
font-size: 2em;
}
.sheet-rules-container .sheet-die-spread {
margin-top: -10px;
}
.sheet-rules-container .sheet-rules-die-container-footer {
margin-top: 35px;
}
.sheet-rules-container .sheet-quarter {
display: inline-block;
width: calc(23.5%);
text-align: center;
}
.sheet-rules-container .sheet-quarter div {
line-height: 10px;
}
.sheet-skill-container .sheet-left,
.sheet-skill-container .sheet-right,
.sheet-skill-repeating-container .sheet-left,
.sheet-skill-repeating-container .sheet-right,
.sheet-increment-container {
position: relative;
display: inline-block;
}
.sheet-skill-container .sheet-left,
.sheet-skill-repeating-container .sheet-left {
width: calc(62%);
}
.sheet-skill-container .sheet-right,
.sheet-skill-repeating-container .sheet-right {
width: calc(35%);
}
input[type='radio'].sheet-editing:checked ~ .sheet-tabcontainer .sheet-skill-container .sheet-left,
input[type='radio'].sheet-editing:checked ~ .sheet-tabcontainer .sheet-skill-repeating-container .sheet-left {
width: calc(41% - 1px);
}
input[type='radio'].sheet-editing:checked ~ .sheet-tabcontainer .sheet-skill-container .sheet-right,
input[type='radio'].sheet-editing:checked ~ .sheet-tabcontainer .sheet-skill-repeating-container .sheet-right {
width: calc(58% - 1px);
}
.sheet-die-container-skill {
width: 15px;
}
.sheet-die-container-skill input.sheet-dietype-flag ~ .sheet-tn {
top: 0px;
}
.sheet-die-container-skill input.sheet-dietype-flag ~ .sheet-d4,
.sheet-die-container-skill input.sheet-dietype-flag ~ .sheet-d6,
.sheet-die-container-skill input.sheet-dietype-flag ~ .sheet-d8,
.sheet-die-container-skill input.sheet-dietype-flag ~ .sheet-d10,
.sheet-die-container-skill input.sheet-dietype-flag ~ .sheet-d12,
.sheet-die-container-skill input.sheet-dietype-flag ~ .sheet-d20 {
top: -7px;
}
.sheet-skill-container-double {
display: flex;
flex-flow: row wrap;
}
.sheet-skill-container-double .sheet-mod-display {
display: inline-block;
}
.sheet-skill-container-double .sheet-skill-container {
width: calc(50% - 1px);
}
.sheet-skill-container-double .sheet-skill-container:nth-child(odd),
.sheet-skill-container-double .repitem:nth-child(odd) {
border-right: 1px solid black;
}
.sheet-skill-container-double .repitem:nth-child(1),
.sheet-skill-container-double .repitem:nth-child(2),
.sheet-skill-container-double .sheet-skill-container:nth-child(1),
.sheet-skill-container-double .sheet-skill-container:nth-child(2) {
padding-top: 3px;
}
.sheet-skill-container .sheet-left,
.sheet-skill-repeating-container .sheet-left {
overflow: hidden;
text-overflow: clip;
word-wrap: break-word;
white-space: nowrap;
vertical-align: bottom;
}
.sheet-skill-container-double .repcontainer {
width: 100%;
}
.sheet-skill-container-double .repitem {
width: calc(50% - 1px);
display: inline-block;
}
.sheet-mod-display select.sheet-edit {
width: 20px;
margin: 0px;
height: 10px;
}
.sheet-mentalities input[type='text'] {
width: calc(100% - 60px);
}
.sheet-special-martial-container span {
font-size: 0.8em;
}
.sheet-special-martial-container .sheet-fifth {
width: calc(17%);
display: inline-block;
}
.sheet-special-martial-container .sheet-right {
width: calc(65%);
display: inline-block;
text-align: center;
}
.sheet-special-martial-container .sheet-left {
width: calc(33%);
display: inline-block;
}
.sheet-special-martial-container .sheet-smallest {
font-size: 0.9em;
}
.sheet-special-martial-container .sheet-align-left {
text-align: left;
}
input[type='radio'].sheet-tab {
opacity: 0;
position: absolute;
z-index: 2;
height: 20px;
}
input[type='radio'].sheet-tab + span {
position: absolute;
border: 2px solid rgba(165, 165, 165, 0.8);
border-radius: 5px 5px 0px 0px;
background-color: #e8e8e8;
color: rgb(64, 64, 64);
text-align: center;
font-weight: bold;
}
input[type='radio'].sheet-tab:checked + span {
color: #ffffff;
background-color: #3155a4;
}
input[type='radio'].sheet-tab.sheet-editing,
input[type='radio'].sheet-tab.sheet-editing + span {
top: -20px;
right: 79px;
width: 75px;
}
input[type='radio'].sheet-tab.sheet-playing,
input[type='radio'].sheet-tab.sheet-playing + span {
top: -20px;
right: 0px;
width: 75px;
}
.sheet-bold {
font-weight: bold;
}
.sheet-italic {
font-style: italic;
}
.sheet-center {
text-align: center;
}
.sheet-hidden {
display: none;
}
.sheet-font-smallest {
font-size: 0.75em;
}
.sheet-font-smaller {
font-size: 0.8em;
}
.sheet-font-small {
font-size: 0.9em;
}
.sheet-font-big {
font-size: 1.1em;
}
.sheet-font-bigger {
font-size: 1.2em;
}
.sheet-font-biggest {
font-size: 1.4em;
}
.sheet-logo-container {
width: 100%;
text-align: center;
}
.sheet-logo {
font-family: 'Fondamento';
font-size: 25px;
}
span {
font-family: 'Frank Ruhl Libre';
color: black;
}
.sheet-handwritten {
font-family: 'Syne Mono';
color: #505050;
}
.sheet-wealth-container .sheet-half {
width: calc(48%);
display: inline-block;
}
.sheet-wealth-container {
border-bottom: 1px solid black;
}
.sheet-wealth > select {
width: 95px;
}
.charsheet input[type='number'].sheet-wealth-ranking {
width: 30px;
}
.sheet-wealth select {
margin: 0px;
height: 15px;
}
.sheet-rolltemplate-container {
width: 100%;
font-family: 'Frank Ruhl Libre';
color: black;
border: 1px solid black;
border-radius: 10px;
background-color: white;
}
.sheet-rolltemplate-container .sheet-left,
.sheet-rolltemplate-container .sheet-middle,
.sheet-rolltemplate-container .sheet-right {
display: inline-block;
position: relative;
min-height: 40px;
}
.sheet-rolltemplate-container .sheet-left,
.sheet-rolltemplate-container .sheet-right {
width: calc(48%);
}
.sheet-rolltemplate-container .sheet-middle {
width: calc(1%);
}
.sheet-rolltemplate-container .sheet-template-header {
padding: 5px;
border-bottom: 1px solid black;
overflow: hidden;
word-wrap: break-word;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
}
.sheet-rolltemplate-container .sheet-name-container {
display: block;
color: #444;
}
.sheet-rolltemplate-container .sheet-template-header .sheet-mod-container span {
position: relative;
font-size: 1em;
display: inline-block;
left: auto;
top: auto;
transform: none;
-webkit-transform: none;
padding: 0px;
}
.sheet-rolltemplate-container .sheet-template-footer {
padding: 5px;
text-align: center;
border-top: 1px solid black;
border-radius: 0px 0px 5px 5px;
}
.sheet-rolltemplate-container .sheet-damage-container {
text-align: center;
position: relative;
}
.sheet-rolltemplate-container .sheet-damage-container .inlinerollresult {
position: relative;
top: initial;
left: inherit;
font-size: 1.2em;
padding: 0px;
}
.sheet-rolltemplate-container .sheet-handwritten {
font-family: 'Merienda';
color: #3155a4;
font-weight: bold;
text-transform: uppercase;
-webkit-text-stroke-width: 0.3px;
-webkit-text-stroke-color: #3155a4;
letter-spacing: normal;
}
.sheet-rolltemplate-container .sheet-template-success .sheet-template-footer {
background-color: rgba(36, 115, 5, 0.5);
}
.sheet-rolltemplate-container .sheet-template-failure .sheet-template-footer {
background-color: rgba(115, 5, 5, 0.5);
}
.sheet-rolltemplate-container .inlinerollresult,
.sheet-rolltemplate-container .sheet-middle span {
border: none;
background-color: transparent;
font-size: 2em;
z-index: 2;
position: absolute;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
top: 16px;
text-shadow: -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff, 1px 1px 1px #fff;
}
.sheet-rolltemplate-container .inlinerollresult.fullcrit,
.sheet-rolltemplate-container .inlinerollresult.fullfail,
.sheet-rolltemplate-container .inlinerollresult.importantroll {
background: none;
border: none;
}
.sheet-rolltemplate-container .sheet-backing {
display: initial;
font-size: 3.5em;
position: absolute;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
color: #2a2d80;
text-shadow: rgb(0, 0, 0) 0px 0px 3px;
z-index: 1;
top: 14px;
opacity: 0.8;
}
.sheet-rolltemplate-container .sheet-d4 {
font-family: 'dicefontd4';
}
.sheet-rolltemplate-container .sheet-d6 {
font-family: 'dicefontd6';
}
.sheet-rolltemplate-container .sheet-d8 {
font-family: 'dicefontd8';
}
.sheet-rolltemplate-container .sheet-d10 {
font-family: 'dicefontd10';
}
.sheet-rolltemplate-container .sheet-d12 {
font-family: 'dicefontd12';
}
.sheet-rolltemplate-container .sheet-d20 {
font-family: 'dicefontd20';
}
.sheet-rolltemplate-container .sheet-d4::after,
.sheet-rolltemplate-container .sheet-d6::after,
.sheet-rolltemplate-container .sheet-d8::after,
.sheet-rolltemplate-container .sheet-d10::after,
.sheet-rolltemplate-container .sheet-d12::after,
.sheet-rolltemplate-container .sheet-d20::after {
content: '0';
}
.sheet-rolltemplate-container .sheet-simple {
position: relative;
min-height: 50px;
}