mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
708 lines
23 KiB
CSS
708 lines
23 KiB
CSS
@import url('https://fonts.googleapis.com/css?family=Averia+Serif+Libre|Julius+Sans+One&display=swap');
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* --------------------------------- GLOBAL --------------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
.charsheet {
|
|
--light-color: #d6c7a9;
|
|
--dark-color: #9f7c36;
|
|
}
|
|
|
|
.sheet-content {
|
|
width: 900px;
|
|
font-family: "Perpetua", "Verdana", sans-serif;
|
|
|
|
border-style: solid;
|
|
border-width: 50px;
|
|
border-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-border-image.png") 100 repeat;
|
|
-moz-border-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-border-image.png") 100 repeat;
|
|
-webkit-border-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-border-image.png") 100 repeat;
|
|
-o-border-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-border-image.png") 100 repeat;
|
|
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-background-image.jpg");
|
|
background-repeat: repeat;
|
|
}
|
|
|
|
.sheet-content,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font-size: medium;
|
|
}
|
|
|
|
.sheet-content > div {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.sheet-vl {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
height: 100%;
|
|
width: 0;
|
|
border-left: 1px solid black;
|
|
}
|
|
|
|
h3 {
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
input[type=checkbox][name="attr_useAPI"]:not(:checked) ~ div button.sheet-apiRoll,
|
|
input[type=checkbox][name="attr_useAPI"]:checked ~ div button.sheet-vanillaRoll {
|
|
display: none;
|
|
}
|
|
input[type=checkbox][name="attr_useAPI"]:checked ~ div button.sheet-apiRoll,
|
|
input[type=checkbox][name="attr_useAPI"]:not(:checked) ~ div button.sheet-vanillaRoll {
|
|
display: initial;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* --------------------------------- INPUTS --------------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
.sheet-content input[type="text"] {
|
|
border: 0;
|
|
border-bottom: 1px solid black;
|
|
border-radius: 0;
|
|
background: none;
|
|
}
|
|
|
|
.sheet-content button[type="roll"]::before {
|
|
vertical-align: top
|
|
}
|
|
|
|
.sheet-content button[type="roll"] {
|
|
margin: 0;
|
|
}
|
|
|
|
.sheet-content textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* ---------------- BOUTTONS FIELDSET --------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
div.repcontrol{
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
flex-direction: row-reverse;
|
|
padding-right: 10px;
|
|
}
|
|
.repcontrol_add,
|
|
.repcontrol_edit {
|
|
opacity: 0.6;
|
|
}
|
|
.repcontrol_add:hover,
|
|
.repcontrol_edit:hover,
|
|
.repcontrol_move:hover,
|
|
.repcontrol_del:hover{
|
|
opacity: 1.0;
|
|
outline: none;
|
|
}
|
|
.repcontrol_add:focus,
|
|
.repcontrol_edit:focus,
|
|
.repcontrol_move:focus,
|
|
.repcontrol_del:focus {
|
|
outline: none;
|
|
}
|
|
.repcontrol_move {
|
|
float: left;
|
|
}
|
|
.repcontrol_del {
|
|
float: right;
|
|
}
|
|
.repcontrol_add,
|
|
.repcontrol_edit {
|
|
color: transparent;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
border-color: transparent;
|
|
text-shadow:none;
|
|
width: 0px;
|
|
position: relative;
|
|
left: -5px;
|
|
}
|
|
.repcontrol_add:before {
|
|
content: '+';
|
|
}
|
|
.repcontrol_edit:before {
|
|
content: 'y';
|
|
}
|
|
.repcontrol_add:before,
|
|
.repcontrol_edit:before {
|
|
visibility: visible;
|
|
font-family: pictos;
|
|
border: none;
|
|
font-size: 18px;
|
|
height: 18px;
|
|
width: 18px;
|
|
padding: 2px 0px 0px 0px;
|
|
color: var(--dark-color);
|
|
}
|
|
.editmode ~ .repcontrol .repcontrol_edit:before {
|
|
content: '2';
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* --------------------------------- EN-TETE -------------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
.sheet-useApiLabel {
|
|
font-size: small;
|
|
margin-left: 10px;
|
|
}
|
|
input[type=checkbox][name="attr_useAPI"]:not(:checked) ~ .sheet-useApiLabel {
|
|
color: grey;
|
|
}
|
|
|
|
.sheet-header {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-brown-background-image.jpg");
|
|
padding: 15px 0;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.sheet-xp, .sheet-gloire {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-circle-frame.png");
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.sheet-header input[type="number"] {
|
|
width: 40%;
|
|
height: 70%;
|
|
border: 0;
|
|
background: none;
|
|
vertical-align: top;
|
|
text-align: center;
|
|
font-size: large;
|
|
padding: 0;
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
.sheet-header input::-webkit-outer-spin-button,
|
|
.sheet-header input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.sheet-header label {
|
|
text-align: center;
|
|
border-bottom: 1px solid black;
|
|
margin: 0;
|
|
}
|
|
|
|
.sheet-title {
|
|
width: 50%;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* --------------------------------- IDENTITE ------------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
/* Nom et origine */
|
|
|
|
.sheet-identity > div.sheet-first-row {
|
|
text-align: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.sheet-identity > div.sheet-first-row input:first-of-type {
|
|
margin-right: 50px;
|
|
}
|
|
|
|
/* Le reste */
|
|
|
|
.sheet-identity > div.sheet-second-row {
|
|
display: grid;
|
|
grid-template-columns: 130px 400px 270px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
/* Age, taille, poids, sexe */
|
|
|
|
.sheet-identity > div.sheet-second-row > div:first-of-type > span {
|
|
display: inline-block;
|
|
width: 40px;
|
|
}
|
|
|
|
.sheet-identity > div.sheet-second-row > div:first-of-type > input {
|
|
width: 50px;
|
|
}
|
|
|
|
/* Carrieres */
|
|
|
|
.sheet-carrieres input {
|
|
width: 300px;
|
|
}
|
|
|
|
/* Sante */
|
|
|
|
.sheet-sante {
|
|
display: grid;
|
|
grid-template-columns: 60px 1fr 1fr 1fr 1fr 60px;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.sheet-sante .sheet-hr {
|
|
grid-column-end: span 6;
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
.sheet-gray-bg {
|
|
background-color: #bfbfbf;
|
|
}
|
|
|
|
/* Initiative */
|
|
|
|
.sheet-initiative {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.sheet-initiative button[type="roll"] {
|
|
width: 90%;
|
|
}
|
|
|
|
button[type="roll"]::before {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/* Damages */
|
|
|
|
.sheet-degats {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
justify-items: center;
|
|
}
|
|
|
|
.sheet-degats button[type="roll"] {
|
|
grid-row-end: span 4;
|
|
place-self: stretch;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-gladius.png");
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-color: var(--light-color);
|
|
}
|
|
.sheet-degats button[type="roll"]::before {
|
|
content: none;
|
|
}
|
|
.sheet-degats button[type="roll"]:hover {
|
|
background-color: var(--dark-color);
|
|
background-position: 0 3px;
|
|
transition: background-color .1s linear;
|
|
}
|
|
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* ---------------------------------- SANTE --------------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
input[name="attr_max_indemne"][value="0"] ~ .sheet-sante input[name="attr_indemne1"],
|
|
input[name="attr_max_indemne"][value="0"] ~ .sheet-sante input[name="attr_indemne2"],
|
|
input[name="attr_max_indemne"][value="0"] ~ .sheet-sante input[name="attr_indemne3"],
|
|
input[name="attr_max_indemne"][value="0"] ~ .sheet-sante input[name="attr_indemne4"],
|
|
input[name="attr_max_indemne"][value="1"] ~ .sheet-sante input[name="attr_indemne2"],
|
|
input[name="attr_max_indemne"][value="1"] ~ .sheet-sante input[name="attr_indemne3"],
|
|
input[name="attr_max_indemne"][value="1"] ~ .sheet-sante input[name="attr_indemne4"],
|
|
input[name="attr_max_indemne"][value="2"] ~ .sheet-sante input[name="attr_indemne3"],
|
|
input[name="attr_max_indemne"][value="2"] ~ .sheet-sante input[name="attr_indemne4"],
|
|
input[name="attr_max_indemne"][value="3"] ~ .sheet-sante input[name="attr_indemne4"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
input[name="attr_max_sonne"][value="0"] ~ .sheet-sante .sheet-row-sonne {
|
|
visibility: hidden;
|
|
}
|
|
|
|
input[name="attr_max_sonne"][value="0"] ~ .sheet-sante input[name="attr_sonne1"],
|
|
input[name="attr_max_sonne"][value="0"] ~ .sheet-sante input[name="attr_sonne2"],
|
|
input[name="attr_max_sonne"][value="0"] ~ .sheet-sante input[name="attr_sonne3"],
|
|
input[name="attr_max_sonne"][value="0"] ~ .sheet-sante input[name="attr_sonne4"],
|
|
input[name="attr_max_sonne"][value="1"] ~ .sheet-sante input[name="attr_sonne2"],
|
|
input[name="attr_max_sonne"][value="1"] ~ .sheet-sante input[name="attr_sonne3"],
|
|
input[name="attr_max_sonne"][value="1"] ~ .sheet-sante input[name="attr_sonne4"],
|
|
input[name="attr_max_sonne"][value="2"] ~ .sheet-sante input[name="attr_sonne3"],
|
|
input[name="attr_max_sonne"][value="2"] ~ .sheet-sante input[name="attr_sonne4"],
|
|
input[name="attr_max_sonne"][value="3"] ~ .sheet-sante input[name="attr_sonne4"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
input[name="attr_max_legere"][value="0"] ~ .sheet-sante input[name="attr_bl_legere1"],
|
|
input[name="attr_max_legere"][value="0"] ~ .sheet-sante input[name="attr_bl_legere2"],
|
|
input[name="attr_max_legere"][value="0"] ~ .sheet-sante input[name="attr_bl_legere3"],
|
|
input[name="attr_max_legere"][value="0"] ~ .sheet-sante input[name="attr_bl_legere4"],
|
|
input[name="attr_max_legere"][value="1"] ~ .sheet-sante input[name="attr_bl_legere2"],
|
|
input[name="attr_max_legere"][value="1"] ~ .sheet-sante input[name="attr_bl_legere3"],
|
|
input[name="attr_max_legere"][value="1"] ~ .sheet-sante input[name="attr_bl_legere4"],
|
|
input[name="attr_max_legere"][value="2"] ~ .sheet-sante input[name="attr_bl_legere3"],
|
|
input[name="attr_max_legere"][value="2"] ~ .sheet-sante input[name="attr_bl_legere4"],
|
|
input[name="attr_max_legere"][value="3"] ~ .sheet-sante input[name="attr_bl_legere4"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
input[name="attr_max_moyenne"][value="0"] ~ .sheet-sante input[name="attr_bl_moyenne1"],
|
|
input[name="attr_max_moyenne"][value="0"] ~ .sheet-sante input[name="attr_bl_moyenne2"],
|
|
input[name="attr_max_moyenne"][value="0"] ~ .sheet-sante input[name="attr_bl_moyenne3"],
|
|
input[name="attr_max_moyenne"][value="0"] ~ .sheet-sante input[name="attr_bl_moyenne4"],
|
|
input[name="attr_max_moyenne"][value="1"] ~ .sheet-sante input[name="attr_bl_moyenne2"],
|
|
input[name="attr_max_moyenne"][value="1"] ~ .sheet-sante input[name="attr_bl_moyenne3"],
|
|
input[name="attr_max_moyenne"][value="1"] ~ .sheet-sante input[name="attr_bl_moyenne4"],
|
|
input[name="attr_max_moyenne"][value="2"] ~ .sheet-sante input[name="attr_bl_moyenne3"],
|
|
input[name="attr_max_moyenne"][value="2"] ~ .sheet-sante input[name="attr_bl_moyenne4"],
|
|
input[name="attr_max_moyenne"][value="3"] ~ .sheet-sante input[name="attr_bl_moyenne4"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
input[name="attr_max_grave"][value="0"] ~ .sheet-sante input[name="attr_bl_grave1"],
|
|
input[name="attr_max_grave"][value="0"] ~ .sheet-sante input[name="attr_bl_grave2"],
|
|
input[name="attr_max_grave"][value="0"] ~ .sheet-sante input[name="attr_bl_grave3"],
|
|
input[name="attr_max_grave"][value="0"] ~ .sheet-sante input[name="attr_bl_grave4"],
|
|
input[name="attr_max_grave"][value="1"] ~ .sheet-sante input[name="attr_bl_grave2"],
|
|
input[name="attr_max_grave"][value="1"] ~ .sheet-sante input[name="attr_bl_grave3"],
|
|
input[name="attr_max_grave"][value="1"] ~ .sheet-sante input[name="attr_bl_grave4"],
|
|
input[name="attr_max_grave"][value="2"] ~ .sheet-sante input[name="attr_bl_grave3"],
|
|
input[name="attr_max_grave"][value="2"] ~ .sheet-sante input[name="attr_bl_grave4"],
|
|
input[name="attr_max_grave"][value="3"] ~ .sheet-sante input[name="attr_bl_grave4"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma1"],
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma2"],
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma3"],
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma4"],
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma5"],
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma6"],
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma7"],
|
|
input[name="attr_max_coma"][value="0"] ~ .sheet-sante input[name="attr_coma8"],
|
|
input[name="attr_max_coma"][value="1"] ~ .sheet-sante input[name="attr_coma2"],
|
|
input[name="attr_max_coma"][value="1"] ~ .sheet-sante input[name="attr_coma3"],
|
|
input[name="attr_max_coma"][value="1"] ~ .sheet-sante input[name="attr_coma4"],
|
|
input[name="attr_max_coma"][value="1"] ~ .sheet-sante input[name="attr_coma5"],
|
|
input[name="attr_max_coma"][value="1"] ~ .sheet-sante input[name="attr_coma6"],
|
|
input[name="attr_max_coma"][value="1"] ~ .sheet-sante input[name="attr_coma7"],
|
|
input[name="attr_max_coma"][value="1"] ~ .sheet-sante input[name="attr_coma8"],
|
|
input[name="attr_max_coma"][value="2"] ~ .sheet-sante input[name="attr_coma3"],
|
|
input[name="attr_max_coma"][value="2"] ~ .sheet-sante input[name="attr_coma4"],
|
|
input[name="attr_max_coma"][value="2"] ~ .sheet-sante input[name="attr_coma5"],
|
|
input[name="attr_max_coma"][value="2"] ~ .sheet-sante input[name="attr_coma6"],
|
|
input[name="attr_max_coma"][value="2"] ~ .sheet-sante input[name="attr_coma7"],
|
|
input[name="attr_max_coma"][value="2"] ~ .sheet-sante input[name="attr_coma8"],
|
|
input[name="attr_max_coma"][value="3"] ~ .sheet-sante input[name="attr_coma4"],
|
|
input[name="attr_max_coma"][value="3"] ~ .sheet-sante input[name="attr_coma5"],
|
|
input[name="attr_max_coma"][value="3"] ~ .sheet-sante input[name="attr_coma6"],
|
|
input[name="attr_max_coma"][value="3"] ~ .sheet-sante input[name="attr_coma7"],
|
|
input[name="attr_max_coma"][value="3"] ~ .sheet-sante input[name="attr_coma8"],
|
|
input[name="attr_max_coma"][value="4"] ~ .sheet-sante input[name="attr_coma5"],
|
|
input[name="attr_max_coma"][value="4"] ~ .sheet-sante input[name="attr_coma6"],
|
|
input[name="attr_max_coma"][value="4"] ~ .sheet-sante input[name="attr_coma7"],
|
|
input[name="attr_max_coma"][value="4"] ~ .sheet-sante input[name="attr_coma8"],
|
|
input[name="attr_max_coma"][value="5"] ~ .sheet-sante input[name="attr_coma6"],
|
|
input[name="attr_max_coma"][value="5"] ~ .sheet-sante input[name="attr_coma7"],
|
|
input[name="attr_max_coma"][value="5"] ~ .sheet-sante input[name="attr_coma8"],
|
|
input[name="attr_max_coma"][value="6"] ~ .sheet-sante input[name="attr_coma7"],
|
|
input[name="attr_max_coma"][value="6"] ~ .sheet-sante input[name="attr_coma8"],
|
|
input[name="attr_max_coma"][value="7"] ~ .sheet-sante input[name="attr_coma8"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.sheet-sante .sheet-gray-bg span {
|
|
display: block;
|
|
padding: 1px 6px;
|
|
}
|
|
.sheet-sante .sheet-gray-bg input[value="1"] + span {
|
|
border: red solid 1px;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* ------------------------------- COMPETENCES ------------------------------ */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
/* GRID */
|
|
|
|
.sheet-competences {
|
|
border: 1px solid #d6c7a9;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-template-rows: 160px auto;
|
|
grid-template-areas:
|
|
"corpus charisma sensus spiritus"
|
|
"corpusSkills charismaSkills sensusSkills spiritusSkills";
|
|
}
|
|
.sheet-competences .sheet-corpus {
|
|
grid-area: corpus;
|
|
}
|
|
.sheet-competences .sheet-corpus-skills {
|
|
grid-area: corpusSkills;
|
|
}
|
|
.sheet-competences .sheet-charisma {
|
|
grid-area: charisma;
|
|
}
|
|
.sheet-competences .sheet-charisma-skills {
|
|
grid-area: charismaSkills;
|
|
}
|
|
.sheet-competences .sheet-sensus {
|
|
grid-area: sensus;
|
|
}
|
|
.sheet-competences .sheet-sensus-skills {
|
|
grid-area: sensusSkills;
|
|
}
|
|
.sheet-competences .sheet-spiritus {
|
|
grid-area: spiritus;
|
|
}
|
|
.sheet-competences .sheet-spiritus-skills {
|
|
grid-area: spiritusSkills;
|
|
}
|
|
.sheet-competences .sheet-carac-header {
|
|
grid-column: 1 / span 4;
|
|
grid-row: 1 / 1;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-brown-background-image.jpg");
|
|
}
|
|
|
|
/* CARAC */
|
|
|
|
.sheet-competences .sheet-carac {
|
|
text-align: center;
|
|
font-size: large;
|
|
padding: 15px 0;
|
|
}
|
|
|
|
.sheet-competences .sheet-carac label {
|
|
text-align: center;
|
|
font-family: "Julius Sans One", "Perpetua", sans-serif;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.sheet-competences .sheet-carac input[type="number"] {
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
background-color: transparent;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Imperator/images/Imperator-circle-frame.png");
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
text-align: center;
|
|
font-size: large;
|
|
padding: 15px;
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
.sheet-competences .sheet-carac input::-webkit-outer-spin-button,
|
|
.sheet-competences .sheet-carac input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
/* SKILLS */
|
|
|
|
.sheet-competences .sheet-skills {
|
|
padding: 5px;
|
|
border-right: 1px solid var(--light-color);
|
|
vertical-align: top;
|
|
}
|
|
.sheet-competences .sheet-skills:last-of-type {
|
|
border: 0;
|
|
}
|
|
|
|
.sheet-competences div.sheet-skill {
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.sheet-competences div.sheet-skill span,
|
|
.sheet-competences div.sheet-skill-rep div.sheet-skill input[type="text"] {
|
|
width: 50%;;
|
|
}
|
|
.sheet-competences div.sheet-skill-rep div.sheet-skill input[type="text"] {
|
|
border-style: dotted;
|
|
border-color: var(--dark-color);
|
|
}
|
|
.sheet-competences div.sheet-skill input[type="number"] {
|
|
width: 25%;
|
|
}
|
|
.sheet-competences div.sheet-skill button {
|
|
width: 10%;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* -------------------------------- EQUIPEMENT ------------------------------ */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
.sheet-equipement input[type="text"] {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-equipement .sheet-money {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.sheet-equipement .sheet-money div {
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-equipement .sheet-money input[type="text"] {
|
|
text-align: center;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* ---------------------------------- ARMURE -------------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
.sheet-armure {
|
|
display: grid;
|
|
grid-template-columns: 30px 120px auto;
|
|
}
|
|
|
|
.sheet-armure input[type="text"] {
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* ---------------------------- AVANTAGES/DEFAUTS --------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
.sheet-avantages-defauts {
|
|
text-align: justify;
|
|
}
|
|
|
|
.sheet-avantage-defaut {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.sheet-avantages-defauts input[type="checkbox"] {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.sheet-checkbox-avantage-defaut:not(:checked) ~ .sheet-grayable,
|
|
.sheet-checkbox-avantage-defaut:not(:checked) ~ div .sheet-grayable {
|
|
border-color: gray;
|
|
color: gray;
|
|
}
|
|
|
|
.sheet-avantage-defaut div.repcontainer input[type="text"] {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-hide-descr:checked ~ .sheet-avantage-defaut .sheet-descr,
|
|
.sheet-hide-descr:checked ~ .sheet-avantage-defaut > div.repcontrol {
|
|
display: none;
|
|
}
|
|
.sheet-hide-descr:checked ~ .sheet-avantage-defaut > div.repcontainer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: start;
|
|
}
|
|
.sheet-hide-descr:checked ~ .sheet-avantage-defaut div.repitem {
|
|
width: 48%;
|
|
margin: 0 3px;
|
|
}
|
|
.sheet-hide-descr:checked ~ .sheet-avantage-defaut {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.sheet-hide-unused:checked ~ .sheet-avantage-defaut > .sheet-checkbox-avantage-defaut:not(:checked),
|
|
.sheet-hide-unused:checked ~ .sheet-avantage-defaut > .sheet-checkbox-avantage-defaut:not(:checked) ~ span,
|
|
.sheet-hide-unused:checked ~ .sheet-avantage-defaut > .sheet-checkbox-avantage-defaut:not(:checked) ~ div,
|
|
.sheet-hide-unused:checked ~ .sheet-avantage-defaut > .sheet-checkbox-avantage-defaut:not(:checked) ~ input,
|
|
.sheet-hide-unused:checked ~ .sheet-avantage-defaut > .sheet-checkbox-avantage-defaut:not(:checked) ~ select,
|
|
.sheet-hide-unused:checked ~ .sheet-avantage-defaut > .sheet-checkbox-avantage-defaut:not(:checked) ~ div {
|
|
display: none;
|
|
}
|
|
|
|
select[name="attr_asc_divine_dieu"] {
|
|
width: 20%;
|
|
}
|
|
input[type="text"][name="attr_asc_divine_competences"] {
|
|
width: 75%;
|
|
border: 0;
|
|
}
|
|
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
/* ----------------------------- ROLL TEMPLATES ----------------------------- */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
.sheet-rolltemplate-competence .sheet-template-container,
|
|
.sheet-rolltemplate-degats .sheet-template-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
align-items: center;
|
|
row-gap: 10px;
|
|
column-gap: 5px;
|
|
|
|
border: 5px inset black;
|
|
padding: 15px 5px 10px 5px;
|
|
background-image: url("https://images.photowall.com/products/60722/white-marble-4.jpg?h=699&q=85");
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-rolltemplate-competence h2,
|
|
.sheet-rolltemplate-degats h2 {
|
|
font-family: "Julius Sans One", "Perpetua", sans-serif;
|
|
font-size: medium;
|
|
line-height: 1em;
|
|
}
|
|
|
|
.sheet-rolltemplate-competence .sheet-result,
|
|
.sheet-rolltemplate-degats .sheet-result {
|
|
grid-column-end: span 2;
|
|
background-color: rgba(214, 199, 169, 0.5);
|
|
padding: 10px 0px;
|
|
font-size: large;
|
|
}
|
|
|
|
.sheet-rolltemplate-competence .sheet-result .inlinerollresult,
|
|
.sheet-rolltemplate-degats .sheet-result .inlinerollresult {
|
|
background: none;
|
|
border: 0 !important;
|
|
}
|
|
|
|
.sheet-rolltemplate-competence .userscript-inlinerollresult,
|
|
.sheet-rolltemplate-degats .userscript-inlinerollresult {
|
|
padding: 0 3px;
|
|
font-weight: bold;
|
|
cursor: help;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.sheet-rolltemplate-competence .sheet-vanillaRollInfo {
|
|
grid-column-end: span 2;
|
|
text-align: center;
|
|
font-size: x-small;
|
|
margin: 10px 5px 0px 5px;
|
|
color: rgb(95, 95, 95);
|
|
border-top: 1px solid grey;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|