Skip to content

Commit

Permalink
fix: added heading arrows for vampire's Weapon block
Browse files Browse the repository at this point in the history
  • Loading branch information
silentjames committed Mar 19, 2024
1 parent b9c33d3 commit 86f7bdc
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions css-snippets/world-of-darkness-statblocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,7 @@ body:has(.vtm-v20-vampire, .vtm-v20-vampire-en, .vtm-v20-vampire-dark-ages, .vtm
:is(.vtm-v20-vampire-dark-ages, .vtm-v20-vampire-dark-ages-en) .flex-container:has(> h2.statblock-heading) {
height: 24px;
}
.vtm-v20-vampire .heading-container:is(.attributes-group, .abilities-group, .advantages-group),
.vtm-v20-vampire-en .heading-container:is(.attributes-group, .abilities-group, .advantages-group) {
:is(.vtm-v20-vampire, .vtm-v20-vampire-en) .heading-container:is(.attributes-group, .abilities-group, .advantages-group, .weapon-table) {
background-image: var(--arrow-for-attributes);
background-repeat: no-repeat;
background-position-x: center;
Expand Down Expand Up @@ -662,6 +661,25 @@ body:has(.vtm-v20-vampire, .vtm-v20-vampire-en, .vtm-v20-vampire-dark-ages, .vtm
}


/*
.mta-m20-mage.section-header {
border-bottom: unset !important;
margin-bottom: inherit !important;
}

.mta-m20-mage :is(h3.physical, h3.social, h3.mental, h3.talents, h3.skills, h3.knowledges, h3.backgrounds, h3.paradigm, h3.practices, h3.instruments) {
font-family: var(--statblock-heading-font);
font-size: 15px;
text-transform: uppercase;
letter-spacing: 0px;
height: 22.5px;
display: flex !important;
justify-content: center;
align-items: center;
margin-bottom: 0;
}
*/

/* Ширина строки и выравнивание значений по краям для характеристик... */
/* Set up line width and position of names and dots for all attributes ... */
.physical-column:nth-of-type(n+2) .line, .social-column:nth-of-type(n+2) .line, .mental-column:nth-of-type(n+2) .line,
Expand Down Expand Up @@ -990,7 +1008,7 @@ body:has(.vtm-v20-vampire, .vtm-v20-vampire-en, .vtm-v20-vampire-dark-ages, .vtm

/* Скрывается разделитель под сферами, если заполнен блок фокуса, и возвращается, если блок фокуса отсутствует */
/* Sphere's group bottom rule is hidden if Focus group exists, will be displayed if Focus group is missing */
.workspace-leaf.mod-active .mta-m20-mage-en details:has( > .rule-container:nth-of-type(even)) > .rule-container:nth-of-type(odd) {
:is(.mta-m20-mage, .mta-m20-mage-en) details:has( > .rule-container:nth-of-type(even)) > .rule-container:nth-of-type(odd) {
display: none;
}

Expand Down

0 comments on commit 86f7bdc

Please sign in to comment.