@evidentpoint/readium-css
Version:
A set of reference stylesheets for EPUB Reading Systems
69 lines (54 loc) • 2.65 kB
HTML
<html style="--USER__advancedSettings: readium-advanced-on; --USER__typeScale: 1.5;">
<head>
<title>Test</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../css/dist/ReadiumCSS-before.css" />
<link rel="stylesheet" href="../css/dist/ReadiumCSS-default.css" />
<link rel="stylesheet" href="../css/dist/ReadiumCSS-after.css" />
</head>
<body>
<h1>Heading 1</h1>
<p>Text.
<small>Smaller text</small>. Text followed by sup.
<sup>[1]</sup>
</p>
<h2>Heading 2</h2>
<ul>
<li>List item 1;</li>
<li>List item 2;</li>
<li>List item 3.</li>
</ul>
<h3>Heading 3</h3>
<div style="border: 2px solid red; margin: 1em 0; padding: 0 5%;">
This is an aside.
</div>
<h4>Heading 4</h4>
<dl>
<dt>Artist</dt>
<dd>He desires to paint you the dreamiest, shadiest, quietest, most enchanting bit of romantic landscape in all the valley
of the Saco. What is the chief element he employs? There stand his trees, each with a hollow trunk, as if a hermit
and a crucifix were within; and here sleeps his meadow, and there sleep his cattle; and up from yonder cottage goes
a sleepy smoke.</dd>
</dl>
<h5>Heading 5</h5>
<pre><code>h1 {
font-family: sans-serif;
font-size: 2em;
margin: 1.5em 0;
text-align: center;
}</code></pre>
<h6>Heading 6</h6>
<p>Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular
to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have
of driving off the spleen and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever
it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and
bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it
requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking
people’s hats off—then, I account it high time to get to sea as soon as I can. This is my substitute for pistol and ball.
With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. There is nothing surprising
in this. If they but knew it, almost all men in their degree, some time or other, cherish very nearly the same feelings
towards the ocean with me.</p>
</body>
</html>