From 3cd53e23ae548af0949c004d6ee386cdeba5e8e1 2021-10-13 13:21:44 From: Ben Sturmfels Date: 2021-10-13 13:21:44 Subject: [PATCH] Tune up frontpage news/blog items and term of week, add call out section. --- diff --git a/www/conservancy/static/css/conservancy.css b/www/conservancy/static/css/conservancy.css index 400bc532edd1c0dbbfda450b6583b9dfb88a9541..6483eda6d7fb670f2f936ef2722500730c1ceef6 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 701135b7dfab6b3b4758bfd7abebdc277ad8f08f..0bd99b8b6f1e3fa75c600b899bb81d1699de807a 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 a75925387b0d32fa6e8a4ed5b64fc85ba0ecf01a..656532c3b0d699c65da6ea741730be5c16273357 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