From b13c0f84c0e852038c665bbd97e5a4f7a16c26d3 Mon Sep 17 00:00:00 2001 From: Ajay D'Souza Date: Tue, 23 Jul 2024 15:22:24 +0100 Subject: [PATCH] Improved post title opacity Fixes #204 --- css/rounded-thumbs.css | 12 ++---------- css/rounded-thumbs.min.css | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/css/rounded-thumbs.css b/css/rounded-thumbs.css index 9c6bb4b..1cdb465 100644 --- a/css/rounded-thumbs.css +++ b/css/rounded-thumbs.css @@ -38,8 +38,6 @@ } .crp_related.crp-rounded-thumbs a { - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; box-shadow: none !important; text-decoration: none !important; } @@ -56,24 +54,18 @@ padding: 3px; font-size: .9em; text-shadow: .1em .1em .2em #000; - background-color: rgba(0, 0, 0, 0.5); - -webkit-border-radius: 7px; - -moz-border-radius: 7px; + background-color: rgba(0, 0, 0, 0.8); border-radius: 7px; width: 100%; } .crp_related.crp-rounded-thumbs li:hover .crp_title { - background-color: rgba(0, 0, 0, 0.8); + background-color: rgba(0, 0, 0, 0.9); } .crp_related.crp-rounded-thumbs li { vertical-align: bottom; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .4); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .4); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); - -webkit-border-radius: 7px; - -moz-border-radius: 7px; border-radius: 7px; list-style-type: none; } diff --git a/css/rounded-thumbs.min.css b/css/rounded-thumbs.min.css index 837a565..089f5fc 100644 --- a/css/rounded-thumbs.min.css +++ b/css/rounded-thumbs.min.css @@ -1 +1 @@ -.crp_related.crp-rounded-thumbs{clear:both;margin:10px 0;}.crp_related.crp-rounded-thumbs h3,.crp_related.crp-rounded-thumbs figure{margin:0!important;}.crp_related.crp-rounded-thumbs ul{list-style:none;float:left;margin:0!important;padding:0!important;}.crp_related.crp-rounded-thumbs li,.crp_related.crp-rounded-thumbs a{float:left;overflow:hidden;position:relative;text-align:center;}.crp_related.crp-rounded-thumbs li{margin:5px!important;border:1px solid #ddd;padding:6px;}.crp_related.crp-rounded-thumbs li:hover{background:#eee;border-color:#bbb;}.crp_related.crp-rounded-thumbs a:focus-visible{border:1px solid #000;border-radius:7px;}.crp_related.crp-rounded-thumbs a{-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important;text-decoration:none!important;}.crp_related.crp-rounded-thumbs a:hover{text-decoration:none;}.crp_related.crp-rounded-thumbs .crp_title{color:#fff!important;position:absolute;display:block;bottom:0;padding:3px;font-size:.9em;text-shadow:.1em .1em .2em #000;background-color:rgba(0,0,0,.5);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;width:100%;}.crp_related.crp-rounded-thumbs li:hover .crp_title{background-color:rgba(0,0,0,.8);}.crp_related.crp-rounded-thumbs li{vertical-align:bottom;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.4);-moz-box-shadow:0 1px 2px rgba(0,0,0,.4);box-shadow:0 1px 2px rgba(0,0,0,.4);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;list-style-type:none;}.crp_clear{clear:both;}.crp_title:visited{color:#fff!important;} \ No newline at end of file +.crp_related.crp-rounded-thumbs{clear:both;margin:10px 0}.crp_related.crp-rounded-thumbs figure,.crp_related.crp-rounded-thumbs h3{margin:0!important}.crp_related.crp-rounded-thumbs ul{list-style:none;float:left;margin:0!important;padding:0!important}.crp_related.crp-rounded-thumbs a,.crp_related.crp-rounded-thumbs li{float:left;overflow:hidden;position:relative;text-align:center}.crp_related.crp-rounded-thumbs li{margin:5px!important;border:1px solid #ddd;padding:6px}.crp_related.crp-rounded-thumbs li:hover{background:#eee;border-color:#bbb}.crp_related.crp-rounded-thumbs a:focus-visible{border:1px solid #000;border-radius:7px}.crp_related.crp-rounded-thumbs a{box-shadow:none!important;text-decoration:none!important}.crp_related.crp-rounded-thumbs a:hover{text-decoration:none}.crp_related.crp-rounded-thumbs .crp_title{color:#fff!important;position:absolute;display:block;bottom:0;padding:3px;font-size:.9em;text-shadow:.1em .1em .2em #000;background-color:rgba(0,0,0,.8);border-radius:7px;width:100%}.crp_related.crp-rounded-thumbs li:hover .crp_title{background-color:rgba(0,0,0,.9)}.crp_related.crp-rounded-thumbs li{vertical-align:bottom;box-shadow:0 1px 2px rgba(0,0,0,.4);border-radius:7px;list-style-type:none}.crp_clear{clear:both}.crp_title:visited{color:#fff!important} \ No newline at end of file