mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
chore: Reapplied formatter
- Set Prettier line length limit to a more sensible 140 to prevent the horrendous formatting that caused so many elements to be broken into multiple lines
This commit is contained in:
@@ -660,8 +660,7 @@ button[type="roll"].sheet-move-roller {
|
||||
margin-top: 10px;
|
||||
font-family: "dicefontd20";
|
||||
font-size: 75px;
|
||||
box-shadow: inset 0px 0px 10px var(--poke-foreground-color),
|
||||
0px 0px 10px 1px var(--poke-foreground-color);
|
||||
box-shadow: inset 0px 0px 10px var(--poke-foreground-color), 0px 0px 10px 1px var(--poke-foreground-color);
|
||||
color: var(--poke-foreground-color);
|
||||
}
|
||||
|
||||
@@ -891,42 +890,24 @@ button[type="roll"].sheet-stat-roller:hover {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.sheet-crit-damage-text {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .sheet-crit-damage-text {
|
||||
font-weight: bold;
|
||||
margin-left: 10px;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.sheet-damage-roll
|
||||
.inlinerollresult {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .sheet-damage-roll .inlinerollresult {
|
||||
border: 2px solid;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.sheet-accuracy-roll
|
||||
.inlinerollresult,
|
||||
.sheet-rolltemplate-skill-roll
|
||||
.sheet-container
|
||||
table.sheet-skill-template
|
||||
.sheet-skill-roll
|
||||
.inlinerollresult {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .sheet-accuracy-roll .inlinerollresult,
|
||||
.sheet-rolltemplate-skill-roll .sheet-container table.sheet-skill-template .sheet-skill-roll .inlinerollresult {
|
||||
background: black;
|
||||
border: 2px solid black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
span.sheet-targeted-defense {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template span.sheet-targeted-defense {
|
||||
font-size: smaller;
|
||||
font-weight: bold;
|
||||
margin-left: 0px;
|
||||
@@ -935,71 +916,36 @@ button[type="roll"].sheet-stat-roller:hover {
|
||||
}
|
||||
|
||||
/* Varying colour by effectiveness for damage roll and text */
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript--2-effectiveness-color
|
||||
.inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript--2-effectiveness-text-color {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript--2-effectiveness-color .inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript--2-effectiveness-text-color {
|
||||
background: #800000;
|
||||
border-color: #800000;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript--1-effectiveness-color
|
||||
.inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript--1-effectiveness-text-color {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript--1-effectiveness-color .inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript--1-effectiveness-text-color {
|
||||
background: #cf6800;
|
||||
border-color: #cf6800;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript-0-effectiveness-color
|
||||
.inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript-0-effectiveness-text-color {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript-0-effectiveness-color .inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript-0-effectiveness-text-color {
|
||||
background: black;
|
||||
border-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript-1-effectiveness-color
|
||||
.inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript-1-effectiveness-text-color {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript-1-effectiveness-color .inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript-1-effectiveness-text-color {
|
||||
background: #000080;
|
||||
border-color: #000080;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript-2-effectiveness-color
|
||||
.inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
.userscript-2-effectiveness-text-color {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript-2-effectiveness-color .inlinerollresult,
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template .userscript-2-effectiveness-text-color {
|
||||
background: #008000;
|
||||
border-color: #008000;
|
||||
color: white;
|
||||
@@ -1020,10 +966,7 @@ button[type="roll"].sheet-stat-roller:hover {
|
||||
padding: 8px 2px;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
td.sheet-effectiveness-text {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template td.sheet-effectiveness-text {
|
||||
font-weight: bold;
|
||||
line-height: 20px;
|
||||
padding: 2px 5px;
|
||||
@@ -1031,38 +974,23 @@ button[type="roll"].sheet-stat-roller:hover {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
td.sheet-label,
|
||||
.sheet-rolltemplate-skill-roll
|
||||
.sheet-container
|
||||
table.sheet-skill-template
|
||||
td.sheet-label {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template td.sheet-label,
|
||||
.sheet-rolltemplate-skill-roll .sheet-container table.sheet-skill-template td.sheet-label {
|
||||
font-weight: bold;
|
||||
line-height: 14px;
|
||||
text-align: center;
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
td.sheet-notes-text {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template td.sheet-notes-text {
|
||||
font-size: 12px;
|
||||
line-height: 12px;
|
||||
padding: 8px;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
td.sheet-subhead,
|
||||
.sheet-rolltemplate-skill-roll
|
||||
.sheet-container
|
||||
table.sheet-skill-template
|
||||
td.sheet-subhead {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template td.sheet-subhead,
|
||||
.sheet-rolltemplate-skill-roll .sheet-container table.sheet-skill-template td.sheet-subhead {
|
||||
padding: 4px;
|
||||
background: var(--box-bg);
|
||||
font-size: 12px;
|
||||
@@ -1078,24 +1006,12 @@ button[type="roll"].sheet-stat-roller:hover {
|
||||
background: var(--header-bg);
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
tr:nth-child(odd),
|
||||
.sheet-rolltemplate-skill-roll
|
||||
.sheet-container
|
||||
table.sheet-skill-template
|
||||
tr:nth-child(odd) {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template tr:nth-child(odd),
|
||||
.sheet-rolltemplate-skill-roll .sheet-container table.sheet-skill-template tr:nth-child(odd) {
|
||||
background: var(--odd-row-bg);
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-move-roll
|
||||
.sheet-container
|
||||
table.sheet-move-template
|
||||
tr:nth-child(even),
|
||||
.sheet-rolltemplate-skill-roll
|
||||
.sheet-container
|
||||
table.sheet-skill-template
|
||||
tr:nth-child(even) {
|
||||
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template tr:nth-child(even),
|
||||
.sheet-rolltemplate-skill-roll .sheet-container table.sheet-skill-template tr:nth-child(even) {
|
||||
background: var(--row-bg);
|
||||
}
|
||||
|
||||
+1629
-1935
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user