Skip to content

Commit 133108a

Browse files
author
Sam Kleinman
committed
DOCS-839: minor tweaks as noted in ticket and some indentation consistency issues.
1 parent 353adc6 commit 133108a

File tree

1 file changed

+32
-30
lines changed

1 file changed

+32
-30
lines changed

themes/mongodb/static/mongodb-docs.css_t

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ div.body {
4949
div.body > div#cse-results + div.section {margin-left:2pc;}
5050

5151
div.footer {
52-
color:white;
53-
width:auto;
54-
padding:0;
55-
margin:0;
56-
text-align:center;
57-
font-size:80%;
58-
border:none;
59-
padding:0.5em;
60-
}
52+
color:white;
53+
width:auto;
54+
padding:0;
55+
margin:0;
56+
text-align:center;
57+
font-size:80%;
58+
border:none;
59+
padding:0.5em;
60+
}
6161

6262
div.footer p {margin:0;padding:0;line-height:1.5;}
6363

@@ -238,22 +238,22 @@ div.topic {
238238
}
239239

240240
div.admonition {
241-
margin:1em;
242-
width:auto;
243-
max-width:80%;
244-
padding:0;
245-
}
241+
margin:1.5em auto;
242+
width:auto;
243+
max-width:80%;
244+
padding:0;
245+
}
246246

247247

248248
div.warning {
249-
background-color: #ffff66;
250-
padding:1ex;
249+
background-color: #ffff66;
250+
padding:1ex;
251251
}
252252

253253

254254
div.note {
255255
background-color: inherit;
256-
}
256+
}
257257

258258
div.seealso {
259259
padding-bottom: 7px;
@@ -266,8 +266,8 @@ div.admonition-optional {
266266
}
267267

268268
div.admonition-example {
269-
background-color: #ecf0f3;
270-
color: #000000;
269+
background-color: #ecf0f3;
270+
color: #000000;
271271
}
272272

273273
div.admonition p.admonition-title {display:inline; font-weight:900;height:100%;}
@@ -307,10 +307,10 @@ div.viewcode-block:target {
307307
}
308308

309309
/*
310-
p.first, p.last {
311-
margin-bottom: 0 !important;
312-
}
313-
*/
310+
p.first, p.last {
311+
margin-bottom: 0 !important;
312+
}
313+
*/
314314
div.sphinxsidebar ul.current a.current {
315315
font-weight: bold;
316316
}
@@ -319,7 +319,7 @@ table.docutils td {
319319
}
320320

321321
table.docutils.field-list ul.first.last.simple>li {
322-
padding-top: 1em;
322+
padding-top: 1em;
323323
}
324324
table.docutils.field-list ul.first.last.simple>li>p {
325325
padding-top: 1em;
@@ -704,9 +704,9 @@ div.section {cursor:default;}
704704
div#header-db {background-image: url(http://media.mongodb.org/back-header.png)}
705705

706706
/*
707-
background-color: #f6f4cd; -- house nav style
708-
footer bg: #fdfcf7; font-size 80%; line-height:1.5em; color: #4c3a2c;
709-
logo: http://media.mongodb.org/logo-mongodb.png
707+
background-color: #f6f4cd; -- house nav style
708+
footer bg: #fdfcf7; font-size 80%; line-height:1.5em; color: #4c3a2c;
709+
logo: http://media.mongodb.org/logo-mongodb.png
710710

711711
search: accesskey = q color: #DBCAAF background: #4c3a2c
712712
header: http://media.mongodb.org/back-header.png
@@ -716,11 +716,13 @@ header: http://media.mongodb.org/back-header.png
716716

717717
/* div.body * {font-size:12pt;font-family:Helvetica,Arial,Sans-Serif;font-weight:normal;line-height:1.0;} */
718718

719-
div.body p {line-height:1.6875;}
719+
/* div.body p {line-height:1.6875;} */
720+
div.body p {line-height:1.55em;}
720721
div.highlight pre {background-color: #ecf0f3;}
721722

722723
div.section > h2, div.section > h3,div.section > h4 {margin-top:0;padding-top:0;line-height:1.77}
723-
div.admonition p {line-height:1.6875}
724+
/* div.admonition p {line-height:1.6875} */
725+
div.admonition p {line-height:1.55em}
724726

725727
dd > div.admonition {margin-left:0;}
726728
p > div.admonition {margin-left:0;}
@@ -736,7 +738,7 @@ div#btnv ul#btnvl li#btnvnx:before {content:" ";padding-left:1em;padding-right:1
736738
div.body > div.section > div.section {margin-left:0;margin-top:2em;}
737739

738740
div.body > div.section > div.section div.section {margin-left:2pc;margin-right:2pc;}
739-
div.section h2 {line-height:1.0}
741+
div.section h2 {line-height:1; margin-bottom: 0.3;}
740742

741743
table.docutils {margin:auto}
742744
table.docutils tbody tr td div.highlight pre {background-color:inherit;}

0 commit comments

Comments
 (0)