Files

228 lines
3.9 KiB
CSS

.charsheet {
font-family: cursive;
}
.charsheet table {
width: 100%;
}
.charsheet td {
padding: 5px 2px 5px 2px;
border: 0 solid #000;
vertical-align: text-top;
}
.charsheet th {
padding: 5px;
border: 0 solid #000;
background-color: #6d2b35;
color: #FFF
}
th.sheet-big {
padding: 10px;
border: 0 solid #000;
background-color: 6d2b35;
color: #FFF;
font-size: 150%;
}
.charsheet h2 {
padding: 5px;
border: 0 solid #000;
background-color: #6d2b35;
color: #FFF;
text-align: center;
}
.sheet-crochet{
font-weight: bold;
font-size: 240%;
}
.sheet-crochet2{
font-weight: bold;
font-size: 240%;
color: #CCC;
}
.sheet-attribut{
font-weight: bold;
}
.sheet-attribut2{
font-weight: bold;
color: #CCC;
}
input[type="text"], select {
background-color: transparent;
border: 0 solid #000;
border-bottom-width: 1px;
border-left-width: 1px;
font-family: cursive;
}
input[type="number"] {
background-color: transparent;
/*border: 0 solid #000;*/
font-family: cursive;
}
input[type="text"]:read-only, input[type="number"]:read-only {
background-color: #d9d9d9;
}
input[type="number"].sheet-carac {
border: 0 solid #000;
}
button[type="roll"].sheet-pour-mj{
color: #f00;
}
textarea{
width : 95%;
font-family: cursive;
}
.sheet-repetition textarea{
height: 40px;
width : 95%;
font-family: cursive;
}
.sheet-repetition input[type="text"] {
width: 80%;
}
/* template */
.sheet-rolltemplate-dragonpoche2 table, .sheet-rolltemplate-dragonpoche2_attaque table {
width: 100%;
background-color: #FFF;
border: 1px solid;
color: black;
font-size: 1em;
font-family: cursive;
}
.sheet-rolltemplate-dragonpoche2 th, .sheet-rolltemplate-dragonpoche2_attaque th {
background-color: #6d2b35;
color: #ffffff;
padding: 2px;
border-bottom: 1px solid black;
line-height: 1.2em;
font-size: 1.1em;
}
.sheet-rolltemplate-dragonpoche2 td, .sheet-rolltemplate-dragonpoche2_attaque td {
padding: 5px;
}
/* Les onglets */
div[class^="sheet-section"] {
visibility: hidden;
opacity: 0;
max-height: 0;
overflow: hidden;
}
.sheet-tab {
border-radius: 7px 7px 0 0;
}
input.sheet-tab {
width: 70px;
height: 20px;
cursor: pointer;
position: relative;
opacity: 0;
z-index: 9999;
}
input.sheet-tab:first-child {
margin-left:0px;
}
span.sheet-tab {
text-align: center;
display: inline-block;
font-size: 13px;
background: #CCC;
color: #000;
/*font-weight: bold;*/
width: 130px;
height: 20px;
cursor: pointer;
position: relative;
margin-left: -75px;
}
input.sheet-tab::before {
content: attr(title);
text-align: center;
display: inline-block;
width: 100%;
height: 100%;
background: #6d2b35;
color: #000;
/*font-weight: bold;*/
}
input.sheet-tab:checked::before {
background: #000;
color: #FFF;
}
.sheet-header-row {
width: 100%;
background-color: #6d2b35;
color: #FFF;
padding-left: 10px;
min-height: 1em;
margin-bottom: 0.5em;
}
.sheet-sac{
padding: 10px;
}
input.sheet-tab1:checked ~ div.sheet-section-sac-voyageur,
input.sheet-tab2:checked ~ div.sheet-section-sac-aventurier,
input.sheet-tab3:checked ~ div.sheet-section-sac-soldat{
max-height: 999999px;
visibility: visible;
opacity: 1;
transition: opacity 0.5s linear 0s;
overflow: hidden;
border: 1px solid #6d2b35;
}
input.sheet-tab1:checked + span.sheet-tab1,
input.sheet-tab2:checked + span.sheet-tab2,
input.sheet-tab3:checked + span.sheet-tab3{
background: #6d2b35;
color: #FFF;
font-weight: bold;
}
input.sheet-tabpj:checked ~ div.sheet-section-pj,
input.sheet-tabpnj:checked ~ div.sheet-section-pnj{
max-height: 999999px;
visibility: visible;
opacity: 1;
transition: opacity 0.5s linear 0s;
overflow: hidden;
border: 1px solid #6d2b35;
}
input.sheet-tabpj:checked + span.sheet-tabpj,
input.sheet-tabpnj:checked + span.sheet-tabpnj{
background: #6d2b35;
color: #FFF;
font-weight: bold;
}