Commit b80b1132 authored by sajolida's avatar sajolida
Browse files

Stop using ambiguous #donate-button

- Change it to a class to be more semantically correct when used as a
  style on blog posts.
- Use a more specific name when used as a button to PayPal on /donate.
- Improve the note about .donate-button in local.css.
parent f5c39860
......@@ -51,7 +51,7 @@ span.title {
border: solid 3px white;
}
#donate-button .col-md-12 {
#donate-paypal-button .col-md-12 {
margin-top: 1em;
border: solid 3px white;
}
......
......@@ -163,7 +163,7 @@
</label>
</div>
<div id="donate-button">
<div id="donate-paypal-button">
<button class="btn btn-primary btn-lg btn-block col-md-12">Donate</button>
</div>
......
......@@ -114,7 +114,7 @@ h3 {
}
/* avoid super-long lines */
#content #donate-button,
.donate-button,
p, ul, ol, h1, h2, h3, h4, h5, h6 {
max-width: 45em;
}
......@@ -1308,9 +1308,9 @@ div#highlight p {
margin: 0.5em 0;
}
/* Donation button */
/* Donate buttons outside of sidebar */
#donate-button a {
.donate-button a {
border-bottom: none;
width: 100%;
display: block;
......
......@@ -191,5 +191,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Spenden</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Spenden</a></div>\n"
......@@ -147,5 +147,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr ""
......@@ -147,5 +147,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr ""
......@@ -195,5 +195,5 @@ msgstr "Merci de prendre une minute pour faire un don à Tails aujourd'hui."
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Faire un don</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Faire un don</a></div>\n"
......@@ -149,5 +149,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr ""
......@@ -64,4 +64,4 @@ and a larger number of donors.</b>
Please consider taking a minute to donate to Tails today.
<div id="donate-button"><a href="https://tails.boum.org/donate/?r=2018">Donate</a></div>
<div class="donate-button"><a href="https://tails.boum.org/donate/?r=2018">Donate</a></div>
......@@ -147,5 +147,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018\">Donate</a></div>\n"
msgstr ""
......@@ -82,5 +82,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgstr ""
......@@ -100,7 +100,7 @@ msgstr "[[!img t-shirt.jpg link=\"no\"]]\n"
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgstr ""
"<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\""
"<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\""
">Donar</a></div>\n"
......@@ -82,5 +82,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgstr ""
......@@ -99,5 +99,5 @@ msgstr "[[!img t-shirt.jpg link=\"no\"]]\n"
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgstr "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/index.fr.html?r=thanks\">Faire un don</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgstr "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/index.fr.html?r=thanks\">Faire un don</a></div>\n"
......@@ -83,5 +83,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgstr ""
......@@ -28,4 +28,4 @@ will get a Tails t-shirt!
[[!img t-shirt.jpg link="no"]]
<div id="donate-button"><a href="https://tails.boum.org/donate/?r=thanks">Donate</a></div>
<div class="donate-button"><a href="https://tails.boum.org/donate/?r=thanks">Donate</a></div>
......@@ -83,5 +83,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=thanks\">Donate</a></div>\n"
msgstr ""
......@@ -191,5 +191,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018-achievements\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018-achievements\">Donate</a></div>\n"
msgstr ""
......@@ -191,5 +191,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018-achievements\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018-achievements\">Donate</a></div>\n"
msgstr ""
......@@ -191,5 +191,5 @@ msgstr ""
#. type: Plain text
#, no-wrap
msgid "<div id=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018-achievements\">Donate</a></div>\n"
msgid "<div class=\"donate-button\"><a href=\"https://tails.boum.org/donate/?r=2018-achievements\">Donate</a></div>\n"
msgstr ""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment