From 353f6542d814b38ec628fb6482a8e965060a46fd Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Fri, 6 Jun 2025 23:24:24 +0400 Subject: [PATCH] WEB: Restore website width and improve table of contents style --- web/pandas/static/css/pandas.css | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/web/pandas/static/css/pandas.css b/web/pandas/static/css/pandas.css index 5fe853e7771dd..3bc4d81f21b64 100644 --- a/web/pandas/static/css/pandas.css +++ b/web/pandas/static/css/pandas.css @@ -106,23 +106,22 @@ blockquote { color: #787878; font-size: 18px; } - .toc { - background: #f0f0f0; - padding: 10px; + background: #f9f9f9; + padding: 1em; + border: 0.1em solid darkgrey; + border-radius: 0.4em; display: inline-block; + margin: 1em 0; +} +.toc .toctitle { + font-weight: bold; + padding-bottom: 1em; } a.headerlink { opacity: 0; } -h2:hover a.headerlink { - opacity: 1; - transition: opacity 0.5s; -} -h3:hover a.headerlink { +h2:hover a.headerlink, h3:hover a.headerlink { opacity: 1; transition: opacity 0.5s; } -.container { - max-width: 100ch; -}