diff --git a/D&D_5e/D&D_5e.css b/D&D_5e/D&D_5e.css index 47b91b2001..bc6affd0b9 100644 --- a/D&D_5e/D&D_5e.css +++ b/D&D_5e/D&D_5e.css @@ -53,6 +53,9 @@ button[type=roll]:before { .sheet-pad-t-heart { padding-top: 17px; } +.sheet-mar-t-lg { + margin-top: 10px; +} .sheet-mar-b-md { margin-bottom: 5px; } @@ -61,6 +64,16 @@ button[type=roll]:before { background: url('http://i.imgur.com/RggDtsN.png'); } +.sheet-is-npc:checked ~ div .sheet-npc-version, +.sheet-is-npc:not(:checked) ~ div .sheet-pc-version { + display: block !important; +} + +.sheet-pc-version, +.sheet-npc-version { + display: none !important; +} + .sheet-small-note { text-align: center; font-family: Arial; @@ -74,6 +87,23 @@ button[type=roll]:before { padding: 2px; } +.sheet-checkbox-label { + font-weight: normal; + font-size: 80%; + margin-bottom: 0; + padding-right: 0; + line-height: 100%; + height: 10px; + cursor: pointer; +} + +.sheet-checkbox-label input[type=checkbox] { + -ms-transform: scale(.8); /* IE */ + -moz-transform: scale(.8); /* FF */ + -webkit-transform: scale(.8); /* Safari and Chrome */ + -o-transform: scale(.8); /* Opera */ +} + .sheet-character-name { border-top-width: 1px !important; border-left-width: 1px !important; @@ -144,9 +174,8 @@ button[type=roll]:before { } .sheet-jack-of-all-trades { position: absolute; - top: -5px; + top: 2px; right: 0; - font-size: 70%; } .sheet-skills select { @@ -203,10 +232,7 @@ button[type=roll]:before { margin-top: 8px; } .sheet-speed { - height: 60px; -} -.sheet-speed input { - margin-top: 9px; + height: 64px; } .sheet-wrap-box-label { @@ -368,8 +394,27 @@ input.sheet-inspiration:checked + span.sheet-inspiration-tab::before { /* END Inspiration button Settings */ +.sheet-resistances-immunities textarea { + width: 100%; + height: auto; + font-size: 68%; + line-height: 100%; + margin-bottom: 0; +} +.sheet-resistances-immunities input { + font-size: 68%; +} - +.sheet-resistances-immunities .sheet-small-label { + margin-bottom: 5px; +} +.sheet-npc-traits textarea { + width: 100%; + font-size: 80%; + line-height: 100%; + margin-bottom: 0; + margin-bottom: 0; +} @@ -603,12 +648,11 @@ div[class="repcontainer editmode"] ~ div[class^="repcontrol"] button[class="btn /* player/npc button Settings */ -div.sheet-player, div.sheet-npc { + div.sheet-npc { display: none; } -input.sheet-is-npc:checked ~ div.sheet-npc, -input.sheet-is-npc:not(:checked )~ div.sheet-player +input.sheet-is-npc:checked ~ div.sheet-npc { display: block; } @@ -1109,7 +1153,7 @@ button, input, select, textarea, border-bottom: 1px dotted #000; } -input[type=number], input[type=text], select { +input[type=number], input[type=text], select, .sheet-border-bottom-only { width: 100%!important; margin-bottom:2px!important; border-top-width: 0; diff --git a/D&D_5e/D&D_5e.html b/D&D_5e/D&D_5e.html index 23f36cfea5..880c2daea4 100644 --- a/D&D_5e/D&D_5e.html +++ b/D&D_5e/D&D_5e.html @@ -10,59 +10,56 @@