Skip to content

DOCS-839 css changes and some minor edits in file to fix errors #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/core/object-id.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ information on MongoDB's document orientation.

.. _core-object-id-class:

``ObjectId()``
--------------
ObjectId()
----------

The :program:`mongo` shell provides the ``ObjectId()`` wrapper class
to generate can generate a new ObjectId, and to provide the following
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/cursor.readPref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cursor.readPref()
``{ dc: 'ny', rack: 2 }``. Clients match tag sets first in the
order they appear in the read preference specification. You may
specify an empty tag set ``{}`` as the last element to default to
any available secondary. See the:ref:`tag sets <replica-set-read-preference-tag-sets>`
any available secondary. See the :ref:`tag sets <replica-set-read-preference-tag-sets>`
documentation for more information.

.. note::
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/db.currentOp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ db.currentOp()

.. include:: /includes/example-filter-current-op.rst

.. warning:: /includes/warning-terminating-operations.rst
.. include:: /includes/warning-terminating-operations.rst
6 changes: 3 additions & 3 deletions themes/mongodb/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@
<div id="btnv">
<ul id="btnvl">
{%- if prev %}
<li id="btnvpr"><a href="{{ prev.link|e }}" title="Previous Section: {{ prev.title|striptags|e }}">&larr; {{ prev.title|striptags|e }}</a></li>
<li id="btnvpr"><a href="{{ prev.link|e }}" title="Previous Section: {{ prev.title|striptags|e }}">&lt; &nbsp; {{ prev.title|striptags|e }}</a></li>
{%- endif %}
{%- if parents %}
<li id="btnvup"><a href="{{ parents[0].link|e }}" title="Parent Section: {{ parents[0].title|striptags|e }}" >&uarr; {{ parents[0].title|striptags|e }}</a></li>
<li id="btnvup"><a href="{{ parents[0].link|e }}" title="Parent Section: {{ parents[0].title|striptags|e }}" >&#47;&#92;&nbsp; {{ parents[0].title|striptags|e }}</a></li>
{%- endif %}
{%- if next %}
<li id="btnvnx"><a href="{{ next.link|e }}" title="Next Section: {{ next.title|striptags|e }}">{{ next.title|striptags|e }} &rarr;</a></li>
<li id="btnvnx"><a href="{{ next.link|e }}" title="Next Section: {{ next.title|striptags|e }}">{{ next.title|striptags|e }} &nbsp;&gt;</a></li>
{%- endif %}
</ul>
</div>
Expand Down
58 changes: 42 additions & 16 deletions themes/mongodb/static/mongodb-docs.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ div.body {
}

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

div.footer {
color:white;
Expand Down Expand Up @@ -201,7 +203,7 @@ div.body h1 + dl, div.body h2 + dl, div.body h3 + dl, div.body h4 + dl {padding

div.section h1 + p, div.section h2 + p, div.section h3 + p, div.section h4 + p,
div.section h1 + ul, div.section h2 + ul, div.section h3 + ul, div.section h4 + ul,
div.section h1 + dl, div.section h2 + dl, div.section h3 + dl, div.section h4 + dl {padding-top:0;margin-top:0ex;text-indent:0;}
div.section h1 + dl, div.section h2 + dl, div.section h3 + dl, div.section h4 + dl {padding-top:0;margin-top:1.05em;text-indent:0;}

a.headerlink {
color: #c60f0f;
Expand All @@ -219,7 +221,7 @@ div.body p, div.body dd {
line-height: 1.8;
}

div.body li{line-height:1.55em;}
div.body li{line-height: 1.4em;}

div.admonition p.admonition-title + p {
display: inline;
Expand All @@ -240,34 +242,37 @@ div.topic {
div.admonition {
margin:1.5em auto;
width:auto;
max-width:80%;
max-width:90%;
padding:0;
}


div.warning {
background-color: #ffff66;
background-color: #FEEFB3;
padding:1ex;
}


div.note {
background-color: inherit;
border: 1px solid #DCDCDC;
padding:1ex;
}

div.seealso {
padding-bottom: 7px;
max-width:95%;
}

div.admonition-optional {
background-color: #ffffee;
color: #666666;
margin: 10px 25px;
background-color: inherit;
border: 1px solid #DCDCDC;
padding:1ex;
}

div.admonition-example {
background-color: #ecf0f3;
background-color: #eff0f3;
color: #000000;
padding:1ex;
}

div.admonition p.admonition-title {display:inline; font-weight:900;height:100%;}
Expand All @@ -291,11 +296,14 @@ pre {
}

tt {
background-color: #ecf0f3;
background-color: #eff0f3;
color: #000;
font-family: "Courier New", Courier, monospace;
}

a>tt {
color: #005B81;
}
.viewcode-back {
font-family: helvetica,arial,sans-serif;
}
Expand Down Expand Up @@ -332,6 +340,13 @@ div.highlight-javascript>div.highlight>pre>span.hll>span.nx {
font-weight: bold;
}

table.footnote {
font-size: 0.95em;
line-height: 1.3em;
}



/* No Longer just Specific to the SQL to ... Mapping pages -- Begin */

div td pre {
Expand Down Expand Up @@ -697,7 +712,14 @@ div#etp ul li:first-child:before {content:"";}
input.gsc-input {background:none;background-color: #4c3a2c;}
a.reference em {font-style:normal;}

tt,tt span.pre {font-family:"Courier New", "Courier",monospace; ;}
tt,tt span.pre {
font-family:"Courier New", Courier, monospace;
font-weight: bold;
font-size: 0.98em;
}
tt.descname {
font-size: 1.15em;
}
div.section > h1 + dl.dbcommand > dt {display:none;}
div.section {cursor:default;}

Expand All @@ -717,8 +739,9 @@ header: http://media.mongodb.org/back-header.png
/* div.body * {font-size:12pt;font-family:Helvetica,Arial,Sans-Serif;font-weight:normal;line-height:1.0;} */

/* div.body p {line-height:1.6875;} */
div.body p {line-height:1.55em;}
div.highlight pre {background-color: #ecf0f3;}
div.body p {line-height:1.4em;}
div.body li>p { line-height:1.4em;}
div.highlight pre {background-color: #eff0f3;}

div.section > h2, div.section > h3,div.section > h4 {margin-top:0;padding-top:0;line-height:1.77}
/* div.admonition p {line-height:1.6875} */
Expand All @@ -728,7 +751,7 @@ dd > div.admonition {margin-left:0;}
p > div.admonition {margin-left:0;}
li > div.admonition {margin-left:0;}

div#btnv {padding-top:3em;}
div#btnv {padding-top:3em;padding-bottom:3em;}
div#btnv ul#btnvl {display:block;width:auto;margin:auto;;text-align:center;}
/* div#btnv ul#btnvl li {border-top:solid 1pt #402817;} div#btnv ul#btnvl li {border-bottom:solid 1pt #402817;} */
div#btnv ul#btnvl li {display:inline;list-item-style:none;font-size:100%;padding:1em; width:33%;margin:0;}
Expand All @@ -740,6 +763,9 @@ div.body > div.section > div.section {margin-left:0;margin-top:2em;}
div.body > div.section > div.section div.section {margin-left:2pc;margin-right:2pc;}
/* div.section h2 {line-height:1; margin-bottom: 0.3;} */

table.docutils {margin:auto}
table.docutils {margin-top: 1.1em;margin-bottom: 1.1em; }
table.docutils tbody tr td div.highlight pre {background-color:inherit;}
table.docutils > div.admonition-example {background-color:inherit;}
table.docutils > div.admonition-example {background-color:inherit;}

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