Add monsetr sheet

This commit is contained in:
2025-01-15 14:20:21 +01:00
parent 4e70cbfaf8
commit cc8c1f9864
47 changed files with 1949 additions and 461 deletions

View File

@ -606,7 +606,7 @@ i.lethalfantasy {
.lethalfantasy .tab.character-miracles prose-mirror.active {
min-height: 150px;
}
.lethalfantasy .opponent-content {
.lethalfantasy .monster-content {
font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1);
color: var(--color-dark-1);
@ -615,20 +615,20 @@ i.lethalfantasy {
background-size: 100% 100%;
overflow: scroll;
}
.lethalfantasy .opponent-content input:disabled,
.lethalfantasy .opponent-content select:disabled {
.lethalfantasy .monster-content input:disabled,
.lethalfantasy .monster-content select:disabled {
background-color: rgba(0, 0, 0, 0.2);
border-color: transparent;
color: var(--color-dark-3);
}
.lethalfantasy .opponent-content input,
.lethalfantasy .opponent-content select {
.lethalfantasy .monster-content input,
.lethalfantasy .monster-content select {
height: 1.5rem;
background-color: rgba(0, 0, 0, 0.1);
border-color: var(--color-dark-6);
color: var(--color-dark-2);
}
.lethalfantasy .opponent-content input[name="name"] {
.lethalfantasy .monster-content input[name="name"] {
height: 2.5rem;
margin-right: 4px;
font-family: var(--font-secondary);
@ -636,91 +636,457 @@ i.lethalfantasy {
font-weight: bold;
border: none;
}
.lethalfantasy .opponent-content fieldset {
.lethalfantasy .monster-content fieldset {
margin-bottom: 4px;
border-radius: 4px;
}
.lethalfantasy .opponent-content .form-fields input,
.lethalfantasy .opponent-content .form-fields select {
.lethalfantasy .monster-content .form-fields input,
.lethalfantasy .monster-content .form-fields select {
text-align: center;
font-size: calc(var(--font-size-standard) * 1);
}
.lethalfantasy .opponent-content .form-fields select {
.lethalfantasy .monster-content .form-fields select {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
}
.lethalfantasy .opponent-content legend {
.lethalfantasy .monster-content legend {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
font-weight: bold;
letter-spacing: 1px;
}
.lethalfantasy .opponent-content label {
.lethalfantasy .monster-content label {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2);
}
.lethalfantasy .monster-main {
display: flex;
}
.lethalfantasy .monster-main .monster-pc {
display: flex;
gap: 10px;
flex: 1;
}
.lethalfantasy .monster-main .monster-pc .monster-left {
min-width: 220px;
max-width: 220px;
display: flex;
flex-direction: column;
}
.lethalfantasy .monster-main .monster-pc .monster-left .monster-left-image {
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 8px;
}
.lethalfantasy .monster-main .monster-pc .monster-left .monster-left-image .monster-img {
height: 140px;
width: 140px;
width: auto;
border: none;
}
.lethalfantasy .monster-main .monster-pc .monster-left .monster-hp {
display: flex;
gap: 2px;
align-items: center;
}
.lethalfantasy .monster-main .monster-pc .monster-left .monster-hp .monster-hp-value .form-fields input {
flex: none;
min-width: 3rem;
max-width: 3rem;
margin-left: 10px;
font-size: calc(var(--font-size-standard) * 1.4);
}
.lethalfantasy .opponent-header {
display: flex;
align-items: center;
justify-content: center;
}
.lethalfantasy .opponent-header .opponent-img {
width: 100px;
height: auto;
margin: 10px;
}
.lethalfantasy .opponent-header .character-name {
display: flex;
width: 100%;
}
.lethalfantasy .opponent-main {
.lethalfantasy .monster-main .monster-pc .monster-left .monster-hp .monster-hp-max {
clear: both;
display: flex;
flex-direction: row;
gap: 10px;
flex-wrap: wrap;
margin: 3px 0;
align-items: center;
}
.lethalfantasy .opponent-main .opponent-gauche {
.lethalfantasy .monster-main .monster-pc .monster-left .monster-hp .monster-hp-max input {
width: 50px;
text-align: center;
font-size: calc(var(--font-size-standard) * 1.4);
}
.lethalfantasy .monster-main .monster-pc .monster-right {
display: flex;
flex-direction: column;
min-width: 250px;
gap: 4px;
}
.lethalfantasy .opponent-main .opponent-gauche .opponent-caracteristiques {
.lethalfantasy .monster-main .monster-pc .monster-right .monster-name {
display: flex;
}
.lethalfantasy .monster-main .monster-pc .monster-right .monster-name input {
width: 400px;
}
.lethalfantasy .monster-main .monster-pc-play {
min-width: 400px;
}
.lethalfantasy .monster-main .monster-pc-edit {
min-width: 400px;
}
.lethalfantasy .monster-main .monster-characteristics {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
}
.lethalfantasy .opponent-main .opponent-gauche .opponent-caracteristiques .form-fields {
.lethalfantasy .monster-main .monster-characteristics .monster-characteristic {
display: flex;
align-items: center;
}
.lethalfantasy .monster-main .monster-characteristics .monster-characteristic .rollable:hover,
.lethalfantasy .monster-main .monster-characteristics .monster-characteristic .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.lethalfantasy .monster-main .monster-characteristics .monster-characteristic .form-group {
flex: 1;
padding-left: 4px;
}
.lethalfantasy .monster-main .monster-characteristics .monster-characteristic .form-group .form-fields {
flex: none;
width: 3rem;
}
.lethalfantasy .opponent-main .opponent-gauche .opponent-caracteristiques .form-fields input {
.lethalfantasy .monster-main .monster-resists {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
}
.lethalfantasy .monster-main .monster-resists .monster-resist {
display: flex;
align-items: center;
margin-right: 0.5rem;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .rollable:hover,
.lethalfantasy .monster-main .monster-resists .monster-resist .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .name {
flex: 1;
min-width: 3rem;
margin-left: 0.5rem;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .form-group {
flex: 1;
padding-left: 4px;
}
.lethalfantasy .monster-main .monster-resists .monster-resist .form-group .form-fields {
flex: none;
width: 50px;
}
.lethalfantasy .opponent-main .opponent-gauche .opponent-attacks legend a {
font-size: calc(var(--font-size-standard) * 1.6);
}
.lethalfantasy .opponent-main .opponent-gauche .opponent-attacks .opponent-attack {
.lethalfantasy .monster-main .monster-movements {
display: flex;
justify-content: space-between;
}
.lethalfantasy .opponent-main .opponent-gauche .opponent-spells legend a {
font-size: calc(var(--font-size-standard) * 1.6);
}
.lethalfantasy .opponent-main .opponent-gauche .opponent-spells .opponent-spell {
display: flex;
justify-content: space-between;
}
.lethalfantasy .opponent-main .opponent-droite .opponent-description {
flex-direction: column;
gap: 4px;
flex: 1;
/* Prend également l'espace disponible */
min-width: 200px;
/* Pour éviter que le contenu ne déborde */
}
.lethalfantasy .opponent-main .opponent-droite .opponent-description prose-mirror.inactive {
.lethalfantasy .monster-main .monster-movements .monster-movement {
display: flex;
align-items: center;
margin-right: 0.5rem;
}
.lethalfantasy .monster-main .monster-movements .monster-movement .rollable:hover,
.lethalfantasy .monster-main .monster-movements .monster-movement .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.lethalfantasy .monster-main .monster-movements .monster-movement .name {
flex: 1;
min-width: 3rem;
margin-left: 0.5rem;
}
.lethalfantasy .monster-main .monster-movements .monster-movement .form-group {
flex: 1;
padding-left: 4px;
}
.lethalfantasy .monster-main .monster-movements .monster-movement .form-group .form-fields {
flex: none;
width: 50px;
}
.lethalfantasy .monster-main .monster-saves {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
}
.lethalfantasy .monster-main .monster-saves .monster-save {
display: flex;
align-items: center;
margin-right: 0.5rem;
}
.lethalfantasy .monster-main .monster-saves .monster-save .rollable:hover,
.lethalfantasy .monster-main .monster-saves .monster-save .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
}
.lethalfantasy .monster-main .monster-saves .monster-save .name {
flex: 0;
min-width: 5rem;
max-width: 5rem;
margin-left: 0.5rem;
}
.lethalfantasy .monster-main .monster-saves .monster-save .name-pain {
flex: 0;
min-width: 3rem;
max-width: 3rem;
margin-left: 0.5rem;
}
.lethalfantasy .monster-main .monster-saves .monster-save .form-group {
flex: 0;
padding-left: 4px;
}
.lethalfantasy .monster-main .monster-saves .monster-save .form-group .form-fields {
flex: none;
width: 50px;
}
.lethalfantasy .monster-main .monster-characteristics-play {
min-width: 225px;
}
.lethalfantasy .monster-main .monster-characteristic-edit {
min-width: 400px;
}
.lethalfantasy .tab.monster-biography .biodata {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-biography .biodata .biodata-elem {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-biography .biodata .biodata-elem .name {
min-width: 8rem;
}
.lethalfantasy .monster-biography prose-mirror.inactive {
min-height: 40px;
}
.lethalfantasy .opponent-main .opponent-droite .opponent-description prose-mirror.active {
min-height: 450px;
height: 100%;
min-width: 200px;
width: 100%;
.lethalfantasy .monster-biography prose-mirror.active {
min-height: 150px;
}
.lethalfantasy .tab.monster-skills {
display: grid;
grid-template-columns: 1fr;
}
.lethalfantasy .tab.monster-skills legend a {
font-size: calc(var(--font-size-standard) * 1);
padding-left: 4px;
}
.lethalfantasy .tab.monster-skills .skills {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-skills .skills .skill {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-skills .skills .skill .item-img {
width: 24px;
height: 24px;
}
.lethalfantasy .tab.monster-skills .skills .skill .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-skills .gifts {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-skills .gifts .gift {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-skills .gifts .gift .item-img {
width: 24px;
height: 24px;
}
.lethalfantasy .tab.monster-skills .gifts .gift .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-skills .vulnerabilities {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-skills .vulnerabilities .vulnerability {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-skills .vulnerabilities .vulnerability .item-img {
width: 24px;
height: 24px;
}
.lethalfantasy .tab.monster-skills .vulnerabilities .vulnerability .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-equipment {
display: grid;
grid-template-columns: 1fr;
}
.lethalfantasy .tab.monster-equipment legend a {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 4px;
}
.lethalfantasy .tab.monster-equipment .moneys {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-equipment .equipments {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-equipment .equipments .equipment {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-equipment .equipments .equipment .item-img {
width: 24px;
height: 24px;
margin: 4px 0 0 0;
}
.lethalfantasy .tab.monster-equipment .equipments .equipment .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-equipment .equipments .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-combat {
display: grid;
grid-template-columns: 1fr;
}
.lethalfantasy .tab.monster-combat legend a {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 4px;
}
.lethalfantasy .tab.monster-combat .combat-details {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-combat .combat-details .combat-detail {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-combat .combat-details .combat-detail button {
min-width: 10rem;
}
.lethalfantasy .tab.monster-combat .combat-details .combat-detail .armor-hp {
min-width: 20rem;
max-width: 20rem;
}
.lethalfantasy .tab.monster-combat .combat-details .combat-detail .armor-hp .input {
min-width: 3rem;
max-width: 3rem;
}
.lethalfantasy .tab.monster-combat .attacks {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-combat .attacks .attack {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-combat .attacks .attack .numeric {
width: 3rem;
}
.lethalfantasy .tab.monster-combat .attacks .attack .attack-icons a {
margin-left: 8px;
margin-right: 8px;
}
.lethalfantasy .tab.monster-combat .armors {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-combat .armors .armor {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-combat .armors .armor .item-img {
width: 24px;
height: 24px;
margin: 4px 0 0 0;
}
.lethalfantasy .tab.monster-combat .armors .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-spells {
display: grid;
grid-template-columns: 1fr;
}
.lethalfantasy .tab.monster-spells legend a {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 4px;
}
.lethalfantasy .tab.monster-spells .spells {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-spells .spells .spell {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-spells .spells .spell .item-img {
width: 24px;
height: 24px;
}
.lethalfantasy .tab.monster-spells .spells .spell .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-spells prose-mirror.inactive {
min-height: 40px;
}
.lethalfantasy .tab.monster-spells prose-mirror.active {
min-height: 150px;
}
.lethalfantasy .tab.monster-miracles {
display: grid;
grid-template-columns: 1fr;
}
.lethalfantasy .tab.monster-miracles legend a {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 4px;
}
.lethalfantasy .tab.monster-miracles .miracles {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.lethalfantasy .tab.monster-miracles .miracles .miracle {
display: flex;
align-items: center;
gap: 4px;
}
.lethalfantasy .tab.monster-miracles .miracles .miracle .item-img {
width: 24px;
height: 24px;
}
.lethalfantasy .tab.monster-miracles .miracles .miracle .name {
min-width: 12rem;
}
.lethalfantasy .tab.monster-miracles prose-mirror.inactive {
min-height: 40px;
}
.lethalfantasy .tab.monster-miracles prose-mirror.active {
min-height: 150px;
}
.lethalfantasy .skill-content {
font-family: var(--font-primary);