Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit fb458dd

Browse files
committed
clean up
1 parent 5d2b83d commit fb458dd

File tree

1 file changed

+16
-24
lines changed

1 file changed

+16
-24
lines changed

runestone/common/css/runestone-custom-sphinx-bootstrap.css

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ h5 {
129129
text-decoration: underline;
130130
}
131131

132-
#table-of-contentssection {
132+
#table-of-contents.section {
133133
font-size: 16px;
134134
}
135135

@@ -169,15 +169,15 @@ h5 {
169169
}
170170

171171
/* index and search related styles for color-contrast (AA compliant) */
172-
#index-and-searchsection {
172+
#index-and-search.section {
173173
font-size: 16px;
174174
}
175175

176-
#index-and-searchsection a {
176+
#index-and-search.section a {
177177
color: var(--links);
178178
}
179179

180-
#index-and-searchsection a:hover {
180+
#index-and-search.section a:hover {
181181
color: var(--links);
182182
text-decoration: underline;
183183
}
@@ -216,28 +216,24 @@ div.container {
216216
background-color: var(--background);
217217
}
218218

219-
divsection {
220-
margin-left: auto;
221-
margin-right: auto;
222-
}
223-
224219
.container {
225220
padding-left: 10px;
226221
padding-right: 10px;
227222
}
228223

229224
#main-content section > p,
230-
pre,
231-
table,
232-
ul,
233-
ol,
234-
dl,
235-
h1,
236-
h2,
237-
h3,
238-
h4,
239-
.admonition {
240-
width: 500pt !important;
225+
#main-content section > pre,
226+
#main-content section > table,
227+
#main-content section > ul,
228+
#main-content section > ol,
229+
#main-content section > dl,
230+
#main-content section > h1,
231+
#main-content section > h2,
232+
#main-content section > h3,
233+
#main-content section > h4,
234+
#main-content section > .admonition,
235+
#main-content section > .toctree-wrapper {
236+
width: 500pt;
241237
margin-left: auto;
242238
margin-right: auto;
243239
}
@@ -968,10 +964,6 @@ div.ExecutionVisualizer table.visualizer {
968964
border-radius: 4px;
969965
}
970966

971-
ul.dropdown-menu {
972-
max-width: 300px;
973-
}
974-
975967
ul.dropdown-menu.globaltoc {
976968
max-height: 700px;
977969
overflow: auto;

0 commit comments

Comments
 (0)