From 29773c9729038510728738908b58fd8a86ef943b Mon Sep 17 00:00:00 2001 From: NumEricR Date: Fri, 23 Aug 2013 18:10:42 +0200 Subject: Fix HTML code of tools lists --- tpl/home.twig | 10 ++++------ tpl/view.twig | 32 +++++++++++++------------------- 2 files changed, 17 insertions(+), 25 deletions(-) diff --git a/tpl/home.twig b/tpl/home.twig index 03f9f70d..8ef6adc0 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -15,12 +15,10 @@

{{ entry.title|e }}

{{ entry.content|striptags|slice(0, 300) }}...

{{ entry.url | e | getDomain }}

diff --git a/tpl/view.twig b/tpl/view.twig index ba0aae30..ead8d0cd 100644 --- a/tpl/view.twig +++ b/tpl/view.twig @@ -4,15 +4,12 @@
    -
  • -
  • - -
  • -
  • - {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} - {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} - {% if constant('SHARE_SHAARLI') == 1 %}
  • {% endif %} - +
  • +
  • +
  • +
  • + {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} + {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %}
@@ -25,16 +22,13 @@
    -
  • -
  • -
  • - -
  • -
  • - {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} - {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} - {% if constant('SHARE_SHAARLI') == 1 %}
  • {% endif %} - +
  • +
  • +
  • +
  • +
  • + {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} + {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %}

{% trans "this article appears wrong?" %} {% trans "create an issue" %} {% trans "or" %} {% trans "contact us by mail" %}

-- cgit v1.2.3 From 4b4afc7322cef96575649a47e34b1621a5aab1fd Mon Sep 17 00:00:00 2001 From: NumEricR Date: Fri, 23 Aug 2013 18:45:34 +0200 Subject: Add textual content on tools links --- tpl/css/style.css | 4 ++++ tpl/home.twig | 6 +++--- tpl/view.twig | 26 +++++++++++++------------- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/tpl/css/style.css b/tpl/css/style.css index 9b249989..85df6e95 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css @@ -137,6 +137,10 @@ a, a:hover, a:visited { display: inline-block; width: 16px; height: 16px; + /* Hide textual content */ + text-indent: -9999px; + text-align: left; + overflow: hidden; } diff --git a/tpl/home.twig b/tpl/home.twig index 8ef6adc0..6f6c17e1 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -15,9 +15,9 @@

{{ entry.title|e }}

{{ entry.content|striptags|slice(0, 300) }}...

diff --git a/tpl/view.twig b/tpl/view.twig index ead8d0cd..78207e15 100644 --- a/tpl/view.twig +++ b/tpl/view.twig @@ -4,12 +4,12 @@
@@ -22,13 +22,13 @@

{% trans "this article appears wrong?" %} {% trans "create an issue" %} {% trans "or" %} {% trans "contact us by mail" %}

-- cgit v1.2.3