[Debbits-commit] [SCM] Git repository for debbits branch, master, updated. b814fb43c827d631fbd10363da69cb22f162fe93

Ana Beatriz Guerrero ?==?UTF-8?Q?López ana at ekaia.org
Thu May 23 15:56:37 UTC 2013


The following commit has been merged in the master branch:
commit b814fb43c827d631fbd10363da69cb22f162fe93
Author: Ana Beatriz Guerrero López <ana at ekaia.org>
Date:   Thu May 23 17:56:17 2013 +0200

    make the website more readable for browsers without CSS.
    Thanks to azhag for the patch.

diff --git a/theme-bits/static/style.css b/theme-bits/static/style.css
index ecc3060..b7cbb37 100644
--- a/theme-bits/static/style.css
+++ b/theme-bits/static/style.css
@@ -77,3 +77,7 @@ a:hover {
 	padding-left: 1em;
 	padding-top: 0em;
 }
+
+.nocss {
+    display: none;
+}
diff --git a/theme-bits/templates/base.html b/theme-bits/templates/base.html
index 411ce18..e71cddd 100644
--- a/theme-bits/templates/base.html
+++ b/theme-bits/templates/base.html
@@ -20,7 +20,8 @@
         <p>Bits from Debian</p>
     </div>
 
-     <div id="content">
+    <hr class="nocss" />
+    <div id="content">
         {% block content %}{% endblock %}
     </div>
 
@@ -28,6 +29,7 @@
 
 
 
+            <hr class="nocss" /> 
             <div class="lateral" style="padding: 8px 0;">
                 <ul class="nav-list">
 
@@ -52,6 +54,7 @@
 
 
             {% if tags %}
+            <hr class="nocss" /> 
             <div class="lateral" style="padding: 8px 0;">
             <h1>Tags</h1>
                 <ul class="nav-list">
@@ -64,6 +67,7 @@
 
 
             {% if LINKS %}
+            <hr class="nocss" /> 
             <div class="lateral" style="padding: 8px 0;">
             <h1>Links</h1>
                 <ul class="nav-list">
@@ -76,6 +80,7 @@
 
 
             {% if SOCIAL %}
+            <hr class="nocss" /> 
             <div class="lateral" style="padding: 8px 0;">
             <h1>More on Debian</h1>
                 <ul class="nav-list">
@@ -88,6 +93,7 @@
 
     </div>
 
+    <hr class="nocss" /> 
     <div id="footer">
         <p><a href="{{ SITEURL }}">{{ SITENAME }}</a> is the official blog of <a href="http://www.debian.org">the Debian Project</a></p>
     </div>

-- 
Git repository for debbits



More information about the Debbits-commit mailing list