diff --git a/README.md b/README.md index 86e70b8..317ccbd 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,4 @@ This project is under the [MIT](https://github.com/xemeds/tiny0/blob/master/LICE # Donate **Bitcoin Address:** 1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR +**Patreon:** [patreon.com/xemeds](https://www.patreon.com/xemeds) diff --git a/tiny0/forms.py b/tiny0/forms.py index ef24ee6..bd848cb 100644 --- a/tiny0/forms.py +++ b/tiny0/forms.py @@ -39,7 +39,6 @@ def validate_URL(form, field): # Add http:// to the beginning of the URL field.data = "http://" + field.data - class URLForm(FlaskForm): url = StringField(validators=[DataRequired(), Length(min=4, max=2000, message="Invalid URL Length"), diff --git a/tiny0/static/qr.png b/tiny0/static/qr.png deleted file mode 100644 index 29fc7da..0000000 Binary files a/tiny0/static/qr.png and /dev/null differ diff --git a/tiny0/static/style.css b/tiny0/static/style.css index a4c616e..e6a86d4 100644 --- a/tiny0/static/style.css +++ b/tiny0/static/style.css @@ -119,16 +119,22 @@ body { margin-bottom: 2vh; } -.donation h4 { +.donation h3 { margin-bottom: 4vh; } -.donation img { - width: 30vh; - padding: 1vh; - background-color: #ffffff; +.donation a:link { + color: #bb86fc; + text-decoration: none; } +.donation a:visited { + color: #bb86fc; +} + +.donation a:hover { + color: #7b59a5; +} .page-container { position: relative; @@ -157,16 +163,16 @@ footer { display: inline; } -.footer-list li a:link { +.footer-list a:link { color: #bb86fc; text-decoration: none; } -.footer-list li a:visited { +.footer-list a:visited { color: #bb86fc; } -.footer-list li a:hover { +.footer-list a:hover { color: #7b59a5; } diff --git a/tiny0/templates/donate.html b/tiny0/templates/donate.html index 2e4f698..27b04d6 100644 --- a/tiny0/templates/donate.html +++ b/tiny0/templates/donate.html @@ -9,8 +9,9 @@ {% endblock %}