Replace .paige-font-inherit with white-space:pre

This commit is contained in:
Will Faught
2023-01-07 23:19:01 -08:00
parent 092cfcf841
commit 2eaff2e0fa
2 changed files with 11 additions and 23 deletions

View File

@@ -90,42 +90,35 @@ Code:
```go-text-template ```go-text-template
{{</* paige/quote caption="Hickory Dickory Dock" align="start" */>}} {{</* paige/quote caption="Hickory Dickory Dock" align="start" */>}}
<pre class="paige-font-inherit"> <div style="white-space: pre">Hickory dickory dock.
Hickory dickory dock.
The mouse ran up the clock. The mouse ran up the clock.
The clock struck one, The clock struck one,
The mouse ran down, The mouse ran down,
Hickory dickory dock. Hickory dickory dock.</div>
</pre>
{{</* /paige/quote */>}} {{</* /paige/quote */>}}
{{</* paige/quote cite="Hickory Dickory Dock" align="end" */>}} {{</* paige/quote cite="Hickory Dickory Dock" align="end" */>}}
<pre class="paige-font-inherit"> <div style="white-space: pre">Hickory dickory dock.
Humpty Dumpty sat on a wall, The mouse ran up the clock.
Humpty Dumpty had a great fall. The clock struck one,
All the king's horses and all the king's men The mouse ran down,
Couldn't put Humpty together again. Hickory dickory dock.</div>
</pre>
{{</* /paige/quote */>}} {{</* /paige/quote */>}}
``` ```
Result: Result:
{{< paige/quote caption="Hickory Dickory Dock" align="start" >}} {{< paige/quote caption="Hickory Dickory Dock" align="start" >}}
<pre class="paige-font-inherit"> <div style="white-space: pre">Hickory dickory dock.
Hickory dickory dock.
The mouse ran up the clock. The mouse ran up the clock.
The clock struck one, The clock struck one,
The mouse ran down, The mouse ran down,
Hickory dickory dock. Hickory dickory dock.</div>
</pre>
{{< /paige/quote >}} {{< /paige/quote >}}
{{< paige/quote cite="Hickory Dickory Dock" align="end" >}} {{< paige/quote cite="Hickory Dickory Dock" align="end" >}}
<pre class="paige-font-inherit"> <div style="white-space: pre">Humpty Dumpty sat on a wall,
Humpty Dumpty sat on a wall,
Humpty Dumpty had a great fall. Humpty Dumpty had a great fall.
All the king's horses and all the king's men All the king's horses and all the king's men
Couldn't put Humpty together again. Couldn't put Humpty together again.</div>
</pre>
{{< /paige/quote >}} {{< /paige/quote >}}

View File

@@ -50,11 +50,6 @@ section[class="paige-content"] > div {
margin-bottom: 0; margin-bottom: 0;
} }
.paige-font-inherit {
font-family: inherit;
font-size: inherit;
}
.paige-header-link { .paige-header-link {
margin-left: 0.5ch; margin-left: 0.5ch;
opacity: 0; opacity: 0;