mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
Docs: separate pages
This commit is contained in:
parent
cea5c8c04c
commit
bbb53c7dd4
61 changed files with 2994 additions and 1498 deletions
39
docs/src/rtl.html
Normal file
39
docs/src/rtl.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
${require('./_head.html')
|
||||
title="RTL (Right-To-Left)"
|
||||
description="Support for right-to-left text in Pico with dir='rtl'"
|
||||
canonical="rtl.html"
|
||||
}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
${require('./_nav.html')}
|
||||
|
||||
<main class="container" id="docs">
|
||||
${require('./_sidebar.html') active="rtl-link"}
|
||||
|
||||
<div role="document">
|
||||
<section id="rtl">
|
||||
<hgroup>
|
||||
<h2>RTL</h2>
|
||||
<h3>Support for right-to-left text in Pico.</h3>
|
||||
</hgroup>
|
||||
<p>To enable RTL in Pico you need to set <code><i>dir</i>=<u>"rtl"</u></code>on the <code><<b>html</b>></code> element.</p>
|
||||
|
||||
<pre><code><em><!doctype html></em>
|
||||
<<b>html</b> <i>dir</i>=<u>"rtl"</u> <i>lang</i>=<u>"ar"</u>>
|
||||
<em>...</em>
|
||||
</<b>html</b>></code></pre>
|
||||
|
||||
<p>The RTL feature is still experimental and will probably evolve.</p>
|
||||
</section>
|
||||
|
||||
${require('./_footer.html')}
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<script src="js/commons.min.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue