Blockquote styles

This commit is contained in:
Shan Carter
2017-10-12 16:01:48 -07:00
parent ed7cd834f9
commit 8027f1b13a
3 changed files with 13 additions and 13 deletions
-11
View File
@@ -42,17 +42,6 @@
<distill-header></distill-header>
<d-abstract>
<figure style="grid-column: page; margin: 1rem 0;"><img src="momentum.png" style="width:100%; border: 1px solid rgba(0, 0, 0, 0.2);"/></figure>
<div style="grid-column: page;">
<d-slider style="grid-column: page;" step="1" min="1" max="6" ticks></d-slider>
<input type="range" class="og-slider" />
</div>
<d-slider style="grid-column: page;" step="1" min="1" max="6"></d-slider>
<d-slider style="width: 100px;"></d-slider>
<input type="range" />
<script>
document.querySelector("d-slider").addEventListener("input", e => { console.log("input", e.target.value); });
document.querySelector("d-slider").addEventListener("change", e => { console.log("change", e.target.value); });
</script>
<p>We often think of Momentum as a means of dampening oscillations and speeding up the iterations, leading to faster convergence. But it has other interesting behavior. It allows a larger range of step-sizes to be used, and creates its own oscillations. What is going on?</p>
</d-abstract>
<d-article>
+12 -2
View File
@@ -95,13 +95,23 @@ d-article a {
d-article p,
d-article ul,
d-article ol {
/*font-family: georgia, serif;*/
d-article ol,
d-article blockquote {
font-family: georgia, serif;
margin-top: 0;
margin-left: 0;
margin-right: 0;
margin-bottom: 1.7em;
-webkit-font-smoothing: antialiased;
}
d-article blockquote {
border-left: 2px solid rgba(0, 0, 0, 0.2);
padding-left: 2em;
font-style: italic;
color: rgba(0, 0, 0, 0.6);
}
d-article a {
border-bottom: 1px solid rgba(0, 0, 0, 0.4);
text-decoration: none;
+1
View File
@@ -4,6 +4,7 @@ d-byline {
font-size: 0.7rem;
line-height: 1.8em;
padding: 1.5rem 0;
min-height: 1.8em;
}
d-byline .byline {