1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00
bluelib/index.html

876 lines
45 KiB
HTML
Raw Normal View History

2021-01-09 01:35:03 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2021-07-31 01:32:01 +00:00
<link rel="stylesheet" href="src/targets/skeleton.root.css">
<link rel="stylesheet" href="src/targets/paper.root.css">
<link rel="stylesheet" href="src/targets/royalblue.root.css">
2021-01-09 01:35:03 +00:00
<title>Bluelib 2</title>
<style>
body {
margin: 4px !important;
}
</style>
2021-01-09 01:35:03 +00:00
</head>
<body class="theme-bluelib">
<hgroup>
</hgroup>
<div class="layout layout-threecol">
<main class="main layout-threecol-center">
<article>
<h1>
Bluelib 2
</h1>
<section class="chapter">
<h2>
Panels
</h2>
<section class="panel" id="panel-panel">
<h3>
Panel
</h3>
<p>
A <dfn id="dfn-panel">panel</dfn> is a <b>base container</b> styled with a <b>slight background color</b> and no borders.
</p>
</section>
<section class="panel panel-box" id="panel-box">
<h3>
Box
</h3>
<p>
A <dfn id="dfn-box">box</dfn> panel is a <b>generic container</b> styled as a <b>box with borders on all four sides</b>.
</p>
</section>
<section class="panel panel-dialog" id="panel-dialog">
2021-07-27 02:04:18 +00:00
<h3>
Dialog
2021-07-27 02:04:18 +00:00
</h3>
<p>
A <dfn id="dfn-dialog">dialog</dfn> panel is a <b>container for quotes or dialogues</b>, styled as a box with only the left border.
2021-07-27 02:04:18 +00:00
</p>
</section>
<section class="panel panel-parenthesis" id="panel-parenthesis">
<h3>
Parenthesis
</h3>
2021-07-27 02:04:18 +00:00
<p>
A <dfn id="dfn-parenthesis">parenthesis</dfn> panel is a <b>container for text tangentially related to the rest of the document</b>, styled as a box with smaller text and no borders.
2021-07-27 02:04:18 +00:00
</p>
</section>
<div class="chapter-forcewrap"></div>
<section class="panel panel-box" id="panel-dimensions">
<h3>
Dimensions
</h3>
<p>
Panels always have a <b><code>8px</code> margin</b> and <b><code>8px</code> of padding</b>.
</p>
<blockquote class="panel panel-dialog">
Hi! This is me talking to you, the reader!
</blockquote>
<blockquote class="panel panel-dialog">
I'm testing panel dimensions!
</blockquote>
<blockquote class="panel panel-dialog">
See? The margin between these dialog panels is consistent!
</blockquote>
2021-07-27 02:04:18 +00:00
</section>
<section class="panel panel-box" id="panel-nesting">
<h3>
Nesting
</h3>
<p>
Panels of any kind can be <b>infinitely nested</b>.
</p>
<section class="panel">
<p>
Like this!
</p>
<section class="panel">
<p>
How deep does this rabbit hole go?
</p>
<section class="panel">
<p>
BWOON.
</p>
<section class="panel">
<p>
BWOON.
</p>
<section class="panel">
<p>
BWOON.
</p>
<section class="panel">
<em>
<a href="https://www.youtube.com/watch?v=G2jUhnCU9iA" target="_blank">
PANELCEPTION.
</a>
</em>
</section>
</section>
</section>
</section>
</section>
</section>
2021-07-27 02:04:18 +00:00
</section>
</section>
<section class="chapter" id="chapter-chapters">
<h2>
Chapters
</h2>
<section class="panel panel-box" id="panel-chapter">
<h3>
Chapter
</h3>
<p>
A <dfn id="dfn-chapter">chapter</dfn> is a grouping of an heading and multiple panels containing tightly related information.
</p>
<blockquote class="panel panel-dialog">
You're seeing one right now!
</blockquote>
2021-07-24 08:21:09 +00:00
</section>
<section class="panel panel-box" id="panel-panelheights">
<h3>
Panel heights
</h3>
<p>
In a chapter, all panels on a row <b>inherit the height of the tallest panel in it</b>, so that no empty space is left.
</p>
2021-07-24 08:21:09 +00:00
</section>
<section class="panel panel-box" id="panel-autowrap">
<h3>
Auto-wrapping
</h3>
<p>
Additionaly, panels in a chapter will <b>automatically wrap</b> if their contents won't fit horizontally.
</p>
2021-07-24 08:21:09 +00:00
</section>
<div class="chapter-forcewrap"></div>
<section class="panel panel-box" id="panel-forcewrap">
<h3>
Force-wrapping
</h3>
<p>
You can override the automatic wrapping and manually decide where a chapter should wrap by inserting a <dfn id="dfn-forcewrap">force-wrap</dfn> element where you want the chapter to wrap.
</p>
<section class="panel panel-parenthesis">
Due to technical limitations, panels will have a <b><code>16px</code> vertical margin</b> when a chapter is force-wrapped.
</section>
2021-07-24 08:21:09 +00:00
</section>
</section>
<section class="chapter" id="chapter-separators">
<h2>
Separators
</h2>
<section class="panel panel-box" id="panel-separator">
<h3>
Separator
</h3>
<p>
A <dfn id="dfn-separator">separator</dfn> is a <b>horizontal line</b> that fills all the horizontal space available on a panel, forcing a line wrap.
</p>
<hr>
<blockquote class="panel panel-dialog">
Top Text
</blockquote>
2021-07-24 08:21:09 +00:00
</section>
<div class="chapter-forcewrap"></div>
<section class="panel panel-box" id="panel-separator-light">
<h3>
Light separator
</h3>
<p>
A <dfn id="dfn-separator-light">light separator</dfn> is a <b>slightly more transparent separator</b>, to be used if the regular color distracts too much from the flow of the text.
</p>
<hr class="separator-light">
<blockquote class="panel panel-dialog">
Bottom Text
</blockquote>
2021-07-24 08:21:09 +00:00
</section>
<section class="panel panel-box" id="panel-separator-heavy">
<h3>
Heavy separator
</h3>
<p>
A <dfn id="dfn-separator-heavy">heavy separator</dfn> is a <b>non-transparent separator</b>, to be used if the regular color isn't apparent enough.
</p>
<hr class="separator-heavy">
<blockquote class="panel panel-dialog">
Bottom Text 2: Electric Boogaloo
</blockquote>
2021-07-24 08:21:09 +00:00
</section>
</section>
<section class="chapter" id="chapter-images">
<h2>
Images
</h2>
<section class="panel panel-box" id="panel-images-default">
<h3>
Default
</h3>
<p>
Images are <b>automatically centered and resized to fit</b> the panel they are in.
</p>
<img src="https://i.imgur.com/tpC5y1N.png" alt="Uno reverse card reverses water"/>
2021-07-24 08:21:09 +00:00
</section>
<div class="chapter-forcewrap"></div>
<section class="panel panel-box" id="panel-limited">
<h3>
Limited
</h3>
<p>
Images can be <dfn id="dfn-limited">limited</dfn> to <b>prevent them from taking up too much screen space</b>.
</p>
<div class="chapter">
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-limited-half">
<h3>
Half
</h3>
<p>
The following image has a limit of half the vertical viewport:
</p>
<img class="image-limit-half" src="https://i.redd.it/0b2r669b73f41.jpg" alt="USB key in a bottle"/>
</section>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-limited-quarter">
<h3>
Quarter
</h3>
<p>
The following image has a limit of a quarter of the vertical viewport:
</p>
<img class="image-limit-quarter" src="https://i.redd.it/0b2r669b73f41.jpg" alt="USB key in a bottle"/>
</section>
</div>
2021-07-24 08:21:09 +00:00
</section>
</section>
<section class="chapter" id="chapter-status">
<h2>
Status
</h2>
<section class="panel panel-box" id="panel-disabled">
<h3>
Disabled
</h3>
<p>
An element can be <dfn id="dfn-disabled">disabled</dfn> to make it <b>partially transparent</b>, <b>non-interactable</b> and <b>displaying the <code>not-allowed</code> cursor</b> when hovered.
</p>
<p>
Any element, from a <code>&lt;span&gt;</code> to a chapter, can be disabled.
</p>
<section class="panel panel-dialog status-disabled">
Please re-enable me, I did nothing wrong! I just said "AMOGU—"
</section>
2021-07-24 08:21:09 +00:00
</section>
2021-07-27 02:04:18 +00:00
</section>
<section class="chapter" id="chapter-inputs">
<h2>
Inputs
</h2>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-input">
<h3>
Input
</h3>
<p>
An <dfn id="dfn-input">input</dfn> is an interactive element that allows the reader of the page to interact with it.
</p>
<p>
They come in multiple kinds:
</p>
2021-08-01 00:56:42 +00:00
<section class="chapter" id="chapter-input-kinds">
<section class="panel panel-box" id="panel-input-field">
<h3>
Field
</h3>
<p>
A <dfn id="dfn-input-field">field</dfn> is an input where the user can <b>insert text</b> with their keyboard.
</p>
<!--suppress HtmlFormInputWithoutLabel -->
<input type="text" placeholder="This is called a placeholder, by the way."/>
</section>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-input-select">
<h3>
Select
</h3>
<p>
A <dfn id="dfn-input-select">select</dfn> is an input where the user can select <b>one between multiple options</b>.
</p>
<!--suppress HtmlFormInputWithoutLabel -->
<select>
<option>1</option>
<option>2</option>
<optgroup label="3">
<option>3.1</option>
<option>3.2</option>
<option>3.3</option>
</optgroup>
</select>
</section>
<div class="chapter-forcewrap"></div>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-input-area">
<h3>
Area
</h3>
<p>
A <dfn id="dfn-input-area">area</dfn> is a <b>resizable</b> input where the user can <b>insert multiple lines of text</b> with their keyboard.
</p>
<!--suppress HtmlFormInputWithoutLabel -->
<textarea placeholder="Write something here!"></textarea>
</section>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-input-multiselect">
<h3>
Multiselect
</h3>
<p>
A <dfn id="dfn-input-multiselect">multiselect</dfn> is an input where the user can select <b>many options from a list</b>.
</p>
<!--suppress HtmlFormInputWithoutLabel -->
<select multiple>
<option>1</option>
<option>2</option>
<optgroup label="3">
<option>3.1</option>
<option>3.2</option>
<option>3.3</option>
</optgroup>
</select>
</section>
<div class="chapter-forcewrap"></div>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-input-radio">
<h3>
Radio
</h3>
<p>
A <dfn id="dfn-input-radio">radio</dfn> is an input which the user can <b>either select or not</b>, deselecting the other radios with the same name.
</p>
<p>
<label>
<input type="radio" name="input-radio-example"/> 1
</label>
</p>
<p>
<label>
<input type="radio" name="input-radio-example"/> 2
</label>
</p>
<p>
<label>
<input type="radio" name="input-radio-example"/> 3
</label>
</p>
</section>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-input-checkbox">
<h3>
Checkbox
</h3>
<p>
A <dfn id="dfn-input-checkbox">checkbox</dfn> is an input which the user can <b>either select or not</b>.
</p>
<p>
<label>
<input type="checkbox" name="input-checkbox-example"/> 1
</label>
</p>
<p>
<label>
<input type="checkbox" name="input-checkbox-example"/> 2
</label>
</p>
<p>
<label>
<input type="checkbox" name="input-checkbox-example"/> 3
</label>
</p>
</section>
<div class="chapter-forcewrap"></div>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-input-button">
<h3>
Button
</h3>
<p>
A <dfn id="dfn-input-button">button</dfn> is an input which the user can <b>interact with to trigger a reaction</b>.
</p>
<p>
<button>
Do nothing
</button>
</p>
</section>
</section>
</section>
2021-07-27 02:04:18 +00:00
</section>
<section class="chapter" id="chapter-forms">
<h2>
Forms
</h2>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="chapter-form-labels-inputs">
2021-07-27 13:09:37 +00:00
<h3>
Forms, labels and inputs
2021-07-27 13:09:37 +00:00
</h3>
<p>
A <dfn id="dfn-form">form</dfn> is a grouping of <dfn id="dfn-label">labels</dfn> and <i>inputs</i> with the same purpose, with the <b>former describing what should be entered in the latter</b>.
2021-07-27 13:09:37 +00:00
</p>
<form>
<label for="input-username">Username</label>
<input id="input-username" type="text" placeholder="Required fields have regular text" required/>
<label for="input-phone">Phone</label>
<input id="input-phone" type="tel" placeholder="Optional fields have italic text"/>
<label for="input-fax">Fax</label>
<input id="input-fax" type="text" placeholder="Disabled fields have a dashed underline" disabled required/>
<label for="input-size">Shirt size</label>
<select id="input-size" required>
<optgroup label="Smaller">
<option>XXS</option>
<option>XS</option>
<option>S</option>
</optgroup>
<option>M</option>
<optgroup label="Larger">
<option>L</option>
<option>XL</option>
<option>XXL</option>
</optgroup>
</select>
<label for="input-colors">Colors</label>
<select id="input-colors" multiple required>
<option>Red</option>
<option>Yellow</option>
<option>Green</option>
<optgroup label="Blues">
<option>Blue</option>
<option>Purple</option>
<option>Cyan</option>
</optgroup>
</select>
</form>
2021-07-27 13:09:37 +00:00
</section>
<div class="chapter-forcewrap"></div>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-form-groups">
2021-07-27 13:09:37 +00:00
<h3>
Form groups
2021-07-27 13:09:37 +00:00
</h3>
<p>
Inputs such as <i>radios</i> or <i>checkboxes</i> should be <em>grouped</em> together when inserted in a form.
</p>
<form>
<label for="input-mood">Current mood</label>
<div id="input-mood" class="form-group">
<label>
<input type="radio" name="input-mood" value="happy"/>
Happy
</label>
<label>
<input type="radio" name="input-mood" value="sad"/>
Sad
</label>
<label>
<input type="radio" name="input-mood" value="angry"/>
Angry
</label>
</div>
</form>
<p>
Groups <b>automatically wrap</b> if the inputs don't fit on a single line.
2021-07-27 13:09:37 +00:00
</p>
<form>
<label for="input-pets">Owned pets</label>
<div id="input-pets" class="form-group">
<label>
<input type="checkbox" name="input-pets" value="cats"/>
Cats
</label>
<label>
<input type="checkbox" name="input-pets" value="dogs"/>
Dogs
</label>
<label>
<input type="checkbox" name="input-pets" value="sneks"/>
Sneks
</label>
<label>
<input type="checkbox" name="input-pets" value="bunnies"/>
Bunnies
</label>
<label>
<input type="checkbox" name="input-pets" value="frogs"/>
Frogs
</label>
<label>
<input type="checkbox" name="input-pets" value="ants"/>
Ants
</label>
<label>
<input type="checkbox" name="input-pets" value="parrots"/>
Parrots
</label>
</div>
</form>
2021-07-27 13:09:37 +00:00
</section>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-form-groups-row">
<h3>
Row groups
</h3>
<p>
A <dfn id="dfn-form-groups-row">row group</dfn> is a <b>form group</b> where the <b>inputs are arranged vertically</b> instead of horizontally.
</p>
<form>
<label for="input-roman">Fav. roman numeral</label>
<div id="input-roman" class="form-group">
<label class="form-group-row">
<input type="radio" name="input-roman" value="i" required/>
I (1)
</label>
<label class="form-group-row">
<input type="radio" name="input-roman" value="v" required/>
V (5)
</label>
<label class="form-group-row">
<input type="radio" name="input-roman" value="x" required/>
X (10)
</label>
<label class="form-group-row">
<input type="radio" name="input-roman" value="i" required/>
L (50)
</label>
</div>
</form>
</section>
<div class="chapter-forcewrap"></div>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-form-row">
<h3>
Form rows
</h3>
<p>
Forms can also contain <dfn id="dfn-form-row">form rows</dfn>, elements which ignore the form columns and instead <b>take up the whole row</b>.
</p>
<form>
<label for="input-email">Email</label>
<input id="input-email" type="email" placeholder="Enter your email here" required/>
<label for="input-password">Password</label>
<input id="input-password" type="text" placeholder="Enter your password here" required/>
<div class="form-row">
<blockquote class="panel panel-parenthesis">
By logging in, you agree to sell your soul to the devil and to be tracked endlessly by all the corporations in the world.
</blockquote>
</div>
<label for="input-consent">Consent</label>
<div id="input-consent" class="form-group">
<label class="form-group-row">
<input type="checkbox" name="input-consent" value="accept"/>
I accept the conditions detailed above
</label>
</div>
<div class="form-row">
<input id="input-reset-2" type="reset" value="Reset"/>
<input id="input-submit-2" type="submit" value="Submit"/>
</div>
</form>
</section>
2021-07-28 22:07:48 +00:00
</section>
2021-08-01 00:56:42 +00:00
<section class="chapter" id="chapter-common-elements">
<h2>
Common elements
2021-08-01 00:56:42 +00:00
</h2>
<section class="panel panel-box" id="panel-headings">
<h3>
Headings
</h3>
<p>
An <dfn id="dfn-heading">heading</dfn> is the <b>title</b> of an article, chapter or panel.
</p>
<section class="panel panel-box">
<h1>Level-1</h1>
<h2>Level-2</h2>
<h3>Level-3</h3>
<h4>Level-4</h4>
<h5>Level-5</h5>
<h6>Level-6</h6>
</section>
<blockquote class="panel panel-dialog">
Generally, panels look nicer if they start with a level-3 heading, but you may use whichever you want, as Bluelib will automatically handle the margin.
</blockquote>
</section>
<section class="panel panel-box" id="panel-anchors">
<h3>
Anchors
</h3>
<p>
An <dfn id="dfn-anchor">anchor</dfn> is a part of text which can be clicked to move to a different page or part of page.
</p>
<section class="panel panel-box">
This is an <a href="https://example.org" target="_blank">example anchor</a>.
</section>
<p>
Visited anchors have a slightly different color.
</p>
<section class="panel panel-box">
Take me to <a href="https://wikipedia.org" target="_blank">Wikipedia</a>!
</section>
<p>
Anchors with no destination are colored differently, so that the page author can notice and fix them.
</p>
<section class="panel panel-box">
<a>This link</a> leads nowhere.
</section>
<p>
Anchors which start a download or open an external program have also have slightly different color.
</p>
<section class="panel panel-box">
Download <!--suppress HtmlUnknownTarget -->
<a href="magnet:?xt=urn:btih:377852690518c09acdcdd970068a5eaa47dd0a9d&dn=gimp-2.10.24-setup-3.exe&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=https%3a%2f%2fashrise.com%3a443%2fphoenix%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&ws=https%3a%2f%2fartfiles.org%2fgimp.org%2fpub%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fdownload.gimp.org%2fpub%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fftp.acc.umu.se%2fpub%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fftp.cc.uoc.gr%2fmirrors%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fftp.fau.de%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fftp.gwdg.de%2fpub%2fmisc%2fgrafik%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fftp.icm.edu.pl%2fpub%2fgraphics%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fftp.lysator.liu.se%2fpub%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fftp.snt.utwente.nl%2fpub%2fsoftware%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fgimp.ip-connect.info%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fmirror.jaleco.com%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fmirror.klaus-uwe.me%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fmirror.umd.edu%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fmirrors.dotsrc.org%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fmirrors.syringanetworks.net%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fmirrors.ukfast.co.uk%2fsites%2fgimp.org%2fpub%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fmirrors.xmission.com%2fgimp%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fwww.mirrorservice.org%2fsites%2fftp.gimp.org%2fpub%2fgimp%2fv2.10%2fwindows%2f&ws=https%3a%2f%2fwww.nic.funet.fi%2fpub%2fmirrors%2fftp.gimp.org%2fv2.10%2fwindows%2f">
2021-07-31 15:50:33 +00:00
GIMP 2.10.24
</a>
</section>
</section>
2021-07-31 15:50:33 +00:00
</section>
2021-08-01 00:56:42 +00:00
<section class="chapter" id="chapter-annotations">
<h2>
Annotations
</h2>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-ruby">
<h3>
2021-08-01 00:56:42 +00:00
Ruby text
</h3>
<p>
2021-08-01 19:33:23 +00:00
A <dfn id="dfn-ruby">ruby</dfn> is an inline element with annotations above the text.
</p>
2021-08-01 00:56:42 +00:00
<p style="font-size: xx-large;">
<ruby>
Mo <rp>/</rp><rt>ˈ</rt><rp>/</rp>
de <rp>/</rp><rt>dɪ</rt><rp>/</rp>
na <rp>/</rp><rt></rt><rp>/</rp>
</ruby>
</p>
2021-08-01 00:56:42 +00:00
<p style="font-size: xx-large;">
<ruby>
<rp>(</rp><rt>kan</rt><rp>)</rp>
<rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
</p>
2021-08-01 00:56:42 +00:00
<p style="font-size: xx-large;">
<ruby>
明日 <rp>(</rp><rt>ashita</rt><rp>)</rp>
</ruby>
</p>
</section>
2021-08-01 00:56:42 +00:00
<section class="panel panel-box" id="panel-todo">
<h3>
Todo
</h3>
<p>
A <dfn id="dfn-todo">todo</dfn> is a panel marked as incomplete by the page author.
</p>
<p>
Its colors are palette-independent and derive from the 🚧 Twemoji.
</p>
<div class="panel panel todo">
🚧 Write a description for this element.
</div>
<div class="panel panel-box todo">
🚧 Write a description for this element.
</div>
<div class="panel panel-dialog todo">
🚧 Write a description for this element.
</div>
<div class="panel panel-parenthesis todo">
🚧 Write a description for this element.
</div>
</section>
</section>
2021-08-01 19:33:23 +00:00
<section class="chapter" id="chapter-semantics">
<h2>
Semantics
</h2>
<section class="panel panel-box">
<h3>
Semantics
</h3>
<p>
A <dfn id="dfn-semantic">semantic</dfn> is an inline element having a specific meaning defined by the HTML specification.
</p>
<p>
Here's the full list of them:
</p>
<ul>
<li>
<p>
<abbr>Abbreviation</abbr>
</p>
</li>
<li>
<p>
<b>Bring Attention</b>
</p>
</li>
<li>
<p>
<cite>Citation</cite>
</p>
</li>
<li>
<p>
<code>Inline Code</code>
</p>
</li>
<li>
<p>
<dfn>Definition</dfn>
</p>
</li>
<li>
<p>
<em>Emphasis</em>
</p>
</li>
<li>
<p>
<i>Idiomatic Text</i>
</p>
</li>
<li>
<p>
<mark>Mark Text</mark>
</p>
</li>
<li>
<p>
<q>Inline Quotation</q>
</p>
</li>
<li>
<p>
<s>Strikethrough</s>
</p>
</li>
<li>
<p>
<samp>Sample Output</samp>
</p>
</li>
<li>
<p>
<small>Side Comment</small>
</p>
</li>
<li>
<p>
<strong>Strong Importance</strong>
</p>
</li>
<li>
<p>
<u>Unarticulated Annotation</u>
</p>
</li>
<li>
<p>
<var>Variable</var>
</p>
</li>
</ul>
</section>
</section>
2021-08-01 00:56:42 +00:00
<section class="chapter" id="chapter-colors">
<h2>
Colors
</h2>
<section class="panel panel-box">
<h3>
Bluelib color
</h3>
<p>
All Bluelib elements get their <dfn id="dfn-bluelib-color">Bluelib color</dfn> dynamically from the <code>--bluelib-color-*</code> CSS variables, and then use it to <b>paint themselves</b>.
</p>
<p>
It is possible to change this color to alter the color of not only text, but panels and other elements as well!
</p>
</section>
<div class="chapter-forcewrap"></div>
<section class="panel panel-box color-red" id="panel-red">
<h3>
Red
</h3>
<p>
This is a <b>red</b> box.
</p>
</section>
<section class="panel panel-box color-orange" id="panel-orange">
<h3>
Orange
</h3>
<p>
This is an <b>orange</b> box.
</p>
</section>
<section class="panel panel-box color-yellow" id="panel-yellow">
<h3>
Yellow
</h3>
<p>
This is a <b>yellow</b> box.
</p>
</section>
<section class="panel panel-box color-lime" id="panel-lime">
<h3>
Lime
</h3>
<p>
This is a <b>lime</b> box.
</p>
</section>
<section class="panel panel-box color-cyan" id="panel-cyan">
<h3>
Cyan
</h3>
<p>
This is a <b>cyan</b> box.
</p>
</section>
<section class="panel panel-box color-blue" id="panel-blue">
<h3>
Blue
</h3>
<p>
This is a <b>blue</b> box.
</p>
</section>
<section class="panel panel-box color-magenta" id="panel-magenta">
<h3>
Magenta
</h3>
<p>
This is a <b>magenta</b> box.
</p>
</section>
<section class="panel panel-box color-gray" id="panel-gray">
<h3>
Gray
</h3>
<p>
This is a <b>gray</b> box.
</p>
</section>
<div class="chapter-forcewrap"></div>
<section class="panel panel-box" id="panel-white" style="--bluelib-color-r: 255; --bluelib-color-g: 255; --bluelib-color-b: 255;">
<h3>
White
</h3>
<p>
This box has a custom color: it is always <b>white</b>!
</p>
</section>
<section class="panel panel-box" id="panel-black" style="--bluelib-color-r: 0; --bluelib-color-g: 0; --bluelib-color-b: 0;">
<h3>
Black
</h3>
<p>
This box has a custom color: it is always <b>black</b>!
</p>
</section>
2021-07-31 15:50:33 +00:00
</section>
</article>
</main>
</div>
2021-01-09 01:35:03 +00:00
</body>
</html>