From 576758f33e679f15ef2b0cbfa7639c1490ce072b Mon Sep 17 00:00:00 2001 From: NMarrero Date: Sat, 27 Feb 2021 17:08:49 +0000 Subject: [PATCH] Serenity: Add skills tooltip with competency levels and roll difficulties --- Serenity/serenity.css | 10 ++- Serenity/serenity.html | 158 +++++++++++++++++++++++++++++++++++------ 2 files changed, 145 insertions(+), 23 deletions(-) diff --git a/Serenity/serenity.css b/Serenity/serenity.css index 4983ae3387..81c73db86f 100644 --- a/Serenity/serenity.css +++ b/Serenity/serenity.css @@ -53,8 +53,12 @@ } .sheet-serenity-charactersheet .sheet-serenity-fieldset:before { - content: attr(title); - position: absolute; + content: attr(data-name); +} + +.sheet-serenity-charactersheet .sheet-serenity-fieldset:before, +.sheet-serenity-charactersheet .sheet-serenity-fieldset-title { + position: absolute !important; top: -15px; left: 10px; padding: 0 5px; @@ -1730,11 +1734,11 @@ } .sheet-serenity-charactersheet .sheet-serenity-tooltip .sheet-serenity-tooltip-text table { + color: white; margin: 5px; } .sheet-serenity-charactersheet .sheet-serenity-tooltip .sheet-serenity-tooltip-text table td { - color: white; padding: 5px; border: 1px solid white; text-align: left; diff --git a/Serenity/serenity.html b/Serenity/serenity.html index e6837ab13b..b22da6c72a 100644 --- a/Serenity/serenity.html +++ b/Serenity/serenity.html @@ -552,7 +552,7 @@
@@ -751,7 +751,7 @@
@@ -939,7 +939,7 @@
-
+
+ + Skills + + Skill Levels +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DieProficiencyComment
d2Incompetent“That ain’t the ‘on’ button, is it?”
d4Novice“Don’t pull the trigger, squeeze it.”
d6Competent“Believe I know this dance. Shall we?”
d8Expert + “I can reprogram this trash bin to go wherever we want.” +
d10Professional + “The dermal mender will keep that ear on fine. Just don’t + fiddle with it!” +
d12Master“A Crazy Ivan? Right now? Okay.”
d12+Supreme + “You’re holding eights, low queen, jack, and ace. Your + eyes gave it away.” +
+ + Roll Difficulties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ActionOrdinary SuccessExtraordinary SuccessComplex Task
Easy31015
Average71435
Hard111855
Formidable152275
Heroic192695
Incredible2330115
Ridiculous2734135
Impossible3138155
+ + @@ -3493,7 +3608,7 @@
@@ -4282,7 +4397,7 @@
@@ -5115,7 +5230,7 @@
@@ -5151,7 +5266,7 @@
Held Equipment & Weapons:
-
+