From 4b4afc7322cef96575649a47e34b1621a5aab1fd Mon Sep 17 00:00:00 2001 From: NumEricR Date: Fri, 23 Aug 2013 18:45:34 +0200 Subject: [PATCH] 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" %}

-- 2.41.0