summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPamphile Roy <roy.pamphile@gmail.com>2022-05-09 18:52:32 +0200
committerGitHub <noreply@github.com>2022-05-09 09:52:32 -0700
commit9d32cf7fdcccc458310c47e271f43e3c2c1a04d1 (patch)
tree5aff089614c95a693623397b2abbd8469ac5533d
parentb0b912f7c0f349304824db543f2a59f091ca590c (diff)
downloadnumpy-9d32cf7fdcccc458310c47e271f43e3c2c1a04d1.tar.gz
DOC: style main page card. (#21456)
[skip actions] [skip travis]
-rw-r--r--doc/source/_static/numpy.css22
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/source/_static/numpy.css b/doc/source/_static/numpy.css
index 53b610bf1..09f6db3e2 100644
--- a/doc/source/_static/numpy.css
+++ b/doc/source/_static/numpy.css
@@ -22,7 +22,6 @@ h1 {
color: #013243; /* warm black */
}
-
h2 {
color: #4d77cf; /* han blue */
letter-spacing: -.03em;
@@ -32,3 +31,24 @@ h3 {
color: #013243; /* warm black */
letter-spacing: -.03em;
}
+
+.intro-card {
+ padding: 20px 10px 20px 10px;
+ margin: 10px;
+}
+
+.intro-card p.card-text {
+ margin: 0;
+}
+
+.intro-card .card-img-top {
+ height: 52px;
+ width: 52px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.intro-card .card-header {
+ margin-top: 20px;
+ font-size: var(--pst-font-size-h5);
+}