@import url('https://fonts.googleapis.com/css?family=Balthazar|Roboto&display=swap'); .charsheet { width: 850px; background: white; font-family: Balthazar; font-size: 1.1em; } div{ border-radius: 0px; } textarea { resize: none; height: auto; box-sizing: border-box; width: 100%; } textarea:focus, input:focus, select:focus, button:focus { outline: none; } textarea, input, input[type=number] { outline: none; box-shadow: none; margin-bottom: 1px; font-family: Roboto; border-radius: 0px; color: #160101; border-color: transparent; background-color: white; } textarea:hover, input:hover, input[type=number]:hover { border-color: #490403; } input[type=number] { -moz-appearance: textfield; appearance: textfield; margin: 0; text-align: center; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .sheet-header textarea, .sheet-header input { border: none; } textarea:placeholder-shown, input:placeholder-shown, input[type=number]:placeholder-shown { background-color:#DDD5D0 } input[type=number], input[type="text"] { width: 100%; } select { width: auto; margin: 0; font-family: Roboto; color: #160101; border:none; } input[disabled], input[readonly] { -moz-appearance: textfield; background-color: #DDD5D0; } input[type=number]:disabled::-webkit-inner-spin-button, input[type=number]:disabled::-webkit-outer-spin-button, input[type=number]:read-only::-webkit-inner-spin-button, input[type=number]:read-only::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; } .repcontainer .btn, .repcontrol .btn { border-radius: 0; background-image: none; border: none; } /* ===== GENERAL CLASSES ===== */ .sheet-smalltext { font-size: 0.9em; } .sheet-small-margin { margin: 0 0.3em; } /* ===== LAYOUT ===== */ .sheet-col-left { display: inline-block; width: 320px; vertical-align: top; margin-right: 4px; } .sheet-col-right { display: inline-block; width: 520px; vertical-align: top; } /* ===== TOGGLE ===== */ .sheet-toggle:not(:checked) ~ .sheet-hide, .sheet-toggle:checked ~ .sheet-show { display: none; } /* === ETATS === */ label.sheet-etat { position: relative; width: -moz-fit-content; cursor: pointer; text-align: center; font-size: 0.9em; text-transform: none; font-family: Roboto; width: 100%; } label.sheet-etat input[type="checkbox"] { position: absolute; z-index: 1; opacity: 0; } label.sheet-etat span { color: #CCC; font-weight: normal; } label.sheet-etat span:hover{ color: white; } label.sheet-etat span::before { font-family: pictos; font-size: 1.1em; content: "*"; margin-right: 0.3em; } label.sheet-etat input[type="checkbox"]:checked ~ span { color: white; font-weight: bold; } label.sheet-etat input[type="checkbox"]:checked ~ span::before { content: "!"; font-weight: normal; } /* === OPTIONS === */ .sheet-options-ligne { display: flex; align-items: baseline; justify-content: center; } .sheet-options-ligne div.sheet-header, .sheet-options-ligne label { margin-right: 0.3em; } .sheet-options-ligne label { position: relative; width: fit-content; width: -moz-fit-content; cursor: pointer; font-family: Roboto; font-size: 1em; font-weight: normal; } .sheet-options-ligne label input[type="checkbox"], .sheet-options-ligne label input[type="radio"] { position: absolute; z-index: 1; opacity: 0; } .sheet-options-ligne label span { border-style: solid; border-color: transparent; border-width: 0px 0px 1px 0px; border-radius: 0 1em 1em 0; color: #666666; width: fit-content; width: -moz-fit-content; padding: 0.3em; } .sheet-options-ligne label span:hover{ border-color: #690805; } .sheet-options-ligne label span::after { font-family: pictos; font-size: 1.1em; content: "*"; margin-left: 0.3em; } .sheet-options-ligne label input[type="checkbox"]:checked ~ span, .sheet-options-ligne label input[type="radio"]:checked ~ span { color: #490403; border-color: #490403; } .sheet-options-ligne label input[type="checkbox"]:checked ~ span::after, .sheet-options-ligne label input[type="radio"]:checked ~ span::after { content: "3"; } /* ===== SECTION HEADERS ===== */ .sheet-header { display: inline-flex; align-items: center; justify-content: space-between; background: linear-gradient(to right bottom, #160101 40%, #700200, #DE6928); color: #fff; padding: 2px 0px; vertical-align: middle; line-height: 100%; height: 32px; line-height: 32px; font-size: 1.1em; margin: 3px 0px; border-radius: 0px; padding: 2px 2px 2px 8px; } .sheet-header input { height: 28px; border: none; vertical-align: middle; font-weight: bold; font-size: 18px; line-height: 18px; margin: 2px; } .sheet-header input[type="text"].sheet-alipeu{ width:218px; text-align: center; font-size: 14px; } .sheet-header input[type="text"] { width: 2.2em; } .sheet-header input[type=number] { width: 2.7em; } .sheet-header input[type=number]:disabled, .sheet-header input[type=number]:read-only { width: 2em; } button[type="roll"] { height: 20px !important; margin: 0 !important; padding: 0 !important; background: white; border: none; font-size: 1.1em !important; color: #490403; } button[type="roll"]:before { content: 'l' !important; font-family: 'dicefontd6' !important; font-size: 1.5em; color: #490403; font-weight: bold; } button[type="roll"]:hover{ color: #DE6928; /* #700200; #CD071E; */ font-weight: bold; } button[type="roll"]:hover:before { content: 'L' !important; font-weight: normal; } .sheet-header > * { text-align: right; height: 100%; } .sheet-header .sheet-section-name { display: inline-flex; margin-right: 2px; font-size: 1.1em; } /* ===== MAIN HEADER ===== */ .sheet-topbar { display: block; padding: 4px; background: white; width: 100%; text-align: center; } .sheet-topbar div{ display: inline-block; vertical-align: middle; } .sheet-topbar img{ display: inline-block; vertical-align: middle; } .sheet-topbar input { height: 45px; padding: 3px; margin: 0; font-size: 1.8em; line-height: 36px; } .sheet-topbar select option { font-size: 1.2em; } .sheet-topbar .sheet-field-name { width: 370px; text-align: center; background-color: white; color: #160101; } .sheet-topbar input.sheet-field-class, .sheet-topbar select.sheet-field-class { background: linear-gradient(to bottom right, #160101 40%, #700200, #DE6928); color: white; font-family: Balthazar; } .sheet-topbar input.sheet-field-class { width: 200px; text-align: center; } .sheet-topbar select.sheet-field-class { width: 26px; text-align: left; } .sheet-topbar select.sheet-field-class option { color: black; } /* ===== STATISTICS ===== */ .sheet-statistics { display: block; width: 100%; text-align: center; } .sheet-statistics .sheet-header:last-child { margin-right: 0; } /* ===== ATTRIBUTES ===== */ .sheet-attributes { display: block; width:100%; margin-bottom: 10px; margin-top: 10px; } .sheet-attributes .sheet-header { height: auto; width: 15%; margin-right: 2px; padding: 4px; padding-bottom: 6px; position: relative; } .sheet-attributes .sheet-header > label { height: 1em; width: fit-content; width: -moz-fit-content; margin: 0; padding: 0 0.3em; text-transform: uppercase; text-align: center; font-weight: normal; font-size: 1em; background: white; position: absolute; color: #490403; /* #690805; */ } .sheet-attributes .sheet-header > label.sheet-top { top: -0.3em; left: 0.5em; } .sheet-attributes .sheet-header > label.sheet-bottom { bottom: -0.3em; right: 0.5em; } .sheet-attributes .sheet-header input[type=number] { background: white; width: 100%; margin: 0; text-align: center; z-index: 1; } .sheet-attributes .sheet-row-1 input { width: 100%; } .sheet-attributes .sheet-row-2 { width: 100%; height: 16px; padding: 1px; overflow: hidden; line-height: 14px; font-size: 1em; text-align: center; text-transform: uppercase; font-weight: bold; } .sheet-attributes .sheet-row-2 input { height: 14px; margin: 0; } .sheet-attributes .sheet-row-3 button { position: absolute; right: 0.5em; bottom: 0.6em; z-index: 1; } /* ==== Matériel ==== */ .sheet-gear { width:100%; padding: 0; margin: 0; padding: 2px 0px 2px 0px; border-bottom : 1px dashed #160101; } .sheet-section-gear input { height: 25px; } .sheet-section-gear span { color: #690805; font-size: 1em; } .sheet-section-gear input[name="attr_itemname"] { width: 250px; } .sheet-section-gear input[name="attr_itemweight"] { width: 30px; padding: 0; } .sheet-section-gear input[name="attr_itemuse"], .sheet-section-gear input[name="attr_itemuse_max"]{ width: 34px; padding: 0; } .sheet-section-gear input[name="attr_itemtags"]{ width: 216px; } /* ===== TWEAKS ===== */ .sheet-section-alignment textarea, .sheet-section-race textarea, .sheet-section-bonds textarea{ resize: vertical; } /* ===== Check montrer/cacher ===== */ input[type="checkbox"].sheet-dispcheck{ width: 20px; height: 20px; max-width: 20px; opacity: 0; z-index: 2; margin: 0; } input[type="checkbox"].sheet-dispcheck + span { display: inline-block; text-align: center; padding: 0; margin: 0; margin-left: -20px; width: 20px; max-width: 20px; height: 20px; z-index: 1; font-family: pictos; color: #DDB29B; font-size: 20px; line-height: 20px; } input[type="checkbox"].sheet-dispcheck:checked:hover + span, input[type="checkbox"].sheet-dispcheck:hover + span { color: #490403; } input[type="checkbox"].sheet-dispcheck:checked + span{ color: #DE6928; } input[type="checkbox"].sheet-dispcheck:checked + span + input[type="text"] { font-weight: bold; border-bottom-color: #160101; } div.sheet-dispcheck { width: 100%; display: none; } input[type="checkbox"].sheet-dispcheck:checked ~ div.sheet-dispcheck { display: block; } div.sheet-dispactionjet{ display: none; } input[type="checkbox"].sheet-selcheck:checked + div.sheet-dispactionjet , input[type="checkbox"].sheet-selcheck:checked + span + div.sheet-dispactionjet { display: block; } div.sheet-dispdegmod{ display: none; } input[type="checkbox"].sheet-selcheck:checked ~ div.sheet-dispdegmod{ display: inline-block; } /* ===== Sélection Check ===== */ input[type="checkbox"].sheet-selcheck { width: 20px; height: 20px; max-width: 20px; opacity: 0; z-index: 2; margin: 0; } input[type="checkbox"].sheet-selcheck.sheet-hidden { display: none; } input[type="checkbox"].sheet-selcheck + span{ display: inline-block; text-align: center; padding: 0; margin: 0; margin-left: -20px; width: 20px; max-width: 20px; height: 20px; z-index: 1; font-family: pictos; color: #DDB29B; font-size: 20px; line-height: 20px; } input[type="checkbox"].sheet-selcheck:hover + span{ color: #DE6928; } input[type="checkbox"].sheet-selcheck:checked + span{ font-weight: bold; color: #490403; } /* ==== Action ==== */ div.sheet-action { width: 100%; padding: 0; margin: 0; padding: 2px 0px 2px 0px; border-bottom : 1px dashed #160101; } span.sheet-action { min-width: 60px; white-space: nowrap; display: inline-block; text-align: right; color: #690805; font-size: 1.1em; margin-right: 2px; } div.sheet-actionligne { display: flex; align-items: baseline; flex-flow: row wrap; width: 100%; } div.sheet-actionligne span { white-space: nowrap; color: #690805; font-size: 1.1em; margin: 0px 2px 0px 2px; } div.sheet-actionligne span.sheet-action { margin: 0px 2px 0px 0px; } select.sheet-action{ padding: 0; height: 25px; } input[type=number].sheet-action{ padding: 2px; height: 25px; width: 35px; } input[type="text"].sheet-actionname { width: 460px; height: 25px; font-size: 1em; } textarea.sheet-actiondesc { resize: vertical; width: 450px; display: inline-block; } input[type="text"].sheet-degmod { padding: 2px; width: 5em; text-align: center; } /* ===== Onglets ===== */ div.sheet-onglbase, div.sheet-onglspecial, div.sheet-onglclasse, div.sheet-onglavance, div.sheet-onglsort, div.sheet-onglnote, div.sheet-onglrecrue{ display: none; width: 100%; text-align: left; vertical-align: middle; margin: -1px 0px 1px 0px; border: 1px solid #160101; padding: 3px; z-index: 0; min-height: 250px; } input[type="radio"].sheet-onglbase, input[type="radio"].sheet-onglspecial, input[type="radio"].sheet-onglclasse, input[type="radio"].sheet-onglavance, input[type="radio"].sheet-onglsort, input[type="radio"].sheet-onglnote, input[type="radio"].sheet-onglrecrue{ margin: 0; margin-top: -10px; margin-bottom: -4px; padding: 0; display: inline-block; opacity: 0; width: 85px; height: 20px; z-index: 2; } input[type="radio"].sheet-onglbase + span, input[type="radio"].sheet-onglspecial + span, input[type="radio"].sheet-onglclasse + span, input[type="radio"].sheet-onglavance + span, input[type="radio"].sheet-onglsort + span, input[type="radio"].sheet-onglnote + span, input[type="radio"].sheet-onglrecrue + span{ color: #666666; background-color: #BBBBBB; text-align:center; display: inline-block; width: 85px; margin-left: -85px; margin-right: -4px; font-size: 1.1em; border-style: solid; border-width: 1px; border-left-color: #666666; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #160101; border-top-left-radius: 0px; border-top-right-radius: 15px; z-index: 1; } input[type="radio"].sheet-onglbase:checked + span, input[type="radio"].sheet-onglspecial:checked + span, input[type="radio"].sheet-onglclasse:checked + span, input[type="radio"].sheet-onglavance:checked + span, input[type="radio"].sheet-onglsort:checked + span, input[type="radio"].sheet-onglnote:checked + span, input[type="radio"].sheet-onglrecrue:checked + span{ color: white; background: linear-gradient(to top left, #160101 40%, #700200, #DE6928); border-left-color: #160101; border-top-color: #160101; border-right-color: #160101; border-bottom-color: #160101; } input[type="radio"].sheet-onglbase:checked ~ div.sheet-onglbase{ display: block; } input[type="radio"].sheet-onglspecial:checked ~ div.sheet-onglspecial{ display: block; } input[type="radio"].sheet-onglclasse:checked ~ div.sheet-onglclasse{ display: block; } input[type="radio"].sheet-onglavance:checked ~ div.sheet-onglavance{ display: block; } input[type="radio"].sheet-onglsort:checked ~ div.sheet-onglsort{ display: block; } input[type="radio"].sheet-onglnote:checked ~ div.sheet-onglnote{ display: block; } input[type="radio"].sheet-onglrecrue:checked ~ div.sheet-onglrecrue{ display: block; } /* ==== CLASSES ==== */ input[type="radio"].sheet-barbare, input[type="radio"].sheet-barde, input[type="radio"].sheet-cambrioleur, input[type="radio"].sheet-chaman, input[type="radio"].sheet-clerc, input[type="radio"].sheet-druide, input[type="radio"].sheet-guerrier, input[type="radio"].sheet-immolateur, input[type="radio"].sheet-magicien, input[type="radio"].sheet-paladin, input[type="radio"].sheet-ranger, input[type="radio"].sheet-voleur{ display: none; } div.sheet-barbare, div.sheet-barde, div.sheet-cambrioleur, div.sheet-chaman, div.sheet-clerc, div.sheet-druide, div.sheet-guerrier, div.sheet-immolateur, div.sheet-magicien, div.sheet-paladin, div.sheet-ranger, div.sheet-voleur{ display: none; } input[type="radio"].sheet-barbare:checked ~ div.sheet-barbare, input[type="radio"].sheet-barde:checked ~ div.sheet-barde, input[type="radio"].sheet-cambrioleur:checked ~ div.sheet-cambrioleur, input[type="radio"].sheet-chaman:checked ~ div.sheet-chaman, input[type="radio"].sheet-clerc:checked ~ div.sheet-clerc, input[type="radio"].sheet-druide:checked ~ div.sheet-druide, input[type="radio"].sheet-guerrier:checked ~ div.sheet-guerrier, input[type="radio"].sheet-immolateur:checked ~ div.sheet-immolateur, input[type="radio"].sheet-magicien:checked ~ div.sheet-magicien, input[type="radio"].sheet-paladin:checked ~ div.sheet-paladin, input[type="radio"].sheet-ranger:checked ~ div.sheet-ranger, input[type="radio"].sheet-voleur:checked ~ div.sheet-voleur { display: block; width: 100%; margin: 0; padding: 0; } /* ==== TEMPLATES ==== */ .sheet-rolltemplate-jet { font-size: 1em; } .sheet-rolltemplate-jet .sheet-tpl-main{ background: white; width: 100%; font-family: Roboto; color: #160101; box-shadow: 10px 6px 6px #666666; margin-bottom: 5px; margin-left: -5px; } .sheet-rolltemplate-jet .sheet-tpl-pc { text-align: center; font-family: Balthazar; font-size: 1.25em; padding: 0.15em; } .sheet-rolltemplate-jet .sheet-tpl-title{ font-size: 1.3em; text-align: center; font-family: Balthazar; color: white; background: linear-gradient(to right, #160101 40%, #700200, #DE6928); font-weight: normal; padding: 0.3em; } .sheet-rolltemplate-jet div.sheet-tpl-line { display: flex; align-items: baseline; justify-content: flex-start; padding-top: 0.1em; padding-right: 0.2em; padding-bottom: 0.1em; padding-left: 0.2em; } .sheet-rolltemplate-jet .sheet-tpl-label { color: #690805; font-family: Balthazar; font-size: 1.25em; text-align: right; min-width: 25%; padding-right: 0.2em; } .sheet-rolltemplate-jet div.sheet-jetdesc { font-family: Roboto; max-height: 140px; overflow-y: auto; padding: 0.2em; } .sheet-rolltemplate-jet .inlinerollresult, .sheet-rolltemplate-jet .inlinerollresult.fullcrit, .sheet-rolltemplate-jet .inlinerollresult.fullfail, .sheet-rolltemplate-jet .inlinerollresult.importantroll { font-size: 1.2em; background-color: transparent; border: none; } .sheet-rolltemplate-jet .sheet-success, .sheet-rolltemplate-jet .sheet-success .inlinerollresult { color: darkgreen; } .sheet-rolltemplate-jet .sheet-partial, .sheet-rolltemplate-jet .sheet-partial .inlinerollresult { color: #160101; } .sheet-rolltemplate-jet .sheet-failure, .sheet-rolltemplate-jet .sheet-failure .inlinerollresult { color: #B31515; } .sheet-rolltemplate-jet .sheet-damage .inlinerollresult.fullcrit { color: darkgreen; } .sheet-rolltemplate-jet .sheet-damage .inlinerollresult.fullfail { color: #B31515; } .sheet-rolltemplate-jet .sheet-damage .inlinerollresult.importantroll { color: darkblue; } /* ===== REPEATING SECTIONS CTRL ===== */ .repcontrol { margin-top: 4px; min-height: 25px; } .repcontrol .btn { border: none; color: white !important; background: none; box-shadow: none; font-size: 0; padding: 0px 0px 0px 0px; } .repcontrol .btn:focus {outline: 0;} .repcontrol .repcontrol_add:before, .repcontrol .repcontrol_edit:after { font-family: pictos; color: #490403; display: inline-block; border: 1px solid #490403; border-radius: 50%; font-size: 14px; padding: 2px; height: 14px; width: 14px; line-height: 14px; } .repcontrol .repcontrol_add:before { content: '&'; } .repcontrol .repcontrol_edit:after { content: '('; } .editmode ~ .repcontrol .repcontrol_edit:after { content: ')'; vertical-align: bottom; } .repcontrol .repcontrol_edit:hover:after, .repcontrol .repcontrol_add:hover:before { color: #DE6928; border-color: #DE6928; } .repcontainer .repitem .itemcontrol {z-index: 10;} .repcontainer .repitem .itemcontrol .repcontrol_del { float: right; font-size: 10px; padding: 0px; height: 18px; width: 18px; } .repcontainer .repitem .itemcontrol .repcontrol_move { cursor: move; float: left; font-size: 10px; padding: 0px; height: 18px; width: 18px; }