mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
135 lines
2.1 KiB
CSS
135 lines
2.1 KiB
CSS
/* === GENERAL === */
|
|
.charsheet {
|
|
min-width: 850px;
|
|
}
|
|
|
|
.sheet-header {
|
|
margin-bottom: 4px;
|
|
padding: 2px 4px;
|
|
|
|
background: black;
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-section {
|
|
float: left;
|
|
width: 100%;
|
|
|
|
margin: 4px 0;
|
|
padding: 1px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sheet-half {
|
|
max-width: 50%;
|
|
}
|
|
|
|
.sheet-quarter {
|
|
max-width: 25%;
|
|
}
|
|
|
|
.sheet-3quarter {
|
|
max-width: 75%;
|
|
}
|
|
|
|
.sheet-break {
|
|
clear: both;
|
|
}
|
|
|
|
label,
|
|
select {
|
|
margin: 0;
|
|
}
|
|
|
|
textarea {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 400px;
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sheet-repitem,
|
|
.repitem {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
/* Override Roll20 Button styling for something less conspicious */
|
|
button {
|
|
height: 22px;
|
|
line-height: 16px;
|
|
margin: 0 !important;
|
|
border-radius: 0 !important;
|
|
background-image: none !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.repitem button {
|
|
height: 28px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.sheet-table {
|
|
display: table;
|
|
width: 100%;
|
|
border-collapse:separate;
|
|
border-spacing: 5px;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.sheet-table-row {
|
|
display: table-row;
|
|
}
|
|
|
|
/* Add `.cell` for the table cells, or columns */
|
|
.sheet-table-cell {
|
|
display: table-cell;
|
|
}
|
|
|
|
.sheet-cell-a { width: auto; }
|
|
.sheet-cell-5 { width: 5%; }
|
|
.sheet-cell-10 { width: 10%; }
|
|
.sheet-cell-15 { width: 15%; }
|
|
.sheet-cell-20 { width: 20%; }
|
|
.sheet-cell-25 { width: 25%; }
|
|
.sheet-cell-41 { width: 41%; }
|
|
.sheet-cell-50 { width: 50%; }
|
|
.sheet-cell-75 { width: 75%; }
|
|
.sheet-cell-30 { width: 30%; }
|
|
.sheet-cell-69 { width: 69%; }
|
|
.sheet-cell-button {width: 23px; }
|
|
|
|
/* Padded columns */
|
|
.sheet-table-padded {
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
}
|
|
|
|
.sheet-table-padded .sheet-table {
|
|
border-spacing: 1rem 0;
|
|
}
|
|
|
|
.sheet-input-border input[type="text"] {
|
|
min-width: 15px;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.sheet-select-border select {
|
|
min-width: 80px;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.sheet-input-border input[type="number"] {
|
|
min-width: 15px;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
border: 1px solid black;
|
|
text-align: center;
|
|
}
|