Files
Stephanie Bryant b2131d6e11 Sb ourlastbesthope: Radio buttons for Harm (#5661)
* QoL improvements

Added placeholders with styling and removed crit/fail from roll template

* New Sheet: OneDice Universal

New Character Sheet for OneDice Universal.

* OneDice: Fixed Defence stat dropdown

* Translation.json fix

Removed blank strings and fixed a tag in the html.

* Our Last Best Hope - new sheet

OLBH Sheet

* Resize logo

* Added logo

Updated html and css to add the logo

* Preview image added

* Rename translation file

* [Our Last Best Hope] Added Harm, role ability, fixed left/brought fields

Played with friends last night and was reminded of the need to include a Harm field, plus a role ability players can use to remind themselves of their special abilities. Also fixed the left/brought fields.

* [Our Last Best Hope] Line endings

Also committing a change on onedice to resolve a single merge conflict.

* OLBH: Line endings

* OLBH: Fixed Harm buttons

Radio buttons now fill from left to right.
2019-11-11 12:40:20 -06:00

119 lines
2.3 KiB
CSS

.sheet-charsheet {
height:700px;
width:800px;
}
.sheet-logo {
text-align:center;
}
.sheet-body {
font-family: "Contrail One", sans-serif;
display:block;
}
.sheet-header {
font-weight:bold;
border:none;
font-family: "Contrail One", sans-serif;
}
input[type=text].sheet-fields {
border-bottom: 1px solid #D3D3D3;
border-top: 0px;
border-left: 0px;
border-right: 0px;
}
textarea.sheet-touchstoneareas {
height: 50px;
width: 450px;
border: 1px solid #D3D3D3;
border-radius: 40px 10px;
padding: 10px;
}
div.sheet-touchstones {
border:5px;
grid-gap: 5px;
vertical-align:top;
display: grid;
grid-template-rows: auto auto;
grid-template-columns: 20% auto}
.sheet-touchstonetext1 {
grid-column-start: 1;
grid-column-end: 1;
grid-row-start: 1;
grid-row-end: 1;
font-family: "Contrail One", sans-serif;
font-weight:bold;
}
.sheet-touchstonesarea1 {
grid-column-start: 2;
grid-column-end: 2;
grid-row-start: 1;
grid-row-end: 1;
}
.sheet-touchstonetext2 {
grid-column-start: 1;
grid-column-end: 1;
grid-row-start: 2;
grid-row-end: 2;
font-family: "Contrail One", sans-serif;
font-weight:bold;
}
.sheet-touchstonesarea2 {
grid-column-start: 2;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 2;
}
.sheet-tip, .sheet-credits {
font-family: Arial, Helvetica, sans-serif;
font-style:italic;
font-size:8pt;
}
input[type=text].sheet-ability {
width: 300px;
}
/* Hide actual radio -- This isn't actually repeated in my code. */
input[type="radio"] {
opacity: 0;
width: 16px;
height: 16px;
position: relative;
top: 5px;
left: 6px;
margin: -10px;
cursor: pointer;
z-index: 1;
}
/* Fake radio */
input[type="radio"].sheet-harm + span::before {
margin-right: 4px;
border: solid 1px #a8a8a8;
line-height: 14px;
text-align: center;
display: inline-block;
vertical-align: middle;
box-shadow: 0 0 2px #ccc;
background: #f6f6f6;
background: radial-gradient(#f6f6f6, #dfdfdf);
content: "•";
width: 12px;
height: 12px;
font-size: 24px;
border-radius: 50%;
}
/* Remove dot from all radios _after_ selected one */
input[type="radio"].sheet-harm:checked ~ input[type="radio"] + span::before {
content: "";
}