mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
342 lines
7.3 KiB
CSS
342 lines
7.3 KiB
CSS
div,
|
|
button,
|
|
textarea,
|
|
span,
|
|
input,
|
|
select{
|
|
box-sizing: border-box;
|
|
}
|
|
div{
|
|
margin: none;
|
|
padding: none;
|
|
background-color: transparent;
|
|
}
|
|
div.sheet-bgmain{
|
|
width: 830px;
|
|
max-width: 830px;
|
|
height: 660px;
|
|
max-height: 660px;
|
|
text-align: center;
|
|
font-family: 'Patrick Hand';
|
|
font-size: 13px;
|
|
background-color : white;
|
|
background-image: url('https://raw.githubusercontent.com/NathaTerrien/roll20-wip/master/Macchiato%20Monsters/mm_bg.jpg');
|
|
background-repeat:no-repeat;
|
|
background-position:top left;
|
|
background-size: auto;
|
|
padding: 4px;
|
|
}
|
|
div.sheet-ligne{
|
|
display: block;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
width: 100%;
|
|
margin: 1px;
|
|
padding: 1px;
|
|
}
|
|
div.sheet-lignel{
|
|
display: block;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
width: 100%;
|
|
margin: 5px 1px 1px 1px;
|
|
padding: 1px;
|
|
}
|
|
div.sheet-mycol{
|
|
display: inline-block;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
div.sheet-colgear{
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
height: 285px;
|
|
}
|
|
div.sheet-rel{
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
div.sheet-abs{
|
|
position: absolute;
|
|
vertical-align: bottom;
|
|
display: inline-block;
|
|
}
|
|
div.sheet-gear{
|
|
position: relative;
|
|
width: 545px;
|
|
height: 330px;
|
|
}
|
|
span.sheet-lib1{
|
|
display: inline-block;
|
|
min-width: 40px;
|
|
text-align: left;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
span.sheet-stats{
|
|
display: inline-block;
|
|
width: 40px;
|
|
text-align: left;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
.sheet-scroll{
|
|
overflow-y: scroll;
|
|
}
|
|
.sheet-margleft{
|
|
margin-left: 5px;
|
|
}
|
|
|
|
input, textarea{
|
|
background-color: transparent;
|
|
display: inline-block;
|
|
padding: none;
|
|
margin: none;
|
|
font-family: Arial;
|
|
font-size: 14px;
|
|
border: none;
|
|
box-shadow: none;
|
|
resize:none;
|
|
color: #B1793F;
|
|
z-index: 2;
|
|
border-radius: 0;
|
|
border-bottom: 1px dotted black;
|
|
}
|
|
input:focus, input:hover, textarea:focus, textarea:hover{
|
|
box-shadow: inset 0px 1px 1px rgba(177,121,63,0.01),0 0 6px rgba(177,121,63,0.5);
|
|
background-color: rgba(177,121,63,0.05);
|
|
}
|
|
textarea{
|
|
padding: 1px 2px 0px 2px;
|
|
font-size: 13px;
|
|
border-left: 1px dotted black;
|
|
border-right: 1px dotted black;
|
|
}
|
|
input[type="text"]{
|
|
padding: 0px 0px 0px 2px;
|
|
font-size: 13px;
|
|
}
|
|
input[type="text"].sheet-inptxt1 {
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
}
|
|
input[type="number"]{
|
|
text-align: right;
|
|
padding: 0px 2px 0px 0px;
|
|
}
|
|
input[type="number"].sheet-stats{
|
|
width: 40px;
|
|
font-size: 20px;
|
|
text-align: center;
|
|
-moz-appearance: textfield;
|
|
}
|
|
input[type="number"].sheet-stats::-webkit-inner-spin-button,
|
|
input[type="number"].sheet-stats::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
select{
|
|
background-color: rgba(255,255,255,0.6);
|
|
padding: 0px;
|
|
margin: 0px;
|
|
height: 18px;
|
|
line-height: 18px;
|
|
max-height 18px;
|
|
font-weight:normal;
|
|
font-family: Arial;
|
|
font-size: 14px;
|
|
border: none;
|
|
border-bottom: 1px dotted black;
|
|
text-align: center;
|
|
color: #B1793F;
|
|
}
|
|
select:hover{
|
|
border: 1px solid #B1793F;
|
|
}
|
|
select.sheet-seldice{
|
|
width: 48px;
|
|
}
|
|
button[type="roll"]{
|
|
color: black;
|
|
font-weight: normal;
|
|
font-size: 20px;
|
|
text-decoration:none;
|
|
background:none;
|
|
background-image:none;
|
|
border: none;
|
|
box-shadow: none;
|
|
text-shadow: none;
|
|
padding: 0px 0px 0px 0px;
|
|
margin: 0px 0px 0px 0px;
|
|
text-align: center;
|
|
}
|
|
button[type="roll"]:hover{
|
|
font-weight: bold;
|
|
}
|
|
button[type="roll"].sheet-btd20:before{
|
|
content: '0';
|
|
font-size: 20px;
|
|
}
|
|
button[type="roll"].sheet-bthp:before{
|
|
font-family: "dicefontd8";
|
|
content: '0';
|
|
font-size: 20px;
|
|
}
|
|
button[type="roll"].sheet-btrisk{
|
|
}
|
|
button[type="roll"].sheet-btrisk:before{
|
|
font-family: "dicefontd4";
|
|
content: '0';
|
|
font-size: 20px;
|
|
}
|
|
button[type="roll"].sheet-btrisk:hover:before{
|
|
content: 'd';
|
|
}
|
|
|
|
/* === fieldset button === */
|
|
div.repcontrol{
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
.repcontrol_move{
|
|
height: 11px;
|
|
line-height: 11px;
|
|
margin-top: 4px;
|
|
}
|
|
.repcontrol_del {
|
|
height: 22px;
|
|
line-height: 12px;
|
|
margin-top: 4px;
|
|
width: 30px;
|
|
}
|
|
.repcontrol_add, .repcontrol_edit {
|
|
color: transparent;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
border-color: transparent;
|
|
text-shadow:none;
|
|
width: 100px;
|
|
}
|
|
.repcontrol_add:focus, .repcontrol_edit:focus {
|
|
outline: none;
|
|
}
|
|
.repcontrol .repcontrol_edit:after {
|
|
content: 'y';
|
|
visibility: visible;
|
|
font-family: pictos;
|
|
border: 1px solid transparent;
|
|
border-radius: 2px;
|
|
font-size: 20px;
|
|
height: 20px;
|
|
width: 20px;
|
|
padding: 2px 4px 2px 4px;
|
|
color: rgba(177,121,63,0.7);
|
|
}
|
|
.editmode ~ .repcontrol .repcontrol_edit:after {
|
|
content: '2';
|
|
}
|
|
.repcontrol .repcontrol_add:before {
|
|
content: '+';
|
|
visibility: visible;
|
|
font-family: pictos;
|
|
border: 1px solid transparent;
|
|
border-radius: 2px;
|
|
font-size: 20px;
|
|
height: 20px;
|
|
width: 20px;
|
|
padding: 2px 4px 2px 4px;
|
|
color: rgba(177,121,63,0.7);
|
|
}
|
|
.repcontrol .repcontrol_edit:hover:after,
|
|
.repcontrol .repcontrol_add:hover:before
|
|
{
|
|
box-shadow: 1px 1px 4px 2px rgba(147,35,21,0.8);
|
|
border-color: #B1793F;
|
|
color: #B1793F;
|
|
}
|
|
.repcontrol_add:focus:before, .repcontrol_edit:focus:after {
|
|
color: #B1793F;
|
|
}
|
|
|
|
/* === template === */
|
|
.sheet-rolltemplate-tmplt div{
|
|
display: block;
|
|
box-sizing: border-box;
|
|
background-color: transparent;
|
|
font-family: 'Patrick Hand';
|
|
text-align: center;
|
|
padding: 0px 0px 0px 0px;
|
|
margin: 0px 0px 0px 0px;
|
|
}
|
|
.sheet-rolltemplate-tmplt div.sheet-tplmain{
|
|
width: 180px;
|
|
height: 180px;
|
|
background-image:url('https://raw.githubusercontent.com/NathaTerrien/roll20-wip/master/Macchiato%20Monsters/mm_bg_tmplt.png');
|
|
background-repeat: no-repeat;
|
|
background-size: 180px 180px;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
.sheet-rolltemplate-tmplt div.sheet-body{
|
|
width: 100%;
|
|
}
|
|
.sheet-rolltemplate-tmplt div.sheet-char,
|
|
.sheet-rolltemplate-tmplt div.sheet-title{
|
|
color: black;
|
|
text-shadow: 0px 0px 10px white;
|
|
font-size: 22px;
|
|
height: 27px;
|
|
width: 179px;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
}
|
|
.sheet-rolltemplate-tmplt div.sheet-mycol{
|
|
width: 88px;
|
|
max-width: 88px;
|
|
min-height: 50px;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
}
|
|
.sheet-rolltemplate-tmplt .sheet-rightbrd{
|
|
border-right: 1px solid #B1793F;
|
|
border-collapse:collapse;
|
|
}
|
|
.sheet-rolltemplate-tmplt .sheet-leftbrd{
|
|
border-left: 1px solid #B1793F;
|
|
border-collapse:collapse;
|
|
}
|
|
.sheet-rolltemplate-tmplt .sheet-success{
|
|
color: #3b8a57;
|
|
font-size: 16px;
|
|
display: inline-block;
|
|
}
|
|
.sheet-rolltemplate-tmplt .sheet-failure{
|
|
color: #932315;
|
|
font-size: 16px;
|
|
display: inline-block;
|
|
}
|
|
/* Roll results */
|
|
.sheet-rolltemplate-tmplt .inlinerollresult {
|
|
background-color: transparent;
|
|
border: none;
|
|
padding: 0px 0px;
|
|
font-weight: bold;
|
|
cursor: help;
|
|
font-size: 24px;
|
|
font-family: 'Candal';
|
|
}
|
|
.sheet-rolltemplate-tmplt .inlinerollresult.fullcrit{
|
|
border: none;
|
|
color: #3b8a57;
|
|
}
|
|
.sheet-rolltemplate-tmplt .inlinerollresult.importantroll{
|
|
border: none;
|
|
color: #4A57ED;
|
|
}
|
|
.sheet-rolltemplate-tmplt .inlinerollresult.fullfail{
|
|
border: none;
|
|
color: #932315;
|
|
}
|