mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
168 lines
3.0 KiB
CSS
168 lines
3.0 KiB
CSS
/* Title Styling */
|
|
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;
|
|
}
|
|
|
|
/* Sections Layout */
|
|
.section {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
background-color: #f9f9f9;
|
|
border-radius: 5px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* Buttons in the action section */
|
|
.action-buttons {
|
|
display: flex; /* Align buttons horizontally */
|
|
flex-wrap: wrap; /* Allow wrapping if space is limited */
|
|
gap: 10px; /* Space between buttons */
|
|
}
|
|
|
|
.action-buttons button {
|
|
padding: 10px 20px;
|
|
border: 1px solid #ccc;
|
|
background-color: #007bff;
|
|
color: white;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.action-buttons button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
display: block;
|
|
margin-top: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
input, textarea {
|
|
margin-top: 5px;
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
textarea {
|
|
overflow: auto;
|
|
height: auto;
|
|
min-height: 50px;
|
|
resize: none;
|
|
width: 100%; /* Ensures it stretches the container width */
|
|
box-sizing: border-box; /* Prevents overflow padding issues */
|
|
}
|
|
|
|
}
|
|
|
|
fieldset .repeating-row {
|
|
margin-bottom: 10px;
|
|
padding: 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
background-color: #f7f7f7;
|
|
}
|
|
|
|
details summary {
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
}
|
|
|
|
details summary h2 {
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
details {
|
|
margin-bottom: 15px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
/* Hide all tab content by default */
|
|
.tab-content .tab {
|
|
display: none;
|
|
}
|
|
|
|
/* Show PC Sheet when PC tab is selected */
|
|
#tab-pc:checked ~ .tab-content .pc-sheet {
|
|
display: block;
|
|
}
|
|
|
|
/* Show NPC Sheet when NPC tab is selected */
|
|
#tab-npc:checked ~ .tab-content .npc-sheet {
|
|
display: block;
|
|
}
|
|
|
|
/* Tab Labels Styling */
|
|
.tab-labels {
|
|
display: flex;
|
|
border-bottom: 1px solid #ccc;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.tab-labels label {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
background-color: #f9f9f9;
|
|
border: 1px solid #ccc;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.tab-labels label:hover {
|
|
background-color: #e9e9e9;
|
|
}
|
|
|
|
#tab-pc:checked ~ .tab-labels label[for="tab-pc"],
|
|
#tab-npc:checked ~ .tab-labels label[for="tab-npc"] {
|
|
background-color: #fff;
|
|
font-weight: bold;
|
|
border-bottom: 1px solid #fff;
|
|
}
|