Skip to content

Commit 908d085

Browse files
close #135 | review header text
1 parent b8d6fa5 commit 908d085

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

index.html

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,21 @@
3636
<main>
3737
<article class="rapido">
3838
<header>
39-
<h1>Rapido: semantic HTML elements for your writings.</h1>
40-
<p>Rapido provides a default style for a set of <strong>semantic HTML</strong> elements that you can use to compose your essays. No CSS or JS is required.</p>
39+
<h1>Rapido.css: semantic HTML for your writings.</h1>
40+
<p>Rapido provides a default style for a set of <strong>semantic HTML</strong> elements that you can use to compose your essays. Just write with semantic HTML, without the need to remember any CSS class or JS command.</p>
4141
<p>The present document has been created using Rapido, you can easily get documents or blog posts with the same layout and style. See how to use Rapido in the next sections.</p>
42+
<figure>
43+
<pre><code>&lt;article <mark>class="rapido"</mark>&gt;
44+
&lt;section&gt;
45+
&lt;h1&gt;...&lt;/h1&gt;
46+
&lt;p&gt;...&lt;small&gt;...&lt;/small&gt;&lt;/p&gt;
47+
&lt;/section&gt;
48+
&lt;/article&gt;</code></pre>
49+
<figcaption>
50+
<p>Assign the CSS class <code>rapido</code> to the <code>&lt;article&gt;</code> element and you are done.</p>
51+
<p>Rapido is just that: copy the HTML snippets and fill the gaps.</p>
52+
</figcaption>
53+
</figure>
4254
<p>Rapido is open source, view it on <a href="https://github.com/nextbitlabs/Rapido">Github</a>.</p>
4355
</header>
4456
<section>
@@ -89,7 +101,7 @@ <h1>Minimal skeleton of an HTML document.</h1>
89101
<p>Note the presence of the stylesheet <code>rapido.css</code> within the <code>&lt;head&gt;</code> element, it defines the style rules and it is all you need to use Rapido.</p>
90102
</figcaption>
91103
</figure>
92-
<p>The next sections describe how to replace the ellipsis with the content of interest, like paragraphs, figures, tables and so on. Rapido is just that: copy and paste the HTML snippets and fill the gaps with your own content.</p>
104+
<p>The next sections describe how to replace the ellipsis with the content of interest, like paragraphs, figures, tables and so on.</p>
93105
</section>
94106

95107
<section>
@@ -260,8 +272,8 @@ <h1>Code snippet of a quotation from another source.</h1>
260272
<section>
261273
<h1>Highlights</h1>
262274
<p>The repetition of some content from the same source is used for the purposes of enticing readers or highlighting key topics. You can repeat a passage or an entire paragraph using the <code>&lt;aside&gt;</code> element inside a section.</p>
263-
<aside>
264-
<p><strong>Rapido</strong> is just that: copy and paste the HTML snippets and fill the gaps.</p>
275+
<aside style="width: 100%">
276+
<p>Rapido has been crafted with the idea that using semantic HTML for your writings <em>can be easy</em>.</p>
265277
</aside>
266278
<figure>
267279
<pre><code>&lt;section&gt;

rapido.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,13 @@ article.rapido > header > figure > figcaption > p {
481481
}
482482

483483
.rapido > footer pre {
484+
width: 100%;
484485
font-size: 12px;
485486
line-height: 18px;
486487
}
487488

488-
.rapido > footer pre,
489489
article.rapido > header pre {
490-
width: 100%;
490+
width: 600px;
491491
}
492492

493493
article.rapido > header > pre {

0 commit comments

Comments
 (0)