Files
2025-06-16 20:02:55 -05:00

132 lines
2.3 KiB
CSS

/* FIXED Fear & Hunger Roll20 Sheet CSS with correct tab logic */
<!-- TABS CSS -->
<!-- CSS -->
<style>
.sheet-tabs input.sheet-tab {
display: none;
}
.sheet-tabs span {
display: inline-block;
background: #222;
color: #fff;
padding: 6px 12px;
margin-right: 5px;
cursor: pointer;
border-radius: 4px 4px 0 0;
}
.sheet-tab-content {
display: none;
padding: 10px;
color: #eee;
border: 1px solid #555;
}
input.sheet-tab[value="main"]:checked ~ .sheet-main,
input.sheet-tab[value="status"]:checked ~ .sheet-status,
input.sheet-tab[value="equipment"]:checked ~ .sheet-equipment,
input.sheet-tab[value="magic"]:checked ~ .sheet-magic,
input.sheet-tab[value="npc"]:checked ~ .sheet-npc {
display: block;
}
</style>
h1 {
text-align: center;
font-size: 36px;
font-weight: bold;
color: red;
margin: 20px 0;
text-transform: uppercase;
}
h2 {
border-bottom: 2px solid #444;
padding-bottom: 5px;
margin-bottom: 15px;
}
/* ADD FLEX ROWS FOR SPECIFIC SECTIONS */
.section {
display: flex;
flex-wrap: wrap;
gap: 20px;
padding: 10px;
border: 1px solid #ccc;
background-color: #f9f9f9;
border-radius: 5px;
margin-bottom: 20px;
}
.sheet-revs, .sheet-status-FH, .sheet-limbs, .sheet-affinities, .sheet-attributes, .sheet-header {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.sheet-revs label,
.sheet-status-FH label,
.sheet-limbs label,
.sheet-header label,
.sheet-attributes label,
.sheet-affinities div {
flex: 1 1 auto;
min-width: 120px;
}
/* Form Group Layout */
.form-group {
display: flex;
flex-direction: column;
flex: 1 1 200px;
max-width: 300px;
}
.form-group label {
font-weight: bold;
margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}
.sheet-affinities strong {
font-weight: 700;
color: #000;
}
<style>
.limb-group {
margin-bottom: 10px;
}
.limb-top-row {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 10px;
}
.limb-top-row input[type="text"] {
flex: 1 1 20%;
}
.limb-top-row label {
flex: 1 1 20%;
}
.limb-top-row input[type="checkbox"] {
transform: scale(1.2);
}
.limb-bottom-row textarea {
width: 100%;
margin-top: 5px;
}
</style>