diff --git a/index.html b/index.html index 8edda4d..7e9f896 100644 --- a/index.html +++ b/index.html @@ -100,6 +100,10 @@ $(document).ready(function(){ todayFormatted = today.toString(); $("#byline").html("

blackout poem inspired by " + book.title + " by " + book.author + "

composed on: " + todayFormatted) + "

"; + + $(this).text(function(i, text){ + return text === "Blackout!" ? "Un-Blackout!" : "Blackout!"; + }) }); // compose // reset everything back @@ -157,15 +161,17 @@ $(document).ready(function(){

Click on a word to select it, click on it again to unselect. When you’ve found your poem hit Blackout! Get a screen shot and copy the words below!

- -

Invaders from the Dark

Greye La Spina

+ + + +
diff --git a/style.css b/style.css index eb22ad0..14b6ce0 100644 --- a/style.css +++ b/style.css @@ -13,20 +13,25 @@ Written by Jacob Haddon https://jacobhaddon.com @font-face { font-family: "lora"; src: local("Lora"), - url("fonts/Lora/Lora-VariableFont_wght.ttf"); + url("fonts/Lora/webfonts/Lora-Regular.woff2") format('woff2'), + url("fonts/Lora/variable/Lora-VariableFont_wght.ttf") format('truetype'); + font-style: normal; + font-weight: normal; } @font-face { font-family: "brygada"; src: local("Brygada1918"), - url("fonts/Brygada_1918/Brygada1918-VariableFont_wght.ttf"); + url("fonts/Brygada_1918/Brygada1918-VariableFont_wght.ttf") format('truetype'); } @font-face { font-family: "lora"; src: local("Lora"), - url("fonts/Lora/Lora-VariableFont_wght.ttf"); + url("fonts/Lora/webfonts/Lora-Italic.woff2") format('woff2'), + url("fonts/Lora/variable/Lora-Italic-VariableFont_wght.ttf"); font-weight: normal; +font-style: italic; } body { @@ -96,6 +101,8 @@ a:hover { .click { background-color: Plum; + /*background-color: RebeccaPurple;*/ + /*color: #ffffff;*/ } /* Styles for the buttons */ @@ -113,8 +120,10 @@ a:hover { color: #ffffff; } .btn-mn:hover { - background-color: Plum; - color: #000000; +/* background-color: Plum; + color: #000000;*/ +background-color: black; +color: white; } .btn-hlp-bx { @@ -137,7 +146,9 @@ a:hover { .clickDone { background-color: white; + padding: 2px; + color: black; } .done {