From 008d72c0f71b6cf7f700cc83c446bf93c1e59d63 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Tue, 27 Sep 2022 15:10:30 +0200 Subject: [PATCH] styled read-more arrows --- caixes.php | 8 ++++---- css/styleHangar.css | 21 +++++++++++++-------- style.css | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/caixes.php b/caixes.php index b7c3e71..0dde936 100644 --- a/caixes.php +++ b/caixes.php @@ -15,7 +15,7 @@
- enllaç + enllaç
@@ -60,7 +60,7 @@
- enllaç + enllaç @@ -121,7 +121,7 @@
- enllaç + enllaç enllaç a la categoria @@ -215,7 +215,7 @@
- enllaç + enllaç enllaç a la categoria diff --git a/css/styleHangar.css b/css/styleHangar.css index 7d6d618..bb57a2d 100644 --- a/css/styleHangar.css +++ b/css/styleHangar.css @@ -122,9 +122,7 @@ width: 100%; } .hangar-extra-content .pfc-posts-main .pfc-post .news-text-wrap p, -.hangar-extra-content .pfc-posts-main .news-text-wrap .read-more, -.hangar-extra-content .pft-posts-main .pft-post .news-text-wrap p, -.hangar-extra-content .pft-posts-main .news-text-wrap .read-more { +.hangar-extra-content .pft-posts-main .pft-post .news-text-wrap p{ margin-bottom: 0px; margin-top: 5px; font-size: 11.5px; @@ -134,13 +132,21 @@ display: none; } .hangar-extra-content .pfc-posts-main .news-text-wrap .read-more, -.hangar-extra-content .pft-posts-main .news-text-wrap .read-more{ +.hangar-extra-content .pft-posts-main .news-text-wrap .read-more { display: inline-block; width: 100%; - font-size: 0 /*0.7rem*/; + margin-bottom: 0px; + margin-top: 5px; + font-size: 0; line-height: 1rem; padding-bottom: 0; - min-height: 1.5rem; + min-height: 1rem; + bottom: 0; +} +.read-more:hover, +.hangar-extra-content .pfc-posts-main .news-text-wrap .read-more:hover, +.hangar-extra-content .pft-posts-main .news-text-wrap .read-more:hover { + text-decoration: none; } .hangar-extra-content .pfc-posts-main .pfc-post:last-child , .hangar-extra-content .pft-posts-main .pft-post:last-child { @@ -162,10 +168,9 @@ .hangar-extra-content .pfc-posts-main .layout-one .news-text-wrap, .hangar-extra-content .pft-posts-main .layout-one .news-text-wrap { float: none; - /* padding-top: 0px; */ - /* padding-bottom: 0px; */ padding-left: 0; min-height: 80px; + height: calc(100% - 1rem); } .hangar-extra-content .pfc-posts-main .news-text-wrap h2 a, .hangar-extra-content .pft-posts-main .news-text-wrap h2 a { diff --git a/style.css b/style.css index 56b56d3..cfdcf41 100644 --- a/style.css +++ b/style.css @@ -641,7 +641,7 @@ ul.sidebar li.widget_sociallinks a.delicious { border-left:1px solid #333333; border-right:1px solid #333333; } -#content img { +#content [not:.read-more] img { background-color: #efefef; /*remove*/ max-width: 100%;