]> nos-oignons.net Git - website.git/commitdiff
Style des boutons de dons en Bitcoin.
authoropi <opi@no-log.org>
Mon, 15 Jun 2015 18:16:33 +0000 (20:16 +0200)
committeropi <opi@no-log.org>
Mon, 15 Jun 2015 18:16:52 +0000 (20:16 +0200)
Donnez.html
assets/paymium_btc.png [new file with mode: 0644]
local.css

index 1e1c78bc3804f925eccd04d5ad01b115aa7772a2..8f321fabf04e85536e042bb6b906e87b37c9bf92 100644 (file)
@@ -61,7 +61,7 @@ Au dela de 6 mois, nous essayons de mettre en place un nouveau relai. En dessous
   Faire un don en bitcoins équivalent<sup><a href="#fn-last-update">1</a></sup> à :
 </p>
 
-<ul>
+<ul class="paymium-btns">
   <li><a class="paymium-btn" href="https://www.paymium.com/invoice/b07d603b-d0d2-4c81-8494-ff9309a230a8?type=payment_button&amp;requires_customer_email=false&amp;requires_delivery_address=false">[[!inline pagenames="data/5-eur-and-btc" raw="yes"]]</a></li>
   <li><a class="paymium-btn" href="https://www.paymium.com/invoice/6023f54a-b558-4b19-a8af-ed7edecce905?type=payment_button&amp;requires_customer_email=false&amp;requires_delivery_address=false">[[!inline pagenames="data/10-eur-and-btc" raw="yes"]]</a></li>
   <li><a class="paymium-btn" href="https://www.paymium.com/invoice/aab1fbee-deee-4cb3-b91f-fadec707e4f6?type=payment_button&amp;requires_customer_email=false&amp;requires_delivery_address=false">[[!inline pagenames="data/25-eur-and-btc" raw="yes"]]</a></li>
diff --git a/assets/paymium_btc.png b/assets/paymium_btc.png
new file mode 100644 (file)
index 0000000..83a83bc
Binary files /dev/null and b/assets/paymium_btc.png differ
index bf876b1c3044b1d35401869a8085074e20fc78b6..6bb92b33a08f455a8cfc9138edb2622ab7d326d0 100644 (file)
--- a/local.css
+++ b/local.css
@@ -467,6 +467,34 @@ thead td {
   }
 
 
+/* Paymium Bitcoin */
+.paymium-btns {padding-left: 0;}
+.paymium-btns li {
+  list-style: none;
+  display: inline-block;
+  margin: 0 0.5em 0.5em 0;
+}
+
+.paymium-btn {
+  display: inline-block;
+  /*min-width: 140px;*/
+  padding: 4px 44px 4px 10px;
+  padding-right: 44px;
+  background: #4d7b99 url(assets/paymium_btc.png) right center no-repeat;
+  border-radius: 4px;
+  text-align: center;
+  color: #fff;
+  text-decoration: none;
+  font-weight: bold;
+}
+.paymium-btn:hover{
+  background-color:#5081a0;
+  text-decoration: none;
+}
+/* override over weighted selector*/
+#content .paymium-btn {color: #fff;text-decoration: none;}
+#content .paymium-btn:hover {color: #fff;text-decoration: none;}
+
 
 /* {{{ .inlinepage */