Files
roll20-character-sheets/Runecairn/runecairn-style.css
T

367 lines
6.3 KiB
CSS

@import url("https://fonts.googleapis.com/css?family=Nunito+Sans:900|Pirata+One&display=swap");
/* Minor fixes of Roll20 elements for visual cohesion */
button[type="roll"] {
margin: 0px !important;
}
.repcontainer {
margin-bottom: 1px;
}
.repcontrol_del,
.repcontrol_move {
height: 16px !important;
}
/* Utilities classes */
.sheet-flex-container {
display: flex;
}
.sheet-auto-column {
flex-basis: 200px;
flex-grow: 1;
min-width: 200px;
}
.sheet-horizontal-separator {
min-width: 5px;
width: 5px;
}
.sheet-vertical-separator {
height: 5px;
min-height: 5px;
}
/* Title of the sheet */
.sheet-title {
color: black;
font-family: "Pirata One";
font-size: 30px;
}
/* Stats column containing hit points and abilities */
.sheet-stats-column {
width: 200px;
}
.sheet-stats-medium {
width: 300px;
}
.sheet-stats-wide {
width: 400px;
}
.sheet-stat-title {
background-color: black;
color: white;
font-family: "Nunito Sans";
height: 26px;
line-height: 26px;
padding-left: 10px;
padding-right: 10px;
text-align: center;
}
.sheet-stat-title-inverted {
background-color: white;
color: black;
font-family: "Nunito Sans";
height: 26px;
height: 100%;
line-height: 26px;
padding-left: 10px;
padding-right: 10px;
text-align: left;
}
.sheet-mead-title {
width: 40px;
}
.sheet-mead-list {
width: 58px;
}
.sheet-ability-title {
width: 80px;
}
.sheet-ability-title-130 {
width: 130px;
}
.sheet-ability-title-170 {
width: 170px;
}
.sheet-stat-inputs {
background-color: white;
border: 1px solid black;
height: 24px;
width: 70px;
}
.sheet-stat-inputs-block {
background-color: white;
border: 1px solid black;
vertical-align: middle;
}
.sheet-stat-inputs-mead {
background-color: white;
border: 1px solid black;
vertical-align: middle;
width: 58px;
}
.sheet-stat-inputs-name {
background-color: white;
border: 1px solid black;
height: 24px;
width: 200px;
}
.sheet-stat-inputs-30 {
background-color: white;
border: 1px solid black;
height: 24px;
width: 30px;
}
.sheet-stat-inputs-45 {
background-color: white;
border: 1px solid black;
height: 24px;
width: 45px;
}
.sheet-stat-input {
border: none !important;
text-align: center;
width: 30px !important;
}
.sheet-stat-input-45 {
border: none !important;
text-align: center;
width: 45px !important;
}
.sheet-stat-input-name {
border: none !important;
text-align: center;
width: 170px !important;
}
.sheet-stat-input-separator {
background: linear-gradient(
to top left,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0) calc(50% - 0.8px),
rgba(0, 0, 0, 1) 50%,
rgba(0, 0, 0, 0) calc(50% + 0.8px),
rgba(0, 0, 0, 0) 100%
);
width: 10px;
}
/* Generic styling for lists */
.sheet-list-title {
background-color: black;
color: white;
display: flex;
font-family: "Nunito Sans";
font-weight: normal;
height: 24px !important;
line-height: 24px;
text-align: center;
width: 100% !important;
}
.sheet-list-input {
border: none;
border-radius: 0px;
height: 24px !important;
}
.sheet-list-space {
border: none;
border-radius: 0px;
height: 32px !important;
}
.sheet-list-textarea {
border: none;
border-radius: 0px;
height: 43px !important;
margin: 0px;
padding: 0px !important;
height: 200px;
resize: none;
}
.sheet-list-textarea-row {
border-bottom: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
font-size: 0px;
padding: 4px;
}
.sheet-list-row {
border-top: 1px solid black;
border-bottom: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
font-size: 0px;
}
.sheet-list-inv {
border-top: 0px;
border-bottom: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
font-size: 0px;
}
.sheet-list-input {
background-color: white;
padding-bottom: 0px;
padding-top: 0px;
}
.sheet-list-input-inline {
border-radius: 0px;
border-top: 0px;
border-bottom: 0px;
border-left: 1px dotted grey;
border-right: 1px dotted grey;
background-color: white;
}
.sheet-list-input-inline-half {
border-radius: 0px;
border-top: 0px;
border-bottom: 0px;
border-right: 1px dotted grey;
background-color: white;
}
.sheet-list-input-field {
background-color: white;
padding-bottom: 0px;
padding-top: 0px;
border-top: 1px solid black;
border-bottom: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
border-radius: 0px;
height: 24px !important;
}
.sheet-list-input-center-aligned {
text-align: center;
}
.sheet-list-input-right-aligned {
text-align: right;
}
.sheet-grid-100-percent {
width: 100%;
}
.sheet-grid-80-percent {
width: 80%;
}
.sheet-grid-70-percent {
width: 70%;
}
.sheet-grid-60-percent {
width: 60%;
}
.sheet-grid-50-percent {
width: 50%;
}
.sheet-grid-30-percent {
width: 30%;
}
.sheet-grid-20-percent {
width: 20%;
}
.sheet-grid-10-percent {
width: 10%;
}
.sheet-grid-5-percent {
width: 5%;
}
.sheet-checkbox-fix {
align-items: center;
justify-content: center;
}
/* Templates */
.sheet-rolltemplate-test-under {
border: 1px solid black;
}
.sheet-rolltemplate-test-under .sheet-template-header {
background-color: black;
color: white;
font-family: "Nunito Sans";
padding: 5px;
}
.sheet-rolltemplate-test-under .sheet-template-result {
background-color: white;
padding: 5px;
}
.sheet-rolltemplate-test-under
.sheet-template-result
span:nth-of-type(3)
.inlinerollresult {
background-color: transparent !important;
border: none !important;
}
.sheet-rolltemplate-test-under .sheet-template-outcome-success {
background-color: black;
color: #01ff70;
font-family: "Nunito Sans";
padding: 5px;
}
.sheet-rolltemplate-test-under .sheet-template-outcome-failure {
background-color: black;
color: #ff4136;
font-family: "Nunito Sans";
padding: 5px;
}
.sheet-rolltemplate-test-under .inlinerollresult.fullfail {
border: 2px solid #01ff70;
}
.sheet-rolltemplate-test-under .inlinerollresult.fullcrit {
border: 2px solid #ff4136;
}