[static-web] Slightly better styling for the ruler



commit 04164dfc0b5ce245c922d9fd1be3dc3ea25138be
Author: Neil McGovern <neil gnome org>
Date:   Tue Nov 27 18:59:00 2018 +0000

    Slightly better styling for the ruler

 friends/ruler/ruler-fog.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/friends/ruler/ruler-fog.js b/friends/ruler/ruler-fog.js
index 55589de..068717d 100644
--- a/friends/ruler/ruler-fog.js
+++ b/friends/ruler/ruler-fog.js
@@ -1,11 +1,11 @@
 document.write( '<style type="text/css">' + 
-               '#donation-banner { background: #59b006; color: #fff; padding: 0 10px; font-size: 12px; }' +
+               '#donation-banner { background: #4cae4c; color: #fff; padding: 0 10px; font-size: 12px; }' +
                '#donation-banner a { color: #fff; }' +
                '#donation-banner p { display: inline-block; }' +
-               '#donation-banner img { margin-right: 5px; width: 24px; height: 24px; }' +
+               '#donation-banner img { margin-right: 5px; width: 24px; height: 24px; vertical-align: middle; 
}' +
                '#donation-banner .donation-ruler { background: white; width: 210px; display: inline-block; 
padding: 2px; margin: 0 10px; }' +
-               '#donation-banner .ninesix { margin: auto; width: 100%; }' +
-               '#donation-banner .donation-button { border: 1px solid #555753; background-image: 
linear-gradient(to bottom, #73d216 0%, #4e9a06 100%); padding: 5px 10px; border-radius: 5px; text-decoration: 
none; color: #fff !important; font-weight: bold; }' +
+               '#donation-banner .ninesix { margin: auto; width: 100%; text-align: center;}' +
+               '#donation-banner .donation-button { border: 1px solid #555753; background-image: 
linear-gradient(to bottom, #73d216 0%, #4cae4c 100%); padding: 5px 10px; border-radius: 5px; text-decoration: 
none; color: #fff !important; font-weight: bold; }' +
                '</style>' )
 
 document.write( '<div id="donation-banner">' +


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]