Files
roll20-character-sheets/Cyberpunk 2020/Cyberpunk2020.css
T
2015-02-10 16:29:20 -05:00

172 lines
3.7 KiB
CSS

/*----
.charsheet {
background: url('http://2.bp.blogspot.com/-s7VPlDOpK2s/T0PxB4JvEUI/AAAAAAAAKYw/v42XwSy3NyM/s1600/iPhone4+Metal+Worktop+wallpaper.png')
}
, h1, h2, h3, h4, h5, h6, th, td {
color:white;
}
----*/
.sheet-damagetable, .sheet-damagetable tr, .sheet-damagetable td, .sheet-damagetable th {
border: 1px solid black;
width: 500px;
text-align: center;
margin: 0;
}
.sheet-skilltable {
border: 1px solid black;
width: 390px;
text-align: center;
}
.sheet-skilltable_wide {
border: 1px solid black;
text-align: center;
margin:1px;
margin-left:auto;
margin-right:auto;
}
/* TABS */
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-tab
{
width: 150px;
height: 20px;
position: relative;
left: 6px;
margin: 0px -1.5px;
cursor: pointer;
z-index: 1;
}
input.sheet-tab::before
{
content: attr(title);
/*
border: solid 1px #c8c8c8;
border-bottom-color: black; */
text-align: center;
display: inline-block;
background: #fff;
background: -moz-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
background: -webkit-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
background: -ms-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
background: -o-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
background: linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
width: 150px;
height: 20px;
font-size: 18px;
}
input.sheet-tab:checked::before
{
background: #dcdcdc;
background: -moz-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
background: -webkit-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
background: -ms-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
background: -o-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
background: linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
/* border-bottom-color: #fff; */
}
input.sheet-tab:not(:first-child)::before
{
border-left: none;
}
div.sheet-tab-content
{
/* border: 1px solid #a8a8a8;
border-top-color: #000;*/
margin: 2px 0 0 5px;
padding: 5px;
}
/*---- lining up select boxes & text areas---- */
select {
margin: 0;
}
textarea {
margin: 0;
height: 30px;
}
/*--------------Big Checkbox--------------*/
/* ----Hide actual sheet-arrow checkbox---- */
input[type="checkbox"]
{
opacity: 0;
width: 16px;
height: 16px;
position: relative;
top: 5px;
left: 6px;
margin: -10px;
cursor: pointer;
z-index: 1;
}
/* ----Fake sheet-arrow checkbox-- .sheet-bigcheck -- */
input[type="checkbox"] + span::before
{
margin-bottom: 2px;
border: solid 1px #a8a8a8;
line-height: 14px;
text-align: center;
display: inline-block;
vertical-align: middle;
-moz-box-shadow: 0 0 2px #ccc;
-webkit-box-shadow: 0 0 2px #ccc;
box-shadow: 0 0 2px #ccc;
background: #f6f6f6;
background: -moz-radial-gradient(#f6f6f6, #dfdfdf);
background: -webkit-radial-gradient(#f6f6f6, #dfdfdf);
background: -ms-radial-gradient(#f6f6f6, #dfdfdf);
background: -o-radial-gradient(#f6f6f6, #dfdfdf);
background: radial-gradient(#f6f6f6, #dfdfdf);
}
input[type="checkbox"] + span::before
{
content: "";
width: 14px;
height: 14px;
font-size: 12px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
input[type="checkbox"]:checked + span::before
{
color: red;
content: "✖"; /* "✓" */
}