mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-03 05:32:32 +00:00
581 lines
11 KiB
CSS
581 lines
11 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap');
|
|
|
|
/* Set the min-width so that when the window is resized the look spirit stay consistant */
|
|
|
|
.charsheet {
|
|
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Out%20Of%20The%20Ashes/images/outoftheashesheader.png'),
|
|
url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Out%20Of%20The%20Ashes/images/outoftheashesfooter.png'),
|
|
url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Out%20Of%20The%20Ashes/images/outoftheashesrepeat.png');
|
|
background-repeat: no-repeat, no-repeat, repeat;
|
|
background-position: top, bottom, center;
|
|
background-size: contain, contain, contain;
|
|
width:825px;
|
|
min-width:825px;
|
|
max-width:825px;
|
|
min-height:400px;
|
|
margin:0;
|
|
font-family: Georgia, serif;
|
|
}
|
|
|
|
.charsheet .sheet-character {
|
|
margin-top:80px;
|
|
margin-bottom:50px;
|
|
}
|
|
|
|
.charsheet .tabbuttons {
|
|
text-align:right;
|
|
}
|
|
|
|
/* Universal styling applied to all elements of these types */
|
|
|
|
.charsheet h1 {
|
|
font-size: 4em;
|
|
margin-bottom: 10px;
|
|
margin-top:5px;
|
|
text-align: center;
|
|
color:#4e5256;
|
|
text-shadow: 0px 0px 1px #eadb6a;
|
|
font-family: 'Uncial Antiqua', Georgia, serif;
|
|
font-weight:normal;
|
|
}
|
|
|
|
.charsheet h2 {
|
|
font-size: 2em;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
width:100%;
|
|
background: #4e5256;
|
|
color:#eadb6a;
|
|
font-family: 'Uncial Antiqua', Georgia, serif;
|
|
font-weight:normal;
|
|
}
|
|
.charsheet h3 {
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
text-shadow: 0px 0px 5px #FFF;
|
|
}
|
|
|
|
.charsheet input, .charsheet textarea, .charsheet select {
|
|
background-color:#f5f3f0;
|
|
border-radius:0;
|
|
border:1px solid black;
|
|
}
|
|
|
|
.charsheet button {
|
|
border-radius:0;
|
|
border:1px solid black;
|
|
/*background-color: #eff2f6;*/
|
|
background-image: linear-gradient(top, #ffffff, #f5f3f0);
|
|
background-image: -webkit-linear-gradient(top, #ffffff, #f5f3f0);
|
|
}
|
|
.charsheet button:hover {
|
|
border-radius:0;
|
|
border:1px solid black;
|
|
background-color: #f5f3f0;
|
|
}
|
|
|
|
.charsheet p {
|
|
font-family: Georgia, serif;
|
|
}
|
|
|
|
.charsheet .hidden {
|
|
display:none;
|
|
}
|
|
|
|
.charsheet .sheet-character button[type=roll], .charsheet .sheet-community button[type=roll] {
|
|
margin:0;
|
|
text-align:center;
|
|
vertical-align:top;
|
|
border:1px solid black;
|
|
border-radius:0;
|
|
height:26px;
|
|
font-size:1.2em;
|
|
padding-top:0;
|
|
padding-bottom:0;
|
|
min-width:22px;
|
|
}
|
|
|
|
.charsheet button[type=roll].sheet-d6-dice::before {
|
|
font-family: 'dicefontd6';
|
|
content: 'f ';
|
|
}
|
|
|
|
.charsheet select.diceselector {
|
|
display: inline-block;
|
|
width: 52px;
|
|
border-right:0;
|
|
}
|
|
|
|
|
|
/* LAYOUT */
|
|
|
|
.charsheet .sheet-character {
|
|
display: grid;
|
|
grid-template-columns: 133px 133px 133px 133px 133px 133px;
|
|
grid-template-rows: auto;
|
|
gap: 5px;
|
|
grid-template-areas:
|
|
"basic basic basic drive drive drive"
|
|
"physical physical mental mental social social"
|
|
"explain explain explain explain explain explain"
|
|
"unspent unspent cap cap totalskill totalskill"
|
|
"talents talents talents other other other"
|
|
}
|
|
|
|
/* BASIC INFO */
|
|
|
|
|
|
.charsheet .sheet-character label {
|
|
color:#333;
|
|
}
|
|
.sheet-basicinfo-left {
|
|
grid-area: basic;
|
|
}
|
|
|
|
.sheet-basicinfo-right {
|
|
grid-area: drive;
|
|
}
|
|
|
|
.charsheet .sheet-character .basicinfo label {
|
|
display: inline-block;
|
|
width: 90px;
|
|
vertical-align:top;
|
|
margin-top:3px;
|
|
}
|
|
|
|
.basicinfo input {
|
|
display: inline-block;
|
|
width: 290px;
|
|
}
|
|
|
|
.basicinfo select {
|
|
display: inline-block;
|
|
width: 290px;
|
|
}
|
|
|
|
.basicinfo textarea {
|
|
display: inline-block;
|
|
width: 280px;
|
|
height:70px;
|
|
}
|
|
|
|
.basicinfo h4 {
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
|
|
.basicinfo h4.sheet-first {
|
|
margin-left: 95px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.charsheet .sheet-character .basicinfo .despair label {
|
|
width: 190px;
|
|
}
|
|
.basicinfo input.despair {
|
|
display: inline-block;
|
|
width: 140px;
|
|
margin-left:50px;
|
|
}
|
|
|
|
|
|
|
|
.charsheet input[type=checkbox], .charsheet input[type=radio]{
|
|
opacity: 0;
|
|
margin-right: -1.5em;
|
|
margin-left:7px;
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
|
|
.charsheet input[type=checkbox] + span:before, .charsheet input[type=radio] + span:before{
|
|
content:"✖";
|
|
padding:0 0.2em;
|
|
border: 1px solid black;
|
|
height: 1em;
|
|
width: 2em;
|
|
color: #00000000;
|
|
font-size: 1.2em;
|
|
background: #f5f3f0;
|
|
border-radius: 50%;
|
|
}
|
|
.charsheet input[type=checkbox]:checked + span:before, .charsheet input[type=radio]:checked + span:before{
|
|
color: #293749;
|
|
}
|
|
|
|
|
|
/* SKILLS */
|
|
|
|
.sheet-physical {
|
|
grid-area: physical;
|
|
}
|
|
.sheet-mental {
|
|
grid-area: mental;
|
|
}
|
|
.sheet-social {
|
|
grid-area: social;
|
|
}
|
|
|
|
.sheet-skills label{
|
|
display:inline-block;
|
|
width:170px;
|
|
}
|
|
|
|
.sheet-skills input[type="number"]{
|
|
text-align: center;
|
|
width: 50px !important;
|
|
border-right:0;
|
|
}
|
|
|
|
.charsheet .sheet-skills button[type=roll].sheet-skill-button {
|
|
width:30px;
|
|
margin:0;
|
|
text-align:center;
|
|
vertical-align:top;
|
|
border:1px solid black;
|
|
border-radius:0;
|
|
height:26px;
|
|
font-size:1.2em;
|
|
padding-top:0;
|
|
padding-bottom:0;
|
|
}
|
|
.charsheet .sheet-skills button[type=roll].sheet-skill-button-spirit {
|
|
font-size:1em;
|
|
border-left:0;
|
|
width:23px;
|
|
}
|
|
/*.sheet-skills button[type=roll].sheet-skill-button::before {
|
|
content: '';*/
|
|
|
|
.sheet-skills button[type=roll].sheet-skill-button::before {
|
|
font-family: 'dicefontd10';
|
|
content: 'kk';
|
|
}
|
|
.sheet-skills button[type=roll].sheet-skill-button-spirit::before {
|
|
font-family: 'dicefontd4';
|
|
content: '+d';
|
|
}
|
|
|
|
|
|
p.sheet-skill-explain {
|
|
grid-area:explain;
|
|
margin-top:10px;
|
|
}
|
|
|
|
.sheet-unspent {
|
|
grid-area: unspent;
|
|
margin-bottom:10px;
|
|
}
|
|
.sheet-cap {
|
|
grid-area: cap;
|
|
margin-bottom:10px;
|
|
}
|
|
.sheet-totalskill {
|
|
grid-area: totalskill;
|
|
margin-bottom:10px;
|
|
}
|
|
|
|
.sheet-skillpoints label {
|
|
display: inline-block;
|
|
width: 180px;
|
|
}
|
|
|
|
.sheet-skillpoints input {
|
|
display: inline-block;
|
|
}
|
|
|
|
img {
|
|
max-height: 100px;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/* TRAITS */
|
|
.sheet-talents {
|
|
grid-area:talents;
|
|
}
|
|
|
|
.sheet-talents input {
|
|
display: inline-block;
|
|
width: 362px;
|
|
font-weight:bold;
|
|
}
|
|
|
|
.sheet-talents input + input[type=number] {
|
|
border-left:0;
|
|
}
|
|
.sheet-talents textarea {
|
|
height:100px;
|
|
width:398px;
|
|
border-top:0;
|
|
}
|
|
|
|
/* OTHER STUFF */
|
|
|
|
.sheet-other {
|
|
grid-area: other;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sheet-other textarea {
|
|
width:400px;
|
|
}
|
|
|
|
/* Possessions */
|
|
.sheet-equipment {
|
|
display: grid;
|
|
grid-template-columns: 247px 153px;
|
|
grid-template-rows: auto;
|
|
gap: 10px;
|
|
grid-template-areas:
|
|
"damage protection"
|
|
"possessions possessions"
|
|
}
|
|
|
|
|
|
.possessionsdamage {
|
|
grid-area: damage;
|
|
}
|
|
.possessionsprotection {
|
|
grid-area: protection;
|
|
}
|
|
.possessionspossessions {
|
|
grid-area: possessions;
|
|
}
|
|
|
|
.sheet-equipment .itemrow {
|
|
margin-bottom:5px;
|
|
}
|
|
|
|
.sheet-equipment label {
|
|
display: inline-block;
|
|
width: 200px;
|
|
}
|
|
|
|
.sheet-equipment input {
|
|
display: inline-block;
|
|
width: 110px;
|
|
border-right:0;
|
|
}
|
|
|
|
.sheet-equipment input.possessionitem {
|
|
display: inline-block;
|
|
width: 100%;
|
|
border-right:1px solid black;
|
|
}
|
|
|
|
.charsheet .sheet-character .sheet-equipment input[type="number"]{
|
|
width: 40px;
|
|
}
|
|
|
|
.sheet-equipment select {
|
|
display: inline-block;
|
|
width: 60px;
|
|
vertical-align:middle;
|
|
border-right:0;
|
|
margin-bottom:0;
|
|
}
|
|
|
|
.charsheet .sheet-equipment button[type="roll"] {
|
|
margin-right:0;
|
|
}
|
|
|
|
.sheet-other input.connectionitem {
|
|
display: inline-block;
|
|
width: 325px;
|
|
border-right:0;
|
|
margin-top:-2px;
|
|
}
|
|
|
|
/* COMMUNITY AREA */
|
|
/* LAYOUT */
|
|
|
|
.charsheet .sheet-community {
|
|
margin-top:80px;
|
|
margin-bottom:50px;
|
|
display: grid;
|
|
grid-template-columns: 133px 133px 133px 133px 133px 133px;
|
|
grid-template-rows: auto;
|
|
gap: 5px;
|
|
grid-template-areas:
|
|
"header header header header header header"
|
|
"concept concept concept people people people"
|
|
}
|
|
|
|
.sheet-community .header {
|
|
grid-area:header;
|
|
}
|
|
|
|
.charsheet .sheet-community label {
|
|
color:#333;
|
|
}
|
|
|
|
.sheet-community .concept {
|
|
grid-area:concept;
|
|
}
|
|
|
|
.sheet-community .people {
|
|
grid-area:people;
|
|
}
|
|
|
|
.sheet-community label {
|
|
display: inline-block;
|
|
vertical-align:top;
|
|
margin-top:3px;
|
|
width:110px;
|
|
}
|
|
|
|
.sheet-community input {
|
|
display: inline-block;
|
|
width: 280px;
|
|
}
|
|
|
|
.sheet-community textarea {
|
|
width:270px;
|
|
height:54px;
|
|
}
|
|
|
|
.sheet-community .repcontrol {
|
|
margin-bottom:10px;
|
|
}
|
|
/* attributes */
|
|
.attributesblock {
|
|
display: grid;
|
|
grid-template-columns: 220px 180px;
|
|
grid-template-rows: auto;
|
|
gap: 10px;
|
|
grid-template-areas:
|
|
"attributes advancements"
|
|
}
|
|
|
|
.attributesblock .communityattributes {
|
|
grid-area:attributes;
|
|
}
|
|
|
|
.attributesblock .advancements {
|
|
grid-area:advancements;
|
|
}
|
|
|
|
|
|
/* MODS */
|
|
|
|
.charsheet .sheet-mods {
|
|
margin-top:80px;
|
|
margin-bottom:40px;
|
|
display: grid;
|
|
grid-template-columns: 133px 133px 133px 133px 133px 133px;
|
|
grid-template-rows: auto;
|
|
gap: 5px;
|
|
grid-template-areas:
|
|
"header header header header header header"
|
|
"content content content content content content"
|
|
}
|
|
.sheet-mods .header {
|
|
grid-area:header;
|
|
}
|
|
.sheet-mods .content {
|
|
grid-area:content;
|
|
min-height:354px;
|
|
}
|
|
|
|
|
|
.charsheet .sheet-mods label {
|
|
color:#333;
|
|
display:inline-block;
|
|
width:200px;
|
|
}
|
|
|
|
/* TABS */
|
|
|
|
/*Configure the tab buttons*/
|
|
.charsheet .sheet-character,
|
|
.charsheet .sheet-community ,
|
|
.charsheet .sheet-mods {
|
|
display: none;
|
|
}
|
|
|
|
/* show the selected tab */
|
|
.charsheet .sheet-tabstoggle[value="character"] ~ div.sheet-character,
|
|
.charsheet .sheet-tabstoggle[value="community"] ~ div.sheet-community ,
|
|
.charsheet .sheet-tabstoggle[value="mods"] ~ div.sheet-mods {
|
|
display: grid;
|
|
}
|
|
|
|
|
|
/* ROLL TEMPLATE */
|
|
.sheet-rolltemplate-ashes {
|
|
margin-left: -37px;
|
|
}
|
|
.withoutavatars .sheet-rolltemplate-ashes {
|
|
margin-left: -7px;
|
|
}
|
|
|
|
.sheet-rolltemplate-ashes .sheet-container {
|
|
border: 1px solid;
|
|
border-color: #4e5256;
|
|
}
|
|
|
|
/* Header formatting - title and subtitle */
|
|
.sheet-rolltemplate-ashes .sheet-header {
|
|
background: #4e5256;
|
|
color:#eadb6a;
|
|
text-align: left;
|
|
padding: 5px;
|
|
}
|
|
.sheet-rolltemplate-ashes .sheet-title {
|
|
font-size:1.1em;
|
|
}
|
|
.sheet-rolltemplate-ashes .sheet-subtitle {
|
|
font-size:.9em;
|
|
}
|
|
|
|
|
|
/* Allprops part */
|
|
.sheet-rolltemplate-ashes .sheet-content {
|
|
display: grid;
|
|
background: #f5f3f0;
|
|
/* Header formatting - modify the column layout below */
|
|
grid-template-columns: auto auto;
|
|
/* Line height to match default roll template */
|
|
line-height:1.4em;
|
|
}
|
|
.sheet-rolltemplate-ashes .sheet-content > div {
|
|
padding: 5px;
|
|
}
|
|
|
|
/* Left column */
|
|
.sheet-rolltemplate-ashes .sheet-content .sheet-key {
|
|
font-weight: bold;
|
|
padding-right: 10px;
|
|
text-align: right;
|
|
color:#404040;
|
|
}
|
|
|
|
/* Empty rule, use this if you want to change the right column
|
|
.sheet-rolltemplate-ashes .sheet-value {
|
|
}
|
|
*/
|
|
|
|
/* Make even-numbered rows grey */
|
|
.sheet-rolltemplate-ashes .sheet-content :nth-child(4n+3),
|
|
.sheet-rolltemplate-ashes .sheet-content :nth-child(4n) {
|
|
background:#EEE;
|
|
}
|
|
|
|
/* Desc field */
|
|
.sheet-rolltemplate-ashes .sheet-desc {
|
|
grid-column: span 2;
|
|
padding: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* set the inline roll result so it doesn't look awful in dark mode */
|
|
.sheet-rolltemplate-ashes .sheet-container .inlinerollresult {
|
|
background-color:#e0dad1;
|
|
border: 1px solid #333;
|
|
color:black;
|
|
}
|