Skip to content

Commit e9899a0

Browse files
close #130 | force the use of the article element
1 parent 539d1a7 commit e9899a0

File tree

2 files changed

+109
-108
lines changed

2 files changed

+109
-108
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h1 id="getting-started">Getting started</h1>
6666
<mark><code> &lt;link href="https://unpkg.com/@nextbitlabs/rapido@latest/rapido.css" rel="stylesheet" type="text/css"&gt;</code></mark>
6767
<code>&lt;/head&gt;</code></pre>
6868
</figure>
69-
<p>The style rules defined in <code>rapido.css</code> are name-spaced under the CSS class <code>rapido</code>. Being Rapido thought for web essays, the best place to use the CSS class is the <code>&lt;article&gt;</code> element, as showed in the next snippet.</p>
69+
<p>The style rules defined in <code>rapido.css</code> are name-spaced under the CSS class <code>rapido</code>. Being Rapido thought for web essays, the place to use the CSS class is the <code>&lt;article&gt;</code> element, as showed in the next snippet.</p>
7070
<figure>
7171
<pre><code>&lt;main&gt;</code>
7272
<mark><code> &lt;article class="rapido"&gt;
@@ -557,7 +557,7 @@ <h1 id="customisations">Customisations</h1>
557557
article.rapido {
558558
font-family: "Helvetica Neue";
559559
}
560-
.rapido code {
560+
article.rapido code {
561561
font-family: "Iosevka";
562562
}
563563
&lt;/style&gt;</code></mark>
@@ -571,14 +571,14 @@ <h1>Font families.</h1>
571571
<pre><code>&lt;head&gt;
572572
...</code>
573573
<mark><code> &lt;style&gt;
574-
.rapido code {
574+
article.rapido code {
575575
color: rgba(0, 0, 255, 1);
576576
}
577-
.rapido pre > mark > code {
577+
article.rapido pre > mark > code {
578578
border-left: 2px solid rgba(0, 0, 255, 1);
579579
background: rgba(0, 0, 255, 0.05);
580580
}
581-
.rapido mark {
581+
article.rapido mark {
582582
background: rgba(0, 0, 255, 0.1);
583583
}
584584
&lt;/style&gt;</code></mark>

0 commit comments

Comments
 (0)