From 457b1917e3771f5dd1bf824849d0e448d6f6e75d Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Sun, 21 Sep 2014 01:12:03 +0200 Subject: Petition link and layout diff --git a/index.html b/index.html index b80d438..bbf9e4d 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,11 @@ p { color:white; color:rgba(255,255,255,0.9); - margin:0.418em; + width:20em; + margin-top:0.418em; + margin-bottom:0.418em; + margin-left:auto; + margin-right:auto; max-width:20em; text-shadow: 0 1px 1px blue; } @@ -49,4 +53,18 @@ a:hover { font-size:127.2%; box-shadow: 0 2px 4px blue; margin:0.3em; -}

Please don't kill this baby!

Vaquitas are the smallest marine cetacean.

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 sactuary is Vaquitas' only chance of survival; each year literally tens of them die in fishing nets and cages; according to recent research, this is because of the illegal fishing of Totoaba

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

Petition you can sign: Protected Reserves for Critically Endangered Vaquita Porpoises

Commemorative video of a baby Vaquita

\ No newline at end of file +} +.centering { + text-align:center; +} +.centering:before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; + margin-right: -0.25em; +} +.centered { + display:inline-block; + vertical-align:middle; +}

Please don't kill this baby!

Vaquitas are the smallest marine cetacean.

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 sactuary is Vaquitas' only chance of survival; each year literally tens of them die in fishing nets and cages; according to recent research, this is because of the illegal fishing of Totoaba

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

Petition you can sign: Protected Reserves 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 ca09ff7..9588938 100644 --- a/index.html.coffee +++ b/index.html.coffee @@ -46,7 +46,11 @@ htmlcup.html5Page -> p { color:white; color:rgba(255,255,255,0.9); - margin:0.418em; + width:20em; + margin-top:0.418em; + margin-bottom:0.418em; + margin-left:auto; + margin-right:auto; max-width:20em; text-shadow: 0 1px 1px blue; } @@ -78,7 +82,23 @@ htmlcup.html5Page -> box-shadow: 0 2px 4px blue; margin:0.3em; } + .centering { + text-align:center; + } + .centering:before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; + margin-right: -0.25em; + } + .centered { + display:inline-block; + vertical-align:middle; + } @body -> + @div class:"centering", -> + @div class:"centered", -> @div style:"display:inline-block", -> @link rel:"shortcut icon", href:icon @img class:"banner", src:"vaquita1.jpg" @@ -91,8 +111,6 @@ htmlcup.html5Page -> @p "Vaquitas only live in a small stretch in the Gulf of California and share their habitat with the Totoaba" @p class:"petition", -> @span 'Petition you can sign: ' - @a href: 'http://www.thepetitionsite.com/445/471/778/protected-reserves-for-critically-endangered-vaquita-porpoises/', "Protected Reserves for Critically Endangered Vaquita Porpoises" + @a href: 'http://www.thepetitionsite.com/569/482/287/extend-protections-for-critically-endangered-vaquita-porpoises/', "Protected Reserves for Critically Endangered Vaquita Porpoises" @p -> - @a href: 'http://www.youtube.com/watch?v=27pJ2S5RT8g', -> - # @img src:"vaquita2.jpg" - @span "Commemorative video of a baby Vaquita" + @a href: 'http://www.youtube.com/watch?v=27pJ2S5RT8g', "Commemorative video of a baby Vaquita" -- cgit v0.10.2