From: NumEricR Date: Fri, 23 Aug 2013 16:45:34 +0000 (+0200) Subject: Add textual content on tools links X-Git-Tag: 1.0-beta4~26^2^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=4b4afc7322cef96575649a47e34b1621a5aab1fd;p=github%2Fwallabag%2Fwallabag.git Add textual content on tools links --- 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" %}