mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
596 lines
14 KiB
CSS
596 lines
14 KiB
CSS
/* Références de couleur
|
|
Du plus foncé au plus clair
|
|
|
|
Ligne Rouge : D1232A
|
|
|
|
Noir texte : 231F20
|
|
|
|
Marrons :
|
|
---------
|
|
Logo : 231F20
|
|
Bordure : 331912
|
|
Fond1 : 4F2A1B
|
|
Fond2 : 4F2A1A
|
|
Fond3 : 704D40
|
|
Fond4 : 999185
|
|
Fond5 : D3C7C1
|
|
|
|
Bleus :
|
|
-------
|
|
Fond1 : 417280
|
|
Fond2 : 427280
|
|
Fond3 :
|
|
Fond4 : 7E9DA8
|
|
Fond5 : D6E1E6
|
|
|
|
*/
|
|
@font-face {
|
|
font-family: 'Fake Contrail One';
|
|
src: local('Arial Narrow');
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
div,
|
|
button,
|
|
textarea,
|
|
span,
|
|
input,
|
|
select,
|
|
table,
|
|
tr,
|
|
td,
|
|
th{
|
|
box-sizing: border-box;
|
|
}
|
|
/********* INPUTS *************************************************/
|
|
input[type=radio].sheet-styleINS,
|
|
input[type=radio].sheet-styleMV,
|
|
input[type=radio].sheet-styleArriere,
|
|
input[type=radio].sheet-styleAvant{
|
|
margin: 0;
|
|
margin-top: -4px;
|
|
margin-bottom: -4px;
|
|
padding: 0;
|
|
display: inline-block;
|
|
opacity: 0;
|
|
width: 150px;
|
|
height: 25px;
|
|
z-index: 30;
|
|
}
|
|
input[type=radio].sheet-styleINS + span,
|
|
input[type=radio].sheet-styleMV + span,
|
|
input[type=radio].sheet-styleArriere + span,
|
|
input[type=radio].sheet-styleAvant + span{
|
|
color: #DDDDDD;
|
|
background-color: #AAAAAA;
|
|
font-size:15px;
|
|
text-align:center;
|
|
display: inline-block;
|
|
width: 150px;
|
|
height: 28px;
|
|
margin: 0;
|
|
margin-left: -150px;
|
|
margin-right: 5px;
|
|
padding:0;
|
|
margin-bottom: -1px;
|
|
padding-top: 5px;
|
|
font-style: italic;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-color: #231F20;
|
|
border-top-left-radius:4px;
|
|
border-top-right-radius:4px;
|
|
z-index: 20;
|
|
}
|
|
input[type=radio].sheet-styleINS:checked + span{
|
|
border-bottom: 1px solid white;
|
|
font-weight: bold;
|
|
background-color: white;
|
|
color: #4F2A1B;
|
|
}
|
|
input[type=radio].sheet-styleMV:checked + span{
|
|
border-bottom: 1px solid white;
|
|
font-weight: bold;
|
|
background-color: white;
|
|
color: #417280;
|
|
}
|
|
input[type=radio].sheet-styleArriere:checked + span{
|
|
border-bottom: 1px solid white;
|
|
font-weight: bold;
|
|
background-color: white;
|
|
color: #231F20;
|
|
}
|
|
input[type=radio].sheet-styleAvant:checked + span{
|
|
border-bottom: 1px solid white;
|
|
font-weight: bold;
|
|
background-color: white;
|
|
color: #231F20;
|
|
}
|
|
span.sheet-smallspan{
|
|
font-size:11px;
|
|
color: #888888;
|
|
text-align:left;
|
|
}
|
|
input{
|
|
border: none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
line-height: 0px;
|
|
color: black;
|
|
font-family: cursive;
|
|
font-size: 1em;
|
|
font-weight: normal;
|
|
border-radius: 0px;
|
|
}
|
|
input[type="text"]{
|
|
line-height: 18px;
|
|
border-width: 0px 0px 1px 0px;
|
|
border-style: dotted;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main input[type="text"]{
|
|
border-color: #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main input[type="text"]{
|
|
border-color: #417280;
|
|
}
|
|
input[type="text"].sheet-inpentetebig{
|
|
width: 275px;
|
|
text-transform: uppercase;
|
|
font-size: 1.3em;
|
|
height: 25px;
|
|
font-weight: bold;
|
|
}
|
|
input[type="text"].sheet-inpentete{
|
|
width: 275px;
|
|
text-transform: uppercase;
|
|
font-size: 1.1em;
|
|
height: 25px;
|
|
}
|
|
input[type="text"].sheet-inpentetelight{
|
|
width: 275px;
|
|
font-size: 1em;
|
|
height: 25px;
|
|
}
|
|
input[type="number"]{
|
|
text-align: center;
|
|
border-width: 0px 0px 1px 0px;
|
|
border-style: dotted;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main input[type="number"]{
|
|
border-color: #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main input[type="number"]{
|
|
border-color: #417280;
|
|
}
|
|
input[type="number"]::-webkit-inner-spin-button,
|
|
input[type="number"]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
margin: 0;
|
|
}
|
|
input[type="number"]{
|
|
-moz-appearance:textfield;
|
|
}
|
|
input[type="number"].sheet-caracinp{
|
|
border: 1px solid gray;
|
|
border-radius: 50%;
|
|
width: 30px;
|
|
height: 30px;
|
|
font-weight: bold;
|
|
font-size: 1.5em;
|
|
}
|
|
input[type="number"].sheet-pvppinpmax{
|
|
border: 2px solid gray;
|
|
border-radius: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
font-weight: bold;
|
|
font-size: 1.5em;
|
|
}
|
|
input[type="number"].sheet-pvppinp{
|
|
border: 2px solid gray;
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
font-weight: bold;
|
|
font-size: 2em;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main input[type="number"].sheet-pvppinpmax,
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main input[type="number"].sheet-pvppinp{
|
|
border-color: #4F2A1B;
|
|
box-shadow: 0px 0px 15px #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main input[type="number"].sheet-pvppinpmax,
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main input[type="number"].sheet-pvppinp{
|
|
border-color: #417280;
|
|
box-shadow: 0px 0px 15px #417280;
|
|
}
|
|
textarea.sheet-areagrand{
|
|
color: black;
|
|
font-family: cursive;
|
|
font-size: 1em;
|
|
font-weight: normal;
|
|
box-shadow: none;
|
|
text-shadow: none;
|
|
border: none;
|
|
border-radius: 0;
|
|
border-left: 1px dotted #231F20;
|
|
border-bottom: 1px dotted #231F20;
|
|
}
|
|
textarea.sheet-areapetit{
|
|
padding: 0px 1px 2px 2px;
|
|
color: black;
|
|
font-family: cursive;
|
|
font-size: 1em;
|
|
font-weight: normal;
|
|
box-shadow: none;
|
|
text-shadow: none;
|
|
border: none;
|
|
border-radius: 0;
|
|
border-bottom: 1px dotted #231F20;
|
|
height: 35px;
|
|
line-height: 1.1em;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main textarea{
|
|
border-color: #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main textarea{
|
|
border-color: #417280;
|
|
}
|
|
/******* SELECTS *************************************************/
|
|
select{
|
|
border: none;
|
|
box-shadow: none;
|
|
padding: 0px 0px 0px 0px;
|
|
margin: 0;
|
|
line-height: 0px;
|
|
color: black;
|
|
width: 100px;
|
|
height: 22px;
|
|
font-family: cursive;
|
|
font-size: 1em;
|
|
}
|
|
/*** DIV *********************************************************/
|
|
div.sheet-fdp{
|
|
width: 804px;
|
|
text-align: center;
|
|
margin:0;
|
|
padding;0;
|
|
background:transparent;
|
|
}
|
|
div.sheet-main{
|
|
z-index: -5;
|
|
margin:0;
|
|
padding;4px;
|
|
width: 100%;
|
|
background: white;
|
|
text-align:center;
|
|
font-family: 'Verdana';
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: #231F20;
|
|
}
|
|
div.sheet-ligne{
|
|
display: block;
|
|
width: 100%;
|
|
vertical-align: top;
|
|
}
|
|
div.sheet-arriere{
|
|
width: 100%;
|
|
}
|
|
div.sheet-avant{
|
|
width: 100%;
|
|
}
|
|
div.sheet-libel1{
|
|
color: #231F20;
|
|
display: inline-block;
|
|
font-size: 1.1em;
|
|
font-weight: bold;
|
|
text-align: right;
|
|
width: 100px;
|
|
}
|
|
div.sheet-logoINS{
|
|
display: inline;
|
|
}
|
|
div.sheet-logoMV{
|
|
display: inline;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main div.sheet-logoINS,
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main div.sheet-logoMV{
|
|
display: inline;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main div.sheet-logoMV,
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main div.sheet-logoINS{
|
|
display: none;
|
|
}
|
|
/*** TABLES *********************************************************/
|
|
table{
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main table.sheet-caractab{
|
|
border-color: #4F2A1B;
|
|
border-bottom-color: linear-gradient(to right, #4F2A1B 75%, rgba(255,0,0,0));
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main table.sheet-caractab{
|
|
border-color: #417280;
|
|
border-bottom-color: linear-gradient(to right, #417280 75%, rgba(255,0,0,0));
|
|
}
|
|
th{
|
|
text-align: left;
|
|
padding-left: 20px;
|
|
font-weight: normal;
|
|
color: white;
|
|
font-size: 1.2em;
|
|
font-family: 'Contrail One', 'Fake Contrail One', cursive;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main th{
|
|
background: #4F2A1B;
|
|
background: linear-gradient(to right, #4F2A1B 75%, rgba(255,0,0,0));
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main th{
|
|
background: #417280;
|
|
background: linear-gradient(to right, #417280 75%, rgba(255,0,0,0));
|
|
}
|
|
td{
|
|
vertical-align: top;
|
|
}
|
|
td.sheet-coltitre{
|
|
font-family: Verdana;
|
|
font-size: 10px;
|
|
font-weight: normal;
|
|
color: #231F20;
|
|
}
|
|
table.sheet-caractab{
|
|
border-top: none;
|
|
border-style: solid;
|
|
border-width: 0px 0px 0px 2px;
|
|
}
|
|
td.sheet-carac{
|
|
vertical-align: middle;
|
|
}
|
|
td.sheet-caracinp{
|
|
vertical-align: middle;
|
|
}
|
|
td.sheet-caraclib{
|
|
text-align: right;
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
vertical-align: middle;
|
|
}
|
|
td.sheet-caracsep{
|
|
text-align: center;
|
|
font-family: 'Pictos';
|
|
font-size:1.1em;
|
|
width: 20px;
|
|
vertical-align: middle;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main td.sheet-caracsep{
|
|
color: #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main td.sheet-caracsep{
|
|
color: #417280;
|
|
}
|
|
td.sheet-pvpp{
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
}
|
|
td.sheet-pvppbiglib{
|
|
text-align: left;
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
vertical-align: middle;
|
|
}
|
|
td.sheet-pvpplib{
|
|
text-align: left;
|
|
font-size: 0.9em;
|
|
vertical-align: middle;
|
|
}
|
|
td.sheet-pvppsymb{
|
|
text-align: left;
|
|
font-family: 'Pictos';
|
|
font-size:2em;
|
|
vertical-align: middle;
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main td.sheet-pvppsymb{
|
|
color: #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main td.sheet-pvppsymb{
|
|
color: #417280;
|
|
}
|
|
td.sheet-libpetit{
|
|
text-align: center;
|
|
font-size: 0.7em;
|
|
vertical-align: middle;
|
|
}
|
|
td.sheet-colinp{
|
|
border-right: 1px solid #D1232A;
|
|
}
|
|
td.sheet-colinp:first-child{
|
|
border-right: none;
|
|
}
|
|
td.sheet-colinp:last-child{
|
|
border-right: none;
|
|
}
|
|
/*** BOUTONS *********************************************************/
|
|
button[type=roll].sheet-btDesc{
|
|
color: inherit;
|
|
height:24px;
|
|
width:24px;
|
|
line-height: 16px;
|
|
padding:0;
|
|
margin: 0;
|
|
border:none;
|
|
background:none;
|
|
opacity: 0.4;
|
|
}
|
|
button[type=roll].sheet-btDesc:before{
|
|
font-family: "Pictos";
|
|
font-size: 1.3em;
|
|
content: 'i';
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main button[type=roll].sheet-btDesc:before{
|
|
color: #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main button[type=roll].sheet-btDesc:before{
|
|
color: #417280;
|
|
}
|
|
button[type=roll].sheet-btDesc:hover{
|
|
opacity: 1.0;
|
|
}
|
|
button[type=roll].sheet-btRoll {
|
|
color: inherit;
|
|
height:24px;
|
|
width:24px;
|
|
line-height: 16px;
|
|
padding:0;
|
|
margin: 0;
|
|
border:none;
|
|
background:none;
|
|
opacity: 0.5;
|
|
}
|
|
button[type=roll].sheet-btRoll:before{
|
|
font-family: "dicefontd6";
|
|
font-size: 1.6em;
|
|
content: 'e';
|
|
}
|
|
input[type="radio"].sheet-styleINS:checked ~ div.sheet-main button[type=roll].sheet-btRoll:before{
|
|
color: #4F2A1B;
|
|
}
|
|
input[type="radio"].sheet-styleMV:checked ~ div.sheet-main button[type=roll].sheet-btRoll:before{
|
|
color: #417280;
|
|
}
|
|
button[type=roll].sheet-btRoll:hover{
|
|
opacity: 1.0;
|
|
}
|
|
/* this sets the formatting for all repcontrol buttons */
|
|
.charsheet .repcontrol_add,
|
|
.charsheet .repcontrol_edit,
|
|
.charsheet .repcontrol_del{
|
|
opacity: 0.5;
|
|
display: block;
|
|
background: white;
|
|
box-shadow: none;
|
|
border: 2px solid black;
|
|
border-radius: 6px;
|
|
font-size:0.9em;
|
|
height:2.2em;
|
|
margin-bottom: 4px;
|
|
}
|
|
.charsheet .repcontrol_add:hover,
|
|
.charsheet .repcontrol_edit:hover,
|
|
.charsheet .repcontrol_del:hover{
|
|
opacity: 1.0;
|
|
}
|
|
.charsheet input[type="radio"].sheet-styleINS:checked ~ div.sheet-main .repcontrol_add,
|
|
.charsheet input[type="radio"].sheet-styleINS:checked ~ div.sheet-main .repcontrol_edit,
|
|
.charsheet input[type="radio"].sheet-styleINS:checked ~ div.sheet-main .repcontrol_del {
|
|
color: #4F2A1B;
|
|
border-color: #4F2A1B;
|
|
}
|
|
.charsheet input[type="radio"].sheet-styleMV:checked ~ div.sheet-main .repcontrol_add,
|
|
.charsheet input[type="radio"].sheet-styleMV:checked ~ div.sheet-main .repcontrol_edit,
|
|
.charsheet input[type="radio"].sheet-styleMV:checked ~ div.sheet-main .repcontrol_del {
|
|
color: #417280;
|
|
border-color: #417280;
|
|
}
|
|
/*** GENERIC *********************************************************/
|
|
input[type="radio"].sheet-styleArriere:checked ~ div.sheet-main .sheet-arriere,
|
|
input[type="radio"].sheet-styleAvant:checked ~ div.sheet-main .sheet-avant{
|
|
display: inline-block;
|
|
}
|
|
input[type="radio"].sheet-styleArriere:checked ~ div.sheet-main .sheet-avant,
|
|
input[type="radio"].sheet-styleAvant:checked ~ div.sheet-main .sheet-arriere{
|
|
display: none;
|
|
}
|
|
.sheet-rolltemplate-insmv table{
|
|
background: white;
|
|
border: 1px solid #331912;
|
|
width: 100%;
|
|
padding: 2px;
|
|
font-family: 'Verdana';
|
|
color: #231F20;
|
|
font-size: 1em;
|
|
}
|
|
.sheet-rolltemplate-insmv tr{
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
padding-right: 0px;
|
|
padding-left: 0px;
|
|
}
|
|
.sheet-rolltemplate-insmv th{
|
|
padding: 3px;
|
|
font-size: 1.1em;
|
|
text-align: center;
|
|
font-family: 'Contrail One';
|
|
color: white;
|
|
}
|
|
.sheet-rolltemplate-insmv td{
|
|
padding: 2px;
|
|
font-size: 1em;
|
|
text-align: left;
|
|
}
|
|
.sheet-rolltemplate-insmv .sheet-subheader{
|
|
font-style: italic;
|
|
text-align: right;
|
|
border-bottom: 1px dashed #331912;
|
|
}
|
|
.sheet-rolltemplate-insmv .sheet-desctitre{
|
|
font-style: italic;
|
|
text-align: right;
|
|
border-bottom: 1px dashed #331912;
|
|
border-top: 1px solid #331912;
|
|
}
|
|
.sheet-rolltemplate-insmv td.sheet-tcat{
|
|
font-color: #4F2A1B;
|
|
font-style: italic;
|
|
font-size: 0.9em;
|
|
text-align: right;
|
|
border-right: 1px dashed #331912;
|
|
}
|
|
.sheet-rolltemplate-insmv .inlinerollresult{
|
|
font-size: 1em;
|
|
background-color: transparent;
|
|
border-width: 0px 0px 0px 0px;
|
|
border-top-style: none;
|
|
border-right-style: none;
|
|
border-left-style: none;
|
|
border-bottom-style: none;
|
|
}
|
|
.sheet-rolltemplate-insmv .inlinerollresult.fullcrit{
|
|
color: #3FB315;
|
|
font-size: 1em;
|
|
background-color: transparent;
|
|
border-width: 0px 0px 0px 0px;
|
|
border-top-style: none;
|
|
border-right-style: none;
|
|
border-left-style: none;
|
|
border-bottom-style: none;
|
|
}
|
|
.sheet-rolltemplate-insmv .inlinerollresult.fullfail{
|
|
color: #B31515;
|
|
font-size: 1em;
|
|
background-color: transparent;
|
|
border-width: 0px 0px 0px 0px;
|
|
border-top-style: none;
|
|
border-right-style: none;
|
|
border-left-style: none;
|
|
border-bottom-style: none;
|
|
}
|
|
.sheet-rolltemplate-insmv .inlinerollresult.importantroll{
|
|
color: #4A57ED;
|
|
font-size: 1em;
|
|
background-color: transparent;
|
|
border-width: 0px 0px 0px 0px;
|
|
border-top-style: none;
|
|
border-right-style: none;
|
|
border-left-style: none;
|
|
border-bottom-style: none;
|
|
}
|