Files

239 lines
4.9 KiB
CSS

.sheet-backpage {
background-image:url(https://i62.servimg.com/u/f62/13/24/51/43/coinsu11.jpg), url(https://i62.servimg.com/u/f62/13/24/51/43/coinsu10.jpg), url(https://i62.servimg.com/u/f62/13/24/51/43/coinin11.jpg), url(https://i62.servimg.com/u/f62/13/24/51/43/coinin10.jpg);
background-position:top left, top right, bottom left, bottom right;
background-repeat:no-repeat;
z-index:1;
display:default;
width:100%;
}
.charsheet div.sheet-backpage {
text-align:center;
}
.sheet-backpage div.sheet-first {
width:92.5%;
margin-top:50px;
text-align:left;
}
.sheet-backpage div.sheet-last {
margin-bottom:50px;
}
div {
display:inline-block;
vertical-align: top;
}
.charsheet p {
margin:0;
width:100px;
display: inline-block;
text-align:left;
}
textarea {
width:97%;
resize:vertical;
height:80px;
border:none;
vertical-align:text-bottom;
box-shadow:none;
background:#eeeeee;
}
select {
margin:0;
margin-bottom:2px;
}
.charsheet input[type="number"] {
text-align:center;
}
.charsheet input[type="text"] {
display: inline-block;
background:transparent;
border:none;
border-bottom:1px solid black;
box-shadow:none;
vertical-align:text-bottom;
padding-bottom:0px;
}
.sheet-centre {
text-align:center;
}
.sheet-logo {
width:100px;
height:100px;
background-image:url("https://i62.servimg.com/u/f62/13/24/51/43/logo11.jpg");
background-size:contain;
background-repeat:no-repeat;
margin-right:20px;
}
.sheet-infos input[type="text"] {
width:75%;
}
.sheet-infos p {
width:20%;
}
.sheet-titre {
font-weight:bold;
font-size:15px;
margin-bottom:10px;
width:100%;
}
.sheet-titrefiche {
font-weight:bold;
font-size:35px;
margin-bottom:10px;
width:100%;
text-align:center;
}
.sheet-compteurs p {
width:100%;
text-align:center;
}
.sheet-compteurs div {
margin-bottom:5px;
}
.sheet-comp {
text-align:left;
}
.sheet-comp p {
width:45%
}
.sheet-comp p.sheet-soustitre {
text-align:center;
width:15%;
}
.charsheet button[type="roll"].sheet-rollcomp::before {
content: "";
}
.charsheet button[type="roll"].sheet-rollcomp {
text-decoration:none;
border:none;
background:none;
border:none;
box-shadow:none;
font-size:13px;
padding:0;
text-align:left;
margin:0;
vertical-align:baseline;
}
.sheet-armes p {
text-align:center;
}
.sheet-repitem,
.repitem,
.repcontainer,
.sheet-repcontainer{
width:100%;
}
.sheet-chassis p {
width:50%;
}
.sheet-chassis div {
width:45%;
text-align:center;
}
.sheet-chassis2 p {
width:55%;
}
.sheet-chassis2 div {
width:40%;
text-align:center;
}
/*----------- Tabs Setup -------------*/
/*this hides the contents of each tab by default*/
.charsheet div[class^="sheet-page"] {
display: none;
}
/*this shows the tab content when the appropriate input field is selected*/
.charsheet input.sheet-tab-page1:checked ~ div.sheet-page1,
.charsheet input.sheet-tab-page2:checked ~ div.sheet-page2,
.charsheet input.sheet-tab-page3:checked ~ div.sheet-page3,
.charsheet input.sheet-tab-page4:checked ~ div.sheet-page4,
.charsheet input.sheet-tab-invent:checked ~ div.sheet-section-invent {
display: block;
}
.charsheet input.sheet-tab-all:checked ~ div[class^="sheet-page"] {
display: block;
}
/*this hides the radio button for each tab, makes it 100px wide and 40px tall and makes sure it's above everything else*/
.charsheet input[type="radio"].sheet-tab {
width: 106px;
height: 80px;
cursor: pointer;
position: relative;
opacity: 0;
z-index: 9999;
margin:0;
padding:0;
}
/*this styles the span with the tab information and slides to the left, so it appears underneath the radio button*/
.charsheet span.sheet-tab {
text-align: center;
display: inline-block;
font-size: 14px;
background-image:url("https://i62.servimg.com/u/f62/13/24/51/43/onglet19.jpg");
background-size:100% 100%;
background-repeat:no-repeat;
color: #9f9f9f;
font-weight: bold;
border-radius: 4px;
text-shadow: 1px 0 0 white, 0 1px 0 white, 0 -1px 0 white, -1px 0 0 white;
width: 150px;
height: 80px;
cursor: pointer;
position: relative;
vertical-align: middle;
margin-left: -113px;
padding:0;
margin-right:10px;
}
/*this modifies the span color once the radio button is selected so you know which tab is selected*/
.charsheet input.sheet-tab-page1:checked + span.sheet-tab-page1,
.charsheet input.sheet-tab-page2:checked + span.sheet-tab-page2,
.charsheet input.sheet-tab-page3:checked + span.sheet-tab-page3,
.charsheet input.sheet-tab-page4:checked + span.sheet-tab-page4,
.charsheet input.sheet-tab-all:checked + span.sheet-tab-all {
/*background: #2c424e;
color: #bfc4c6;*/
background-image:url("https://i62.servimg.com/u/f62/13/24/51/43/onglet20.jpg");
background-size:100% 100%;
color:#9f9f9f;
border-radius: 4px;
}
/*----------- End Tab Setup -----------*/