From 07ae20eeedc75b5b121647cc4833a36956fc6356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 3 Oct 2013 14:17:45 +0200 Subject: change reading time displaying --- themes/default/css/messages.css | 2 +- themes/default/css/style-default.css | 6 +----- themes/default/home.twig | 2 +- themes/default/img/default/clock.png | Bin 332 -> 0 bytes 4 files changed, 3 insertions(+), 7 deletions(-) delete mode 100755 themes/default/img/default/clock.png (limited to 'themes/default') diff --git a/themes/default/css/messages.css b/themes/default/css/messages.css index daed6d72..46b54795 100644 --- a/themes/default/css/messages.css +++ b/themes/default/css/messages.css @@ -1,7 +1,7 @@ .messages { display: block; clear: both; - width: 400px auto; + width: 400px; margin: 10px auto 10px; padding: 10px 0; -moz-border-radius: 4px; diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index 3377a75b..9dc7c0b0 100644 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css @@ -52,8 +52,4 @@ a.link span { a.bad-display span { background-image: url('../img/default/bad-display.png'); -} - -a.reading-time span { - background-image: url('../img/default/clock.png'); -} +} \ No newline at end of file diff --git a/themes/default/home.twig b/themes/default/home.twig index 1367ebe8..c1b29ec3 100644 --- a/themes/default/home.twig +++ b/themes/default/home.twig @@ -39,7 +39,7 @@
  • {% trans "toggle favorite" %}
  • {% trans "delete" %}
  • {{ entry.url | e | getDomain }}
  • -
  • {{ entry.content| getReadingTime }} min
  • +
  • {{ entry.content| getReadingTime }} min
  • {{ entry.content|striptags|slice(0, 300) }}...

    diff --git a/themes/default/img/default/clock.png b/themes/default/img/default/clock.png deleted file mode 100755 index 6164e92b..00000000 Binary files a/themes/default/img/default/clock.png and /dev/null differ -- cgit v1.2.3