Skip to content

Commit

Permalink
docs: replace html to md tags
Browse files Browse the repository at this point in the history
  • Loading branch information
aristotelesbr committed Jan 9, 2024
1 parent 5f461ca commit 1e03eb3
Show file tree
Hide file tree
Showing 95 changed files with 23,428 additions and 12 deletions.
Binary file added docs/_components/.DS_Store
Binary file not shown.
23 changes: 23 additions & 0 deletions docs/_components/jquery-litebox/jquery.litebox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

.litebox.overlay {
background: rgba(0, 0, 0, 0.96);
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 10;

display: flex;
align-items: center;
justify-content: center;

box-sizing: border-box;
padding: 1em;
}

.litebox.overlay img {
flex-shrink: 1;
max-width: 100%;
max-height: 100%;
}
48 changes: 48 additions & 0 deletions docs/_components/jquery-litebox/jquery.litebox.gallery.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

.gallery {
padding: 0.5rem;

display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
}

.gallery figure {
margin: 1rem;

background-color: rgb(250, 250, 250);
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);

/* This ensures that our figures never grow bigger than desired. */
flex-basis: 400px;
}

.gallery figure a {
display: block;
margin: 0.5rem;
}

.gallery img {
border: none;
display: block;

width: 100%;
}

.gallery figcaption {
display: block;
margin: 0.5rem;

font-size: 1rem;
text-align: center;

display: flex;
align-items: center;
justify-content: center;

/* The figure caption should have a minimum height, if there are multiple
lines of caption, the total size of the figure is likely to be the same as
others. */
min-height: 4rem;
}
30 changes: 30 additions & 0 deletions docs/_components/jquery-litebox/jquery.litebox.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

