From eb88510e925525e21dceae4c35cdeaf7ed8943bc Mon Sep 17 00:00:00 2001 From: James Fleming Date: Mon, 10 Jan 2022 09:45:02 -0500 Subject: [PATCH] Some formatting, background color --- The Fantasy Trip/TFT.css | 116 +++++++++++++++++++++++++------------- The Fantasy Trip/TFT.html | 36 ++++++------ 2 files changed, 94 insertions(+), 58 deletions(-) diff --git a/The Fantasy Trip/TFT.css b/The Fantasy Trip/TFT.css index 776ca54777..37d6d67a26 100644 --- a/The Fantasy Trip/TFT.css +++ b/The Fantasy Trip/TFT.css @@ -18,7 +18,7 @@ text-align: center; font-weight: bold; } -.sheet-stat-final { +.sheet-computed-value { display: inline-block; vertical-align: middle; min-width: 2rem; @@ -30,7 +30,6 @@ padding-left: .4rem; padding-right: .4rem; border-style: solid; - border-color: gray; border-width: 1px; border-radius: 3px; } @@ -66,27 +65,15 @@ font-family: "Pictos"; display: inline-block; border-style: solid; - background-color: #F9F9F9; height: 1.25em; width: 1em; border-width: 1px; border-radius: 4px; - border-color: #BBBBBB; text-align: center; font-weight: bold; align-self: flex-start; } -.sheet-expand-button:hover, -.sheet-describe-button:hover { - background-color: #EBEBEB; -} - -.sheet-expand-button:active, -.sheet-describe-button:active { - background-color: #E1E1E1; -} - .sheet-describe-button::before { content: "w" } @@ -100,53 +87,32 @@ font-family: "Pictos"; display: inline-block; border-style: solid; - background-color: #F9F9F9; height: 1rem; width: 0rem; border-radius: .75rem; border-width: 1px; - border-color: #BBBBBB; /*font-weight: bold;*/ align-self: center; text-align: center; } -.sheet-select-button:hover { - background-color: #EBEBEB; -} - -.sheet-select-button:active { - background-color: #E1E1E1; -} - .sheet-attack-button { display: inline-block; border-style: solid; - background-color: #F9F9F9; height: 1.25em; width: 1em; border-width: 1px; border-radius: 4px; - border-color: #BBBBBB; text-align: center; font-weight: bold; } -.sheet-attack-button:hover { - background-color: #EBEBEB; -} - -.sheet-attack-button:active { - background-color: #E1E1E1; -} - /* Fake roll button */ .sheet-dice-button { display: inline-block; border-style: solid; border-width: 1px; border-radius: 4px; - border-color: #BBBBBB; position:relative; top:.17em; text-align: center; @@ -154,7 +120,6 @@ margin-top: 0em; padding-left: .125em; padding-right: .125em; - background-color: #F9F9F9; font-weight: bold; } @@ -165,14 +130,44 @@ font-weight: normal; } +/* Colors */ + +.sheet-expand-button, +.sheet-describe-button, +.sheet-select-button, +.sheet-attack-button, +.sheet-dice-button { + background-color: #F9F9F9; +} + +.sheet-expand-button, +.sheet-describe-button, +.sheet-select-button, +.sheet-attack-button, +.sheet-dice-button { + border-color: #BBBBBB; +} + +.sheet-expand-button:hover, +.sheet-describe-button:hover, +.sheet-select-button:hover, +.sheet-attack-button:hover, .sheet-dice-button:hover { background-color: #EBEBEB; } +.sheet-expand-button:active, +.sheet-describe-button:active, +.sheet-select-button:active, +.sheet-attack-button:active, .sheet-dice-button:active { background-color: #E1E1E1; } +.sheet-computed-value { + border-color: gray; +} + .sheet-text-area { resize: none; box-sizing: border-box; @@ -191,9 +186,11 @@ .sheet-rolltemplate-description .sheet-container { background-color: #ffffff; - border: 1px solid; + border: 2px solid; + border-color: rgb(126, 45, 64); padding: 2px; width: 100%; + border-radius: .5rem; } .sheet-rolltemplate-stat-check .sheet-container h1, @@ -413,7 +410,9 @@ display: grid; padding: 5px; border: 3px solid black; - background-color: #F0F0F0; + background-color: #E8EBF1; + /*background-color: #ECEAEF;*/ +/* background-color: #F0F0F0;*/ } .charsheet div.sheet-namelvl{ grid-area: namelvl; @@ -456,14 +455,35 @@ "otherspells"; grid-gap: 5px; } +.charsheet div.sheet-pointhistory{ + grid-area: pointhistory; +} .charsheet div.sheet-otherspells{ grid-area: otherspells; } .charsheet div.sheet-notes{ grid-area: notes; } + +.charsheet div.sheet-namelvl, +.charsheet div.sheet-combat, +.charsheet div.sheet-stats, +.charsheet div.sheet-talents, +.charsheet div.sheet-attack, +.charsheet div.sheet-weapons, +.charsheet div.sheet-armor, +.charsheet div.sheet-spells, +.charsheet div.sheet-equip, +.charsheet div.sheet-notes, +.charsheet div.sheet-otherspells, +.charsheet div.sheet-pointhistory { + border-radius: .5rem; +} + +/* The two things at the top */ +.charsheet div.sheet-namelvl, .charsheet div.sheet-pointhistory{ - grid-area: pointhistory; + border-top-left-radius: 0rem; } .charsheet .sheet-toggle ~ .sheet-toggle-checked { @@ -481,6 +501,23 @@ display: none; } +.charsheet .sheet-selected-tab { + border-radius: 5px 5px 0px 0px; + border-width: 2px; + border-bottom-width: 0; + border-color: black; + color: black; + background-color: #E8EBF1; +/* font-weight: bold;*/ +} +.charsheet .sheet-unselected-tab { + border-radius: 5px 5px 0px 0px; + border-bottom-width: 0; + color: grey; + border-color: grey; + background-color: white; +} + .charsheet .sheet-select-radio:checked + button { background-color: blue; } @@ -520,4 +557,3 @@ color: black; opacity: .3; } - diff --git a/The Fantasy Trip/TFT.html b/The Fantasy Trip/TFT.html index 6cf3bfd8e9..ff0242a241 100644 --- a/The Fantasy Trip/TFT.html +++ b/The Fantasy Trip/TFT.html @@ -4,8 +4,8 @@
- - + +
@@ -39,7 +39,7 @@ + = - + @@ -55,7 +55,7 @@ + = - + @@ -71,7 +71,7 @@ + = - + @@ -86,12 +86,12 @@ + = - +
 Carrying - +
@@ -103,7 +103,7 @@ - = - +
@@ -116,7 +116,7 @@
Health - + @@ -140,13 +140,13 @@
Minus to Hit - +
Hits Blocked - +
@@ -156,7 +156,7 @@ Talent Available IQ - +
@@ -384,8 +384,8 @@
- - + +
@@ -397,17 +397,17 @@   - XP Spent + XP Spent   - XP Available + XP Available
- Attribute Total + Attribute Total   - Next Attribute Point Cost XP + Next Attribute Point Cost XP