summaryrefslogtreecommitdiff
path: root/doc/source/_static
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-05-14 16:56:53 -0700
committerGitHub <noreply@github.com>2022-05-14 17:56:53 -0600
commitc5a999682bf94cfd08cc64b49efef38371cbdb2e (patch)
tree71c1fdd0c804779ac204a0245e2c11376f8cf68a /doc/source/_static
parentbb20ef740fa97651631b1d0adf85ced7d0f6879d (diff)
downloadnumpy-c5a999682bf94cfd08cc64b49efef38371cbdb2e.tar.gz
DOC: Proposal - make the doc landing page cards more similar to scipy/pandas (#21491)
* DOC: Add panel elements to index matching scipy/pandas. * DOC: Update card styling in css to match scipy/pandas. * DOC: Add release notes to nav bar. * DOC: replace css in layout with html_css_files conf val. * DOC: Fix page layout. Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu> Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu>
Diffstat (limited to 'doc/source/_static')
-rw-r--r--doc/source/_static/numpy.css27
1 files changed, 23 insertions, 4 deletions
diff --git a/doc/source/_static/numpy.css b/doc/source/_static/numpy.css
index 09f6db3e2..fc296e8ab 100644
--- a/doc/source/_static/numpy.css
+++ b/doc/source/_static/numpy.css
@@ -32,13 +32,17 @@ h3 {
letter-spacing: -.03em;
}
+/* Main page overview cards */
+
.intro-card {
- padding: 20px 10px 20px 10px;
- margin: 10px;
+ background: #fff;
+ border-radius: 0;
+ padding: 30px 10px 20px 10px;
+ margin: 10px 0px;
}
.intro-card p.card-text {
- margin: 0;
+ margin: 0px;
}
.intro-card .card-img-top {
@@ -49,6 +53,21 @@ h3 {
}
.intro-card .card-header {
- margin-top: 20px;
+ border: none;
+ background-color: white;
+ color: #150458 !important;
font-size: var(--pst-font-size-h5);
+ font-weight: bold;
+ padding: 2.5rem 0rem 0.5rem 0rem;
+}
+
+.intro-card .card-footer {
+ border: none;
+ background-color: white;
+}
+
+.intro-card .card-footer p.card-text {
+ max-width: 220px;
+ margin-left: auto;
+ margin-right: auto;
}