styling overhaul & colors
This commit is contained in:
parent
cf39089a57
commit
d4223e06fe
|
@ -1,386 +1,393 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Stylelite</title>
|
||||
<link rel="stylesheet" href="../src/stylelite.css">
|
||||
<style>
|
||||
.fg-danger {color: indianred}
|
||||
.fg-success {color: seagreen}
|
||||
.fg-primary {color: steelblue}
|
||||
.fg-warning {color: khaki}
|
||||
.btn-success {background: seagreen; color: #FFF;}
|
||||
.btn-danger {background: indianred; color: #FFF;}
|
||||
.btn-primary {background: steelblue; color: #FFF;}
|
||||
.btn-warning {background: khaki; color: #000;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<section>
|
||||
<nav>
|
||||
<strong>Styles</strong>
|
||||
<ul>
|
||||
<li><a href="#type">Typography</a></li>
|
||||
<li><a href="#forms">Forms</a></li>
|
||||
<li><a href="#table">Tables</a></li>
|
||||
<li><a href="#grid">Grid Layout</a></li>
|
||||
<li><a href="#utilities">Utilities</a></li>
|
||||
<li></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<br>
|
||||
<div>
|
||||
<h1 style="color: var(--mg);">
|
||||
STYLELITE
|
||||
<span style="color: var(--fg);">CSS</span>
|
||||
</h1>
|
||||
<div class="subtitle">CSS for Minimalist</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="grid">
|
||||
<div style="background: var(--fg);"> </div>
|
||||
<div style="background: var(--mg);"> </div>
|
||||
<div class="outline"> </div>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="overview"></a>
|
||||
<h2 class="underline">Overview</h2>
|
||||
<div>
|
||||
<code>DIV</code> is not the only tag avalible to your designs.
|
||||
Mimic traditional <code>.container</code> class by just using a <code>MAIN</code> tag.
|
||||
<p></p>
|
||||
Need to divide major sections of your code, eh...use <code>SECTION</code> tag.
|
||||
<p></p>
|
||||
And for that little extra content flair, wrap in an <code>ARTICLE</code> tag.
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="type"></a>
|
||||
<h2>Typography</h2>
|
||||
<div>
|
||||
<blockquote>
|
||||
The alternative to good design is always bad design. there is no such thing as no design.
|
||||
Simplicity carried to an extreme, becomes elegance.
|
||||
<cite>-- Adam Judge</cite>
|
||||
</blockquote>
|
||||
<p>
|
||||
<code>P</code>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vestibulum luctus arcu,
|
||||
eu faucibus ex. Ut consequat lorem eget aliquet semper. Praesent quis vestibulum ante,
|
||||
id tristique leo. Etiam sed congue lacus. Nunc ut ornare metus. Suspendisse tincidunt in
|
||||
odio eu faucibus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla
|
||||
facilisi.
|
||||
</p>
|
||||
<p>
|
||||
<code>STRONG</code>
|
||||
<strong id="generated">Generated 1 paragraph, 52 words, 354 bytes of
|
||||
<a href="https://www.lipsum.com/" title="Lorem Ipsum">Lorem Ipsum</a>
|
||||
</strong>
|
||||
</p>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<h1><code>H1</code> Heading...</h1>
|
||||
<h2><code>H2</code> Heading...</h2>
|
||||
<h3><code>H3</code> Heading...</h3>
|
||||
<h4><code>H4</code> Heading...</h4>
|
||||
<h5><code>H5</code> Heading...</h5>
|
||||
<h6><code>H6</code> Heading...</h6>
|
||||
</div>
|
||||
<div>
|
||||
<p><code>P</code> can simply be a paragraph</p>
|
||||
<p><code>A</code> can be a <a href="./">link</a></p>
|
||||
<p><code>STRONG</code> can be <strong>bold</strong></p>
|
||||
<p><code>U</code> can be <u>underlined</u></p>
|
||||
<p><code>EM</code> can be <em>emphasised</em></p>
|
||||
<p><code>SMALL</code> can be <small>small</small></p>
|
||||
<p><code>CODE</code> can be <code>code</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<code>HR</code>
|
||||
<hr>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<code>IMG</code>
|
||||
</div>
|
||||
<img src='http://via.placeholder.com/340x280' alt='Example image'>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="lists"></a>
|
||||
<h2>Lists</h2>
|
||||
<article class="grid">
|
||||
<div>
|
||||
<code>UL</code>
|
||||
<ul>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<code>OL</code>
|
||||
<ol>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
</ol>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
<section>
|
||||
<a name="forms"></a>
|
||||
<h2>Forms</h2>
|
||||
<form>
|
||||
<details>
|
||||
<summary>Details Summary</summary>
|
||||
<div>
|
||||
Default <code>details</code> and <code>summary</code> behavior.
|
||||
wrap content in tag, like <code>div</code>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<div>
|
||||
<label for='id'>User id (read only)</label>
|
||||
<input name='id' id='id' value='R2D2' readonly>
|
||||
</div>
|
||||
<div>
|
||||
<label for='email'>Email</label>
|
||||
<input type='email' name='email' id='email' placeholder='email@example.com'>
|
||||
</div>
|
||||
<div>
|
||||
<label for='password'>Password</label>
|
||||
<input type='password' name='password' id='password'>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='disabled'>Random disabled input</label>
|
||||
<input disabled name='disabled' id='disabled'
|
||||
placeholder='Because why not?'>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='selected'>Prefered theme</label>
|
||||
<select name="selected" id="">
|
||||
<option value="">Choose One</option>
|
||||
<option value="light">Light</option>
|
||||
<option value="dark">Dark</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='about'>About me</label>
|
||||
<textarea name='about' id='about'
|
||||
placeholder='I am a textarea...'></textarea>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='remember'>
|
||||
<input type='checkbox' name='remember' id='remember' checked>
|
||||
Remember me
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input class="right" type="submit"></input>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<br>
|
||||
<section>
|
||||
<a name="buttons"></a>
|
||||
<h3>Buttons</h3>
|
||||
<div class="grid">
|
||||
<button class="sm">Small</button>
|
||||
<button>Default</button>
|
||||
<button class="lg">Large</button>
|
||||
<button class="outline">Outline</button>
|
||||
</div>
|
||||
|
||||
<div class="grid">
|
||||
<button class="btn-warning">Warning</button>
|
||||
<button class="btn-danger">Danger</button>
|
||||
<button class="btn-primary">Primary</button>
|
||||
<button class="btn-success">Success</button>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="table"></a>
|
||||
<h2>Tables</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>One</th>
|
||||
<th>Two</th>
|
||||
<th>There</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<a name="grid"></a>
|
||||
<h2>Grid System</h2>
|
||||
<p>
|
||||
The flex-based grid system dynamicly divides content on the number of
|
||||
child elements under <code>row</code>, be that a plain <code>div</code>(auto) or <code>col-*</code>
|
||||
|
||||
<p>
|
||||
column sizes range from <code>col-1</code> to <code>col-5</code>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
a <code>col-5</code> is 5x <code>col-1</code>
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
if <code>col-*</code> is not defined on a <code>div</code>, it is considered a <code>col-1</code>
|
||||
</blockquote>
|
||||
</p>
|
||||
<article>
|
||||
<div class="row content">
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center col-2">2</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center col-3">3</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center col-4">4</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="border center col-5">5</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
<section>
|
||||
<a name="utilities"></a>
|
||||
<h2>Utility</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th><code>.content</code></th>
|
||||
<td>adds uniform padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.left</code></th>
|
||||
<td>float content left</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.right</code></th>
|
||||
<td>float content right</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.center</code></th>
|
||||
<td>text aligns content center</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.grid</code></th>
|
||||
<td>dynamic grid layout helper</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.sm</code></th>
|
||||
<td>reduces component size by half</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.lg</code></th>
|
||||
<td>increase component size by 75%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.outline</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.underline</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.border</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.spaceless</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.subtitle</code></th>
|
||||
<td>designed for tigher fit under headings</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.fill</code></th>
|
||||
<td>fills all available space</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.clear</code></th>
|
||||
<td> clear float fix</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Stylelite</title>
|
||||
<link rel="stylesheet" href="../src/stylelite.css">
|
||||
<style>
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<section>
|
||||
<nav>
|
||||
<strong>Styles</strong>
|
||||
<ul>
|
||||
<li><a href="#type">Typography</a></li>
|
||||
<li><a href="#forms">Forms</a></li>
|
||||
<li><a href="#table">Tables</a></li>
|
||||
<li><a href="#grid">Grid Layout</a></li>
|
||||
<li><a href="#components">Components</a></li>
|
||||
<li><a href="#utilities">Utilities</a></li>
|
||||
<li></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<br>
|
||||
<div>
|
||||
<h1 style="color: var(--mg);">
|
||||
STYLELITE
|
||||
<span style="color: var(--fg);">CSS</span>
|
||||
</h1>
|
||||
<div class="subtitle">CSS for Minimalist</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="grid">
|
||||
<div style="background: var(--fg);"> </div>
|
||||
<div style="background: var(--gray);"> </div>
|
||||
<div class="outline"> </div>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="overview"></a>
|
||||
<h2 class="underline">Overview</h2>
|
||||
<div>
|
||||
<code>DIV</code> is not the only tag avalible to your designs.
|
||||
Mimic traditional <code>.container</code> class by just using a <code>MAIN</code> tag.
|
||||
<p></p>
|
||||
Need to divide major sections of your code, eh...use <code>SECTION</code> tag.
|
||||
<p></p>
|
||||
And for that little extra content flair, wrap in an <code>ARTICLE</code> tag.
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="type"></a>
|
||||
<h2>Typography</h2>
|
||||
<div>
|
||||
<blockquote>
|
||||
The alternative to good design is always bad design. there is no such thing as no design.
|
||||
Simplicity carried to an extreme, becomes elegance.
|
||||
<cite>-- Adam Judge</cite>
|
||||
</blockquote>
|
||||
<p>
|
||||
<code>P</code>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vestibulum luctus arcu,
|
||||
eu faucibus ex. Ut consequat lorem eget aliquet semper. Praesent quis vestibulum ante,
|
||||
id tristique leo. Etiam sed congue lacus. Nunc ut ornare metus. Suspendisse tincidunt in
|
||||
odio eu faucibus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla
|
||||
facilisi.
|
||||
</p>
|
||||
<p>
|
||||
<code>STRONG</code>
|
||||
<strong id="generated">Generated 1 paragraph, 52 words, 354 bytes of
|
||||
<a href="https://www.lipsum.com/" title="Lorem Ipsum">Lorem Ipsum</a>
|
||||
</strong>
|
||||
</p>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<h1><code>H1</code> Heading...</h1>
|
||||
<h2><code>H2</code> Heading...</h2>
|
||||
<h3><code>H3</code> Heading...</h3>
|
||||
<h4><code>H4</code> Heading...</h4>
|
||||
<h5><code>H5</code> Heading...</h5>
|
||||
<h6><code>H6</code> Heading...</h6>
|
||||
</div>
|
||||
<div>
|
||||
<p><code>P</code> can simply be a paragraph</p>
|
||||
<p><code>A</code> can be a <a href="./">link</a></p>
|
||||
<p><code>STRONG</code> can be <strong>bold</strong></p>
|
||||
<p><code>U</code> can be <u>underlined</u></p>
|
||||
<p><code>EM</code> can be <em>emphasised</em></p>
|
||||
<p><code>SMALL</code> can be <small>small</small></p>
|
||||
<p><code>CODE</code> can be <code>code</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<code>HR</code>
|
||||
<hr>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<code>IMG</code>
|
||||
</div>
|
||||
<img src='http://via.placeholder.com/340x280' alt='Example image'>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="lists"></a>
|
||||
<h2>Lists</h2>
|
||||
<article class="grid">
|
||||
<div>
|
||||
<code>UL</code>
|
||||
<ul>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<code>OL</code>
|
||||
<ol>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
<li><code>LI</code>List Item</li>
|
||||
</ol>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
<section>
|
||||
<a name="forms"></a>
|
||||
<h2>Forms</h2>
|
||||
<form class="">
|
||||
<details>
|
||||
<summary>Details Summary</summary>
|
||||
<div>
|
||||
Default <code>details</code> and <code>summary</code> behavior.
|
||||
wrap content in tag, like <code>div</code>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<div>
|
||||
<label for='id'>User id (read only)</label>
|
||||
<input name='id' id='id' value='R2D2' readonly>
|
||||
</div>
|
||||
<div>
|
||||
<label for='email'>Email</label>
|
||||
<input type='email' name='email' id='email' placeholder='email@example.com'>
|
||||
</div>
|
||||
<div>
|
||||
<label for='password'>Password</label>
|
||||
<input type='password' name='password' id='password'>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='disabled'>Random disabled input</label>
|
||||
<input disabled name='disabled' id='disabled'
|
||||
placeholder='Because why not?'>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='selected'>Prefered theme</label>
|
||||
<select name="selected" id="">
|
||||
<option value="">Choose One</option>
|
||||
<option value="light">Light</option>
|
||||
<option value="dark">Dark</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='about'>About me</label>
|
||||
<textarea name='about' id='about'
|
||||
placeholder='I am a textarea...'></textarea>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for='remember'>
|
||||
<input type='checkbox' name='remember' id='remember' checked>
|
||||
Remember me
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input class="right" type="submit"></input>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<br>
|
||||
<section>
|
||||
<a name="buttons"></a>
|
||||
<h3>Buttons</h3>
|
||||
<div class="grid">
|
||||
<button>Button</button>
|
||||
<button class="default">Default</button>
|
||||
<button class="primary">Primary</button>
|
||||
<button disabled>Disabled</button>
|
||||
<button class="link">Link</button>
|
||||
</div>
|
||||
|
||||
<div class="grid">
|
||||
<button class="default">Default</button>
|
||||
<button class="primary">Primary</button>
|
||||
<button class="info">Info</button>
|
||||
<button class="warning">Warning</button>
|
||||
<button class="danger">Danger</button>
|
||||
<button class="success">Success</button>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<a name="table"></a>
|
||||
<h2>Tables</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>One</th>
|
||||
<th>Two</th>
|
||||
<th>There</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
<td>Data</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<a name="grid"></a>
|
||||
<h2>Grid System</h2>
|
||||
<p>
|
||||
The flex-based grid system dynamicly divides content on the number of
|
||||
child elements under <code>row</code>, be that a plain <code>div</code>(auto) or <code>col-*</code>
|
||||
|
||||
<p>
|
||||
column sizes range from <code>col-1</code> to <code>col-5</code>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
a <code>col-5</code> is 5x <code>col-1</code>
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
if <code>col-*</code> is not defined on a <code>div</code>, it is considered a <code>col-1</code>
|
||||
</blockquote>
|
||||
</p>
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center col-2">2</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center col-3">3</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center col-4">4</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="border center col-5">5</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
<div class="border center">auto</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<a name="components"></a>
|
||||
<h2>Components</h2>
|
||||
|
||||
<article>
|
||||
<header>Header</header>
|
||||
<main>Content</main>
|
||||
<footer>Footer</footer>
|
||||
</article>
|
||||
</section>
|
||||
<section>
|
||||
<a name="utilities"></a>
|
||||
<h2>Utility</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th><code>.content</code></th>
|
||||
<td>adds uniform padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.left</code></th>
|
||||
<td>float content left</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.right</code></th>
|
||||
<td>float content right</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.center</code></th>
|
||||
<td>text aligns content center</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.grid</code></th>
|
||||
<td>dynamic grid layout helper</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.sm</code></th>
|
||||
<td>reduces component size by half</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.lg</code></th>
|
||||
<td>increase component size by 75%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.outline</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.underline</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.border</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.spaceless</code></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.subtitle</code></th>
|
||||
<td>designed for tigher fit under headings</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.fill</code></th>
|
||||
<td>fills all available space</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><code>.clear</code></th>
|
||||
<td> clear float fix</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
|
@ -1,284 +1,384 @@
|
|||
/*! Stylelite v:0.5.0 | MIT LICENSE | https://github.com/n2geoff/stylelite */
|
||||
:root {
|
||||
--space: 1rem;
|
||||
--size: 1.1rem;
|
||||
--radius: 0rem;
|
||||
--fg: #17202A;
|
||||
--bg: #FDFEFE;
|
||||
--mg: #ABB2B9;
|
||||
}
|
||||
|
||||
[data-theme=dark] {
|
||||
--mg: #ABB2B9;
|
||||
--bg: #17202A;
|
||||
--fg: #FDFEFE;
|
||||
}
|
||||
|
||||
*,*:before,*:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body {
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: var(--size);
|
||||
letter-spacing: 0.0625em;
|
||||
line-height: calc(var(--size) * 1.5);
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,embed,iframe,object,audio,video {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 0 auto;
|
||||
padding: var(--space);
|
||||
height: 100vh;
|
||||
max-width: 1140px;
|
||||
}
|
||||
|
||||
ul,ol,li {
|
||||
margin: 0 calc(var(--space) *.72);
|
||||
padding: 0
|
||||
}
|
||||
|
||||
table {
|
||||
background: var(--bg);
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th,td {
|
||||
padding: calc(var(--space) / 2.4);
|
||||
border-bottom: 1px solid var(--mg);
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: var(--space) 0;
|
||||
border-left: calc(var(--space) / 2) solid var(--fg);
|
||||
color: var(--fg);
|
||||
background: var(--mg);
|
||||
padding: var(--space);
|
||||
}
|
||||
|
||||
code {
|
||||
color: var(--mg);
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
blockquote code, details code {
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
hr {
|
||||
color: var(--mg);
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
margin: var(--space) 0;
|
||||
padding-bottom: calc(var(--space) / 2);
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(var(--size) * 2);
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
a {color: var(--mg)}
|
||||
a:hover {color: var(--fg)}
|
||||
|
||||
section, article {
|
||||
margin-top: calc(var(--space) * 1.2);
|
||||
padding-bottom: var(--space);
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
|
||||
details {
|
||||
margin: var(--space) 0;
|
||||
color: var(--bg);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
details[open] {
|
||||
background-color: var(--mg);
|
||||
margin-bottom: var(--space);
|
||||
}
|
||||
|
||||
details>* {padding: calc(var(--space)/2); border-top: 1px solid var(--bg)}
|
||||
|
||||
summary {
|
||||
background-color: var(--mg);
|
||||
}
|
||||
|
||||
button, input {
|
||||
display: inline-block;
|
||||
outline: none;
|
||||
box-sizing: border-box;
|
||||
font-size: var(--size);
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
width: 100%;
|
||||
height: calc(var(--size) * 3);
|
||||
border: 1px solid var(--mg);
|
||||
border-radius: var(--radius);
|
||||
padding: clamp(.5rem, var(--space), 2rem);
|
||||
margin-bottom: var(--space);
|
||||
margin-right: var(--space);
|
||||
}
|
||||
|
||||
button, input[type="reset"],input[type="submit"] {
|
||||
display: inline-block;
|
||||
text-transform: uppercase;
|
||||
border-radius: var(--radius);
|
||||
width: initial;
|
||||
background: var(--fg);
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
button {
|
||||
background: var(--fg);
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
button:hover, input[type="reset"]:hover,input[type="submit"]:hover {
|
||||
background: var(--mg);
|
||||
color: var(--fg);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input:disabled {
|
||||
background: var(--mg);
|
||||
color: var(--bg);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
select:focus,textarea:focus,input:focus {
|
||||
border: 2px solid var(--mg);
|
||||
}
|
||||
|
||||
input[type="checkbox"],input[type="radio"] {
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
margin: 0 .5rem;
|
||||
width: calc(var(--size) * .8);
|
||||
height: calc(var(--size) * .8);
|
||||
}
|
||||
|
||||
select,textarea {
|
||||
display: inline-block;
|
||||
outline: none;
|
||||
font-size: var(--size);
|
||||
height: calc(var(--size) * 3);
|
||||
width: 100%;
|
||||
border: 1px solid var(--mg);
|
||||
color: var(--fg);
|
||||
background: var(--bg);
|
||||
border-radius: var(--radius);
|
||||
padding: 0 var(--space);
|
||||
margin-bottom: var(--space);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
background: var(--bg) no-repeat 100%;
|
||||
color: var(--fg);
|
||||
padding: 0 clamp(.5rem, var(--space), 2rem);
|
||||
appearance: none;
|
||||
background-size: 1ex;
|
||||
background-origin: content-box;
|
||||
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='40' fill='%23555'><polygon points='0,0 60,0 30,40'/></svg>");
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
border: 1px solid var(--mg);
|
||||
height: calc(var(--size) * 6rem);;
|
||||
padding: clamp(.5rem, var(--space), 2rem);
|
||||
cursor: text;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: .5rem 1rem;
|
||||
background-color: var(--fg);
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
nav ul {
|
||||
display: flex;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
color: var(--bg);
|
||||
text-decoration: none;
|
||||
}
|
||||
nav ul li a:hover {color: var(--mg)}
|
||||
|
||||
|
||||
/* Grid System */
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
gap: var(--space);
|
||||
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
flex: 0 1 auto;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin:0;
|
||||
}
|
||||
.row>*, .col, .col-1, .col-2, .col-3, .col-4,.col-5 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
box-sizing: border-box;
|
||||
flex: 1;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-1 {flex: 1 !important;}
|
||||
.col-2 {flex: 2 !important;}
|
||||
.col-3 {flex: 3 !important;}
|
||||
.col-4 {flex: 4 !important;}
|
||||
.col-5 {flex: 5 !important;}
|
||||
|
||||
/* Utilities */
|
||||
|
||||
.right {float:right}
|
||||
.left {float:left}
|
||||
.center {text-align: center;}
|
||||
.clear {content:'';display: table;clear:both}
|
||||
.fill {width: 100%; height: 100%}
|
||||
.outline {background-color: transparent; color: var(--fg); border: 1px solid var(--fg)}
|
||||
.underline {border-bottom: 1px solid var(--mg)}
|
||||
.border {border: 1px solid var(--mg)}
|
||||
.content {padding: var(--space)}
|
||||
.subtitle {margin-top: calc(var(--size) * -1); margin-bottom: var(--space); font-size: smaller};
|
||||
.spaceless {margin: 0; padding:0}
|
||||
.sm {font-size: small;height: calc(var(--size) * 1.5);padding: 0 calc(var(--size)/ .75);}
|
||||
.lg {font-size: x-large;height: calc(var(--size) * 4.5);padding: 0 calc(var(--size) / 1.25);}
|
||||
/*! Stylelite v:0.5.0 | MIT LICENSE | https://github.com/n2geoff/stylelite */
|
||||
:root {
|
||||
--space: 1rem;
|
||||
--size: 1.1rem;
|
||||
--radius: 0rem;
|
||||
--fg: #17202A;
|
||||
--bg: #FDFEFE;
|
||||
--mg: #99A3A4;
|
||||
|
||||
--white: #FFF;
|
||||
--black: #000;
|
||||
--gray: #DCDCDC;
|
||||
|
||||
--primary: #1F618D;
|
||||
--info: #3498DB;
|
||||
--warning: #B7950B;
|
||||
--danger: #C0392B;
|
||||
--success: #1E8449;
|
||||
--default: #DCDCDC;
|
||||
}
|
||||
|
||||
[data-theme=dark] {
|
||||
--mg: #99A3A4;;
|
||||
--bg: #17202A;
|
||||
--fg: #EAECEE;
|
||||
}
|
||||
|
||||
*,*:before,*:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body {
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: -apple-system, system-ui, Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
letter-spacing: 0.0125em;
|
||||
line-height: calc(var(--size) * 1.5);
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,embed,iframe,object,audio,video {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 0 auto;
|
||||
padding: var(--space);
|
||||
height: 100vh;
|
||||
max-width: 1140px;
|
||||
}
|
||||
|
||||
table {
|
||||
background: var(--bg);
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table>thead>tr>th {
|
||||
border-bottom: 2px solid var(--mg);
|
||||
}
|
||||
|
||||
table.striped tbody>:nth-child(2n-1) {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th,td {
|
||||
padding: calc(var(--space) / 2.4);
|
||||
border-bottom: 1px solid var(--mg);
|
||||
}
|
||||
|
||||
fieldset {border: none;padding: 0;}
|
||||
|
||||
legend {
|
||||
font-size: larger;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: 1rem;
|
||||
line-height: inherit;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--mg);
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: var(--space) 0;
|
||||
border-left: calc(var(--space) / 2) solid var(--fg);
|
||||
color: var(--black);
|
||||
background: var(--gray);
|
||||
padding: var(--space);
|
||||
}
|
||||
|
||||
code {
|
||||
color: var(--mg);
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
blockquote code, details code {
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
hr {
|
||||
color: var(--mg);
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
margin: var(--space) 0;
|
||||
padding-bottom: calc(var(--space) / 2);
|
||||
text-transform: capitalize;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
h2 {font-size: 1.8rem}
|
||||
h3 {font-size: 1.4rem}
|
||||
h4 {font-size: 1.2rem}
|
||||
h5 {font-size: 1rem}
|
||||
h6 {font-size: .9rem}
|
||||
|
||||
a {color: var(--primary)}
|
||||
a:hover {opacity: .5;}
|
||||
/* a:hover {color: var(--fg)} */
|
||||
|
||||
section, article {
|
||||
margin-bottom: calc(var(--space) * 1.2);
|
||||
padding-bottom: var(--space);
|
||||
}
|
||||
|
||||
article {
|
||||
border: 1px solid rgba(0,0,0,.125);
|
||||
background: var(--gray);
|
||||
}
|
||||
|
||||
article main {
|
||||
height: auto;
|
||||
padding: var(--space);
|
||||
}
|
||||
|
||||
article header {
|
||||
/* border-bottom: 1px solid rgba(0,0,0,.125); */
|
||||
padding: var(--space);
|
||||
}
|
||||
|
||||
article footer {
|
||||
/* background: var(--default); */
|
||||
/* border-top: 1px solid rgba(0,0,0,.125); */
|
||||
padding: var(--space);
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
|
||||
form>* {border-top: red}
|
||||
|
||||
details {
|
||||
margin: var(--space) 0;
|
||||
color: var(--black);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
details[open] {
|
||||
background-color: var(--default);
|
||||
margin-bottom: var(--space);
|
||||
}
|
||||
|
||||
details>* {padding: calc(var(--space)/2); border-top: 1px solid var(--bg)}
|
||||
|
||||
summary {
|
||||
background-color: var(--default);
|
||||
}
|
||||
|
||||
button, input {
|
||||
display: inline-block;
|
||||
outline: none;
|
||||
box-sizing: border-box;
|
||||
font-size: 1rem;
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
width: 100%;
|
||||
height: calc(var(--size) * 2);
|
||||
border: 1px solid var(--mg);
|
||||
border-radius: var(--radius);
|
||||
padding: .5rem 1rem;
|
||||
}
|
||||
|
||||
button, input[type="reset"],input[type="submit"] {
|
||||
display: inline-block;
|
||||
border-radius: var(--radius);
|
||||
width: initial;
|
||||
}
|
||||
|
||||
button[disabled], button[disabled]:hover {
|
||||
opacity: .5;
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
button.link {
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--primary)
|
||||
}
|
||||
|
||||
button.default {
|
||||
background: var(--default);
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
button.primary {
|
||||
background: var(--primary);
|
||||
color: var(--white);
|
||||
}
|
||||
button.info {
|
||||
background: var(--info);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
button.warning {
|
||||
background: var(--warning);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
button.danger {
|
||||
background: var(--danger);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
button.success {
|
||||
background: var(--success);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
button:hover, input[type="reset"]:hover,input[type="submit"]:hover {
|
||||
/* background: var(--mg); */
|
||||
background: #DCDCDC;
|
||||
color: var(--black);
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
|
||||
button.link:hover {
|
||||
background: var(--bg)
|
||||
}
|
||||
|
||||
input:disabled {
|
||||
opacity: .5;
|
||||
color: var(--bg);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
select:focus,textarea:focus,input:focus {
|
||||
border: 2px solid var(--mg);
|
||||
}
|
||||
|
||||
input[type="checkbox"],input[type="radio"] {
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
margin: 0 .5rem;
|
||||
width: calc(var(--size) * .8);
|
||||
height: calc(var(--size) * .8);
|
||||
}
|
||||
|
||||
select,textarea {
|
||||
display: inline-block;
|
||||
outline: none;
|
||||
font-size: var(--size);
|
||||
height: calc(var(--size) * 2);
|
||||
width: 100%;
|
||||
border: 1px solid var(--mg);
|
||||
color: var(--fg);
|
||||
background: var(--bg);
|
||||
border-radius: var(--radius);
|
||||
padding: 0 var(--space);
|
||||
/* margin-bottom: var(--space); */
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
background: var(--bg) no-repeat 100%;
|
||||
color: var(--fg);
|
||||
padding: 0 clamp(.5rem, var(--space), 2rem);
|
||||
appearance: none;
|
||||
background-size: 1ex;
|
||||
background-origin: content-box;
|
||||
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='40' fill='%23555'><polygon points='0,0 60,0 30,40'/></svg>");
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
border: 1px solid var(--mg);
|
||||
height: calc(var(--size) * 6rem);;
|
||||
padding: clamp(.5rem, var(--space), 2rem);
|
||||
cursor: text;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1px solid var(--mg);
|
||||
}
|
||||
|
||||
nav ul {
|
||||
margin:0;
|
||||
display: flex;
|
||||
list-style-type: none;
|
||||
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
padding: .5rem 1rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav ul li a:hover {opacity: .75;}
|
||||
|
||||
|
||||
/* Grid System */
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
gap: var(--space);
|
||||
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
|
||||
padding: .4rem;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
flex: 0 1 auto;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin:0;
|
||||
padding: .4rem;
|
||||
}
|
||||
|
||||
.row>*, .col, .col-1, .col-2, .col-3, .col-4,.col-5 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
box-sizing: border-box;
|
||||
flex: 1;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-1 {flex: 1 !important;}
|
||||
.col-2 {flex: 2 !important;}
|
||||
.col-3 {flex: 3 !important;}
|
||||
.col-4 {flex: 4 !important;}
|
||||
.col-5 {flex: 5 !important;}
|
||||
|
||||
/* Utilities */
|
||||
|
||||
.right {float:right}
|
||||
.left {float:left}
|
||||
.center {text-align: center;}
|
||||
.clear {content:'';display: table;clear:both}
|
||||
.fill {width: 100%; height: 100%}
|
||||
.outline {background-color: transparent; color: var(--fg); border: 1px solid var(--fg)}
|
||||
.underline {border-bottom: 1px solid var(--mg)}
|
||||
.border {border: 1px solid var(--mg)}
|
||||
.content {padding: var(--space)}
|
||||
.title {margin: 0; padding:0}
|
||||
.subtitle {margin-top: -.25rem; font-size: small};
|
||||
.spaceless {margin: 0; padding:0}
|
||||
.sm {font-size: small;height: calc(var(--size) * 1.5);padding: 0 calc(var(--size)/ .75);}
|
||||
.lg {font-size: x-large;height: calc(var(--size) * 4.5);padding: 0 calc(var(--size) / 1.25);}
|
||||
.rounded {border-radius: calc(var(--size) / 4);}
|
||||
|
|
Loading…
Reference in New Issue