aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-09-07 16:36:23 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-09-08 09:48:36 +0200
commit7b81ace088b911d5474dc47cc070a55f89fa0761 (patch)
treea6275c2d7c674cbd32294983c4e48e889c3601f0
parent8ba578079e9415e210886f9a73073ba18285bf2d (diff)
doc: tweak css for card styling
Change-Id: Ie2dc49e7570cb8624bf8e9b6eda2201979680cee Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--sources/pyside6/doc/_themes/pysidedocs/static/pyside.css20
-rw-r--r--sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css20
2 files changed, 28 insertions, 12 deletions
diff --git a/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css b/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css
index 2807d7925..9082e5caa 100644
--- a/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css
+++ b/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css
@@ -2168,6 +2168,15 @@ div.rightside {
border-color: #fff;
}
+.btn-link {
+ color: #41cd52 !important;
+}
+
+.btn-link:hover {
+ color: #222840 !important;
+ text-decoration: underline;
+}
+
/* Using !important is not recommended, but out CSS is being added
* to the pages before the bootstrap ones, so we cannot override them
* without using it */
@@ -2176,14 +2185,13 @@ div.rightside {
border-color: #41cd52 !important;
font-weight: bold !important;
}
-
-.card {
- min-height: 120px;
- text-align: center;
+.card-img-top-main {
+ padding-top: 10px;
+ height: 70px !important;
}
.card-img-top {
- object-fit: cover;
- width: 50px;
+ object-fit: contain;
height: 120px;
+ padding-top: 10px;
}
diff --git a/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css b/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
index 2807d7925..9082e5caa 100644
--- a/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
+++ b/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
@@ -2168,6 +2168,15 @@ div.rightside {
border-color: #fff;
}
+.btn-link {
+ color: #41cd52 !important;
+}
+
+.btn-link:hover {
+ color: #222840 !important;
+ text-decoration: underline;
+}
+
/* Using !important is not recommended, but out CSS is being added
* to the pages before the bootstrap ones, so we cannot override them
* without using it */
@@ -2176,14 +2185,13 @@ div.rightside {
border-color: #41cd52 !important;
font-weight: bold !important;
}
-
-.card {
- min-height: 120px;
- text-align: center;
+.card-img-top-main {
+ padding-top: 10px;
+ height: 70px !important;
}
.card-img-top {
- object-fit: cover;
- width: 50px;
+ object-fit: contain;
height: 120px;
+ padding-top: 10px;
}