From cea24db7885d157d54e08d47ad62c1a35a4e935b Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 14 Oct 2021 00:21:44 +1100 Subject: [PATCH] Tune up frontpage news/blog items and term of week, add call out section. --- www/conservancy/static/css/conservancy.css | 3 +-- www/conservancy/templates/base_conservancy.html | 12 ++++++++---- www/conservancy/templates/frontpage.html | 15 ++++++++++++++- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/www/conservancy/static/css/conservancy.css b/www/conservancy/static/css/conservancy.css index 400bc532..6483eda6 100644 --- a/www/conservancy/static/css/conservancy.css +++ b/www/conservancy/static/css/conservancy.css @@ -327,10 +327,9 @@ h3 { margin-top: .6em; margin-bottom: .4em; } .column h2 a:hover { text-decoration: underline; } #conservancyfooter { - margin-top: 1em; border-top: 1px solid #ccc; text-align: center; - clear: both; + overflow: auto; } .continued { diff --git a/www/conservancy/templates/base_conservancy.html b/www/conservancy/templates/base_conservancy.html index 701135b7..0bd99b8b 100644 --- a/www/conservancy/templates/base_conservancy.html +++ b/www/conservancy/templates/base_conservancy.html @@ -34,9 +34,13 @@ Software Freedom Conservancy -
- Learn - Donate +
+
+ Learn +
+
+ Donate +
@@ -128,7 +132,7 @@ {% endif %} {% block outercontent %}
{% block content %}{% endblock %}
{% endblock %} -
+

Connect with Conservancy on Mastodon, Twitter, diff --git a/www/conservancy/templates/frontpage.html b/www/conservancy/templates/frontpage.html index a7592538..656532c3 100644 --- a/www/conservancy/templates/frontpage.html +++ b/www/conservancy/templates/frontpage.html @@ -11,6 +11,15 @@ /* Hide the


elements in the list of news and blog items. */ display: none; } + + .date { + font-size: 1em; + margin-top: 0; + } + + .press-release h3, .blog-entry h3 { + margin-bottom: 0; + } {% endblock %} @@ -37,6 +46,10 @@
+
+

Additional links / call-outs here, if needed

+
+

News

{% for pressr in press_releases|slice:":5" %} @@ -65,7 +78,7 @@

Term of the week

- +

Ability to inspect the exact software running on a device. This includes version information, modifications and licensing information.

Visit our glossary of terms