Skip to content

Commit 3c717c3

Browse files
author
Ed Costello
committed
DOCS-714 DOCS-701 center tables, fix css for code in tables, tweak lineheights
1 parent 86a72f8 commit 3c717c3

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

themes/mongodb/static/mongodb-docs.css_t

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,6 @@ div.body {
4848

4949
div.body > div#cse-results + div.section {margin-left:2pc;}
5050

51-
div.footerX {
52-
color: white;
53-
width: 100%;
54-
padding: 13px 0;
55-
line-height:1.0;
56-
margin:0;
57-
text-align: center;
58-
font-size: 75%;
59-
border-top: 1px solid black;
60-
}
61-
6251
div.footer {
6352
color:white;
6453
width:auto;
@@ -226,10 +215,12 @@ a.headerlink:hover {
226215
color: white;
227216
}
228217

229-
div.body p, div.body dd, div.body li {
218+
div.body p, div.body dd {
230219
line-height: 1.8;
231220
}
232221

222+
div.body li {line-height:1.5;}
223+
233224
div.admonition p.admonition-title + p {
234225
display: inline;
235226
}
@@ -735,13 +726,18 @@ dd > div.admonition {margin-left:0;}
735726
p > div.admonition {margin-left:0;}
736727
li > div.admonition {margin-left:0;}
737728

738-
div#btnv {padding-top:3em}
739-
div#btnv ul#btnvl {display:block;width:66%;text-align:center;}
740-
div#btnv ul#btnvl li {display:inline;list-item-style:none;font-size:10pt;padding:1em; width:33%}
729+
div#btnv {padding-top:3em;}
730+
div#btnv ul#btnvl {display:block;width:auto;margin:auto;;text-align:center;}
731+
/* div#btnv ul#btnvl li {border-top:solid 1pt #402817;} div#btnv ul#btnvl li {border-bottom:solid 1pt #402817;} */
732+
div#btnv ul#btnvl li {display:inline;list-item-style:none;font-size:100%;padding:1em; width:33%;margin:0;}
741733
div#btnv ul#btnvl li#btnvup:before,
742734
div#btnv ul#btnvl li#btnvnx:before {content:" ";padding-left:1em;padding-right:1em;color:#c48c55}
743735

744736
div.body > div.section > div.section {margin-left:0;margin-top:2em;}
745737

746738
div.body > div.section > div.section div.section {margin-left:2pc;margin-right:2pc;}
747739
div.section h2 {line-height:1.0}
740+
741+
table.docutils {margin:auto}
742+
table.docutils tbody tr td div.highlight pre {background-color:inherit;}
743+
table.docutils > div.admonition-example {background-color:inherit;}

0 commit comments

Comments
 (0)