Files
roll20-character-sheets/Omerta/omerta.css
T

692 lines
14 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
/* Defaults */
.sheet-darkmode .sheetform {
background-color: transparent;
}
.ui-dialog .charsheet {
padding: 0;
}
.character-sheet .row {
display: flex;
max-width: 100%;
margin: 0;
}
.character-sheet .row--col-no-padding div:first-child {
padding-left: 0;
}
.character-sheet .row--col-no-padding div:last-child {
padding-right: 0;
}
.character-sheet .row--textarea-box {
border: 2px solid #231f20;
background: #fff;
}
.sheet-darkmode .character-sheet .row--textarea-box {
border: 2px solid #606060;
background: #231f20;
}
.character-sheet .row.row--margin {
margin: 0 -8px;
max-width: calc(100% + 8px);
}
.character-sheet .hide {
display: none;
}
.col-12 {
width: 100%;
padding: 0 2px;
}
.col-10 {
width: 83%;
padding: 0 2px;
}
.col-9 {
width: 75%;
padding: 0 2px;
}
.col-8 {
width: 66%;
padding: 0 8px;
}
.col-7 {
width: 58%;
padding: 0 8px;
}
.col-6 {
width: 50%;
padding: 0 8px;
}
.col-5 {
width: 41%;
padding: 0 8px;
}
.col-4 {
width: 33%;
padding: 0 8px;
}
.col-3 {
width: 25%;
padding: 0 2px;
}
.col-2 {
width: 17%;
padding: 0 2px;
}
.center {
text-align: center;
}
.character-sheet input,
.character-sheet select {
font-family: 'Bebas Neue', cursive;
text-transform: none;
background: #fff;
border: 2px solid #231f20;
border-radius: 0;
transition: .3s all ease;
display: inline-block;
font-size: 18px;
color: #231f20;
line-height: 36px;
padding: 0 12px;
box-sizing: border-box;
letter-spacing: 1px;
position: relative;
z-index: 0;
}
.sheet-darkmode .character-sheet input,
.sheet-darkmode .character-sheet select {
background: #231f20;
border: 2px solid #606060;
color: #fff;
}
.character-sheet input.transparent {
background: transparent;
line-height: 16px;
height: auto;
padding: 5px 5px 0;
}
.character-sheet input:focus {
border: 2px solid #833c3b;
outline: none;
z-index: 1;
}
.sheet-darkmode .character-sheet input:focus {
border: 2px solid #833c3b;
}
.charactersheet {
padding: 0;
}
.character-sheet label {
font-weight: normal;
display: inline-block;
width: auto;
padding: 2px 6px;
}
.character-sheet textarea {
background-attachment: local;
background-image:
linear-gradient(to right, white 12px, transparent 12px),
linear-gradient(to left, white 12px, transparent 12px),
repeating-linear-gradient(white, white 35px, #231f20 35px, #231f20 36px, white 36px);
font-size: 18px;
letter-spacing: 1px;
line-height: 36px;
padding: 4px 12px;
box-sizing: border-box;
height: auto;
resize: vertical;
margin: 0;
color: #231f20;
border: 2px solid #231f20;
border-radius: 0;
transition: .3s border ease;
}
.character-sheet textarea:focus {
border: 2px solid #833c3b;
outline: none;
}
.character-sheet .row--textarea-box textarea,
.character-sheet .row--textarea-box textarea:focus {
border: 0;
}
.sheet-darkmode textarea {
background-image:
linear-gradient(to right, #231f20 12px, transparent 12px),
linear-gradient(to left, #231f20 12px, transparent 12px),
repeating-linear-gradient(#231f20, #231f20 35px, #606060 35px, #606060 36px, #231f20 36px);
color: #fff;
border: 2px solid #606060;
}
.charsheet .character-sheet button[type="roll"],
.charsheet .character-sheet button[type="action"] {
border: 0;
cursor: pointer;
transition: .3s all ease;
text-shadow: none;
padding: 4px 6px;
background: #231f20;
color: #fff;
font-size: 14px;
letter-spacing: 1px;
display: block;
box-sizing: border-box;
margin: 0 auto;
}
.charsheet .character-sheet button[type="roll"]:hover,
.charsheet .character-sheet button[type="action"]:hover {
color: #fff;
}
.charsheet .character-sheet button[type="roll"]::before,
.charsheet .character-sheet button[type="action"]::before {
color: #fff;
font-size: 20px;
font-family: "dicefontd20";
content: "t";
vertical-align: middle;
margin-right: 4px;
}
.charsheet .character-sheet button[type="roll"]:hover::before,
.charsheet .character-sheet button[type="action"]:hover::before {
color: #833c3b;
}
.charsheet .character-sheet input[type="checkbox"] {
width: auto;
appearance: none;
-webkit-appearance: none;
height: 24px;
width: 24px;
background-color: transparent;
padding: 0;
border: 2px solid #231f20;
}
.charsheet .character-sheet input[type="checkbox"]::after {
content: "";
position: absolute;
transform: scale(0);
background: #231f20;
height: 16px;
width: 16px;
top: 2px;
left: 2px;
display: block;
opacity: 0;
transition: .3s all ease;
}
.sheet-darkmode .charsheet .character-sheet input[type="checkbox"] {
border: 2px solid #606060;
}
.sheet-darkmode .charsheet .character-sheet input[type="checkbox"]:after {
background: #606060;
}
.charsheet .character-sheet input[type="checkbox"]:checked::after {
opacity: 1;
transform: scale(1);
}
.charsheet .character-sheet input[type="number"] {
width: 100%;
padding-right: 0;
text-align: center;
font-size: 18px;
}
/* Custom modules */
.character-sheet {
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Omerta/Images/sheet-bg.jpg) no-repeat top center;
background-size: cover;
box-sizing: border-box;
padding: 16px;
color: #231f20;
font-family: 'Bebas Neue', cursive;
letter-spacing: 1px;
margin-bottom: 15px;
position: relative;
overflow: hidden;
z-index: 1;
min-width: 950px;
}
.sheet-darkmode .character-sheet {
background: #231f20;
color: #fff;
}
.character-sheet .logo {
max-height: 80px;
margin: auto
}
.character-sheet .logo--dark-mode {
display: none;
}
.sheet-darkmode .character-sheet .logo {
display: none;
}
.sheet-darkmode .character-sheet .logo--dark-mode {
display: block;
}
.character-sheet .hr-title {
position: relative;
margin-bottom: 12px;
font-weight: 400;
}
.character-sheet .hr-title span {
display: inline-block;
background: #231f20;
color: #fff;
padding: 4px 12px;
}
.character-sheet .hr-title::before {
content: "";
position: absolute;
height: 2px;
background: #231f20;
width: 100%;
top: -2px;
left: 0;
right: 0;
}
.sheet-darkmode .character-sheet .hr-title::before {
background: #b32b08;
}
.character-sheet .title-box {
margin-bottom: 22px;
}
.character-sheet .title-box h2 {
background: #231f20;
color: #fff;
text-align: center;
font-size: 18px;
font-weight: 400;
line-height: 32px;
}
.sheet-darkmode .character-sheet .title-box h2 {
background: rgba(255, 255, 255, .10);
}
.character-sheet .title-box__row {
margin-bottom: -2px;
position: relative;
display: flex;
align-items: center;
}
.character-sheet .title-box__row label {
background: #833c3b;
color: #fff;
position: absolute;
z-index: 3;
top: 0;
left: 0;
font-size: 14px;
}
.character-sheet .title-box__input-padding {
padding-top: 22px;
line-height: 24px;
padding-right: 36px;
width: 100%;
}
.character-sheet .title-box__row .title-box__input-checkbox {
position: absolute;
right: 8px;
z-index: 2;
}
.character-sheet .title-box__row-checkboxes {
margin-bottom: -2px;
display: flex;
flex-direction: row-reverse;
align-items: flex-start;
justify-content: flex-end;
flex-wrap: nowrap;
border: 2px solid #231f20;
position: relative;
padding: 6px 2px 4px;
}
.sheet-darkmode .character-sheet .title-box__row-checkboxes {
border: 2px solid #606060;
}
.character-sheet .title-box__row-checkboxes--with-label {
padding: 22px 2px 4px;
}
.character-sheet .title-box__row-checkboxes label {
position: absolute;
top: 0;
left: 166px;
color: #000;
letter-spacing: 0.5px;
}
.sheet-darkmode .character-sheet .title-box__row-checkboxes label {
color: #fff;
}
.character-sheet .title-box__row-checkboxes input[type="checkbox"] {
margin: 0 2px;
}
.character-sheet .title-box__row-checkboxes input[type="checkbox"]:checked ~ input[type="checkbox"]:after {
opacity: 1;
transform: scale(1);
}
.character-sheet .title-box__row-checkboxes input[type="checkbox"].title-box__row-checkbox--red {
transform: rotate(45deg);
width: 18px;
height: 18px;
border-color: #833c3b;
margin: 2px 5px;
}
.character-sheet .title-box__row-checkboxes input[type="checkbox"].title-box__row-checkbox--red:after {
width: 10px;
height: 10px;
background: #833c3b;
}
.character-sheet .character-details-box {
display: flex;
flex-wrap: wrap;
}
.character-sheet .character-details-box__label {
width: calc(50% - 3px);
position: relative;
margin-right: -1px;
margin-bottom: -2px;
}
.character-sheet .character-details-box__label:nth-child(2n) {
margin-left: -1px;
margin-right: 0;
}
.character-sheet .character-details-box__label label {
display: inline-block;
background: #231f20;
color: #fff;
position: absolute;
z-index: 2;
top: 2px;
left: 2px;
font-size: 14px;
}
.character-sheet .character-details-box__label input {
width: 100%;
padding-top: 22px;
line-height: 24px;
}
.character-sheet .hr-subtitle {
position: relative;
line-height: 18px;
margin-bottom: 8px;
}
.character-sheet .hr-subtitle span {
display: inline-block;
background: #833c3b;
color: #fff;
padding: 2px 12px;
font-size: 18px;
font-weight: 400;
}
.character-sheet .hr-subtitle::before {
content: "";
position: absolute;
height: 2px;
background-color: #833c3b;
width: 100%;
top: -2px;
left: 0;
right: 0;
}
.character-sheet .attributes-container {
display: flex;
margin-bottom: 16px;
justify-content: space-between;
}
.character-sheet .attributes-container__box {
text-align: center;
margin-right: 12px;
}
.character-sheet .attributes-container__box input[type=number] {
background: #fff url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Omerta/Images/ring.png) no-repeat top center;
background-size: contain;
font-size: 36px;
height: 102px;
width: 102px;
border-radius: 100%;
border: 0;
padding: 0;
padding-top: 6px;
margin-bottom: 4px;
display: block;
box-sizing: border-box;
}
.sheet-darkmode .character-sheet .attributes-container__box input[type=number] {
background: #231f20 url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Omerta/Images/ring.png) no-repeat top center;
background-size: contain;
}
/* Chrome, Safari, Edge, Opera */
.character-sheet .attributes-container__box input::-webkit-outer-spin-button,
.character-sheet .attributes-container__box input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
.character-sheet .attributes-container__box input[type=number] {
-moz-appearance: textfield;
}
.character-sheet .attributes-container__box label {
display: inline-block;
background: #231f20;
color: #fff;
}
.character-sheet .attributes-container__box button[type="roll"],
.character-sheet .attributes-container__box button[type="action"] {
margin-top: -24px;
position: relative;
z-index: 1;
width: auto;
max-width: 102px;
}
.sheet-darkmode .character-sheet .attributes-container__box button[type="roll"],
.sheet-darkmode .character-sheet .attributes-container__box button[type="action"] {
border: 1px solid #606060;
}
/* Roll Template */
.sheet-rolltemplate-omerta .sheet-template-wrap {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Omerta/Images/sheet-bg.jpg);
background-position: top center;
background-size: cover;
background-color: #e9e4e3;
border: 2px solid #231f20;
margin: 0;
margin-bottom: 15px;
font-family: 'Bebas Neue', cursive;
padding: 5px;
color: #231f20;
letter-spacing: 1px;
}
.sheet-rolltemplate-darkmode.sheet-rolltemplate-omerta .sheet-template-wrap {
background: #231f20;
color: #fff;
border: 2px solid #606060;
}
.sheet-rolltemplate-omerta .sheet-template-header,
.sheet-rolltemplate-omerta .sheet-template-subtitle {
display: inline-block;
width: auto;
padding: 2px 5px;
line-height: 24px;
font-family: 'Bebas Neue', cursive;
text-align: center;
font-size: 18px;
box-sizing: border-box;
}
.sheet-rolltemplate-omerta .sheet-template-header {
background: #231f20;
}
.sheet-rolltemplate-darkmode.sheet-rolltemplate-omerta .sheet-template-header {
background: rgba(255, 255, 255, .10);
}
.sheet-rolltemplate-omerta .sheet-template-header a {
color: #fff;
}
.sheet-rolltemplate-omerta .sheet-template-subtitle {
background: #833c3b;
color: #fff;
font-size: 16px;
margin-bottom: 4px;
}
.sheet-rolltemplate-omerta .sheet-template-roll-results-title {
font-size: 26px;
text-align: center;
padding: 8px 0px;
}
.sheet-rolltemplate-omerta .sheet-template-roll-results {
display: flex;
align-items: center;
text-align: center;
justify-content: space-between;
text-transform: uppercase;
font-size: 28px;
padding-left: 10px;
margin-bottom: 6px;
}
.sheet-rolltemplate-omerta .sheet-template-roll-results span.inlinerollresult {
width: 100%;
display: inline-block;
margin: 0;
border: 0;
padding: 0;
text-align: center;
line-height: 36px;
background: transparent;
font-size: 26px;
color: #231f20;
padding-right: 5px;
width: auto;
}
.sheet-rolltemplate-omerta .sheet-template-d6 span.inlinerollresult {
font-size: 50px;
padding-right: 0;
}
.sheet-rolltemplate-darkmode.sheet-rolltemplate-omerta .sheet-template-d6 span.inlinerollresult {
color: #fff;
}
.sheet-rolltemplate-omerta .sheet-template-d10 {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Omerta/Images/d10.png);
background-size: contain;
background-repeat: no-repeat;
width: 82px;
height: 69px;
position: relative;
padding-top: 13px;
}
.sheet-rolltemplate-omerta .sheet-template-d10 img {
position: absolute;
width: 23px;
bottom: 5px;
right: 5px;
}
.sheet-rolltemplate-omerta .sheet-blue {
color: #4471c4;
}
.sheet-rolltemplate-omerta .sheet-red {
color: #e83838;
}
.sheet-rolltemplate-omerta .sheet-green {
color: green;
}
.sheet-rolltemplate-omerta .sheet-swindle {
color: #833c3b;
font-size: 22px;
padding: 2px 0;
}