mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
- updated wounds counter from text to drop down to reflect weaver dice types of damage and effects - used emojis for interchangeable hearts for health, damaged health, armor, and damaged armor on wounds - changed sheet version to SV for cleaner look
564 lines
11 KiB
CSS
564 lines
11 KiB
CSS
|
|
/* Sheet Version */
|
|
.charsheet .sheet-version::after {
|
|
content: 'SV 2.01';
|
|
}
|
|
|
|
/* ----------------------- */
|
|
/* new css */
|
|
/* ----------------------- */
|
|
|
|
/* --------- General Styling ------- */
|
|
|
|
span{
|
|
padding:2px 4px 2px 4px;
|
|
}
|
|
|
|
*{ /* Defines a CSS variable */
|
|
|
|
--gray: #d9d9d9;
|
|
}
|
|
.charsheet {
|
|
background-color: white;
|
|
}
|
|
|
|
textarea{
|
|
width: 98%;
|
|
height: 110px;
|
|
}
|
|
|
|
div.sheet-main{
|
|
width: 750px;
|
|
padding: 15px;
|
|
}
|
|
|
|
div.sheet-section{
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0em 0em 1em 0em;
|
|
border: 2px solid var(--gray);
|
|
}
|
|
|
|
div.sheet-title,
|
|
div.sheet-sub-title{
|
|
background-color: var(--gray);
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
div.sheet-title span,
|
|
div.sheet-sub-title span,
|
|
span.sheet-sub-title{
|
|
font-weight: 600;
|
|
}
|
|
|
|
|
|
|
|
/* ---- Section specific ------ */
|
|
|
|
/* Header */
|
|
div.sheet-header{
|
|
flex-flow: row wrap;
|
|
align-items: center;
|
|
background-image: url(https://parahumans.files.wordpress.com/2011/06/cityscape2.jpg);
|
|
background-size: 750px 110px;
|
|
background-repeat: no-repeat;
|
|
text-shadow:-2px 0 #000000,0 2px #000000,2px 0 #000000,0 -2px #000000;
|
|
color: white;
|
|
}
|
|
|
|
div.sheet-header span.sheet-title{
|
|
font-size: 300%;
|
|
width: 250px;
|
|
}
|
|
|
|
div.sheet-header span.sheet-version{
|
|
font-size: small;
|
|
}
|
|
|
|
div.sheet-header{
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
div.sheet-header input{
|
|
width: 350px;
|
|
font-size: 28px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
|
|
|
|
/* Main info */
|
|
div.sheet-main-info{
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
div.sheet-main-info div{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
width: 50%;
|
|
}
|
|
|
|
div.sheet-main-info span{
|
|
background-color: var(--gray);
|
|
font-weight: 600;
|
|
width: 100px;
|
|
}
|
|
|
|
div.sheet-main-info input{
|
|
width: 255px;
|
|
margin: 0px 0px 4px 2px;
|
|
padding-bottom: 1px;
|
|
border-style: none none solid none;
|
|
border-width: 1px;
|
|
border-color: black;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
|
|
/* WOUNDS */
|
|
div.sheet-wounds{
|
|
display:grid;
|
|
grid-template-columns: 5.5em repeat(8, 1fr);
|
|
grid-template-rows: 0.5fr repeat(3, 1fr);
|
|
height: 143px;
|
|
}
|
|
|
|
div.sheet-wounds div.sheet-title{
|
|
grid-column: span 9;
|
|
grid-row: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
div.sheet-wounds div.sheet-title span{
|
|
padding: 1px;
|
|
}
|
|
|
|
div.sheet-wounds input[type="text"]{
|
|
width: 80px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
div.sheet-wounds select.sheet-health{
|
|
width: 80px;
|
|
height: 33px;
|
|
margin-left: 1px;
|
|
}
|
|
|
|
div.sheet-wounds select.sheet-text{
|
|
-moz-appearance: none;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 80px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
div.sheet-wounds div{
|
|
border: 1px solid var(--gray);
|
|
}
|
|
|
|
|
|
|
|
/* Stats & Gear */
|
|
|
|
div.sheet-stats-inventory{
|
|
display: flex;
|
|
}
|
|
|
|
/* Stats */
|
|
div.sheet-stats{
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-template-rows: 0.2fr 1fr 1fr 1fr 1fr;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-auto-flow: column;
|
|
height:520px;
|
|
width: 46%;
|
|
}
|
|
|
|
div.sheet-stats div{
|
|
border: 1px solid var(--gray);
|
|
}
|
|
|
|
div.sheet-stats div.sheet-title{
|
|
grid-column: span 4;
|
|
grid-row: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
div.sheet-stats div:not(.sheet-title){
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
div.sheet-stats div.sheet-img-size{
|
|
background-size: 75px 75px;
|
|
background-repeat: no-repeat;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
div.sheet-stats div.sheet-img-size span{
|
|
font-weight: 600;
|
|
}
|
|
|
|
div.sheet-stats div.sheet-info span{
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
}
|
|
|
|
|
|
div.sheet-stats div.sheet-brawn-img{
|
|
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Weaverdice/images/brawn.png);
|
|
}
|
|
div.sheet-stats div.sheet-athletics-img{
|
|
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Weaverdice/images/athletics.png);
|
|
}
|
|
div.sheet-stats div.sheet-dexterity-img{
|
|
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Weaverdice/images/dexterity.png);
|
|
}
|
|
div.sheet-stats div.sheet-wits-img{
|
|
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Weaverdice/images/wits.png);
|
|
}
|
|
div.sheet-stats div.sheet-social-img{
|
|
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Weaverdice/images/social.png);
|
|
}
|
|
div.sheet-stats div.sheet-knowledge-img{
|
|
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Weaverdice/images/knowledge.png);
|
|
}
|
|
div.sheet-stats div.sheet-guts-img{
|
|
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Weaverdice/images/guts.png);
|
|
}
|
|
|
|
|
|
/* Inventory */
|
|
div.sheet-inventory{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 53%;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
div.sheet-inventory div.sheet-title{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
}
|
|
|
|
div.sheet-inventory span{
|
|
text-align: center;
|
|
}
|
|
div.sheet-inventory input[name="attr_gearname"]{
|
|
width: 120px;
|
|
}
|
|
div.sheet-inventory input[name="attr_gearnotes"]{
|
|
width: 225px;
|
|
}
|
|
div.sheet-inventory input[type="number"]{
|
|
width: 32px;
|
|
}
|
|
|
|
|
|
|
|
/* Skills */
|
|
div.sheet-skill{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
div.sheet-skill .sheet-name{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
width: 115px;
|
|
}
|
|
div.sheet-skill .sheet-name input[type="text"]{
|
|
width: 110px;
|
|
margin-top: 5px;
|
|
}
|
|
div.sheet-skill .sheet-info{
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 600px;
|
|
}
|
|
|
|
div.sheet-skill .sheet-dice-row{
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 4px 5px 4px 5px;
|
|
}
|
|
div.sheet-skill select.sheet-dice{
|
|
width: 40px;
|
|
margin-bottom: 0px;
|
|
}
|
|
div.sheet-skill select.sheet-stat{
|
|
width: 90px;
|
|
margin-bottom: 0px;
|
|
}
|
|
div.sheet-skill .sheet-dice-row input[type="text"]{
|
|
width: 90px;
|
|
}
|
|
div.sheet-skill textarea{
|
|
width: 102%;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
/* territory, allies */
|
|
p {
|
|
margin-bottom: 0px;
|
|
}
|
|
table{
|
|
border-collapse: collapse;
|
|
margin-right: auto;
|
|
margin-bottom: 1em;
|
|
}
|
|
table .sheet-section {
|
|
width: 345px;
|
|
}
|
|
table .sheet-name {
|
|
width: 88pt;
|
|
}
|
|
table .sheet-notes {
|
|
width: 196pt;
|
|
}
|
|
table .sheet-gray-border {
|
|
border-right-style: solid;
|
|
padding: 2pt;
|
|
vertical-align: top;
|
|
border: 1pt solid #d9d9d9;
|
|
}
|
|
table .sheet-bg-gray {
|
|
background-color: #d9d9d9;
|
|
}
|
|
table .sheet-graysides {
|
|
padding: 2pt;
|
|
vertical-align: top;
|
|
border-width: 1pt;
|
|
border-color: white var(--gray);
|
|
border-style: solid;
|
|
}
|
|
p.sheet-gap {
|
|
height: 4pt;
|
|
width: 1em;
|
|
}
|
|
table .sheet-center{
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
|
|
/* Appearance */
|
|
div.sheet-appearance{
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
div.sheet-appearance div.sheet-section{
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 49%;
|
|
}
|
|
div.sheet-appearance div.sheet-section:last-child{
|
|
margin-left: 1em;
|
|
}
|
|
|
|
div.sheet-appearance span{
|
|
background-color: var(--gray);
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
div.sheet-appearance textarea{
|
|
width: 97%;
|
|
}
|
|
|
|
/* footer */
|
|
p.sheet-footer{
|
|
text-align: center;
|
|
font-size:10px;
|
|
}
|
|
|
|
/* ------------------ Old CSS ------------------- */
|
|
|
|
|
|
/* changes die button icon to d6*/
|
|
.charsheet button[type=roll].sheet-d6-dice::before {
|
|
font-family: 'dicefontd6',arial;
|
|
content: 'F ';
|
|
color: red;
|
|
}
|
|
|
|
|
|
/* Change wounds tracker into hearts */
|
|
|
|
/* 1 - Hide actual radio */
|
|
.charsheet input[type="radio"]{
|
|
opacity: 0;
|
|
width: 20px;
|
|
height: 20px;
|
|
position: relative;
|
|
left: 45px;
|
|
margin: -10px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* 2 - Fake radio */
|
|
.charsheet input[type="radio"] + span::before{
|
|
margin-left: 30px;
|
|
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);
|
|
|
|
content: '❤';
|
|
color: red;
|
|
width: 12px;
|
|
height: 12px;
|
|
font-size: 35px;
|
|
|
|
-moz-border-radius: 50%;
|
|
-webkit-border-radius: 50%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Remove dot from all radios _after_ selected one */
|
|
.charsheet input[type="radio"]:checked ~ input[type="radio"] + span::before {
|
|
content: "";
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------- Roll Templates---------------*/
|
|
|
|
/* ----------- BLUE -----------*/
|
|
.sheet-rolltemplate-blue table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(51, 51, 255,1)
|
|
}
|
|
.sheet-rolltemplate-blue caption {
|
|
background-color:rgba(51, 51, 255,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:300;
|
|
font-size:1.1em;
|
|
padding:5px
|
|
}
|
|
.sheet-rolltemplate-blue td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top
|
|
}
|
|
.sheet-rolltemplate-blue td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px
|
|
}
|
|
.sheet-rolltemplate-blue tr:nth-child(even) {
|
|
background-color:#eee
|
|
}
|
|
/* ----------- GREEN -----------*/
|
|
.sheet-rolltemplate-green table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(0, 153, 51,1)
|
|
}
|
|
.sheet-rolltemplate-green caption {
|
|
background-color:rgba(0, 153, 51,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:300;
|
|
font-size:1.1em;
|
|
padding:5px
|
|
}
|
|
.sheet-rolltemplate-green td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top
|
|
}
|
|
.sheet-rolltemplate-green td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px
|
|
}
|
|
.sheet-rolltemplate-green tr:nth-child(even) {
|
|
background-color:#eee
|
|
}
|
|
/* ----------- RED -----------*/
|
|
.sheet-rolltemplate-red table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(204, 0, 0,1)
|
|
}
|
|
.sheet-rolltemplate-red caption {
|
|
background-color:rgba(204, 0, 0,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:300;
|
|
font-size:1.1em;
|
|
padding:5px
|
|
}
|
|
.sheet-rolltemplate-red td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top
|
|
}
|
|
.sheet-rolltemplate-red td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px
|
|
}
|
|
.sheet-rolltemplate-red tr:nth-child(even) {
|
|
background-color:#eee
|
|
}
|
|
/* ----------- BLACK -----------*/
|
|
.sheet-rolltemplate-black table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(0, 0, 0,1)
|
|
}
|
|
.sheet-rolltemplate-black caption {
|
|
background-color:rgba(0, 0, 0,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:300;
|
|
font-size:1.1em;
|
|
padding:5px
|
|
}
|
|
.sheet-rolltemplate-black td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top
|
|
}
|
|
.sheet-rolltemplate-black td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px
|
|
}
|
|
.sheet-rolltemplate-black tr:nth-child(even) {
|
|
background-color:#eee
|
|
} |