First PC sheet, WIP

This commit is contained in:
2025-12-20 17:20:01 +01:00
parent 189b03ca91
commit e75824cd20
19 changed files with 961 additions and 600 deletions
+60 -28
View File
@@ -5,24 +5,24 @@
margin: 0;
.character-sheet-wrapper {
background-image: url("../assets/sheet/character-bg.png");
background-image: url("../assets/ui/prism_rpg_background.webp");
background-size: cover;
background-position: center;
padding: 8px 10px;
padding: 2px 4px;
min-height: auto;
}
// Character Header with Banner
.character-header {
position: relative;
margin-bottom: 5px;
margin-bottom: 3px;
.character-name-banner {
background-image: url("../assets/sheet/banner-bg.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
height: 60px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
@@ -32,17 +32,18 @@
border: none;
text-align: center;
font-family: "Cinzel", serif;
font-size: 24px;
font-size: 20px;
font-weight: bold;
color: #2c2c2c;
width: 500px;
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
padding: 2px 0;
}
}
.character-toggle-controls {
position: absolute;
top: 10px;
top: 6px;
right: 10px;
}
}
@@ -168,12 +169,14 @@
.attribute-label {
font-family: "Cinzel", serif;
font-size: 14px;
font-size: 11px;
font-weight: bold;
color: #2c2c2c;
text-transform: uppercase;
margin: 0;
min-width: 40px;
display: flex;
align-items: center;
a.rollable {
display: flex;
@@ -201,6 +204,9 @@
}
.attribute-value {
display: flex;
align-items: center;
input {
width: 45px;
height: 32px;
@@ -215,6 +221,22 @@
.attribute-save {
margin-left: auto;
display: flex;
align-items: center;
a.save-rollable {
display: contents;
cursor: pointer;
i {
margin-right: 6px;
}
&:hover input {
background: rgba(200, 220, 255, 0.8);
border-color: #4a4a4a;
}
}
input {
width: 45px;
@@ -226,6 +248,8 @@
border: 2px solid #6b6b6b;
border-radius: 4px;
color: #2c2c2c;
cursor: pointer;
transition: all 0.2s;
}
}
}
@@ -254,20 +278,28 @@
.race-section {
.race-box {
padding: 10px;
padding: 6px;
background: rgba(255, 255, 255, 0.5);
border: 3px solid #6b6b6b;
border-radius: 8px;
min-height: 60px;
border: 2px solid #6b6b6b;
border-radius: 6px;
min-height: 50px;
.race-label {
font-family: "Cinzel", serif;
font-size: 10px;
color: #6b6b6b;
text-align: center;
margin-bottom: 3px;
}
.section-title {
font-family: "Cinzel", serif;
font-size: 12px;
font-size: 11px;
font-weight: bold;
color: #2c2c2c;
text-transform: uppercase;
margin: 0 0 8px 0;
padding: 5px;
margin: 0 0 4px 0;
padding: 3px;
background: rgba(255, 255, 255, 0.6);
border: 2px solid #6b6b6b;
border-radius: 4px;
@@ -277,11 +309,11 @@
.race-item {
display: flex;
align-items: center;
gap: 8px;
gap: 6px;
.item-img {
width: 36px;
height: 36px;
width: 30px;
height: 30px;
border: 2px solid #6b6b6b;
border-radius: 4px;
object-fit: cover;
@@ -320,10 +352,10 @@
.no-race {
text-align: center;
font-family: "Crimson Text", serif;
font-size: 13px;
font-size: 11px;
color: #6b6b6b;
font-style: italic;
padding: 10px;
padding: 5px;
}
input {
@@ -340,31 +372,31 @@
.classes-section {
display: flex;
flex-direction: column;
gap: 12px;
gap: 8px;
.class-box {
padding: 10px;
padding: 6px;
background: rgba(255, 255, 255, 0.5);
border: 3px solid #6b6b6b;
border-radius: 8px;
border: 2px solid #6b6b6b;
border-radius: 6px;
.class-label {
font-family: "Cinzel", serif;
font-size: 11px;
font-size: 10px;
color: #6b6b6b;
text-align: center;
margin-bottom: 5px;
margin-bottom: 3px;
}
.class-content {
.class-item {
display: flex;
align-items: center;
gap: 8px;
gap: 6px;
.item-img {
width: 32px;
height: 32px;
width: 28px;
height: 28px;
border: 2px solid #6b6b6b;
border-radius: 4px;
object-fit: cover;