Skip to content

Commit e032c60

Browse files
committed
DOCS-855 css edits
1 parent 6753052 commit e032c60

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

themes/mongodb/static/mongodb-docs.css_t

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ div.admonition-optional {
270270
}
271271

272272
div.admonition-example {
273-
background-color: #eff0f3;
273+
background-color: #F5F5F5;
274274
color: #000000;
275275
padding:1ex;
276276
}
@@ -291,12 +291,11 @@ pre {
291291
background-color: White;
292292
color: #222;
293293
line-height: 1.2em;
294-
font-size: 1.1em;
294+
font-size: 1.25em;
295295
margin: 20px;
296296
}
297297

298298
tt {
299-
background-color: #eff0f3;
300299
color: #000;
301300
font-family: "Courier New", Courier, monospace;
302301
}
@@ -315,10 +314,11 @@ div.viewcode-block:target {
315314
}
316315

317316
/*
318-
p.first, p.last {
317+
p.first, p.last {
319318
margin-bottom: 0 !important;
320319
}
321320
*/
321+
322322
div.sphinxsidebar ul.current a.current {
323323
font-weight: bold;
324324
}
@@ -715,7 +715,7 @@ a.reference em {font-style:normal;}
715715
tt,tt span.pre {
716716
font-family:"Courier New", Courier, monospace;
717717
font-weight: bold;
718-
font-size: 0.98em;
718+
font-size: 1.04em;
719719
}
720720
tt.descname {
721721
font-size: 1.15em;
@@ -739,13 +739,19 @@ header: http://media.mongodb.org/back-header.png
739739
/* div.body * {font-size:12pt;font-family:Helvetica,Arial,Sans-Serif;font-weight:normal;line-height:1.0;} */
740740

741741
/* div.body p {line-height:1.6875;} */
742-
div.body p {line-height:1.4em;}
743-
div.body li>p { line-height:1.4em;}
744-
div.highlight pre {background-color: #eff0f3;}
742+
div.body p {line-height:1.5em;}
743+
div.body li>p { line-height:1.5em;}
744+
div.highlight pre {background-color: #F5F5F5;}
745+
div.section > ul > li {
746+
margin-top: 0.5em;
747+
}
745748

749+
div.section > ol > li {
750+
margin-top: 0.5em;
751+
}
746752
div.section > h2, div.section > h3,div.section > h4 {margin-top:0;padding-top:0;line-height:1.77}
747753
/* div.admonition p {line-height:1.6875} */
748-
div.admonition p {line-height:1.55em}
754+
div.admonition p {line-height:1.5em}
749755

750756
dd > div.admonition {margin-left:0;}
751757
p > div.admonition {margin-left:0;}
@@ -768,4 +774,4 @@ table.docutils tbody tr td div.highlight pre {background-color:inherit;}
768774
table.docutils > div.admonition-example {background-color:inherit;}
769775

770776
/* somehow, powershell commands starting with a directory reference does not include a div.highlight */
771-
div.highlight-powershell pre {background-color: #eff0f3;}
777+
div.highlight-powershell pre {background-color: #F5F5F5;}

0 commit comments

Comments
 (0)