summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-05 19:32:35 -0700
committerAndrew Godwin2022-12-05 19:32:35 -0700
commitf54d1885b52d32541fd0c407818bf5aabe9ded7d (patch)
treec34354b21f67f8fb4f5fb393f1f9ccd06ef8a665
parenta31f676b46a4d904954b8b7227dcde779aedca54 (diff)
downloadtakahe-f54d1885b52d32541fd0c407818bf5aabe9ded7d.tar.gz
takahe-f54d1885b52d32541fd0c407818bf5aabe9ded7d.tar.bz2
takahe-f54d1885b52d32541fd0c407818bf5aabe9ded7d.zip
Style footer links in medium width
-rw-r--r--static/css/style.css17
-rw-r--r--templates/base.html8
2 files changed, 20 insertions, 5 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 34b00a2..7b62b5b 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -1048,7 +1048,18 @@ table.metadata td.name {
}
footer {
- display: none;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ width: 250px;
+ margin: 0;
+ padding: 5px;
+ text-align: right;
+ }
+
+ footer a {
+ display: block;
+ border: 0;
}
header .logo {
@@ -1094,6 +1105,10 @@ table.metadata td.name {
.right-column .compose {
display: none;
}
+
+ footer {
+ display: none;
+ }
}
/* Copy to clipboard action */
diff --git a/templates/base.html b/templates/base.html
index b30e38f..ac79b24 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -76,10 +76,10 @@
<footer>
{% if config.site_about %}<a href="{% url "about" %}">About</a>{% endif %}
- {% if config.policy_rules %}<a href="{% url "rules" %}">Server Rules</a>{% endif %}
- {% if config.policy_terms %}<a href="{% url "terms" %}">Terms of Service</a>{% endif %}
- {% if config.policy_privacy %}<a href="{% url "privacy" %}">Privacy Policy</a>{% endif %}
- <a href="https://jointakahe.org">Takahē {{ config.version }}</a>
+ {% if config.policy_rules %}<a href="{% url "rules" %}">Server&nbsp;Rules</a>{% endif %}
+ {% if config.policy_terms %}<a href="{% url "terms" %}">Terms&nbsp;of&nbsp;Service</a>{% endif %}
+ {% if config.policy_privacy %}<a href="{% url "privacy" %}">Privacy&nbsp;Policy</a>{% endif %}
+ <a href="https://jointakahe.org">Takahē&nbsp;{{ config.version }}</a>
</footer>
</body>