From 63699e3da2731c89d1a4e0fbd5e4ba05ea21ff13 Mon Sep 17 00:00:00 2001 From: Arthur Edelstein Date: Mon, 7 Dec 2015 17:07:39 -0800 Subject: [PATCH] Bug 17770: Fix alignments on donation banner --- src/chrome/content/aboutTor/aboutTor.xhtml | 2 +- src/chrome/skin/aboutTor.css | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/chrome/content/aboutTor/aboutTor.xhtml b/src/chrome/content/aboutTor/aboutTor.xhtml index 63319977..a95ae6fe 100644 --- a/src/chrome/content/aboutTor/aboutTor.xhtml +++ b/src/chrome/content/aboutTor/aboutTor.xhtml @@ -217,7 +217,7 @@ function setupDonationBanner() { return; } // Now we can show the banner. - document.getElementById("donation-banner").style.display = "inline"; + document.getElementById("donation-banner").style.display = "block"; } ]]> diff --git a/src/chrome/skin/aboutTor.css b/src/chrome/skin/aboutTor.css index 2776a0e4..806fec52 100644 --- a/src/chrome/skin/aboutTor.css +++ b/src/chrome/skin/aboutTor.css @@ -309,12 +309,21 @@ body .top div.hideIfTorIsUpToDate h1.hideIfTorOff { display: none; } +#donation-banner > a { + display: block; +} + #donation-banner-inner { margin: 0px auto; position: relative; text-align: left; width: 700px; z-index: -1; + display: block; +} + +#donation-banner-image { + display: block; } #donation-banner-text { @@ -327,6 +336,7 @@ body .top div.hideIfTorIsUpToDate h1.hideIfTorOff { #donation-banner-quote { color: darkgreen; + font-family: serif; font-size: 18px; text-align: start; white-space: normal; @@ -365,11 +375,11 @@ body .top div.hideIfTorIsUpToDate h1.hideIfTorOff { color: white; font-family: sans-serif; font-size: 20px; - left: 600px; + left: 490px; padding: 10px; position: absolute; text-align: center; - top: 153px; + top: 144px; vertical-align: middle; width: 110px; } -- 2.11.4.GIT