8000 DOC: use explicit autosummary tables for Axes · matplotlib/matplotlib@ab31bf2 · GitHub
[go: up one dir, main page]

Skip to content

Commit ab31bf2

Browse files
committed
DOC: use explicit autosummary tables for Axes
This: - makes the axes_api page a collection of tables which are grouped reasonably - gives each method it's own web page
1 parent 474f1ee commit ab31bf2

File tree

2 files changed

+339
-176
lines changed

2 files changed

+339
-176
lines changed

doc/_static/mpl.css

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
body {
77
font-family: "Helvetica Neue", Helvetica, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
88
font-size: 14px;
9-
letter-spacing: -0.01em;
109
line-height: 150%;
1110
text-align: center;
1211
background-color: #BFD1D4;
@@ -272,7 +271,7 @@ h2 {
272271
}
273272

274273
h3 {
275-
margin: 1em 0 -0.3em 0;
274+
margin: 0.2em 0 0.1em 0;
276275
font-size: 1.2em;
277276
}
278277

@@ -513,19 +512,13 @@ table.docutils {
513512
.longtable.docutils {
514513
font-size: 12px;
515514
margin-bottom: 30px;
516-
background-color: #ccc;
517515
}
518516
.longtable.docutils, .longtable.docutils td {
519517
border-color: #ccc;
520518
}
521519

522-
/* module summary table */
523-
.longtable.docutils {
524-
font-size: 12px;
525-
margin-bottom: 30px;
526-
}
527-
.longtable.docutils, .longtable.docutils td {
528-
border-color: #ccc;
520+
.longtable.docutils tr.row-even{
521+
background-color: #eff3f4;
529522
}
530523

531524
/* function and class description */
@@ -560,16 +553,20 @@ dl.class dd, dl.function dd {
560553
}
561554

562555
/* function and class description */
563-
dl.class, dl.function, dl.method, dl.attribute {
556+
dl.function, dl.method, dl.attribute {
564557
border-top: 1px solid #ccc;
565558
padding-top: 6px;
566559
}
567560

568-
dl.class, dl.function {
561+
dl.function {
569562
border-top: 1px solid #888;
570-
margin-top: 15px;
563+
margin-top: 15px;
571564
}
572565

566+
dl.class {
567+
padding-top: 6px;
568+
margin-top: 15px;
569+
}
573570

574571
.descclassname {
575572
color: #aaa;
@@ -705,7 +702,7 @@ div.responsive_subfig{
705702

706703
/* Include content, padding and border in width. This should */
707704
/* avoid having to use tricks like "width: 24.9999%" */
708-
box-sizing: border-box;
705+
box-sizing: border-box;
709706
}
710707

711708
div.responsive_subfig img {

0 commit comments

Comments
 (0)
0