Less jumpy

This commit is contained in:
Tim Schaub
2019-10-26 11:31:17 -06:00
parent c0831cc64b
commit 27cbbaf97b
2 changed files with 18 additions and 4 deletions
@@ -1,14 +1,18 @@
/* Carbon adds (see https://sell.buysellads.com) */ /* Carbon adds (see https://sell.buysellads.com) */
#ad {
margin-left: 1em;
float: right;
width: 330px;
min-height: 125px;
}
#carbonads { #carbonads {
font-family: "Quattrocento Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; font-family: "Quattrocento Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
} }
#carbonads { #carbonads {
display: flex; display: flex;
max-width: 330px;
float: right;
margin-left: 1em;
} }
#carbonads a { #carbonads a {
@@ -58,8 +62,16 @@
line-height: 1; line-height: 1;
} }
#carbonads a.carbon-poweredby {
color: #aaa;
}
/* Clear the float after the advertisement. */ /* Clear the float after the advertisement. */
.container-overview { .container-overview {
clear: both; clear: both;
} }
pre.source {
clear: both;
}
@@ -41,7 +41,9 @@
<pre class="prettyprint source"><code>import <?js= doc.name ?> from '<?js= importPath ?>';</code></pre> <pre class="prettyprint source"><code>import <?js= doc.name ?> from '<?js= importPath ?>';</code></pre>
<?js } ?> <?js } ?>
<?js } ?> <?js } ?>
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg" id="_carbonads_js"></script> <div id="ad">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg" id="_carbonads_js"></script>
</div>
<?js if (doc.classdesc) { ?> <?js if (doc.classdesc) { ?>
<div class="class-description"><?js= doc.classdesc ?></div> <div class="class-description"><?js= doc.classdesc ?></div>
<?js } ?> <?js } ?>