(function ($, undefined) {
function showImage(element, overlay) {
if (element.href) {
var image = new Image();
image.src = element.href;
overlay.append(image);
}
}

$.fn.litebox = function(callback) {
callback = callback || showImage;

this.on('click', function() {
var overlay = $('<div class="litebox overlay"></div>');

overlay.on('click', function() {
overlay.remove();
$('body').css('overflow', 'auto');
});

callback(this, overlay);

$('body').css('overflow', 'hidden');
$('body').append(overlay);

return false;
});
}
}(jQuery));
Binary file added docs/_components/jquery-syntax/.DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions docs/_components/jquery-syntax/base/jquery.syntax.brush.apache.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.syntax-theme-base .apache .tag {
color: #00c; }
.syntax-theme-base .apache .tag-name {
color: #00f; }
.syntax-theme-base .apache .tag-name {
font-weight: bold; }

@media (prefers-color-scheme: dark) {
.syntax-theme-base .apache .tag {
color: #6666ff; }
.syntax-theme-base .apache .tag-name {
color: #9999ff; } }
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.syntax-theme-base .applescript {
font-family: Geneva, Helvetica, sans-serif; }
.syntax-theme-base .applescript .keyword {
color: #00f;
font-weight: bold; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.syntax-theme-base .assembly .register {
color: #3caa20;
font-style: italic; }
.syntax-theme-base .assembly .label {
font-weight: bold;
color: #2a85b3; }
.syntax-theme-base .assembly .directive {
color: #828a3d; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.syntax-theme-base .bash-script .option {
color: #03f; }
.syntax-theme-base .bash-script .env {
font-style: italic; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.syntax-theme-base .bash .stderr {
color: red; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.syntax-theme-base .preprocessor {
color: #63381f; }

@media (prefers-color-scheme: dark) {
.syntax-theme-base .preprocessor {
color: #c97e52; } }
14 changes: 14 additions & 0 deletions docs/_components/jquery-syntax/base/jquery.syntax.brush.css.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.syntax-theme-base .css .selector {
color: #458;
font-weight: bold; }
.syntax-theme-base .css .property {
color: teal; }
.syntax-theme-base .css .color-box {
position: relative; }
.syntax-theme-base .css .color-box .sample {
border: 1px solid #000;
position: absolute;
left: 0.2em;
right: 0.2em;
top: 0.2em;
bottom: 0.2em; }
16 changes: 16 additions & 0 deletions docs/_components/jquery-syntax/base/jquery.syntax.brush.diff.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.syntax-theme-base .add {
color: green; }
.syntax-theme-base .del {
color: red; }
.syntax-theme-base .insert {
color: green; }
.syntax-theme-base .insert-line {
background-color: #cfc !important; }
.syntax-theme-base .remove {
color: red; }
.syntax-theme-base .remove-line {
background-color: #fcc !important; }
.syntax-theme-base .offset {
color: blue; }
.syntax-theme-base .offset-line {
background-color: #ccf !important; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.syntax-theme-base .html .doctype {
font-weight: bold;
color: #938; }
.syntax-theme-base .html .javascript, .syntax-theme-base .html .css {
font-style: italic; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.syntax .ocaml .operator {
color: #06C;
font-weight: bold; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.syntax .protobuf .variable {
font-weight: bold; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.syntax-theme-base .python .decorator {
color: #ffb600;
font-weight: bold; }
.syntax-theme-base .python .builtin {
color: #33f;
font-style: italic; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.syntax-theme-base .ruby .string .ruby {
color: #808080; }
35 changes: 35 additions & 0 deletions docs/_components/jquery-syntax/base/jquery.syntax.brush.xml.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
.syntax-theme-base .xml .cdata-content {
color: #046;
border-radius: 0.5em; }
.syntax-theme-base .xml .xml-tag, .syntax-theme-base .xml .cdata {
color: #00c; }
.syntax-theme-base .xml .tag-name, .syntax-theme-base .xml .cdata-tag {
color: #00f;
font-weight: bold; }
.syntax-theme-base .xml .namespace {
color: #00c; }
.syntax-theme-base .xml .attribute {
color: #00c; }
.syntax-theme-base .xml .instruction {
color: #00c; }
.syntax-theme-base .xml .entity, .syntax-theme-base .xml .percent-escape {
color: #666;
background-color: #ddd;
border-radius: 0.5em; }

@media (prefers-color-scheme: dark) {
.syntax-theme-base .xml .cdata-content {
color: #a46; }
.syntax-theme-base .xml .xml-tag, .syntax-theme-base .xml .cdata {
color: #c59de7; }
.syntax-theme-base .xml .tag-name, .syntax-theme-base .xml .cdata-tag {
color: #9ae; }
.syntax-theme-base .xml .namespace {
color: #c59de7; }
.syntax-theme-base .xml .attribute {
color: #c59de7; }
.syntax-theme-base .xml .instruction {
color: #c59de7; }
.syntax-theme-base .xml .entity, .syntax-theme-base .xml .percent-escape {
color: #999;
background-color: #333; } }
58 changes: 58 additions & 0 deletions docs/_components/jquery-syntax/base/jquery.syntax.core.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
pre code.syntax-theme-base {
display: block; }
pre code.syntax-theme-base > span {
display: flex; }
pre code.syntax-theme-base .indent {
flex-grow: 0;
flex-shrink: 0; }
pre code.syntax-theme-base .text {
white-space: pre-wrap;
padding-left: 2ch;
text-indent: -2ch; }

.syntax-theme-base a {
text-decoration: none;
color: inherit; }
.syntax-theme-base .function {
color: #33f; }
.syntax-theme-base .keyword, .syntax-theme-base .access, .syntax-theme-base .option {
color: #7a0968; }
.syntax-theme-base .type {
color: #3239D6; }
.syntax-theme-base .comment {
color: #6ac; }
.syntax-theme-base .constant {
color: #1c00ce; }
.syntax-theme-base .string, .syntax-theme-base .symbol {
color: #c41a15; }
.syntax-theme-base .string .escape {
color: #f99; }
.syntax-theme-base .operator {
color: black; }
.syntax-theme-base .href {
color: #0e0eff;
text-decoration: underline; }
.syntax-theme-base .variable {
color: #466997; }
.syntax-theme-base .highlight {
background-color: #fdfdba; }

@media (prefers-color-scheme: dark) {
.syntax-theme-base .operator {
color: white; }
.syntax-theme-base .function {
color: #c59de7; }
.syntax-theme-base .keyword, .syntax-theme-base .access, .syntax-theme-base .option {
color: #328eff; }
.syntax-theme-base .type {
color: #37a4ff; }
.syntax-theme-base .comment {
color: #849fca; }
.syntax-theme-base .constant {
color: #c9a452; }
.syntax-theme-base .string, .syntax-theme-base .symbol {
color: #ed7f7d; }
.syntax-theme-base .string .escape {
color: #f99; }
.syntax-theme-base .variable {
color: #6e6dff; } }
6 changes: 6 additions & 0 deletions docs/_components/jquery-syntax/base/jquery.syntax.editor.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.syntax-container.syntax-theme-base div.editor.syntax {
padding: 0.2em !important;
margin: 0 !important;
white-space: pre; }
.syntax-container.syntax-theme-base div.editor.syntax:focus {
outline: none; }
1 change: 1 addition & 0 deletions docs/_components/jquery-syntax/base/theme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Syntax.themes["base"] = []
27 changes: 27 additions & 0 deletions docs/_components/jquery-syntax/bright/jquery.syntax.core.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.syntax-container.syntax-theme-bright .syntax {
font-family: Menlo, Monaco, Consolas, monospace;
line-height: 1.5em; }
.syntax-container.syntax-theme-bright .syntax .function {
color: #33f; }
.syntax-container.syntax-theme-bright .syntax .keyword {
color: #3c3; }
.syntax-container.syntax-theme-bright .syntax .access {
color: #ffb600;
font-weight: bold; }
.syntax-container.syntax-theme-bright .syntax .type {
color: #191;
font-weight: bold; }
.syntax-container.syntax-theme-bright .syntax .comment {
color: #6ac;
font-style: italic; }
.syntax-container.syntax-theme-bright .syntax .string, .syntax-container.syntax-theme-bright .syntax .constant {
color: #f33; }
.syntax-container.syntax-theme-bright .syntax .string .escape {
color: #f99; }
.syntax-container.syntax-theme-bright .syntax .operator {
color: #c00; }
.syntax-container.syntax-theme-bright .syntax .href {
color: #00f;
text-decoration: underline; }
.syntax-container.syntax-theme-bright .syntax .variable {
color: #22c; }
1 change: 1 addition & 0 deletions docs/_components/jquery-syntax/bright/theme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Syntax.themes["bright"] = ["base"]
3 changes: 3 additions & 0 deletions docs/_components/jquery-syntax/jquery.syntax.brush.apache.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/_components/jquery-syntax/jquery.syntax.brush.bash.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e03eb3

Please sign in to comment.