Browse Source

Update support button

Bastien 8 months ago
parent
commit
aecdc5ab30
2 changed files with 7 additions and 13 deletions
  1. 6 2
      org.css
  2. 1 11
      preamble.html

+ 6 - 2
org.css

@@ -6,8 +6,8 @@ html {
 }
 
 #top {
-    margin-top:0pt;
-    padding-right: 2.5em;
+    margin-top: 0pt;
+    padding-right: 10em;
     font-size: 1.4em;
 }
 
@@ -33,10 +33,14 @@ html {
 
 #buttons {
     display:block;
+    font-size: 1.2em;
     position:absolute;
     top:20pt;
     right:10pt;
     text-align: right;
+    padding: .2em 1em;
+    background: #EEE;
+    border-radius: 10px;
 }
 
 a {

+ 1 - 11
preamble.html

@@ -28,15 +28,5 @@ fathom('trackPageview');
 </script>
 
 <div id="buttons">
-  <form id="paypal" name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
-    <input type="hidden" name="cmd" value="_xclick" />
-    <input type="hidden" name="business" value="bzg@bzg.fr" />
-    <input type="hidden" name="item_name" value="Org mode (Emacs)" />
-    <input type="hidden" name="item_number" value="1" />
-    <input type="hidden" name="lc" value="GB" />
-    <input type="hidden" name="currency_code" value="USD" />
-    <input type="hidden" name="tax" value="0" />
-    <input type="hidden" name="return" value="https://orgmode.org" />
-    <button name="submit" alt="Support Org-mode" />Support Org</button>
-  </form>
+  <p>Support via <br/><a href="https://liberapay.com/bzg" title="Donations always help.">Liberapay</a>, <a href="https://github.com/sponsors/bzg" title="Donations always help.">GitHub</a> or <a href="https://www.paypal.me/bzg" title="Donations always help.">PayPal</a></p>
 </div>