aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-09-02 14:31:10 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-09-03 10:06:05 +0200
commitd8f333e15dfa88aebd938d40ed0813ca85d75153 (patch)
treed156505a7905bf1148d8b5e4c8f6500efbd7f2a8
parentd74b13b286ccf7982208d3fe34827e8e9429a003 (diff)
doc: reduce main card sizes
This reduces the height of the main documentation page, without altering the example cards. Change-Id: Ie15fa6bcbe407f7bf213c0a988e6f56665fde08e Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--sources/pyside6/doc/_themes/pysidedocs/static/pyside.css8
-rw-r--r--sources/pyside6/doc/index.rst2
-rw-r--r--sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css8
3 files changed, 3 insertions, 15 deletions
diff --git a/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css b/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css
index 48c078017..2807d7925 100644
--- a/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css
+++ b/sources/pyside6/doc/_themes/pysidedocs/static/pyside.css
@@ -2178,7 +2178,7 @@ div.rightside {
}
.card {
- height: 250px;
+ min-height: 120px;
text-align: center;
}
@@ -2187,9 +2187,3 @@ div.rightside {
width: 50px;
height: 120px;
}
-
-.card-body {
- vertical-align: middle;
- padding: 5px !important;
- text-align: center;
-}
diff --git a/sources/pyside6/doc/index.rst b/sources/pyside6/doc/index.rst
index c982c7c3b..6006ddae5 100644
--- a/sources/pyside6/doc/index.rst
+++ b/sources/pyside6/doc/index.rst
@@ -39,7 +39,7 @@ Documentation
.. ifconfig:: output_format == 'html'
.. panels::
- :body: text-center
+ :body: align-items-center jutify-content-center
:container: container-lg pb-3
:column: col-lg-4 col-md-4 col-sm-6 col-xs-12 p-2
diff --git a/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css b/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
index 48c078017..2807d7925 100644
--- a/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
+++ b/sources/shiboken6/doc/_themes/pysidedocs/static/pyside.css
@@ -2178,7 +2178,7 @@ div.rightside {
}
.card {
- height: 250px;
+ min-height: 120px;
text-align: center;
}
@@ -2187,9 +2187,3 @@ div.rightside {
width: 50px;
height: 120px;
}
-
-.card-body {
- vertical-align: middle;
- padding: 5px !important;
- text-align: center;
-}