From 3b2b91e1f2bd7ad653a6e8dd079bce34910d9361 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 3 Sep 2016 21:46:43 +0200 Subject: Download icon 💾 for podcasts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/FreshRSS/FreshRSS/issues/1236 --- p/themes/base-theme/template.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'p/themes/base-theme/template.css') diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 8a12423be..0902dac0c 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -807,6 +807,10 @@ input:checked + .slide-container .properties { display: none; } +.download-enclosure { + font-size: xx-large; + margin-left: .8em; +} /*=== MOBILE */ /*===========*/ -- cgit v1.2.3 From abdf85094d053d2c2e8617342a45ae242f2a2d35 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 4 Sep 2016 17:05:10 +0200 Subject: Change style for podcast download https://github.com/FreshRSS/FreshRSS/issues/1236 --- app/Models/Feed.php | 6 +++--- p/themes/base-theme/template.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'p/themes/base-theme/template.css') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index f13c42b0b..4403a23c4 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -309,11 +309,11 @@ class FreshRSS_Feed extends Minz_Model { $elinks[$elink] = '1'; $mime = strtolower($enclosure->get_type()); if (strpos($mime, 'image/') === 0) { - $content .= '

'; + $content .= '

'; } elseif (strpos($mime, 'audio/') === 0) { - $content .= '

💾

'; + $content .= '

💾

'; } elseif (strpos($mime, 'video/') === 0) { - $content .= '

💾

'; + $content .= '

💾

'; } else { unset($elinks[$elink]); } diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 0902dac0c..5b3389129 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -807,7 +807,7 @@ input:checked + .slide-container .properties { display: none; } -.download-enclosure { +.enclosure > [download] { font-size: xx-large; margin-left: .8em; } -- cgit v1.2.3 From 8058c059d7581a908169d325f38aa5226f472f18 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 22 Oct 2016 18:57:58 +0200 Subject: CSS line-height bug with sup in dates https://github.com/FreshRSS/FreshRSS/issues/534#issuecomment-255519269 https://www.cs.tut.fi/~jkorpela/www/linespacing.html --- p/themes/base-theme/template.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'p/themes/base-theme/template.css') diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 5b3389129..cc36c3ffa 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -44,6 +44,12 @@ p { margin: 1em 0 0.5em; font-size: 1em; } +sup { + line-height: 25px; + position: relative; + top: -0.8em; + vertical-align: baseline; +} /*=== Images */ img { -- cgit v1.2.3