Files
roll20-character-sheets/Private Eye/privateeye.css
T

377 lines
7.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
body.sheet-darkmode button,
body.sheet-darkmode input,
body.sheet-darkmode optgroup,
body.sheet-darkmode select,
body.sheet-darkmode textarea,
body.sheet-darkmode .charsheet {
color: #eee;
background-color: #1e2021;
}
body.sheet-darkmode .btn,
body.sheet-darkmode .btn.btn-default {
color: #c8c3bc;
text-shadow: rgba(24,26,27,.75) 0px 1px 1px;
background-color: #1e2021;
background-image: linear-gradient(#181a1b, #26292b);
border-color: #3e4446 #3e4446 #43494c;
box-shadow: rgba(24,26,27,.2) 0px 1px 0px inset,rgba(0,0,0,.05) 0px 1px 2px
}
.sheet-darkmode .sheetform {
background-color: inherit;
color: #fff;
}
.pe-dynamic-modifiers {
text-align: right;
}
.pe-dynamic-modifiers input[type="checkbox"]{
font-size: 15px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 2.5em;
height: 1.7em;
background: #ddd;
border-radius: 3em;
position: relative;
cursor: pointer;
outline: none;
-webkit-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
.pe-dynamic-modifiers input[type="checkbox"]:checked{
background: #21ca21;
}
.pe-dynamic-modifiers input[type="checkbox"]:after{
position: absolute;
content: "";
width: 1.5em;
height: 1.5em;
border-radius: 50%;
background: #fff;
-webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
box-shadow: 0 0 .25em rgba(0,0,0,.3);
-webkit-transform: scale(.7);
transform: scale(.7);
left: 0;
-webkit-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
.pe-dynamic-modifiers input[type="checkbox"]:checked:after{
left: calc(100% - 1.5em);
}
.pe-header, .pe-footer {
display: flex;
justify-content: center;
margin-bottom: 25px;
}
.pe-header > img {
width: 50%;
}
.pe-footer {
margin-top: 25px
}
.pe-footer > img {
height: 100px;
width: auto;
}
.pe-sheet-wrapper {
display: flex;
flex-wrap: nowrap;
gap: 20px;
margin-top: 40px;
}
.pe-sheet-section {
border-width: 1px;
border-style: solid;
padding: 10px;
border-radius: 10px;
}
.pe-borderless {
border-width: 0 !important;
}
.pe-centered {
display: flex;
justify-content: center;
}
.avatar-widthfix {
min-width: 155px;
}
.img-fit-content {
object-fit: contain;
}
.sheet-darkmode .pe-sheet-section {
border-color: #ababab;
}
.pe-width-50 {
flex: 50%;
}
.pe-width-25 {
flex: 25%;
}
.pe-width-75 {
flex: 75%;
}
.pe-width-100 {
flex: 100%;
}
.pe-break {
flex-basis: 100%;
height: 0;
}
.pe-sheet-section>h1,h2,h3,h4,h5 {
font-family: "Great Vibes", cursive;
margin-top: -30px;
margin-bottom: 30px;
padding-left: 10px;
padding-right: 10px;
display: block;
border-width: 1px;
border-style: dashed;
border-radius: 5px;
}
.pe-sheet-section>h1 {
font-size: 17pt;
line-height: 30pt;
}
.sheetform .pe-sheet-section>h1,h2,h3,h4,h5 {
background-color: #fff;
}
.sheet-darkmode .sheetform .pe-sheet-section>h1,h2,h3,h4,h5 {
color: #fff;
border-color: #ababab;
background-color: rgb(31, 31, 31);
}
.pe-bold {
font-weight: bold;
}
.pe-sheet-section>.pe-sheet-row {
display:flex;
gap:5px;
align-items: center;
margin-top:5px;
margin-bottom: 5px;
flex-direction: row;
}
.pe-sheet-section>.pe-sheet-row>.pe-grow {
flex-grow: 1;
}
.pe-sheet-section>.pe-sheet-row>select {
margin-bottom: 0px;
}
.pe-sheet-section>.pe-sheet-row>.pe-label {
display:block;
padding-left: 10px;
padding-right: 10px;
}
.pe-sheet-section>.pe-empty-sheet-line {
height: 1.2em;
}
.pe-sheet-section>.pe-skill-grid {
display: flex;
flex-direction: column;
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row {
flex-basis: 100%;
display: flex;
flex-wrap: wrap;
align-items: center;
gap:5px;
padding: 6px;
border-bottom: 1px dotted
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row.border-dashed {
border-bottom: 1px dashed
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row.border-none,
.pe-sheet-section>.pe-skill-grid>.pe-skill-row:last-child{
border-bottom: none;
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row:nth-child(even) {
background-color: rgb(29, 29, 29);
color: #fff;
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row>* {
flex-basis:11%;
text-align: center;
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row>.pe-wider {
flex-basis: 30%;
text-align: left;
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row>.pe-narrow {
flex-basis: 6%;
}
.pe-sheet-section>.pe-skill-grid>.pe-skill-row>.pe-fullrow {
flex-basis: 100%;
text-align: left;
}
/* Rolltemplate styling */
.sheet-rolltemplate-pe-roll > .sheet-box{
flex-grow:1;
background-color: rgb(255, 255, 255);
display: flex;
color: #42413e;
font-size: 1.05em;
}
.sheet-rolltemplate-pe-roll .sheet-outer-border{
margin:5px;
flex-grow: 1;
border: 2px solid #776f51;
display: flex;
}
.sheet-rolltemplate-pe-roll .sheet-inner-border {
margin: 2px;
flex-grow: 1;
flex-wrap: wrap;
border: 4px solid #776f51;
display: flex;
}
.sheet-rolltemplate-pe-roll .sheet-row {
display:flex;
flex-basis: 100%;
justify-content: space-around;
}
.sheet-rolltemplate-pe-roll .sheet-title-row {
margin-top: 10px;
font-size: 1.5em;
}
.sheet-rolltemplate-pe-roll .sheet-successrate-row {
margin: 10px;
}
.sheet-rolltemplate-pe-roll .sheet-successrate-row span{
padding: 5px;
background-color: rgb(255, 255, 255);
color: #42413e;
}
.sheet-rolltemplate-pe-roll .sheet-successrate-row span.sheet-success {
background-color: #97ef79;
}
.sheet-rolltemplate-pe-roll .sheet-successrate-row span.sheet-critical {
font-weight: bold;
}
.sheet-rolltemplate-pe-roll .sheet-successrate-row span.sheet-failure{
padding: 5px;
background-color: #85d8e6;
color: #42413e;
}
.sheet-rolltemplate-pe-roll .sheet-successrate-row span.critical {
font-weight: bold;
}
.sheet-rolltemplate-pe-roll .sheet-result-row {
margin-bottom: 10px;
}
.sheet-rolltemplate-pe-roll .sheet-damage-row {
margin-bottom: 10px;
min-height: 1.15em;
}
.sheet-rolltemplate-pe-roll .sheet-result {
text-align: center;
}
.sheet-rolltemplate-pe-roll .sheet-result span {
font-size: 0.8em;
}
.sheet-rolltemplate-pe-roll span.inlinerollresult,
.sheet-rolltemplate-pe-roll span.inlinerollresult.fullcrit,
.sheet-rolltemplate-pe-roll span.inlinerollresult.fullfail {
background: none;
border: none;
font-weight: normal;
}
.sheet-rolltemplate-pe-roll .sheet-result span.inlinerollresult {
font-size: 1.5em;
}
/* Rolltemplate Dark Mode */
.sheet-rolltemplate-pe-roll.sheet-rolltemplate-darkmode > .sheet-box{
background-color: rgb(44, 43, 40);
color: #e3dbbd;
}
.sheet-rolltemplate-pe-roll.sheet-rolltemplate-darkmode .sheet-outer-border{
border: 2px solid #e3dbbd;
}
.sheet-rolltemplate-pe-roll.sheet-rolltemplate-darkmode .sheet-inner-border {
border: 4px solid #e3dbbd;
}
.sheet-rolltemplate-pe-roll.sheet-rolltemplate-darkmode .sheet-successrate-row span{
background-color: #e3dbbd;
color: rgb(58, 61, 62)
}
.sheet-rolltemplate-pe-roll.sheet-rolltemplate-darkmode .sheet-successrate-row span.sheet-success {
background-color: #97ef79;
}
.sheet-rolltemplate-pe-roll.sheet-rolltemplate-darkmode .sheet-successrate-row span.sheet-failure{
background-color: #85d8e6;
color: rgb(58, 61, 62)
}