diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index 879f564d1df2..226643bdb8d5 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -12,144 +12,10 @@ a:hover { color: #CA7900; } -table.highlighttable { - margin-left: 0.5em; -} - -table.highlighttable td { - padding: 0 0.5em 0 0.5em; -} - .simple li>p { margin: 0; } -div.responsive_screenshots { - /* Horizontally centered */ - display: block; - margin: auto; - - /* Do not go beyond 1:1 scale (and ensure a 1x4 tight layout) */ - max-width: 640px; /* at most 4 x 1:1 subfig width */ - max-height: 120px; /* at most 1 x 1:1 subfig height */ -} - -/* To avoid subfigure parts outside of the responsive_screenshots */ -/* element (see ) */ -span.clear_screenshots { clear: left; display: block; } - -div.responsive_subfig{ - float: left; - width: 25%; /* we want 4 subfigs in a row */ - - /* Include content, padding and border in width. This should */ - /* avoid having to use tricks like "width: 24.9999%" */ - box-sizing: border-box; -} - -div.responsive_subfig img { - /* Horizontally centered */ - display: block; - margin: auto; - - /* Possible downscaling */ - max-width: 162px; /* at most 1 x 1:1 subfig width */ - max-height: 139px; /* at most 1 x 1:1 subfig height */ - - width: 100%; -} - -@media only screen and (max-width: 930px){ - /* The value of 1000px was handcrafted to provide a more or less */ - /* smooth transition between the 1x4 and the 2x2 layouts. It is */ - /* NB: it is slightly below 1024px: so one should still have a */ - /* row in a 1024x768 window */ - - div.responsive_screenshots { - /* Do not go beyond 1:1 scale (and ensure a 2x2 tight layout) */ - max-width: 324px; /* at most 2 x 1:1 subfig width */ - max-height: 278px; /* at most 2 x 1:1 subfig height */ - } - - div.responsive_subfig { - width: 50%; /* we want 2 subfigs in a row */ - } -} - -/* bullet boxes on main page */ -div.bullet-box-container { - display: flex; - flex-wrap: wrap; - margin: 1em 0; -} - -div.bullet-box { - flex-grow: 1; - width: 28%; - margin: 0.4em; - padding: 0 1em; - background: #eff9ff; -} - -div.bullet-box p:first-of-type { - font-size: 1.4em; - text-align: center; -} - -div.bullet-box ul { - padding-left: 1.2em; -} - -div.bullet-box li { - padding-left: 0.3em; - margin-bottom: 0.3em; -} - -@media only screen and (max-width: 930px){ - div.bullet-box { - flex: 0 0 90%; - } -} - -/* community items on main page */ -div.box { - display: flex; - flex-flow: row wrap; -} - -div.box-item { - flex: 0 0 45%; - padding: 4px; - margin: 8px 12px; -} - -div.box-item img { - float: left; - width: 30px; - height: 30px; - fill: #888; - -} -div.box-item p { - margin: 0 0 0 50px; -} - -div.box-item ul { - margin: 0 0 0 50px; - padding-left: 20px; -} - -hr.box-sep { - margin: 1em 2em; -} - -@media only screen and (max-width: 930px){ - div.box-item { - flex: 0 0 90%; - } -} - - /* multi column TOC */ .contents ul { list-style-type: none; diff --git a/doc/conf.py b/doc/conf.py index 16eaa4cbf4ff..0138e8c6848c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -559,8 +559,6 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf, numpydoc_show_class_members = False -html4_writer = True - inheritance_node_attrs = dict(fontsize=16) graphviz_dot = shutil.which('dot')