]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
Merge pull request #116 from tinyhippw/tinyhippo-whitespace
authorChristel Dahlskjaer <redacted>
Thu, 10 Mar 2016 22:55:55 +0000 (22:55 +0000)
committerChristel Dahlskjaer <redacted>
Thu, 10 Mar 2016 22:55:55 +0000 (22:55 +0000)
better use of whitespace

static/css/style.css
templates/artinfo.html
templates/index.html

index 20afa9c589f2245eeb7923749d7edb8898ae01f8..3893d8543d62f2a95b54ffdeb7b98de388739e82 100644 (file)
@@ -104,6 +104,13 @@ img {
     height: 40px;
 }
 
+.tlogo {
+    height: 40px;
+    margin-bottom: -9px;
+    margin-left: -10px;
+    margin-right: -10px;
+}
+
 /* main */
 .container {
     width: 100%;
@@ -163,7 +170,7 @@ hr {
 }
 
 .jindex {
-    z-index: 102;
+    z-index: 99;
 }
 
 .jlogo {
index 4e424beb849bdf974fba9f19a7d155896790238d..e8f10e93906dc3a53a3e21bcbf80851d1edd6fcb 100644 (file)
@@ -8,13 +8,13 @@
 {% macro nav(article) %}
 <div class="art-nav">
     {% if article.older -%}
-    <a href="{{ article.older.url }}">older</a>
+    <a href="{{ article.older.url }}">previous article</a>
     {%- else -%}
     <span></span>
     {%- endif -%}
-    <a href="{{ url_for("archive") }}">all</a>
+    <a href="{{ url_for("archive") }}">view archive</a>
     {%- if article.newer %}
-    <a href="{{ article.newer.url }}">newer</a>
+    <a href="{{ article.newer.url }}">next article</a>
     {%- else %}
     <span></span>
     {%- endif %}
index 74a114df3e64f6af742abc861548491228a81daa..4d78ebdb14974dbaf521cb5ab48f5965d49adc10 100644 (file)
@@ -3,9 +3,7 @@
 {% import "artinfo.html" as artinfo %}
 {% block content %}
 <div class="jumbotron jindex">
-    <a href="{{ url_for("index") }}"><img alt="freenode" class="jlogo" src="{{ url_for("static/img/logos/coloured-alphabg.svg") }} "/></a>
-    <a href="https://www.privateinternetaccess.com/pages/buy-vpn/freend/" target="_blank"><img alt="Private internet access" class="jpia" src="{{ url_for("static/img/logos/PIALogo_white.svg") }}"></a>
-    <h2 class="child">Welcome to freenode&thinsp;—&thinsp;supporting free and open source communities since 1998</h2>
+    <h2 class="child">Welcome to <img alt="freenode" class="tlogo" src="{{ url_for("static/img/logos/coloured-alphabg.svg") }}" />&thinsp;—&thinsp;supporting free and open source communities since 1998</h2>
     <div class="box-container">
         <a class="box" href="{{ url_for("kb/index/chat") }}">
             <i class="fa fa-comments fa-4x"></i>
@@ -27,7 +25,7 @@
     <div class="art-body">{{ article.render() }}</div>
     <div class="art-nav">
         <span></span>
-        <a href="{{ url_for("archive") }}">all</a>
+        <a href="{{ url_for("archive") }}">view archive</a>
         <span></span>
     </div>
     {% endwith %}