1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-23 03:54:21 +00:00
bluelib/index.html

294 lines
10 KiB
HTML
Raw Permalink Normal View History

2021-01-09 01:35:03 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="src/skeleton/skeleton.root.css">
<link rel="stylesheet" href="src/skins/rygblue/rygblue.root.css">
2021-01-09 01:35:03 +00:00
<title>Bluelib 2</title>
</head>
<body class="theme-bluelib">
2021-01-16 15:44:24 +00:00
<main class="main">
<hgroup>
<h1>
Bluelib 2
</h1>
<h2>
RYG style, in pure CSS
</h2>
</hgroup>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Welcome to bluelib!
</h3>
<p>
Following are some examples on the things you can do with bluelib.
</p>
<p>
To see how something is done, <kbd>Right Click</kbd> on it and then press <kbd>Inspect Element</kbd>.
</p>
<img src="https://i.imgur.com/M8sFJeO.png" alt="How to Inspect Element">
</section>
2021-01-09 01:35:03 +00:00
<h2>
Panels
2021-01-09 01:35:03 +00:00
</h2>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Panel
</h3>
<p>
This is a panel.
</p>
<p>
It usually represents a section of text about a topic described by the title above.
</p>
</section>
2021-01-24 03:50:18 +00:00
<table class="panel panel-table">
<thead>
<tr>
<th>This...</th>
<th>...is a...</th>
<th>table!</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tables are containers too!</td>
<td>They will be themed automatically.</td>
<td>Columns will be automatically scaled based on their content.</td>
</tr>
</tbody>
</table>
2021-01-24 03:50:18 +00:00
<blockquote class="panel panel-blockquote">
<h3>
Blockquote
</h3>
<p>
This is a blockquote.
</p>
<p>
Blockquotes are specially formatted panels, useful for quotes!
</p>
</blockquote>
2021-01-24 03:50:18 +00:00
<aside class="panel panel-aside">
<h3>
Aside
</h3>
<p>
This is an aside.
</p>
<p>
Asides are panels with no border and smaller text, useful to describe less important things while inside
a panel.
</p>
</aside>
<h2>
Close containers
</h2>
<section class="panel panel-box">
<p>
Here's what two panels next to each other look like:
</p>
<aside class="panel panel-aside">
<p>
STONKS
</p>
</aside>
<aside class="panel panel-aside">
<p>
STINKS
</p>
</aside>
</section>
<h2>
Nesting containers
</h2>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Level one
</h3>
<p>
Containers can be nested effortlessly!
</p>
<p>
Drop one outside of any paragraphs and they will nest automatically.
</p>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Level two
</h3>
<p>
You can add text above...
</p>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Level three
</h3>
<p>
How deep does the rabbit hole go?
</p>
2021-01-24 03:50:18 +00:00
<blockquote class="panel panel-blockquote">
<b><a href="https://www.youtube.com/watch?v=G2jUhnCU9iA" target="_blank">PANELCEPTION.</a></b>
2021-01-24 03:50:18 +00:00
<aside class="panel panel-aside">
BWOON.
2021-01-24 03:50:18 +00:00
<aside class="panel panel-aside">
BWOON.
2021-01-24 03:50:18 +00:00
<aside class="panel panel-aside">
BWOON.
</aside>
</aside>
</aside>
</blockquote>
</section>
<p>
...or below!
</p>
</section>
</section>
<h2>
Layout
</h2>
2021-01-29 00:50:03 +00:00
<section class="panel panel-box">
<h3>
Splitter and splitted
</h3>
<p>
You can split elements into multiple columns.
</p>
<p>
The columns will grow automatically to on the height of the tallest.
</p>
2021-01-24 03:50:18 +00:00
<div class="panel panel-split">
<section class="panel panel-box">
<h3>
Shorter panel
</h3>
<p>
That's it.
</p>
</section>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Taller panel
</h3>
<p><a href="https://bit.ly/3ou3jzG">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Giro in barca ma teme che le diverse e
grandi prestazioni morbide. Per essere sempre un letto posuere posuere velit, ac lacinia ai
bordi di un lago. Vestibulum vehicles, metus blandit fringilla of life, volutpat arcu lorem mi,
eget porttitor augue turpis vitae libero. Laghi che ora hanno bisogno solo di proteine presenti
membri del calcio. Nessuna temperatura libera UE. Attualmente le forze dell'ordine sono libere.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Calcio scommesse chili ricette
calcio taccuino, con un morbido banane.
</a></p>
</section>
</div>
</section>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Horizonal rows
</h3>
<p>
You can add horizontal rows to the page:
</p>
<hr>
<p>
They are very useful as separators!
</p>
</section>
<h2>
Formatting
</h2>
2021-01-24 03:50:18 +00:00
<div class="panel panel-split">
<section class="panel panel-box">
<h3>
Colors
</h3>
<p>
You can use colored text:
</p>
<ul>
<li><span class="color-red">Red</span></li>
<li><span class="color-orange">Orange</span></li>
<li><span class="color-yellow">Yellow</span></li>
<li><span class="color-lime">Lime</span></li>
<li><span class="color-cyan">Cyan</span></li>
<li><span class="color-blue">Blue</span></li>
<li><span class="color-magenta">Magenta</span></li>
</ul>
</section>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Size
</h3>
<p>
You can set the text size:
</p>
<ul>
<li><span class="size-xxl">XXL</span></li>
<li><span class="size-xl">XL</span></li>
<li><span class="size-l">L</span></li>
<li><span class="size-m">M</span></li>
<li><span class="size-s">S</span></li>
<li><span class="size-xs">XS</span></li>
<li><span class="size-xxs">XXS</span></li>
</ul>
</section>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
<h3>
Alignment
</h3>
<p>
You can set the text alignment (<i>only in block elements</i> such as div):
</p>
<div class="align-left">Left</div>
<div class="align-center">Center</div>
<div class="align-right">Right</div>
</section>
2021-01-24 03:50:18 +00:00
<section class="panel panel-box">
2021-01-16 15:44:24 +00:00
<h3>
Spoilers
</h3>
<p>
You can define <span class="spoiler">spoilers</span>.
</p>
2021-01-24 03:50:18 +00:00
<section class="spoiler panel panel-box">
2021-01-16 15:44:24 +00:00
<h3>
Spoiler panels
</h3>
<p>
2021-01-29 00:50:03 +00:00
Entire panels can be spoilered as well!
2021-01-16 15:44:24 +00:00
</p>
</section>
</section>
</div>
<h2>
2021-01-29 00:50:03 +00:00
Interactivity
</h2>
2021-01-29 00:50:03 +00:00
<div class="panel panel-split">
<section class="panel panel-box">
<h3>
Tooltips
</h3>
<p>
Text <abbr title="Hello world!">with a tooltip</abbr> is underlined and has a "help" cursor if
hovered.
</p>
</section>
<section class="panel panel-box">
<h3>
Disabled
</h3>
<p>
Elements can be <span class="status-disabled">disabled</span> to reduce their opacity and display a
"not allowed" cursor if hovered.
</p>
<p>
It also works with <a class="status-disabled">links</a>!
</p>
<section class="panel panel-box status-disabled">
And panels!
</section>
</section>
</div>
</main>
2021-01-09 01:35:03 +00:00
</body>
</html>