From 25dfcdd3234c10a144cfb65ba3ebab8c5b81e527 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 7 Feb 2021 22:03:27 +0100 Subject: [PATCH] Contrasting color (link + sidebar entry) --- themes/yunohost-docs/css/custom.css | 79 ++++++++++++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/themes/yunohost-docs/css/custom.css b/themes/yunohost-docs/css/custom.css index d8afd1fa..e8a98789 100644 --- a/themes/yunohost-docs/css/custom.css +++ b/themes/yunohost-docs/css/custom.css @@ -170,7 +170,7 @@ body .off-canvas .learn-sidebar .searchbox ::placeholder { } body .off-canvas .learn-sidebar a:hover { - color: #bbb; + color: #37419a; } body #header .off-canvas .learn-sidebar a:hover { @@ -178,3 +178,80 @@ body #header .off-canvas .learn-sidebar a:hover { text-decoration: underline black; } +body .off-canvas .learn-sidebar .learn-nav ul li a > span > b { + color: black; +} + +body .off-canvas .learn-sidebar .learn-nav ul li ul li.active > a { + background-color: #2f2f2f52; +} + +body .off-canvas .learn-sidebar .learn-nav .read-icon { + color: rgba(0, 0, 0, 0.6); +} + +/* +############################################################################### + Style sheet for the cards +############################################################################### +*/ +.hardware-image #cards-list:after { + content:''; + display:block; + clear: both; +} + +.hardware-image .card { + margin-bottom:20px; + width:270px; + float:left; + min-height: 1px; + margin-right: 10px; + margin-left: 10px; +} + +.hardware-image .card .panel-body > h3 { + margin-top:0; + margin-bottom:5px; + font-size:1.2em; +} + +.hardware-image .card-desc { + height:135px; + overflow: hidden; +} + +.hardware-image .card .btn-group { + width:100%; + margin-left: 0px; +} +.hardware-image .card > .btn-group > .btn{ + border-bottom:0; +} +.hardware-image .card > .btn-group { + border-left:0; + border-top-left-radius:0; + border-top-right-radius:0; + margin-left: 0px; +} +.hardware-image .card-comment { + font-size: 0.8em; + margin-top:-5px; +} +.hardware-image .card > .annotations { + text-align:center; + font-size:small; +} +.hardware-image .card img { + margin: 1rem auto; +} +.hardware-image .btn-group .btn.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} +.hardware-image .btn-group .btn.btn-info:hover, .btn.btn-info:focus { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +}