mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
Docs: separate pages
This commit is contained in:
parent
cea5c8c04c
commit
bbb53c7dd4
61 changed files with 2994 additions and 1498 deletions
157
docs/src/tables.html
Normal file
157
docs/src/tables.html
Normal file
|
@ -0,0 +1,157 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
${require('./_head.html')
|
||||
title="Tables"
|
||||
description="Default styles for tables without .classes"
|
||||
canonical="tables.html"
|
||||
}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
${require('./_nav.html')}
|
||||
|
||||
<main class="container" id="docs">
|
||||
${require('./_sidebar.html') active="tables-link"}
|
||||
|
||||
<div role="document">
|
||||
<section id="tables">
|
||||
<hgroup>
|
||||
<h2>Tables</h2>
|
||||
<h3>Default styles for tables without <code>.classes</code></h3>
|
||||
</hgroup>
|
||||
<figure>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">1</th>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">2</th>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">3</th>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</figure>
|
||||
|
||||
<pre><code><<b>table</b>>
|
||||
<<b>thead</b>>
|
||||
<<b>tr</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"col"</u>>#</<b>th</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"col"</u>>Heading</<b>th</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"col"</u>>Heading</<b>th</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"col"</u>>Heading</<b>th</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"col"</u>>Heading</<b>th</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"col"</u>>Heading</<b>th</b>>
|
||||
</<b>tr</b>>
|
||||
</<b>thead</b>>
|
||||
<<b>tbody</b>>
|
||||
<<b>tr</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"row"</u>>1</<b>th</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
</<b>tr</b>>
|
||||
<<b>tr</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"row"</u>>1</<b>th</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
</<b>tr</b>>
|
||||
<<b>tr</b>>
|
||||
<<b>th</b> <i>scope</i>=<u>"row"</u>>1</<b>th</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
<<b>td</b>>Cell</<b>td</b>>
|
||||
</<b>tr</b>>
|
||||
</<b>tbody</b>>
|
||||
</<b>table</b>></code></pre>
|
||||
|
||||
<p><code><i>role</i>=<u>"grid"</u></code> enable striped rows.</p>
|
||||
<figure>
|
||||
<table role="grid">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
<th scope="col">Heading</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">1</th>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">2</th>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">3</th>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
<td>Cell</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</figure>
|
||||
|
||||
<pre><code><<b>table</b> <i>role</i>=<u>"grid"</u>>
|
||||
<em>…</em>
|
||||
</<b>table</b>></code></pre>
|
||||
|
||||
</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