Files
roll20-character-sheets/TailsOfEquestria/less/index.less
T
Stephen Lindberg 991549878a Tails of Equestria v1.6 (#5682)
* Fixed header banner

* Added source drop-down fields for talents and quirks.

* Removed hard-coded talents and quirks. Any data that was in these fields in v1.5 will be automatically migrated as a new row in their respective repeating sections.

* Fixed upgrades/downgrades so be rules-correct for D20/D4 cases, respectively.

* Moved Equipment and Campaign Notes to their own tabs.

* Display version # in banner.

* Updated preview image.

* Include banner graphic in repository.
2019-11-18 12:48:01 -06:00

113 lines
2.0 KiB
Plaintext

@import "colors.less";
@import "rolltemplate.less";
.charsheet {
background: #fff;
color: @fontColor;
width: 8in;
@import "fields.less";
@import "main.less";
h1 {
color: @fontColor;
}
.centeredH {
text-align: center;
}
.centeredV > * {
vertical-align: middle;
}
.floatLeft {
float: left;
}
.floatRight {
float: right;
}
.inlineBlock {
display: inline-block;
}
.tabs {
& > input[type="radio"] {
display: none;
&:checked + label {
background: @tabColor;
color: #fff;
}
}
& > label {
border-top-left-radius: 10px;
border-top-right-radius: 10px;
cursor: pointer;
display: inline-block;
margin-bottom: 0;
min-width: 0.5in;
padding: 5px;
text-align: center;
width: auto;
&:nth-of-type(1) {
margin-left: 0.5in;
}
}
& > .tabContents {
border: solid 5px @tabColor;
border-radius: 0.25in;
padding: 1em;
& > .tab {
display: none;
}
}
/* Display the tabs if their radio is checked. */
input#sheetTabPC:checked ~ .tabContents .tab#sheetTabPCContainer {
display: block;
}
input#sheetTabNPC:checked ~ .tabContents .tab#sheetTabNPCContainer {
display: block;
}
input#sheetTabEquipment:checked ~ .tabContents .tab#sheetTabEquipmentContainer {
display: block;
}
input#sheetTabVehicle:checked ~ .tabContents .tab#sheetTabVehicleContainer {
display: block;
}
input#sheetTabNotes:checked ~ .tabContents .tab#sheetTabNotesContainer {
display: block;
}
}
.top {
height: 2.6in;
overflow: hidden;
position: relative;
width: 8in;
.mask {
height: 1in;
left: 0;
position: absolute;
top: 1.65in;
width: 100%;
background: linear-gradient(fade(#fff, 0%), #fff);
}
.version {
bottom: 0;
opacity: 0.5;
position: absolute;
right: 0;
}
}
}