From 4e9ce53dcdcc13c6edf5bc6f9afc998ea4daa71f Mon Sep 17 00:00:00 2001 From: lithl Date: Tue, 17 Mar 2015 20:55:49 -0500 Subject: [PATCH] Add roll templates --- DFRPG/DFRPG.css | 65 +++++++++++++++++++++++++++++++++++++-------- DFRPG/DFRPG.html | 68 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 112 insertions(+), 21 deletions(-) diff --git a/DFRPG/DFRPG.css b/DFRPG/DFRPG.css index 76e6d3f6cb..e4e206fd97 100644 --- a/DFRPG/DFRPG.css +++ b/DFRPG/DFRPG.css @@ -1,3 +1,46 @@ +.sheet-rolltemplate-superb > div, +.sheet-rolltemplate-great > div, +.sheet-rolltemplate-good > div, +.sheet-rolltemplate-fair > div, +.sheet-rolltemplate-average > div, +.sheet-rolltemplate-mediocre > div, +.sheet-rolltemplate-poor > div, +.sheet-rolltemplate-terrible > div { + background-image: url(http://i.imgur.com/TFX64KA.png); + background-repeat: no-repeat; + background-size: contain; + background-position: center; + min-height: 193px; +} + +.sheet-rolltemplate-superb h3, +.sheet-rolltemplate-great h3, +.sheet-rolltemplate-good h3, +.sheet-rolltemplate-fair h3, +.sheet-rolltemplate-average h3, +.sheet-rolltemplate-mediocre h3, +.sheet-rolltemplate-poor h3, +.sheet-rolltemplate-terrible h3 { + text-align: center; + font-size: 200%; + padding-top: 35px; + font-family: "Lucida Handwriting" cursive; + color: #05356b; +} + +.sheet-rolltemplate-superb div.sheet-roll, +.sheet-rolltemplate-great div.sheet-roll, +.sheet-rolltemplate-good div.sheet-roll, +.sheet-rolltemplate-fair div.sheet-roll, +.sheet-rolltemplate-average div.sheet-roll, +.sheet-rolltemplate-mediocre div.sheet-roll, +.sheet-rolltemplate-poor div.sheet-roll, +.sheet-rolltemplate-terrible div.sheet-roll { + margin: 25px 0 25px 0; + text-align: center; + font-size: 150%; +} + .repcontainer[data-groupname=repeating_superb] .repitem, .repcontainer[data-groupname=repeating_great] .repitem, .repcontainer[data-groupname=repeating_good] .repitem, @@ -66,7 +109,7 @@ } input, select, textarea { - font-family: lucida-handwriting, cursive; + font-family: "Lucida Handwriting", cursive; color: #05356b } @@ -79,7 +122,7 @@ input, select, textarea { .sheet-ladder ul { list-style-type: none; margin: 0; - font-family: trajan, serif; + font-family: "Trajan Pro", serif; font-variant: small-caps; } @@ -132,7 +175,7 @@ input, select, textarea { .sheet-fair-skills .sheet-slots, .sheet-average-skills .sheet-slots, .sheet-mediocre-skills .sheet-slots { - font-family: trajan serif; + font-family: "Trajan Pro" serif; font-variant: small-caps; margin: 5px; margin-top: 5px; @@ -145,16 +188,16 @@ input, select, textarea { letter-spacing: 4.6px; position: relative; width: 76px; - padding: 2px 0 0 2px; + padding: 0 0 2px 2px; } .sheet-slots button[type=roll]::before { content: '0000'; - font-family: dicefontd6; + font-family: 'dicefontd6'; letter-spacing: 0; position: absolute; - left: 3px; - top: 1px; + left: 4px; + top: 0; } .sheet-superb-skills .sheet-repeating, @@ -352,7 +395,7 @@ input.sheet-tab[value=city-locs]:checked ~ div.sheet-tab-city-locs, input.sheet-tab[value=city-face]:checked ~ div.sheet-tab-city-face { display: block; } h1,h2,h3,h4,p.sheet-consequence { - font-family: trajan, serif; + font-family: "Trajan Pro" serif; font-variant: small-caps; font-weight: normal; text-align: center; @@ -579,7 +622,7 @@ table.sheet-consequences input[type=number] { .sheet-input-left, .sheet-input-right { - font-family: trajan, serif; + font-family: "Trajan Pro" serif; font-variant: small-caps; position: absolute; left: 5px; @@ -750,13 +793,13 @@ input.sheet-invisible:focus { } @font-face { - font-family: lucida-handwriting; + font-family: "Lucida Handwriting"; src: local('Lucida Handwriting'), url(http://static.cmdr-class.com/lucida-handwriting.ttf) format('truetype'); } @font-face { - font-family: trajan; + font-family: "Trajan Pro"; src: local('Trajan Pro'), url(http://static.cmdr-class.com/trajan-pro.otf) format('truetype'); } \ No newline at end of file diff --git a/DFRPG/DFRPG.html b/DFRPG/DFRPG.html index 23f72104ab..fb21cccf00 100644 --- a/DFRPG/DFRPG.html +++ b/DFRPG/DFRPG.html @@ -1,4 +1,52 @@ - + +
+

Superb!

+
{{roll}}
+
+
+ +
+

Great!

+
{{roll}}
+
+
+ +
+

Good

+
{{roll}}
+
+
+ +
+

Fair

+
{{roll}}
+
+
+ +
+

Average...

+
{{roll}}
+
+
+ +
+

Mediocre...

+
{{roll}}
+
+
+ +
+

Poor

+
{{roll}}
+
+
+ +
+

Terrible‽

+
{{roll}}
+
+
+ @@ -606,7 +654,7 @@
# of Slots: - +
@@ -619,7 +667,7 @@
# of Slots: - +
@@ -632,7 +680,7 @@
# of Slots: - +
@@ -645,7 +693,7 @@
# of Slots: - +
@@ -658,15 +706,15 @@
# of Slots: - +

Mediocre (+0)

- - - + + +
@@ -858,4 +906,4 @@ - + \ No newline at end of file