From 42b089ef5c5dc00e0806c8b2e93e28ac74be463a Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Tue, 23 Sep 2014 01:30:40 +0200 Subject: Added a simple pixel-art vaquita diff --git a/index.html b/index.html index 82def62..edb0618 100644 --- a/index.html +++ b/index.html @@ -75,4 +75,18 @@ a:hover { .dynamic-section { display: inline-block; vertical-align:middle; -}

Please don't kill this baby!

Vaquitas are the smallest and rarest marine cetacean, they are mammalians like us.

Their population has decreased from an estimated 576 in 1997 to 97 individuals in 2014, which means that could be extinct as early as 2017

A really protected marine sanctuary is Vaquitas' only chance of survival; each year literally tens of them die in fishing nets; according to recent research, this is because of the illegal fishing of Totoaba

Vaquitas only live in a small area of the Gulf of California and share their habitat with the Totoaba

Petition you can sign: Extend Protections for Critically Endangered Vaquita Porpoises

Commemorative video of a baby Vaquita

\ No newline at end of file +} +.flip-lr { + -moz-transform: scaleX(-1); + -o-transform: scaleX(-1); + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + filter: FlipH; + -ms-filter: "FlipH"; +} +.pixelart { + image-rendering: -moz-crisp-edges; + -ms-interpolation-mode: nearest-neighbor; + image-rendering: pixelated; + image-rendering: crisp-edges; +}

Please don't kill this baby!

Vaquitas are the smallest and rarest marine cetacean, they are mammalians like us.

Their population has decreased from an estimated 576 in 1997 to 97 individuals in 2014, which means that could be extinct as early as 2017

A really protected marine sanctuary is Vaquitas' only chance of survival; each year literally tens of them die in fishing nets; according to recent research, this is because of the illegal fishing of Totoaba

Vaquitas only live in a small area of the Gulf of California and share their habitat with the Totoaba

Petition you can sign: Extend Protections for Critically Endangered Vaquita Porpoises

Commemorative video of a baby Vaquita

\ No newline at end of file diff --git a/index.html.coffee b/index.html.coffee index f8024cb..1c49943 100644 --- a/index.html.coffee +++ b/index.html.coffee @@ -20,6 +20,8 @@ fs = require 'fs' icon = "vaquita.ico" icon = "data:image/x-icon;base64," + (new Buffer(fs.readFileSync(icon))).toString("base64") +pixyvaquita = "pixyvaquita.png" +pixyvaquita = "data:image/png;base64," + (new Buffer(fs.readFileSync(pixyvaquita))).toString("base64") htmlcup.html5Page -> @head -> @@ -105,11 +107,27 @@ htmlcup.html5Page -> display: inline-block; vertical-align:middle; } + .flip-lr { + -moz-transform: scaleX(-1); + -o-transform: scaleX(-1); + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + filter: FlipH; + -ms-filter: "FlipH"; + } + .pixelart { + image-rendering: -moz-crisp-edges; + -ms-interpolation-mode: nearest-neighbor; + image-rendering: pixelated; + image-rendering: crisp-edges; + } @body -> @div class:"centering page", -> @section class:"centered", -> @section class:"dynamic-section", -> @img class:"banner", src:"vaquita1.jpg", title:"This vaquita was set free by a mysterious artist who prefers to stay anonymous ☺" + @br() + @img src:pixyvaquita, title:"Please be our friend!", width:"150", height:"90", class:"flip-lr" @section class:"dynamic-section", -> @p "Please don't kill this baby!" @p -> diff --git a/pixyvaquita.png b/pixyvaquita.png new file mode 100644 index 0000000..d103355 Binary files /dev/null and b/pixyvaquita.png differ -- cgit v0.10.2