mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 03:24:20 +00:00
🚧 WIP stuff
This commit is contained in:
parent
19694a745d
commit
a2f5dc5866
9 changed files with 180 additions and 22 deletions
95
index.html
95
index.html
|
@ -633,7 +633,7 @@
|
|||
Ruby text
|
||||
</h3>
|
||||
<p>
|
||||
A <dfn id="dfn-ruby">ruby</dfn> is a text with annotations either above or below the
|
||||
A <dfn id="dfn-ruby">ruby</dfn> is an inline element with annotations above the text.
|
||||
</p>
|
||||
<p style="font-size: xx-large;">
|
||||
<ruby>
|
||||
|
@ -678,6 +678,99 @@
|
|||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<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>
|
||||
<section class="chapter" id="chapter-colors">
|
||||
<h2>
|
||||
Colors
|
||||
|
|
25
src/rules/skeleton.less
vendored
25
src/rules/skeleton.less
vendored
|
@ -1040,11 +1040,13 @@
|
|||
/// Semantics are special font effects applied to text with a certain meaning.
|
||||
|
||||
@{semantic-abbr} {
|
||||
|
||||
cursor: help;
|
||||
text-decoration: underline 1px dotted currentColor;
|
||||
}
|
||||
|
||||
@{semantic-b} {
|
||||
|
||||
font-weight: 500;
|
||||
color: @rgb-accent;
|
||||
}
|
||||
|
||||
@{semantic-cite} {
|
||||
|
@ -1052,15 +1054,12 @@
|
|||
}
|
||||
|
||||
@{semantic-code} {
|
||||
|
||||
}
|
||||
|
||||
@{semantic-data} {
|
||||
|
||||
.use-var-font(bluelib-code);
|
||||
}
|
||||
|
||||
@{semantic-dfn} {
|
||||
|
||||
color: @rgb-accent;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@{semantic-em} {
|
||||
|
@ -1076,7 +1075,8 @@
|
|||
}
|
||||
|
||||
@{semantic-mark} {
|
||||
|
||||
background-color: @c2;
|
||||
color: @cC;
|
||||
}
|
||||
|
||||
@{semantic-q} {
|
||||
|
@ -1096,11 +1096,8 @@
|
|||
}
|
||||
|
||||
@{semantic-strong} {
|
||||
|
||||
}
|
||||
|
||||
@{semantic-time} {
|
||||
|
||||
font-weight: 800;
|
||||
color: @rgb-accent;
|
||||
}
|
||||
|
||||
@{semantic-u} {
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["/mnt/tera/ext4/code/bluelib/src/rules/paper.less","/mnt/tera/ext4/code/bluelib/src/utils/mixins.less"],"names":[],"mappings":"AAAC;AAAM;ECCH,2BAAA;EACA,2BAAA;EACA,2BAAA;EAFA,0BAAA;EACA,0BAAA;EACA,0BAAA;EAFA,sBAAA;EACA,sBAAA;EACA,sBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,sBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,uBAAA;EACA,yBAAA;EACA,yBAAA;EAFA,oBAAA;EACA,kBAAA;EACA,kBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,mBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,mBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,sBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EDgBA,sBAAA;ECWA,kCAAA;EACA,4BAAA;EADA,iCAAA;EACA,6BAAA;EADA,gCAAA;EACA,6BAAA","file":"paper.root.css"}
|
||||
{"version":3,"sources":["/mnt/tera/ext4/code/bluelib/src/vars/root.less","/mnt/tera/ext4/code/bluelib/src/utils/mixins.less","/mnt/tera/ext4/code/bluelib/src/rules/paper.less"],"names":[],"mappings":"AAAC;AAAM;ECCH,2BAAA;EACA,2BAAA;EACA,2BAAA;EAFA,0BAAA;EACA,0BAAA;EACA,0BAAA;EAFA,sBAAA;EACA,sBAAA;EACA,sBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,sBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,uBAAA;EACA,yBAAA;EACA,yBAAA;EAFA,oBAAA;EACA,kBAAA;EACA,kBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,mBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,mBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,sBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;ECgBA,sBAAA;EDWA,kCAAA;EACA,4BAAA;EADA,iCAAA;EACA,6BAAA;EADA,gCAAA;EACA,6BAAA","file":"paper.root.css"}
|
|
@ -529,6 +529,36 @@
|
|||
--bluelib-color-b: 77;
|
||||
border-color: #FFCC4D;
|
||||
}
|
||||
.bluelib abbr,
|
||||
.bluelib .semantic-abbr {
|
||||
cursor: help;
|
||||
text-decoration: underline 1px dotted currentColor;
|
||||
}
|
||||
.bluelib b,
|
||||
.bluelib .semantic-b {
|
||||
font-weight: 500;
|
||||
color: rgb(var(--bluelib-accent-r), var(--bluelib-accent-g), var(--bluelib-accent-b));
|
||||
}
|
||||
.bluelib code,
|
||||
.bluelib .semantic-code {
|
||||
font-family: var(--bluelib-code-family);
|
||||
font-weight: var(--bluelib-code-weight);
|
||||
}
|
||||
.bluelib dfn,
|
||||
.bluelib .semantic-dfn {
|
||||
color: rgb(var(--bluelib-accent-r), var(--bluelib-accent-g), var(--bluelib-accent-b));
|
||||
font-style: italic;
|
||||
}
|
||||
.bluelib mark,
|
||||
.bluelib .semantic-mark {
|
||||
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.2);
|
||||
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 20)), 1);
|
||||
}
|
||||
.bluelib strong,
|
||||
.bluelib .semantic-strong {
|
||||
font-weight: 800;
|
||||
color: rgb(var(--bluelib-accent-r), var(--bluelib-accent-g), var(--bluelib-accent-b));
|
||||
}
|
||||
.bluelib .color-red {
|
||||
--bluelib-color-r: var(--bluelib-red-r);
|
||||
--bluelib-color-g: var(--bluelib-red-g);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2220,6 +2220,48 @@ body .todo,
|
|||
--bluelib-color-b: 77;
|
||||
border-color: #FFCC4D;
|
||||
}
|
||||
body abbr,
|
||||
.bluelib abbr,
|
||||
body .semantic-abbr,
|
||||
.bluelib .semantic-abbr {
|
||||
cursor: help;
|
||||
text-decoration: underline 1px dotted currentColor;
|
||||
}
|
||||
body b,
|
||||
.bluelib b,
|
||||
body .semantic-b,
|
||||
.bluelib .semantic-b {
|
||||
font-weight: 500;
|
||||
color: rgb(var(--bluelib-accent-r), var(--bluelib-accent-g), var(--bluelib-accent-b));
|
||||
}
|
||||
body code,
|
||||
.bluelib code,
|
||||
body .semantic-code,
|
||||
.bluelib .semantic-code {
|
||||
font-family: var(--bluelib-code-family);
|
||||
font-weight: var(--bluelib-code-weight);
|
||||
}
|
||||
body dfn,
|
||||
.bluelib dfn,
|
||||
body .semantic-dfn,
|
||||
.bluelib .semantic-dfn {
|
||||
color: rgb(var(--bluelib-accent-r), var(--bluelib-accent-g), var(--bluelib-accent-b));
|
||||
font-style: italic;
|
||||
}
|
||||
body mark,
|
||||
.bluelib mark,
|
||||
body .semantic-mark,
|
||||
.bluelib .semantic-mark {
|
||||
background-color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.2);
|
||||
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 20)), 1);
|
||||
}
|
||||
body strong,
|
||||
.bluelib strong,
|
||||
body .semantic-strong,
|
||||
.bluelib .semantic-strong {
|
||||
font-weight: 800;
|
||||
color: rgb(var(--bluelib-accent-r), var(--bluelib-accent-g), var(--bluelib-accent-b));
|
||||
}
|
||||
body .color-red,
|
||||
.bluelib .color-red {
|
||||
--bluelib-color-r: var(--bluelib-red-r);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -64,7 +64,6 @@
|
|||
@semantic-b: ~"b, .semantic-b";
|
||||
@semantic-cite: ~"cite, .semantic-cite";
|
||||
@semantic-code: ~"code, .semantic-code";
|
||||
@semantic-data: ~"data, .semantic-data";
|
||||
@semantic-dfn: ~"dfn, .semantic-dfn";
|
||||
@semantic-em: ~"em, .semantic-em";
|
||||
@semantic-i: ~"i, .semantic-i";
|
||||
|
@ -75,7 +74,6 @@
|
|||
@semantic-samp: ~"samp, .semantic-samp";
|
||||
@semantic-small: ~"small, .semantic-small";
|
||||
@semantic-strong: ~"strong, .semantic-strong";
|
||||
@semantic-time: ~"time, .semantic-time";
|
||||
@semantic-u: ~"u, .semantic-u";
|
||||
@semantic-var: ~"var, .semantic-var";
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
@semantic-b: ~"b, .semantic-b";
|
||||
@semantic-cite: ~"cite, .semantic-cite";
|
||||
@semantic-code: ~"code, .semantic-code";
|
||||
@semantic-data: ~"data, .semantic-data";
|
||||
@semantic-dfn: ~"dfn, .semantic-dfn";
|
||||
@semantic-em: ~"em, .semantic-em";
|
||||
@semantic-i: ~"i, .semantic-i";
|
||||
|
@ -76,7 +75,6 @@
|
|||
@semantic-samp: ~"samp, .semantic-samp";
|
||||
@semantic-small: ~"small, .semantic-small";
|
||||
@semantic-strong: ~"strong, .semantic-strong";
|
||||
@semantic-time: ~"time, .semantic-time";
|
||||
@semantic-u: ~"u, .semantic-u";
|
||||
@semantic-var: ~"var, .semantic-var";
|
||||
|
||||
|
|
Loading…
Reference in a new issue