274 lines
8.5 KiB
SCSS
274 lines
8.5 KiB
SCSS
/** Sheets **/
|
|
&.sheet {
|
|
min-width: 600px;
|
|
form {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
.sheet-header,
|
|
.sheet-body {
|
|
flex: 100%;
|
|
}
|
|
.sheet-header {
|
|
h1 {
|
|
flex: auto;
|
|
margin: 0 0.5rem 0.25rem;
|
|
input {
|
|
flex: 0 0 100%;
|
|
height: 4rem;
|
|
margin: 0.5rem 0 0;
|
|
width: 100%;
|
|
color: $l5r5e-red;
|
|
background: transparent;
|
|
border: 0 none;
|
|
border-radius: 0;
|
|
border-bottom: 1px dotted $l5r5e-black;
|
|
}
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
background: url("../assets/imgs/brushL5r.webp") no-repeat 0 0;
|
|
background-size: contain;
|
|
height: 225px;
|
|
width: 100%;
|
|
z-index: -1;
|
|
left: -0.25rem;
|
|
}
|
|
}
|
|
img {
|
|
flex: 0 0 150px;
|
|
height: 150px;
|
|
margin-right: 0;
|
|
object-fit: contain;
|
|
background: $l5r5e-white;
|
|
border: 1px solid $l5r5e-title;
|
|
--notchSize: 0.5rem;
|
|
clip-path: polygon(
|
|
0% var(--notchSize),
|
|
var(--notchSize) 0%,
|
|
calc(100% - var(--notchSize)) 0%,
|
|
100% var(--notchSize),
|
|
100% calc(100% - var(--notchSize)),
|
|
calc(100% - var(--notchSize)) 100%,
|
|
var(--notchSize) 100%,
|
|
0% calc(100% - var(--notchSize))
|
|
);
|
|
}
|
|
.header-fields {
|
|
h2 {
|
|
font-family: $font-secondary;
|
|
float: right;
|
|
width: 50%;
|
|
padding: 0 0.25rem;
|
|
margin: 0;
|
|
text-align: right;
|
|
color: $l5r5e-black;
|
|
border-bottom: $white;
|
|
--notchSize: 0.5rem;
|
|
clip-path: polygon(
|
|
0% var(--notchSize),
|
|
var(--notchSize) 0%,
|
|
calc(100%) 0%,
|
|
100% var(--notchSize),
|
|
100% calc(100% - var(--notchSize)),
|
|
calc(100% - var(--notchSize)) 100%,
|
|
var(--notchSize) 100%,
|
|
0% calc(100%)
|
|
);
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
height: 1px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
.identity-wrapper {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex: 0 0 calc(100% - 150px - 0.25rem);
|
|
.identity-content {
|
|
flex: 0 0 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: 0.5rem;
|
|
li {
|
|
flex: 33%;
|
|
&:nth-child(1),
|
|
&:nth-child(2) {
|
|
flex: 50%;
|
|
margin: 0 0 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.rings {
|
|
float: left;
|
|
width: calc(50% - 0.25rem);
|
|
padding: 0.25rem;
|
|
}
|
|
.social-content {
|
|
flex: 0 0 100%;
|
|
display: flex;
|
|
padding: 0.25rem;
|
|
}
|
|
.attributes-wrapper {
|
|
float: right;
|
|
width: calc(50% - 0.25rem);
|
|
padding: 0.5rem 0 0.5rem 1rem;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: column;
|
|
background: $l5r5e-title;
|
|
--notchSize: 0.5rem;
|
|
clip-path: polygon(
|
|
0% var(--notchSize),
|
|
var(--notchSize) 0%,
|
|
calc(100%) 0%,
|
|
100% var(--notchSize),
|
|
100% calc(100% - var(--notchSize)),
|
|
calc(100% - var(--notchSize)) 100%,
|
|
var(--notchSize) 100%,
|
|
0% calc(100%)
|
|
);
|
|
.endurance-content,
|
|
.composure-content,
|
|
.void-content {
|
|
label {
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
}
|
|
li {
|
|
position: relative;
|
|
p {
|
|
display: none;
|
|
z-index: 2;
|
|
position: absolute;
|
|
bottom: -100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
color: #fff;
|
|
padding: 0.25rem;
|
|
--notchSize: 0.5rem;
|
|
clip-path: polygon(
|
|
0% 0,
|
|
0 0%,
|
|
100% 0%,
|
|
100% var(--notchSize),
|
|
100% calc(100% - var(--notchSize)),
|
|
calc(100% - var(--notchSize)) 100%,
|
|
var(--notchSize) 100%,
|
|
0% calc(100% - var(--notchSize))
|
|
);
|
|
}
|
|
&:hover {
|
|
p {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.identity-wrapper label,
|
|
.social-content label,
|
|
.attributes-wrapper label {
|
|
display: flex;
|
|
color: $l5r5e-label;
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
line-height: 2rem;
|
|
input {
|
|
flex: 1;
|
|
margin: 0 1rem 0 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
article {
|
|
background: $l5r5e-white;
|
|
padding: 0.5rem;
|
|
flex-wrap: wrap;
|
|
min-height: calc(100% - 2.25rem);
|
|
&.tab[data-tab] {
|
|
&.active {
|
|
display: flex;
|
|
}
|
|
}
|
|
.skills-wrapper,
|
|
.feats-wrapper {
|
|
flex: 50%;
|
|
> li {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
font-size: 0.75rem;
|
|
margin: 0 0 1rem;
|
|
border: 1px solid $l5r5e-title;
|
|
--notchSize: 0.75rem;
|
|
clip-path: polygon(
|
|
0 var(--notchSize),
|
|
var(--notchSize) 0,
|
|
100% 0,
|
|
100% var(--notchSize),
|
|
100% calc(100% - var(--notchSize)),
|
|
100% 100%,
|
|
0 100%,
|
|
0 100%
|
|
);
|
|
h4 {
|
|
flex: 100%;
|
|
margin: 0;
|
|
padding: 0.5rem 0.5rem 0;
|
|
text-align: center;
|
|
background: $l5r5e-title;
|
|
color: $l5r5e-label;
|
|
--notchSize: 0.5rem;
|
|
clip-path: polygon(
|
|
0% var(--notchSize),
|
|
var(--notchSize) 0%,
|
|
calc(100%) 0%,
|
|
100% var(--notchSize),
|
|
100% calc(100% - var(--notchSize)),
|
|
calc(100% - var(--notchSize)) 100%,
|
|
var(--notchSize) 100%,
|
|
0% calc(100%)
|
|
);
|
|
}
|
|
ul {
|
|
flex: 50%;
|
|
padding: 0.25rem 0.5rem 0.25rem 0;
|
|
li {
|
|
text-align: left;
|
|
line-height: 1.5rem;
|
|
margin: 0.25rem 0;
|
|
&.skill {
|
|
text-align: right;
|
|
strong {
|
|
color: $l5r5e-black;
|
|
}
|
|
&[data-skill="melee"],
|
|
&[data-skill="ranged"],
|
|
&[data-skill="unarmed"] {
|
|
strong {
|
|
float: left;
|
|
line-height: 0.75rem;
|
|
width: calc(100% - 1.75rem);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.skill-category-ring-actions {
|
|
padding: 0.25rem 0 0.25rem 0.5rem;
|
|
border-left: 1px solid $l5r5e-title;
|
|
}
|
|
}
|
|
input {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
&:last-child {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|