Skip to content

Commit 74a5edc

Browse files
jorisvandenbosscheTomAugspurger
authored andcommitted
DOC: replace long table of contents on home page with main links (#31148)
1 parent 5c37a0b commit 74a5edc

File tree

7 files changed

+432
-69
lines changed

7 files changed

+432
-69
lines changed

doc/source/_static/css/pandas.css

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/* Getting started index page */
2+
3+
.intro-card {
4+
background: #fff;
5+
border-radius: 0;
6+
padding: 30px 10px 10px 10px;
7+
margin: 10px 0px;
8+
}
9+
10+
.intro-card .card-text {
11+
margin: 20px 0px;
12+
/*min-height: 150px; */
13+
}
14+
15+
.intro-card .card-img-top {
16+
margin: 10px;
17+
}
18+
19+
.custom-button {
20+
background-color: #dcdcdc;
21+
border: none;
22+
color: #484848;
23+
text-align: center;
24+
text-decoration: none;
25+
display: inline-block;
26+
font-size: 0.9rem;
27+
border-radius: 0.5rem;
28+
max-width: 220px;
29+
padding: 0.5rem 0rem;
30+
}
31+
32+
.custom-button a {
33+
color: #484848;
34+
}
35+
36+
.custom-button p {
37+
margin-top: 0;
38+
margin-bottom: 0rem;
39+
color: #484848;
40+
}

doc/source/_static/index_api.svg

+97
Loading
+76
Loading
Loading
+67
Loading

doc/source/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@
230230
# so a file named "default.css" will overwrite the builtin "default.css".
231231
html_static_path = ["_static"]
232232

233+
html_css_files = [
234+
"css/pandas.css",
235+
]
236+
233237
# The name of an image file (within the static path) to use as favicon of the
234238
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
235239
# pixels large.

0 commit comments

Comments
 (0)