mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
223 lines
4.5 KiB
CSS
223 lines
4.5 KiB
CSS
/* ========== STYLES GÉNÉRAUX ========== */
|
|
body, .sheet {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
font-size: 14px;
|
|
color: #222;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
h2, h3 {
|
|
font-family: 'Ninja Naruto', sans-serif;
|
|
background-color: #e63946;
|
|
color: white;
|
|
padding: 0.3em 0.6em;
|
|
border-radius: 4px;
|
|
margin-top: 1em;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2em;
|
|
font-weight: bold;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
input, select, textarea {
|
|
padding: 4px 6px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
background-color: white;
|
|
}
|
|
|
|
input[readonly], select[disabled] {
|
|
background-color: #eee;
|
|
color: #666;
|
|
}
|
|
|
|
/* ========== MISE EN PAGE SECTIONS ========== */
|
|
.section-identite,
|
|
.section-caracteristiques,
|
|
.section-secondaires,
|
|
.section-chakra,
|
|
.section-blessures,
|
|
.section-competences,
|
|
.section-choix-specialisations,
|
|
.section-specialisations {
|
|
background-color: white;
|
|
padding: 1rem;
|
|
border: 2px solid #ddd;
|
|
border-radius: 8px;
|
|
margin-bottom: 1.5rem;
|
|
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
/* ========== TABLES ========== */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 0.5em;
|
|
}
|
|
table th, table td {
|
|
border: 1px solid #ccc;
|
|
padding: 0.5em;
|
|
text-align: left;
|
|
}
|
|
table th {
|
|
background-color: #eee;
|
|
}
|
|
|
|
/* ========== ROULEAUX & BOUTONS ========== */
|
|
button[type="roll"] {
|
|
background-color: #264653;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 0.3em 0.6em;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
margin-left: 5px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3em;
|
|
}
|
|
button[type="roll"]:hover {
|
|
background-color: #1d3557;
|
|
}
|
|
|
|
button img {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
/* ========== GRILLES & FLEX ========== */
|
|
.carac-grid, .chakra-grid, .specialisations-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 1em;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.degats-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1.5em;
|
|
}
|
|
|
|
.degats-row {
|
|
display: flex;
|
|
gap: 0.5em;
|
|
}
|
|
|
|
/* ========== SPÉCIALISATIONS CHAKRA (Alerte) ========== */
|
|
input.over-limit {
|
|
border-color: #e63946;
|
|
box-shadow: 0 0 4px #e63946;
|
|
}
|
|
|
|
/* ========== CHAMP SPÉCIFIQUE DÉSACTIVÉ ========== */
|
|
.cran-container fieldset[disabled] {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
/* ========== IMAGE DU VILLAGE ========== */
|
|
img[name="attr_village_logo"] {
|
|
border: 2px solid #aaa;
|
|
border-radius: 4px;
|
|
background-color: white;
|
|
padding: 2px;
|
|
}
|
|
|
|
/* ========== POLICE NARUTO (si dispo) ========== */
|
|
@font-face {
|
|
font-family: 'Ninja Naruto';
|
|
src: url('https://fonts.cdnfonts.com/s/17645/NinjaNaruto.woff') format('woff');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
.competences-flex {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ligne-competence {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
background: #f9f9f9;
|
|
padding: 0.5em;
|
|
border-radius: 6px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.ligne-competence label {
|
|
min-width: 160px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.ligne-competence input[type="number"],
|
|
.ligne-competence input[type="text"] {
|
|
width: 60px;
|
|
}
|
|
|
|
.ligne-competence input[type="text"] {
|
|
flex: 1;
|
|
min-width: 120px;
|
|
}
|
|
.ligne-competence-spe {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
margin-bottom: 0.8rem;
|
|
background: #f9f9f9;
|
|
padding: 0.5em;
|
|
border-radius: 6px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.ligne-competence-spe select {
|
|
flex: 2;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.ligne-competence-spe input[type="number"],
|
|
.ligne-competence-spe input[type="text"] {
|
|
width: 60px;
|
|
}
|
|
|
|
.ligne-competence-spe input[type="text"] {
|
|
flex: 1;
|
|
min-width: 120px;
|
|
}
|
|
.specialisation-chakra-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 1rem;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.specialisation-item {
|
|
background: #f9f9f9;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
padding: 0.6em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2em;
|
|
}
|
|
|
|
.specialisation-item strong {
|
|
font-size: 1em;
|
|
color: #264653;
|
|
}
|
|
|
|
.specialisation-item span {
|
|
font-size: 0.85em;
|
|
color: #888;
|
|
}
|