aboutsummaryrefslogtreecommitdiff
path: root/htmx/static/pico-1.5.11/docs/src/containers.html
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
commitbd5a00c61b355c857b5c99323592ca432dea5d0a (patch)
tree7e8ac7730527c1ad71e3fdac85840948fd23f45f /htmx/static/pico-1.5.11/docs/src/containers.html
parentc71b37eb23d4c8af7ab983de34c6da5be9363f3a (diff)
downloadpaste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.gz
paste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.xz
wip
Diffstat (limited to 'htmx/static/pico-1.5.11/docs/src/containers.html')
-rw-r--r--htmx/static/pico-1.5.11/docs/src/containers.html74
1 files changed, 74 insertions, 0 deletions
diff --git a/htmx/static/pico-1.5.11/docs/src/containers.html b/htmx/static/pico-1.5.11/docs/src/containers.html
new file mode 100644
index 0000000..63dd3b7
--- /dev/null
+++ b/htmx/static/pico-1.5.11/docs/src/containers.html
@@ -0,0 +1,74 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ ${require('./_head.html')
+ title=`Containers`
+ description=`.container enable a centered viewport, .container-fluid enable a 100% layout.`
+ canonical=`containers.html`
+ }
+ </head>
+
+ <body>
+ ${require('./_nav.html')}
+
+ <main class="container" id="docs">
+ ${require('./_sidebar.html') active=`containers-link`}
+
+ <div role="document">
+ <section id="containers">
+ <hgroup>
+ <h1>Containers</h1>
+ <h2>
+ <code>.container</code> enable a centered viewport.<br>
+ <code>.container-fluid</code> enable a <code><u>100%</u></code> layout.
+ </h2>
+ </hgroup>
+
+<pre><code>&lt;<b>body</b>&gt;
+ &lt;<b>main</b> <i>class</i>=<u>"container"</u>&gt;&lt;/<b>main</b>&gt;
+&lt;/<b>body</b>&gt;</code></pre>
+
+ <p>Pico uses the same breakpoints and viewports sizes as <a href="https://getbootstrap.com/docs/5.1/layout/breakpoints/#available-breakpoints">Bootstrap</a>.</p>
+ <figure>
+ <table role="grid">
+ <thead>
+ <tr>
+ <th>Device</th>
+ <th>Extra&nbsp;small</th>
+ <th>Small</th>
+ <th>Medium</th>
+ <th>Large</th>
+ <th>Extra&nbsp;large</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th>Breakpoint</th>
+ <td>&lt;576<small>px</small></td>
+ <td>≥576<small>px</small></td>
+ <td>≥768<small>px</small></td>
+ <td>≥992<small>px</small></td>
+ <td>≥1200<small>px</small></td>
+ </tr>
+ <tr>
+ <th>Viewport</th>
+ <td>100<small>%</small></td>
+ <td>540<small>px</small></td>
+ <td>720<small>px</small></td>
+ <td>960<small>px</small></td>
+ <td>1140<small>px</small></td>
+ </tr>
+ </tbody>
+ </table>
+ </figure>
+ <p><code>&lt;<b>header</b>&gt;</code>, <code>&lt;<b>main</b>&gt;</code> and <code>&lt;<b>footer</b>&gt;</code> as direct children of <code>&lt;<b>body</b>&gt;</code> provide a responsive vertical <code><i>padding</i></code></p>
+ <p><code>&lt;<b>section</b>&gt;</code> provides a responsive <code><i>margin-bottom</i></code> to separate your sections.</p>
+ </section>
+
+ ${require('./_footer.html')}
+
+ </div>
+ </main>
+ <script src="js/commons.min.js"></script>
+ </body>
+</html>