Files
roll20-character-sheets/Stargate-RPG/stargate.css
T

800 lines
17 KiB
CSS

.charsheet input[type=range].progress-bar {
width: 100px;
}
.charsheet input[type=range].progress-bar::-moz-range-thumb {
background: transparent;
border-color: transparent;
color: transparent;
}
.charsheet input[type=range].progress-bar::-moz-range-progress {
background: green;
height: 10px;
}
.charsheet input[type=range].progress-bar::-moz-range-track {
background: red;
height: 10px;
}
.charsheet input[type=number].progress-bar {
border: 2px solid black;
}
.charsheet button.hidden {
display: none;
}
.charsheet .bold {
font-weight: 800;
font-size: medium;
}
.charsheet label {
margin: 0px;
width: 70px;
text-transform: capitalize;
font-size: 0.8em;
}
.charsheet label.title {
width: 130px;
font-size: 1.3em;
text-align: center;
}
.charsheet h3 {
text-align: center;
line-height: 23px;
}
.charsheet h5, .charsheet .txtcenter {
text-align: center;
}
.charsheet .slash {
font-size: 2em;
font-weight: bold;
}
.charsheet input[type=text] {
background-color: transparent;
border-style: none none solid none;
border-width: 2px;
border-radius: 0px;
border-color: black;
padding: 0px 4px;
margin: 0px 4px;
width: auto;
}
.charsheet input[type=text]:placeholder-shown {
background-color: #EAC9D1;
}
.charsheet input[type=text]:focus {
background-color: #ccc;
}
.charsheet input[type=number] {
background-color: transparent;
border-style: none none solid none;
border-width: 2px;
border-radius: 0px;
border-color: black;
text-align: center;
width: 40px;
margin-bottom: 0;
}
.charsheet input[type=number]:placeholder-shown {
background-color: #EAC9D1;
}
.charsheet input[type=number]:focus {
background-color: #ccc;
}
.charsheet .w30,
.charsheet input[type=text].w30,
.charsheet input[type=number].w30 {
width: 30px;
}
.charsheet .w40,
.charsheet input[type=text].w40,
.charsheet input[type=number].w40 {
width: 40px;
}
.charsheet .w50,
.charsheet input[type=text].w50,
.charsheet input[type=number].w50 {
width: 50px;
}
.charsheet .w70,
.charsheet input[type=text].w70,
.charsheet input[type=number].w70 {
width: 70px;
}
.charsheet .w110,
.charsheet input[type=text].w110,
.charsheet input[type=number].w110 {
width: 110px;
}
.charsheet input[type=checkbox].checkbox {
border-style: solid black;
border-radius: 0px;
}
.charsheet input[type=text].stat,
.charsheet input[type=number].stat {
font-size: 2em;
font-weight: bold;
}
.charsheet textarea:placeholder-shown,
.charsheet input[type=text]:placeholder-shown,
.charsheet input[type=number]:placeholder-shown {
background-color: #EAC9D1;
}
.charsheet textarea:focus,
.charsheet input[type=text]:focus,
.charsheet input[type=number]:focus {
background-color: #ccc;
}
.charsheet input[type=number]::-webkit-inner-spin-button,
.charsheet input[type=number]::-webkit-outer-spin-button,
.charsheet input[type=number].txtfield::-webkit-inner-spin-button,
.charsheet input[type=number].txtfield::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.charsheet input[type=number],
.charsheet input[type=number].txtfield {
-moz-appearance: textfield;
}
.charsheet button[type=roll].txt-btn {
height: 19px;
border: 2px solid black;
background-color: transparent;
margin-left: 5px;
font-weight: bold;
padding: 2px 5px 4px 5px;
}
.charsheet button[type=roll].txt-btn:before {
content: " ";
}
.charsheet button[type=roll].txt-btn:hover {
background-color: #87AFC7;
border-radius: 10px;
background-position: 0 -28px;
}
.charsheet .section,
.charsheet section {
display: flex;
padding: 5px;
border: 2px solid black;
background: white;
opacity: 0.9;
}
.charsheet .columnflex {
display: flex;
flex-direction: column;
}
.charsheet .rowflex {
display: flex;
flex-direction: row;
}
.charsheet .wrap {
flex-wrap: wrap;
}
.charsheet .nowrap {
flex-wrap: nowrap;
}
.charsheet .center {
align-items: center;
}
.charsheet .middle {
justify-content: center;
}
.charsheet .spaced {
justify-content: space-evenly;
}
.charsheet .gap5 {
gap: 5px;
}
.charsheet main.character {
display: grid;
grid-template-columns: 4fr 8fr 5fr 6fr;
grid-template-rows: repeat(5, 2fr) 5fr 2fr 4fr;
grid-template-areas: "name name name name " "attr skills hp condition" "attr skills prof condition" "attr skills ac condition" "attr skills speed bulk " "attr skills saves inventory" "attr attacks attacks attacks " ". attacks attacks attacks ";
width: 850px;
height: 1200px;
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/bg.png");
background-repeat: no-repeat;
background-size: 700px 700px;
background-position: center;
background-color: black;
}
.charsheet main.background {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
grid-template-areas: "racial feats " "class equipment" "prof notes ";
width: 840px;
height: 990px;
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/bg.png");
background-repeat: no-repeat;
background-size: 700px 700px;
background-position: center;
background-color: black;
grid-gap: 10px;
padding: 5px;
}
.charsheet main.background label {
font-size: 1.4em;
font-weight: bold;
text-align: center;
width: 140px;
}
.charsheet main.background textarea {
width: 390px;
height: 280px;
margin-bottom: 0px;
}
.charsheet main.settings {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 3fr 2fr 3fr;
grid-template-areas: "settings other " "settings changelog" "ammo changelog";
width: 840px;
height: 990px;
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/bg.png");
background-repeat: no-repeat;
background-size: 700px 700px;
background-position: center;
background-color: black;
grid-gap: 10px;
padding: 5px;
}
.charsheet main.settings .settings label {
font-size: 1.4em;
font-weight: bold;
text-align: center;
width: 250px;
}
.charsheet main.settings .changelog label {
font-size: 1.4em;
font-weight: bold;
text-align: center;
width: 250px;
}
.charsheet main.settings label.other {
font-size: 1.4em;
font-weight: bold;
text-align: center;
width: 250px;
}
.charsheet main.npc {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
width: 840px;
height: 990px;
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/bg.png");
background-repeat: no-repeat;
background-size: 700px 700px;
background-position: center;
background-color: black;
grid-gap: 10px;
padding: 5px;
}
.charsheet main.character,
.charsheet main.background,
.charsheet main.npc,
.charsheet button[type=action].npc,
.charsheet button[type=action].pc,
.charsheet main.settings {
display: none;
}
.charsheet input.tabstoggle[value=character] ~ main.character,
.charsheet input.tabstoggle[value=background] ~ main.background,
.charsheet input.tabstoggle[value=npc] ~ main.npc,
.charsheet input.tabstoggle[value=settings] ~ main.settings {
display: grid;
}
.charsheet input.npctoggle[value="0"] ~ button[type=action].pc,
.charsheet input.npctoggle[value="1"] ~ button[type=action].npc {
display: flex;
}
.charsheet div.tab-buttons {
display: flex;
gap: 10px;
z-index: 10;
position: sticky;
top: 0px;
border: 3px solid black;
border-radius: 5px;
background-color: #d9d9d9;
width: 845px;
}
.charsheet div.tab-buttons button {
font-size: 1.5em;
}
.charsheet div.tab-buttons .version {
display: flex;
flex-flow: row nowrap;
}
.charsheet main.character input[type=checkbox] {
width: 18px;
}
.charsheet section.name {
grid-area: name;
padding: 5px 0px 0px 0px;
margin: 5px;
width: 834px;
}
.charsheet section.name .dice {
width: 75px;
}
.charsheet section.name label {
padding-left: 10px;
}
.charsheet section.name select {
width: 50px;
}
.charsheet section.name select.td {
margin-left: 14px;
}
.charsheet section.name input[type=number] {
height: 20px;
}
.charsheet section.name button[type=roll] {
height: 23px;
border: 2px solid black;
background-color: transparent;
padding: 2px 5px 4px 5px;
margin-top: 10px;
}
.charsheet section.name button[type=roll]:hover {
background-color: #87AFC7;
border-radius: 10px;
background-position: 0 -28px;
}
.charsheet section.name .row2 input[type=text] {
width: 120px;
}
.charsheet section.name .row2 .dice {
width: 60px;
}
.charsheet section.name div.eureka {
display: none;
}
.charsheet section.name input[type=hidden][value=Scientist].eureka ~ div.eureka,
.charsheet section.name input[type=hidden][value=scientist].eureka ~ div.eureka,
.charsheet section.name input[type=hidden][value="1"].eureka ~ div.eureka {
display: flex;
}
.charsheet .attr {
grid-area: attr;
}
.charsheet .attr .stat {
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/attr.png");
background-repeat: no-repeat;
background-size: 124px 113px;
width: 120px;
height: 120px;
background-position: center;
}
.charsheet .attr span:not(.mod) {
font-weight: bold;
font-size: 1.1em;
text-transform: uppercase;
font-size: 1.5em;
}
.charsheet .attr span.mod {
width: 25px;
margin-top: 4px;
border-style: none;
margin-bottom: 17px;
border-width: 2px;
text-align: center;
font-weight: bold;
}
.charsheet .attr input[type=number] {
width: 2em;
margin-bottom: 7px;
border-style: none;
font-weight: bold;
font-size: 1.5em;
}
.charsheet .attr button[type=roll].large {
font-size: 1.5em;
margin-bottom: -3px;
border-radius: 15px;
}
.charsheet section.skills {
grid-area: skills;
padding-left: 10px;
margin: 0px 2px 5px 5px;
}
.charsheet section.skills span:not(.mod) {
font-weight: bold;
font-size: 1.1em;
text-transform: uppercase;
text-transform: uppercase;
font-size: 0.7em;
padding-top: 9px;
margin-left: 0px;
}
.charsheet section.skills span.mod {
width: 25px;
margin-top: 4px;
border-style: none none solid none;
margin-bottom: 4px;
border-width: 2px;
text-align: center;
}
.charsheet section.skills div {
align-content: space-around;
}
.charsheet section.skills .mod {
margin: 0px 4px 0px 4px;
}
.charsheet section.skills button[type=roll] {
margin-right: 0px;
text-transform: uppercase;
font-size: 1.2em;
}
.charsheet section.skills input[type=number] {
margin-left: 5px;
padding-bottom: 0;
font-size: 1.4em;
font-weight: bold;
}
.charsheet section.hp {
grid-area: hp;
}
.charsheet section.hp input[type=number] {
height: 35px;
padding-bottom: 0;
}
.charsheet section.hp > div:nth-child(2) {
width: 100px;
}
.charsheet section.hp div {
flex-grow: 0.4;
margin: 5px;
}
.charsheet section.hp label {
font-size: 1.1em;
font-weight: bold;
}
.charsheet section.hp label.txtcenter {
font-size: 1.8em;
}
.charsheet section.hp .temphp label {
font-size: 1.3em;
width: 100px;
margin: 0;
}
.charsheet section.condition {
grid-area: condition;
padding-left: 10px;
margin: 0px 14px 8px 8px;
}
.charsheet section.condition span {
text-transform: uppercase;
padding-left: 5px;
font-weight: bold;
font-size: 12px;
}
.charsheet div.prof {
grid-area: prof;
}
.charsheet div.prof span.mod {
width: 25px;
margin-top: 4px;
border-style: none none solid none;
margin-bottom: 4px;
border-width: 2px;
text-align: center;
}
.charsheet div.prof div {
flex-grow: 0.4;
margin: 5px;
}
.charsheet div.prof label {
font-size: 1.1em;
font-weight: bold;
}
.charsheet div.prof input[type=number] {
height: 35px;
padding-bottom: 0;
margin-top: 4px;
}
.charsheet div.prof > div:nth-child(1) {
padding: 5px 1px;
}
.charsheet div.prof > div:nth-child(1) > label:nth-child(1) {
width: 80px;
}
.charsheet div.prof > div:nth-child(2) > label:nth-child(1) {
padding: 0px;
}
.charsheet div.prof .init {
margin-left: 2px;
margin-right: 2px;
padding-left: 2px;
padding-right: 2px;
}
.charsheet div.prof .init button {
width: 63px;
margin-left: 0px;
padding-right: 7px;
padding-left: 2px;
}
.charsheet div.prof .moxie {
width: 62px;
}
.charsheet div.prof label.wide {
width: 96px;
padding: 0px;
}
.charsheet .prof > div:nth-child(2) > label:nth-child(1) {
width: 56px;
}
.charsheet div.moxie > label:nth-child(1) {
width: 54px;
}
.charsheet div.death span {
padding: 5px 0;
}
.charsheet div.death span.pad {
padding: 5px 3px 5px 5px;
}
.charsheet div.ac {
grid-area: ac;
}
.charsheet div.ac div {
flex-grow: 0.4;
margin: 5px;
}
.charsheet div.ac label {
font-size: 1.2em;
font-weight: bold;
}
.charsheet div.ac label.wide {
width: 105px;
padding: 0px;
}
.charsheet div.ac input[type=number] {
height: 35px;
padding-bottom: 0;
margin-top: 4px;
}
.charsheet div.speed {
grid-area: speed;
}
.charsheet div.speed div {
flex-grow: 0.4;
margin: 5px;
}
.charsheet div.speed .speed label {
font-size: 1.2em;
font-weight: bold;
}
.charsheet div.speed input[type=text] {
padding: 5px;
}
.charsheet div.speed div.death label {
width: 100px;
padding: 0px;
}
.charsheet div.speed div.death span {
font-size: 0.8em;
font-weight: bold;
}
.charsheet div.speed div.death div {
margin: 5px 0px;
}
.charsheet section.saves {
grid-area: saves;
margin: 5px 20px 5px 5px;
justify-content: space-between;
}
.charsheet section.saves span.mod {
width: 25px;
margin-top: 4px;
border-style: none none solid none;
margin-bottom: 4px;
border-width: 2px;
text-align: center;
margin: 0px 4px;
}
.charsheet section.saves input[type=number] {
margin-left: 5px;
}
.charsheet section.saves div {
padding-left: 8px;
}
.charsheet section.saves div.mb20 {
margin-bottom: 20px;
}
.charsheet div.bulk {
grid-area: bulk;
display: flex;
width: 171px;
gap: 10px;
}
.charsheet div.bulk .section {
flex: 1 1 0px;
}
.charsheet section.inventory {
grid-area: inventory;
width: 156px;
}
.charsheet section.inventory textarea {
width: 95%;
height: 95%;
margin-bottom: 0px;
}
.charsheet section.attacks {
grid-area: attacks;
display: grid;
grid-template-columns: 3.5fr repeat(5, 1fr) 2fr;
grid-template-rows: repeat(7, 1fr);
margin: 0px 20px 10px 5px;
}
.charsheet section.attacks label {
text-transform: capitalize;
}
.charsheet section.attacks .name {
padding-left: 42px;
}
.charsheet section.attacks .dmg-type {
padding-left: 9px;
}
.charsheet section.attacks span {
height: 25px;
}
.charsheet section.attacks div button[type=roll] {
height: 20px;
}
.charsheet section.attacks div input[type=text] {
height: 20px;
}
.charsheet section.attacks .mr15 {
margin-right: 10px;
}
.charsheet section.attacks .ml15 {
margin-left: 15px;
}
.charsheet section.attacks .pl20 {
padding-left: 20px;
}
.charsheet main.settings input[type=checkbox] {
width: 44px;
}
.charsheet main.settings span {
margin-right: 0.5em;
padding-top: 0.3em;
}
.charsheet main.settings select {
margin: 0;
width: 120px;
}
.charsheet section.settings {
grid-area: settings;
}
.charsheet section.settings select.w60 {
width: 60px;
}
.charsheet section.settings div {
padding: 10px;
}
.charsheet section.settings input[type=text] {
width: 395px;
}
.charsheet section.other {
grid-area: other;
}
.charsheet section.other div {
padding: 10px;
}
.charsheet section.other span {
font-size: 1.3em;
margin-right: 10px;
}
.charsheet section.other input[type=text] {
width: 395px;
}
.charsheet section.other textarea.dmg {
height: 60px;
width: 245px;
}
.charsheet section.changelog {
grid-area: changelog;
}
.charsheet section.changelog button[type=roll] {
margin-bottom: 10px;
}
.charsheet div.ammo.grid {
grid-area: ammo;
display: grid;
grid-gap: 8px;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
padding: 5px 20px 5px 0px;
}
.charsheet div.ammo label {
text-align: center;
padding: 0px 0px 5px 0px;
}
.charsheet div.ammo div {
margin: 7px 1px;
}
.sheet-rolltemplate-stargate {
margin-left: -37px;
}
.withoutavatars .sheet-rolltemplate-stargate {
margin-left: -7px;
}
.sheet-rolltemplate-stargate .sheet-container {
border: 3px solid black;
border-radius: 3px;
}
.sheet-rolltemplate-stargate .sheet-header {
background-color: var(--header-bg-color);
color: var(--header-text-color);
text-align: left;
text-transform: capitalize;
padding: 5px;
border-bottom: 2px solid black;
}
.sheet-rolltemplate-stargate .sheet-title {
font-size: 1.2em;
font-weight: bold;
}
.sheet-rolltemplate-stargate .sheet-title img.sheet-phoenix {
width: 33px;
height: 33px;
float: right;
}
.sheet-rolltemplate-stargate .sheet-subtitle {
font-size: 0.9em;
}
.sheet-rolltemplate-stargate .sheet-container {
--header-bg-color: #a83521;
--header-text-color: #FFF;
}
.sheet-rolltemplate-stargate .sheet-container.sheet-color-green {
--header-bg-color: #008000;
}
.sheet-rolltemplate-stargate .sheet-container.sheet-color-black {
--header-bg-color: #000;
}
.sheet-rolltemplate-stargate .sheet-container.sheet-color-white {
--header-bg-color: #FFF;
--header-text-color: #000;
}
.sheet-rolltemplate-stargate .sheet-content {
display: grid;
background: #FFF;
grid-template-columns: auto auto;
line-height: 1.4em;
}
.sheet-rolltemplate-stargate .sheet-content > div {
padding: 5px;
}
.sheet-rolltemplate-stargate .sheet-content .sheet-key {
font-weight: bold;
padding-right: 10px;
text-align: right;
}
.sheet-rolltemplate-stargate .sheet-content :nth-child(4n+3),
.sheet-rolltemplate-stargate .sheet-content :nth-child(4n) {
background: #EEE;
}
.sheet-rolltemplate-stargate .sheet-desc {
grid-column: span 2;
padding: 5px;
text-align: center;
}