d10_cs_generator/style.css

114 lines
2.3 KiB
CSS

input[type="number"] {
width: 50%;
background-color: #aebaaf;
}
.sheet-content {
background-color: #aebaaf;
margin: auto;
border: 1px solid black;
width: 50%;
padding: 2%;
font-family: 'Roboto', sans-serif;
}
table {
border-collapse: collapse;
}
td {
/*border: 1px solid black;*/
}
.sheet-dice {
font-size: 3em;
}
.sheet-dice>option {
font-size: 0.4em;
}
div.sheet-tab-content { display: none; }
input.sheet-tab1:checked ~ div.sheet-tab1,
input.sheet-tab2:checked ~ div.sheet-tab2,
input.sheet-tab3:checked ~ div.sheet-tab3,
input.sheet-tab4:checked ~ div.sheet-tab4,
input.sheet-tab5:checked ~ div.sheet-tab5,
input.sheet-tab6:checked ~ div.sheet-tab6
{
display: block;
}
input.sheet-secondary_tab1:checked ~ div.sheet-secondary_tab1,
input.sheet-secondary_tab2:checked ~ div.sheet-secondary_tab2,
input.sheet-secondary_tab3:checked ~ div.sheet-secondary_tab3,
input.sheet-secondary_tab4:checked ~ div.sheet-secondary_tab4,
input.sheet-secondary_tab5:checked ~ div.sheet-secondary_tab5,
input.sheet-secondary_tab6:checked ~ div.sheet-secondary_tab6,
input.sheet-secondary_tab7:checked ~ div.sheet-secondary_tab7,
input.sheet-secondary_tab8:checked ~ div.sheet-secondary_tab8
{
display:block;
}
input.sheet-tab{
width:150px;
height: 20px;
top: 5px;
left: 6px;
margin: 5px;
cursor: pointer;
z-index: 1;
}
input.sheet-tab::before{
content: attr(title);
border-radius:.5em;
border:2px solid black;
text-align: center;
display: inline-block;
background: black;
color:white;
width: 150px;
height: 20px;
font-size: 18px;
}
input.sheet-tab:checked::before{
background:#CCCCCC;
color:black;
border-radius:.5em;
border:2px solid black;
}
input.sheet-small_tab{
width:90px;
height: 20px;
cursor: pointer;
z-index: 1;
margin:5px;
}
input.sheet-small_tab::before{
content: attr(title);
border-radius:.5em;
text-align: center;
display: inline-block;
color:white;
background:black;
border:2px solid black;
width: 90px;
height:20px;
font-size: 14px;
}
input.sheet-small_tab:checked::before{
border:2px solid black;
background:#CCCCCC;
color:black;
border-radius:.5em;
}
div.sheet-tab-content{
border-top-color: #000;
margin: 2px 0 0 0;
}