Files
roll20-character-sheets/Reboot The Future/rebootthefuture.css
T

597 lines
10 KiB
CSS

/* Set the min-width so that when the window is resized the look will stay consistant */
.charsheet {
background-image: linear-gradient(135deg, #293749, white, #293749);
background-size: cover;
width:825px;
min-width:825px;
max-width:825px;
min-height:400px;
margin:0;
font-family: Consolas, monospace;
}
/* Universal styling applied to all elements of these types */
.charsheet h1 {
font-size: 4em;
margin-bottom: 10px;
margin-top:5px;
text-align: center;
color:#EE0009;
text-shadow: 0px 0px 8px #FFF;
}
.charsheet h2 {
font-size: 2em;
margin-bottom: 10px;
text-align: center;
width:100%;
background: #293749;
color:white;
}
.charsheet h3 {
margin-bottom: 10px;
text-align: center;
text-shadow: 0px 0px 5px #FFF;
}
.charsheet input, .charsheet textarea, .charsheet select {
background-color:#ced7e3;
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, #ced7e3);
background-image: -webkit-linear-gradient(top, #ffffff, #ced7e3);
}
.charsheet button:hover {
border-radius:0;
border:1px solid black;
background-color: #adbdd1;
}
.charsheet p {
font-family: Consolas, monospace;
}
/* 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"
"attributes attributes avatar avatar experience experience"
"physical physical mental mental social social"
"explain explain explain explain explain explain"
"unspent unspent cap cap totalskill totalskill"
"traits traits traits 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;
color:white;
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;
}
.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: #ced7e3;
border-radius: 50%;
}
.charsheet input[type=checkbox]:checked + span:before, .charsheet input[type=radio]:checked + span:before{
color: #293749;
}
/* ATTRIBUTES */
.sheet-attributes {
grid-area:attributes;
}
.sheet-attributes button[type=roll].sheet-2d6-dice::before {
font-family: 'dicefontd6';
content: 'ff ';
}
.sheet-attributes button[type=roll].sheet-d6-dice::before {
font-family: 'dicefontd6';
content: 'f ';
}
.sheet-attributes h4 {
display: inline-block;
text-align: left;
}
.sheet-attributes h4.sheet-first {
margin-left: 160px;
margin-right: 15px;
}
.sheet-attributes input {
display: inline-block;
}
.sheet-attributes label {
display: inline-block;
width: 150px;
}
.sheet-attributes label.sheet-driveused {
display: inline-block;
width: 202px;
}
.sheet-attributes label.sheet-damagebonus {
display: inline-block;
width: 203px;
}
/* AVATAR */
.sheet-avatar {
grid-area:avatar;
}
.sheet-avatar input {
display: inline-block;
width: 150px;
}
.sheet-avatar label {
display: inline-block;
width: 100px;
}
.sheet-avatar span {
display: inline-block;
font-weight: bold;
font-size: 1.2em;
}
.sheet-avatar button[type=roll].sheet-d6-dice::before {
font-family: 'dicefontd6';
content: 'f ';
}
/* Experience */
.sheet-experience {
grid-area:experience;
}
.sheet-experience input {
display: inline-block;
}
.sheet-experience label {
display: inline-block;
width: 203px;
}
/* SKILLS */
.sheet-physical {
grid-area: physical;
}
.sheet-mental {
grid-area: mental;
}
.sheet-social {
grid-area: social;
}
.sheet-skills label {
margin-left:167px;
margin-bottom:0;
margin-top:-5px;
font-weight: bold;
font-size:1em;
max-width: 105px;
}
.sheet-skills input {
display: inline-block;
width: 105px;
border:1px solid black;
border-bottom:0;
}
.sheet-skills input[type="number"]{
text-align: center;
width: 36px !important;
border-right:0;
}
.charsheet .sheet-skills button[type=roll].sheet-skill-button {
width:120px;
margin:0;
height:22px;
text-align:left;
border:1px solid black;
border-bottom:0;
border-right:0;
border-radius:0;
}
.sheet-skills button[type=roll].sheet-skill-button::before {
content: '';
}
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-traits {
grid-area:traits;
}
.sheet-traits input {
display: inline-block;
width: 362px;
font-weight:bold;
}
.sheet-traits input + input[type=number] {
border-left:0;
}
.sheet-traits 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;
}
/* COMBAT */
.sheet-equipment .itemrow {
margin-bottom:5px;
}
.sheet-equipment label {
display: inline-block;
width: 200px;
}
.sheet-equipment input {
display: inline-block;
width: 120px;
border-right:0;
}
.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-equipment button[type=roll].sheet-2d6-dice::before {
font-family: 'dicefontd6';
content: 'ff ';
}
.sheet-equipment button[type=roll].sheet-d6-dice::before {
font-family: 'dicefontd6';
content: 'f ';
}
.sheet-equipment input.gearitem {
display: inline-block;
width: 100%;
border-right:1px solid black;
}
/* GANG AREA */
.sheet-gang textarea {
height:110px;
width:720px;
}
.charsheet .sheet-gang label {
color:#333;
}
.sheet-gang-relationships h3 {
padding-right:14px;
}
.charsheet .repcontainer[data-groupname="repeating_assets"] > .repitem {
display: inline-block;
margin-right:10px;
}
.charsheet .repcontainer[data-groupname="repeating_assets"] > .repitem input{
width:360px;
}
.charsheet .repcontainer[data-groupname="repeating_assets"] > .repitem textarea{
width:350px;
display:block;
}
.sheet-gang-relationships h3.sheet-factionname, .sheet-gang-relationships h3.sheet-factionmodifiers, .sheet-gang-relationships textarea {
display:inline-block;
width:40%;
}
.sheet-gang-relationships h3.sheet-factiontotal {
display:inline-block;
}
.sheet-gang-relationships input {
display:inline-block;
vertical-align:top !important;
}
.sheet-gang-relationships textarea {
height:60px;
}
/* DOMAIN AREA */
/* LAYOUT */
.charsheet .sheet-domain {
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"
"game game game safety safety safety"
"system system system system2 system2 system2"
}
.sheet-domain .header {
grid-area:header;
}
.charsheet .sheet-domain label {
color:#333;
}
.sheet-domain .gamedetails {
grid-area:game;
}
.sheet-domain .safety {
grid-area:safety;
}
.sheet-domain .systemdetails {
grid-area:system;
}
.sheet-domain .othersystemdetails {
grid-area:system2;
}
.sheet-domain label {
display: inline-block;
vertical-align:top;
margin-top:3px;
}
.sheet-domain input {
display: inline-block;
width: 290px;
}
.sheet-domain textarea {
width:391px;
}
.sheet-domain textarea.small {
height:54px;
}
.sheet-domain textarea.large {
height:234px;
}
.sheet-domain h3 {
text-align:left;
}
.charsheet .sheet-mods label {
color:#333;
}
/* TABS */
/*Configure the tab buttons*/
.charsheet .sheet-character,
.charsheet .sheet-gang ,
.charsheet .sheet-domain ,
.charsheet .sheet-mods {
display: none;
}
/* show the selected tab */
.charsheet .sheet-tabstoggle[value="character"] ~ div.sheet-character,
.charsheet .sheet-tabstoggle[value="gang"] ~ div.sheet-gang ,
.charsheet .sheet-tabstoggle[value="domain"] ~ div.sheet-domain ,
.charsheet .sheet-tabstoggle[value="mods"] ~ div.sheet-mods {
display: grid;
}
/* ROLL TEMPLATE */
.sheet-rolltemplate-future {
margin-left: -37px;
}
.withoutavatars .sheet-rolltemplate-future {
margin-left: -7px;
}
.sheet-rolltemplate-future .sheet-container {
border: 1px solid;
border-color: #293749;
}
/* Header formatting - title and subtitle */
.sheet-rolltemplate-future .sheet-header {
background-color: #293749;
text-align: left;
color: white;
padding: 5px;
}
.sheet-rolltemplate-future .sheet-title {
font-size:1.1em;
}
.sheet-rolltemplate-future .sheet-subtitle {
font-size:.9em;
}
/* Allprops part */
.sheet-rolltemplate-future .sheet-content {
display: grid;
background: #FFF;
/* 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-future .sheet-content > div {
padding: 5px;
}
/* Left column */
.sheet-rolltemplate-future .sheet-content .sheet-key {
font-weight: bold;
padding-right: 10px;
text-align: right;
}
/* Empty rule, use this if you want to change the right column
.sheet-rolltemplate-future .sheet-value {
}
*/
/* Make even-numbered rows grey */
.sheet-rolltemplate-future .sheet-content :nth-child(4n+3),
.sheet-rolltemplate-future .sheet-content :nth-child(4n) {
background:#EEE;
}
/* Desc field */
.sheet-rolltemplate-future .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-future .sheet-container .inlinerollresult {
background-color:#ced7e3;
border: 1px solid #333;
color:black;
}