Skip to content

Commit e2558d8

Browse files
WEB: Restore website width and improve table of contents style (#61593)
1 parent 2096b28 commit e2558d8

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

web/pandas/static/css/pandas.css

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,23 +106,22 @@ blockquote {
106106
color: #787878;
107107
font-size: 18px;
108108
}
109-
110109
.toc {
111-
background: #f0f0f0;
112-
padding: 10px;
110+
background: #f9f9f9;
111+
padding: 1em;
112+
border: 0.1em solid darkgrey;
113+
border-radius: 0.4em;
113114
display: inline-block;
115+
margin: 1em 0;
116+
}
117+
.toc .toctitle {
118+
font-weight: bold;
119+
padding-bottom: 1em;
114120
}
115121
a.headerlink {
116122
opacity: 0;
117123
}
118-
h2:hover a.headerlink {
119-
opacity: 1;
120-
transition: opacity 0.5s;
121-
}
122-
h3:hover a.headerlink {
124+
h2:hover a.headerlink, h3:hover a.headerlink {
123125
opacity: 1;
124126
transition: opacity 0.5s;
125127
}
126-
.container {
127-
max-width: 100ch;
128-
}

0 commit comments

Comments
 (0)