Finished updating content to new style, Updated heading styles, Added backgrounds
Update scripts.php, sidebar.php, and 24 more files...
@@ -4,15 +4,15 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
||||
header('HTTP/1.1 403 Forbidden');
|
||||
die();
|
||||
}
|
||||
?>
|
||||
<script src="/resources/NibblePoker/js/nibblepoker.min.js"></script>
|
||||
<?php
|
||||
|
||||
if($enable_glider) {
|
||||
echo('<script src="/resources/GliderJs/1.7.6/glider.min.js"></script>');
|
||||
}
|
||||
|
||||
if($enable_code_highlight) {
|
||||
echo('<script src="/resources/HighlightJS/11.6.0/highlight.min.js"></script>');
|
||||
echo('<script src="/resources/HighlightJS/11.6.0/languages/csharp.min.js"></script>');
|
||||
//echo('<script src="/resources/Azias/js/code-highlighter.js"></script>');
|
||||
}
|
||||
?>
|
||||
<script src="/resources/NibblePoker/js/nibblepoker.min.js"></script>
|
@@ -12,7 +12,7 @@ if(!isset($SIDEBAR_ID)) {
|
||||
}
|
||||
|
||||
function printSidebarEntry($url, $title, $icon) {
|
||||
echo('<a class="bland-link" href="' . $url . '"><p class="t-size-18 t-w-500 py-xs sidebar-entry">');
|
||||
echo('<a class="bland-link" href="' . $url . '" title="HTML5 anchor element"><p class="t-size-18 t-w-500 py-xs sidebar-entry">');
|
||||
echo('<i class="' . $icon . ' pr-xs t-size-12"></i><span class="t-size-12">' . $title . '</span></p></a>');
|
||||
}
|
||||
|
||||
|
@@ -9,7 +9,8 @@ if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
||||
$_npDomUtilsHeadingCount = 0;
|
||||
|
||||
function getMainHeader(string $text, ?string $iconId = null, ?string $rightText = null, ?string $anchorId = null,
|
||||
bool $addTopMargin = true, ?string $backgroundClass = "bkgd-grid", int $hLevel = 2): string {
|
||||
bool $addTopMargin = true, ?string $backgroundClass = "bkgd-grid", int $hLevel = 2,
|
||||
bool $autoWidth = false, bool $chungusMode = false, bool $makeSmaller = false): string {
|
||||
if(is_null($backgroundClass)) {
|
||||
$backgroundClass = "bkgd-grid";
|
||||
}
|
||||
@@ -21,17 +22,18 @@ function getMainHeader(string $text, ?string $iconId = null, ?string $rightText
|
||||
}
|
||||
|
||||
$htmlCode .= '<div class="heading-main p-xs border r-s ' . ($addTopMargin > 0 ? "mt-l " : "") . $backgroundClass .
|
||||
'"><h' . $hLevel . ' class="t-w-500 t-size-14">';
|
||||
($autoWidth ? " d-inline-block" : "") . '"><h' . $hLevel . ' class="t-w-500 ' .
|
||||
($chungusMode ? "t-size-16" : ($makeSmaller ? "t-size-11" : "t-size-14")) . '">';
|
||||
|
||||
// TODO: Add a simple and nicer divider.
|
||||
if(!is_null($iconId)) {
|
||||
$htmlCode .= '<i class="' . $iconId . ' t-size-12 t-muted"></i>';
|
||||
$htmlCode .= '<i class="' . $iconId . ' t-muted ' . ($chungusMode ? "t-size-14" : "t-size-12") . '"></i>';
|
||||
}
|
||||
|
||||
$htmlCode .= $text;
|
||||
|
||||
if(!is_null($rightText)) {
|
||||
$htmlCode .= '<span class="ml-auto t-muted t-size-10">' . $rightText . '</span>';
|
||||
$htmlCode .= '<span class="ml-auto ' . ($chungusMode ? "t-size-12 mr-xs" : "t-size-10 t-muted") . '">' . $rightText . '</span>';
|
||||
}
|
||||
|
||||
$htmlCode .= '</h' . $hLevel . '></div>';
|
||||
|
@@ -85,6 +85,10 @@ abstract class ComposerElementModifiers {
|
||||
const GENERIC_PADDING_NO_Y = ["py-0", "py-0"];
|
||||
const GENERIC_PADDING_NONE = ["p-0" , "p-0" ];
|
||||
|
||||
// Generic > Others
|
||||
const GENERIC_FULL_WIDTH = ["w-full", "w-full"];
|
||||
const GENERIC_BOLD = ["bold", "f-w-500"];
|
||||
|
||||
// Containers
|
||||
const CONTAINER_SCROLL_HORIZONTAL = ["horizontal-scroll", "overflow-x-scroll hide-scrollbar"];
|
||||
const CONTAINER_CARD = ["card", "card"];
|
||||
@@ -109,6 +113,8 @@ abstract class ComposerElementModifiers {
|
||||
const TABLE_HOVER = ["hover", "table-hover"];
|
||||
const TABLE_INNER_BORDER = ["inner-bordered", "table-inner-bordered"];
|
||||
const TABLE_OUTER_BORDER = ["outer-bordered", "table-outer-bordered"];
|
||||
const TABLE_V2_STYLISH = ["stylish", "stylish"];
|
||||
const TABLE_V2_CELL_PADDING = ["auto-cell-padding", "table-p-xs"];
|
||||
|
||||
// Code
|
||||
const CODE_BLOCK = ["code-block", "w-full d-inline-block"];
|
||||
@@ -320,8 +326,12 @@ class ComposerContentMetadata {
|
||||
$this->article->icon,
|
||||
localize_private($this->article->subtitle, $content_root->strings, false),
|
||||
null,
|
||||
false
|
||||
) . $inner_html;
|
||||
false,
|
||||
null,
|
||||
3,
|
||||
false,
|
||||
true
|
||||
) . '<div class="px-xxs">' . $inner_html . '</div>';
|
||||
|
||||
// Appending the tags if any are present
|
||||
if(sizeof($this->article->tags) > 0) {
|
||||
@@ -461,10 +471,14 @@ class ComposerElement {
|
||||
// Galleries parameters
|
||||
private array $images;
|
||||
|
||||
// Screen readers parameters
|
||||
private ?string $srTitle;
|
||||
|
||||
function __construct(string $type, ?array $modifiers, ?string $link, ?array $parts, ?string $content,
|
||||
bool $localize, ?int $padding, ?int $margin, ?int $size, ?array $head, ?array $body,
|
||||
int $colspan, int $rowspan, ?int $indent, ?array $code, ?string $codeLanguage,
|
||||
bool $codeCopyable, ?string $color, ?string $source, ?string $thumbnail, ?array $images) {
|
||||
bool $codeCopyable, ?string $color, ?string $source, ?string $thumbnail, ?array $images,
|
||||
?string $srTitle) {
|
||||
$this->type = $type;
|
||||
$this->modifiers = $modifiers;
|
||||
$this->link = $link;
|
||||
@@ -497,6 +511,7 @@ class ComposerElement {
|
||||
} else {
|
||||
$this->images = $images;
|
||||
}
|
||||
$this->srTitle = $srTitle;
|
||||
}
|
||||
|
||||
static function from_json_array(?array $json_dataArray) : array {
|
||||
@@ -532,6 +547,7 @@ class ComposerElement {
|
||||
key_exists("source", $json_data) ? $json_data["source"] : null,
|
||||
key_exists("thumbnail", $json_data) ? $json_data["thumbnail"] : null,
|
||||
key_exists("images", $json_data) ? $json_data["images"] : null,
|
||||
key_exists("sr_title", $json_data) ? $json_data["sr_title"] : null,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -627,9 +643,10 @@ class ComposerElement {
|
||||
public function get_html(ComposerContent $content_root) : string {
|
||||
$htmlCode = "";
|
||||
|
||||
// Setting up the link and its title if needed.
|
||||
if(!is_null($this->link)) {
|
||||
$htmlCode .= '<a href="' . $this->link . '"' .
|
||||
($this->type == ComposerElementTypes::BUTTON ? 'class="button-link"' : '') . '>';
|
||||
($this->type == ComposerElementTypes::BUTTON ? 'class="button-link"' : '') .'>';
|
||||
}
|
||||
|
||||
switch($this->type) {
|
||||
@@ -649,8 +666,11 @@ class ComposerElement {
|
||||
null,
|
||||
!ComposerElementModifiers::is_modifier_in_modifiers(
|
||||
ComposerElementModifiers::GENERIC_MARGIN_NO_TOP, $this->modifiers),
|
||||
null,
|
||||
3
|
||||
"bkgd-math", // heading-dyn-width-1
|
||||
3,
|
||||
false,
|
||||
false,
|
||||
true
|
||||
);
|
||||
break;
|
||||
|
||||
@@ -688,6 +708,16 @@ class ComposerElement {
|
||||
$_paragraph_margin_modifier = 'mt-xs ';
|
||||
}
|
||||
|
||||
// Adding other tags manually
|
||||
// FIXME: Use the standard functions FFS...
|
||||
$_paragraph_margin_modifier .= (
|
||||
ComposerElementModifiers::is_modifier_in_modifiers(
|
||||
ComposerElementModifiers::GENERIC_BOLD, $this->modifiers)
|
||||
) ? "t-w-500 " : "";
|
||||
|
||||
// Fixes some "overflowing" issue when indent is bigger than 2.
|
||||
$_paragraph_margin_modifier .= "mr-s ";
|
||||
|
||||
// Composing the paragraph
|
||||
$htmlCode .= '<p class="' . $_paragraph_margin_modifier . $_paragraph_ident_level .
|
||||
'">' . $this->get_inner_html($content_root) . '</p>';
|
||||
@@ -811,7 +841,7 @@ class ComposerElement {
|
||||
|
||||
case ComposerElementTypes::TABLE:
|
||||
// Composing table.
|
||||
$htmlCode .= '<table class="table ' . $this->get_modifiers_classes() . '">';
|
||||
$htmlCode .= '<table class="' . $this->get_modifiers_classes() . '">';
|
||||
|
||||
if(!is_null($this->head)) {
|
||||
$htmlCode .= '<thead><tr>';
|
||||
|
@@ -60,5 +60,12 @@
|
||||
"content.commons.github": "GitHub Repository",
|
||||
"content.commons.gitea": "Self-hosted Gitea Repository",
|
||||
"content.commons.nuget": "Nuget Package",
|
||||
"content.commons.license.mit.single": "MIT License"
|
||||
"content.commons.license.mit.single": "MIT License",
|
||||
|
||||
"content.commons.lang.english": "English",
|
||||
"content.commons.lang.french": "French",
|
||||
"content.commons.lang.luxembourgish": "Luxembourgish",
|
||||
"content.commons.lang.english.639-3": "English (eng)",
|
||||
"content.commons.lang.french.639-3": "French (fra)",
|
||||
"content.commons.lang.luxembourgish.639-3": "Luxembourgish (ltz)"
|
||||
}
|
@@ -59,5 +59,12 @@
|
||||
"content.commons.github": "Dépôt GitHub",
|
||||
"content.commons.gitea": "Dépôt Gitea auto-hébergé",
|
||||
"content.commons.nuget": "Packet Nuget",
|
||||
"content.commons.license.mit.single": "License MIT"
|
||||
"content.commons.license.mit.single": "License MIT",
|
||||
|
||||
"content.commons.lang.english": "Anglais",
|
||||
"content.commons.lang.french": "Français",
|
||||
"content.commons.lang.luxembourgish": "Luxembourgeois",
|
||||
"content.commons.lang.english.639-3": "Anglais (eng)",
|
||||
"content.commons.lang.french.639-3": "Français (fra)",
|
||||
"content.commons.lang.luxembourgish.639-3": "Luxembourgeois (ltz)"
|
||||
}
|
@@ -34,7 +34,7 @@
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"template": "article",
|
||||
"template": "generic-project-readme",
|
||||
"head": {
|
||||
"title": "meta.title",
|
||||
"description": "meta.description"
|
||||
@@ -55,21 +55,10 @@
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "intro.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p2"}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p2"},
|
||||
|
||||
{
|
||||
"type": "container",
|
||||
"padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "requirements.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -81,24 +70,15 @@
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{"type": "raw", "content": "requirements.2"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "documentation.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "documentation.1"}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "documentation.1"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding", "no-bottom-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "example.title"},
|
||||
{
|
||||
"type": "container", "padding": 2, "modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "code", "indent": 2,
|
||||
"modifiers": ["horizontal-scroll", "code-block"],
|
||||
@@ -132,20 +112,12 @@
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "license.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "content.commons.license.mit.single", "link": "https://github.com/aziascreations/DotNet-Arguments/blob/master/LICENSE"}
|
||||
]
|
||||
{
|
||||
"type": "paragraph", "indent": 2, "content": "content.commons.license.mit.single",
|
||||
"link": "https://github.com/aziascreations/DotNet-Arguments/blob/master/LICENSE"
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container",
|
||||
"padding": 20,
|
||||
"modifiers": ["no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "links.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -194,9 +166,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
]
|
||||
}
|
@@ -3,21 +3,21 @@
|
||||
"en": {
|
||||
"meta.title": "Excel Worksheet Password Remover",
|
||||
"meta.description": "Small web page from which you can easily remove a password from an Excel worksheet. It works by leaving the task of editing the XML files on an Excel document to your browser instead to keep everything local.",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Excel-Worksheet-Password-Remover\" class=\"font-size-16\"><i class=\"fab fa-github\"></i> View on GitHub</a>",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Excel-Worksheet-Password-Remover\"><i class=\"fab fa-github\"></i> View on GitHub</a>",
|
||||
"intro.title": "Introduction",
|
||||
"intro.p1": "This project aims to simplify the removal of passwords on Excel's Worksheet by leaving the task of editing the XML files on an Excel document to your browser.",
|
||||
"working.title": "Security & Internal workings",
|
||||
"working.p1": "In terms of security, your browser handles all the data without sending any of it to a central server like many web apps do.<br>This makes it and your data as safe as your browser can be since it is the only potential point of failure here.",
|
||||
"working.p2": "As for the internal workings, the only thing this tool does is extract the content of the <code>.xlsx</code> file you gave it, removes the passwords on any worksheets and makes a new file with all the changes.<br>Once all of that is done, the file is downloaded via a <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs\">data URL</a>.",
|
||||
"working.p1": "In terms of security, your browser handles all the data without sending any of it to a central server like many web apps do.<br>This makes it, and your data, as safe as your browser can be since it is the only potential point of failure here.",
|
||||
"working.p2": "As for the internal workings, the only thing this tool does is extract the content of the <code>.xlsx</code> file you gave it and removes the passwords on any worksheets and makes a new file with all the changes.<br>Once all of that is done, the file is downloaded via a <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs\">data URL</a>.",
|
||||
"usage.title": "Usage",
|
||||
"usage.p1": "To use this tool you can either visit \"<a href=\"https://aziascreations.github.io/Excel-Worksheet-Password-Remover\">aziascreations.github.io/Excel-Worksheet-Password-Remover</a>\" or download the repository and host the web page yourself.",
|
||||
"demo.title": "Demonstration",
|
||||
"demo.title": "Demonstration video",
|
||||
"links.title": "Links"
|
||||
},
|
||||
"fr": {
|
||||
"_meta.title": "",
|
||||
"meta.description": "Petite application web qui permet de facilement retirer le mot de passe d'une feuille de calcul Excel depuis votre navigateur web sans avoir à uploader le fichier sur internet. Cette application laisse votre navigateur modifier les fichiers XML du fichier Excel afin de tout garder en local.",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Excel-Worksheet-Password-Remover\" class=\"font-size-16\"><i class=\"fab fa-github\"></i> Voir sur GitHub</a>",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Excel-Worksheet-Password-Remover\"><i class=\"fab fa-github\"></i> Voir sur GitHub</a>",
|
||||
"intro.title": "Introduction",
|
||||
"intro.p1": "Ce projet vise à simplifier le processus de suppression des mots de passes sur les \"worksheet\" d'Excel en laissant votre navigateur web s'en charger.",
|
||||
"working.title": "Sécurité & Fonctionnement",
|
||||
@@ -25,7 +25,7 @@
|
||||
"working.p2": "Par sécurité, nous vous demandons quand même de n'utiliser cet outil qu'avec des fichiers pour lesquels vous avez été explicitement autorisés à enlever le mot de passe.",
|
||||
"usage.title": "Utilisation",
|
||||
"usage.p1": "Vous pouvez utiliser cet outil en allant sur \"<a href=\"https://aziascreations.github.io/Excel-Worksheet-Password-Remover\">aziascreations.github.io/Excel-Worksheet-Password-Remover</a>\" ou en téléchargeant le dépôt et en hébergeant la page web vous-même.",
|
||||
"demo.title": "Démonstration",
|
||||
"demo.title": "Vidéo de démonstration",
|
||||
"links.title": "Liens"
|
||||
}
|
||||
},
|
||||
@@ -83,6 +83,7 @@
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{
|
||||
"type": "raw", "link": "https://github.com/aziascreations/Excel-Worksheet-Password-Remover",
|
||||
"sr_title": "Test 123",
|
||||
"parts": [
|
||||
{"type": "raw", "content": "content.commons.github"},
|
||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||
@@ -97,6 +98,7 @@
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{
|
||||
"type": "raw", "link": "https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover",
|
||||
"sr_title": "Test 123",
|
||||
"parts": [
|
||||
{"type": "raw", "content": "content.commons.gitea"},
|
||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||
|
@@ -75,7 +75,7 @@
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"template": "article",
|
||||
"template": "generic-project-readme",
|
||||
"head": {
|
||||
"title": "meta.title",
|
||||
"description": "meta.description"
|
||||
@@ -96,21 +96,11 @@
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "intro.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p2"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p3"}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p3"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "requirements.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -128,14 +118,8 @@
|
||||
{"type": "raw", "content": " ∘ ", "localize": false},
|
||||
{"type": "raw", "content": "requirements.4"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "improvements.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -156,18 +140,12 @@
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{"type": "raw", "content": "improvements.5"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding", "no-bottom-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "screenshots.title"},
|
||||
{
|
||||
"type": "container", "margin": 5, "padding": 0,
|
||||
"modifiers": [],
|
||||
"type": "container", "padding": 2,
|
||||
"modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "gallery",
|
||||
@@ -179,15 +157,13 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding", "no-bottom-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "usage.title"},
|
||||
{
|
||||
"type": "container", "padding": 2,
|
||||
"modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "code", "indent": 2,
|
||||
"modifiers": ["horizontal-scroll", "code-block"],
|
||||
@@ -215,11 +191,11 @@
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding", "no-bottom-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "formatting.title"},
|
||||
{
|
||||
"type": "container", "padding": 2,
|
||||
"modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "code", "indent": 2,
|
||||
"modifiers": ["horizontal-scroll", "code-block"],
|
||||
@@ -246,32 +222,20 @@
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "packages.title"},
|
||||
{"type": "h3", "indent": 2, "content": "packages.single.title"},
|
||||
{"type": "paragraph", "indent": 4, "content": "packages.single.1", "modifiers": ["no-top-margin"]},
|
||||
{"type": "h3", "indent": 2, "content": "packages.self.title"},
|
||||
{"type": "paragraph", "indent": 4, "content": "packages.self.1", "modifiers": ["no-top-margin"]},
|
||||
{"type": "h3", "indent": 2, "content": "packages.msi.title"},
|
||||
{"type": "paragraph", "indent": 4, "content": "packages.msi.1", "modifiers": ["no-top-margin"]}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "packages.single.title", "modifiers": ["bold"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "packages.single.1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "packages.self.title", "modifiers": ["bold"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "packages.self.1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "packages.msi.title", "modifiers": ["bold"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "packages.msi.1"},
|
||||
|
||||
{"type": "h1", "content": "content.commons.version.current"},
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "modifiers": ["no-top-margin"], "content": "content.commons.version.current"},
|
||||
{"type": "spacer", "size": 1},
|
||||
{
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
|
||||
"type": "container", "padding": 2, "modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "table", "modifiers": ["striped", "inner-bordered"],
|
||||
"type": "table", "modifiers": ["stylish", "auto-cell-padding"],
|
||||
"head": [
|
||||
{"type": "raw", "content": "content.commons.cpu.responsive"},
|
||||
{"type": "raw", "content": "requirements.table.title"},
|
||||
@@ -439,20 +403,14 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{"type": "h1", "content": "content.commons.version.source"},
|
||||
{
|
||||
"type": "container", "padding": 20, "modifiers": ["no-top-padding"],
|
||||
"type": "container", "padding": 2, "modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{"type": "h1", "modifiers": ["no-top-margin"], "content": "content.commons.version.source"},
|
||||
{"type": "spacer", "size": 1},
|
||||
{
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
|
||||
"parts": [{
|
||||
"type": "table", "modifiers": ["striped", "inner-bordered"],
|
||||
"type": "table", "modifiers": ["stylish", "auto-cell-padding"],
|
||||
"head": [
|
||||
{"type": "raw", "content": "content.commons.version"},
|
||||
{"type": "raw", "content": "content.commons.download.multiple"}
|
||||
@@ -476,16 +434,10 @@
|
||||
]
|
||||
}
|
||||
]]
|
||||
}]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container",
|
||||
"padding": 20,
|
||||
"modifiers": ["no-top-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "links.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -521,6 +473,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"en": {
|
||||
"meta.title": "PB-ListComPort (Legacy)",
|
||||
"meta.description": "A simple CLI tool that can list COM ports with their name, friendly name and device name easily and cleanly.",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/PB-ListComPort\" class=\"font-size-16\"><i class=\"fab fa-github\"></i> View on GitHub</a>",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/PB-ListComPort\"><i class=\"fab fa-github\"></i> View on GitHub</a>",
|
||||
"intro.title": "Introduction",
|
||||
"intro.p1": "A simple CLI tool that can list COM ports with their full name easily and cleanly.",
|
||||
"intro.p2": "This tool is intended to replace the tedious task of having to use the <code class=\"code\">mode</code> command, and the <i>Device Manager</i> to find a newly plugged-in device that provides a COM port.",
|
||||
@@ -15,7 +15,7 @@
|
||||
"fr": {
|
||||
"meta.title": "PB-ListComPort (Legacy)",
|
||||
"meta.description": "Un petit utilitaire pour invité de commande qui permet de facilement lister les noms, noms formatés et chemin des ports COM.",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/PB-ListComPort\" class=\"font-size-16\"><i class=\"fab fa-github\"></i> Voir sur GitHub</a>",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/PB-ListComPort\"><i class=\"fab fa-github\"></i> Voir sur GitHub</a>",
|
||||
"intro.title": "Introduction",
|
||||
"_intro.p1": "",
|
||||
"_intro.p2": "",
|
||||
@@ -26,7 +26,7 @@
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"template": "article",
|
||||
"template": "generic-project-readme",
|
||||
"head": {
|
||||
"title": "meta.title",
|
||||
"description": "meta.description"
|
||||
@@ -47,22 +47,16 @@
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "intro.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p2"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p3"}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p3"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding", "no-bottom-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "usage.title"},
|
||||
{
|
||||
"type": "container", "padding": 2,
|
||||
"modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "code", "indent": 2,
|
||||
"modifiers": ["horizontal-scroll", "code-block"],
|
||||
@@ -89,11 +83,11 @@
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding", "no-bottom-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "formatting.title"},
|
||||
{
|
||||
"type": "container", "padding": 2,
|
||||
"modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "code", "indent": 2,
|
||||
"modifiers": ["horizontal-scroll", "code-block"],
|
||||
@@ -120,18 +114,13 @@
|
||||
]
|
||||
},
|
||||
|
||||
{"type": "h1", "content": "content.commons.version.current"},
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["_no-top-padding"],
|
||||
"parts": [
|
||||
{"type": "h1", "modifiers": ["no-top-margin"], "content": "content.commons.version.current"},
|
||||
{"type": "spacer", "size": 1},
|
||||
{
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
|
||||
"type": "container", "padding": 2,
|
||||
"modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "table", "modifiers": ["striped", "inner-bordered"],
|
||||
"type": "table", "modifiers": ["stylish", "auto-cell-padding"],
|
||||
"head": [
|
||||
{"type": "raw", "content": "content.commons.cpu.responsive"},
|
||||
{"type": "raw", "content": "content.commons.lang"},
|
||||
@@ -200,20 +189,14 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{"type": "h1", "content": "content.commons.version.previous.multiple"},
|
||||
{
|
||||
"type": "container", "padding": 20, "modifiers": ["no-top-padding"],
|
||||
"type": "container", "padding": 2, "modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{"type": "h1", "modifiers": ["no-top-margin"], "content": "content.commons.version.previous.multiple"},
|
||||
{"type": "spacer", "size": 1},
|
||||
{
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
|
||||
"parts": [{
|
||||
"type": "table", "modifiers": ["striped", "inner-bordered"],
|
||||
"type": "table", "modifiers": ["stylish", "auto-cell-padding"],
|
||||
"head": [
|
||||
{"type": "raw", "content": "content.commons.version"},
|
||||
{"type": "raw", "content": "content.commons.cpu.responsive"},
|
||||
@@ -302,21 +285,16 @@
|
||||
}
|
||||
]
|
||||
]
|
||||
}]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{"type": "h1", "content": "content.commons.version.source"},
|
||||
{
|
||||
"type": "container", "padding": 20, "modifiers": ["no-top-padding"],
|
||||
"type": "container", "padding": 2, "modifiers": ["pb-0"],
|
||||
"parts": [
|
||||
{"type": "h1", "modifiers": ["no-top-margin"], "content": "content.commons.version.source"},
|
||||
{"type": "spacer", "size": 1},
|
||||
{
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
|
||||
"parts": [{
|
||||
"type": "table", "modifiers": ["striped", "inner-bordered"],
|
||||
"type": "table", "modifiers": ["stylish", "auto-cell-padding"],
|
||||
"head": [
|
||||
{"type": "raw", "content": "content.commons.version"},
|
||||
{"type": "raw", "content": "content.commons.download.multiple"}
|
||||
@@ -394,16 +372,11 @@
|
||||
]
|
||||
}
|
||||
]]
|
||||
}]
|
||||
}
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container",
|
||||
"padding": 20,
|
||||
"modifiers": ["no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "links.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -439,6 +412,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -52,7 +52,7 @@
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"template": "article",
|
||||
"template": "generic-project-readme",
|
||||
"head": {
|
||||
"title": "meta.title",
|
||||
"description": "meta.description"
|
||||
@@ -73,19 +73,9 @@
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "intro.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "meta.description"}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "meta.description"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "feature.current.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -118,14 +108,8 @@
|
||||
{"type": "raw", "content": " ⚬ ", "localize": false},
|
||||
{"type": "raw", "content": "feature.current.9"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "feature.planned.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -152,14 +136,8 @@
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{"type": "raw", "content": "feature.planned.7"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "links.title"},
|
||||
{
|
||||
"type": "paragraph",
|
||||
@@ -233,6 +211,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -3,7 +3,7 @@
|
||||
"en": {
|
||||
"meta.title": "Youtube Auto Archiver",
|
||||
"meta.description": "A simple and yet highly configurable Python application that automatically checks if a Youtuber is streaming, and downloads said streams while also archiving its latest uploads.",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Youtube-Auto-Archiver\" class=\"font-size-16\"><i class=\"fab fa-github\"></i> View on GitHub</a>",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Youtube-Auto-Archiver\"><i class=\"fab fa-github\"></i> View on GitHub</a>",
|
||||
|
||||
"intro.title": "Introduction",
|
||||
"warning.title": "Warning",
|
||||
@@ -30,7 +30,7 @@
|
||||
"fr": {
|
||||
"_meta.title": "",
|
||||
"meta.description": "Une simple petite application hautement configurable qui vérifie automatiquement si un Youtubeur stream et as uploadé des vidéos afin de les archiver.",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Youtube-Auto-Archiver\" class=\"font-size-16\"><i class=\"fab fa-github\"></i> Voir sur GitHub</a>",
|
||||
"article.subtitle": "<a href=\"https://github.com/aziascreations/Youtube-Auto-Archiver\"><i class=\"fab fa-github\"></i> Voir sur GitHub</a>",
|
||||
|
||||
"intro.title": "Introduction",
|
||||
"warning.title": "Avertissements",
|
||||
@@ -56,7 +56,7 @@
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"template": "article",
|
||||
"template": "generic-project-readme",
|
||||
"head": {
|
||||
"title": "meta.title",
|
||||
"description": "meta.description"
|
||||
@@ -77,54 +77,30 @@
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "intro.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "meta.description"}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "meta.description"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "warning.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "warning.p1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "warning.p2"}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "warning.p2"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "features.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.1.1", "modifiers": ["no-bottom-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.1.2", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.1.3", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.2.1", "modifiers": ["no-bottom-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.2", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.3", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.4", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.5", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.3.1", "modifiers": ["no-bottom-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.3.2", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.3.3", "modifiers": ["no-bottom-margin", "no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.4.1", "modifiers": ["no-bottom-margin"]},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.4.2", "modifiers": ["no-top-margin"]}
|
||||
]
|
||||
},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.1.1"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.1.2"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.1.3"},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.2.1"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.2"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.3"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.4"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.2.5"},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.3.1"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.3.2"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.3.3"},
|
||||
{"type": "paragraph", "indent": 2, "content": "features.list.4.1"},
|
||||
{"type": "paragraph", "indent": 4, "content": "features.list.4.2"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "warning.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "warning.p1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "warning.p2"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
BIN
resources/NibblePoker/images/backgrounds/old-mathematics-v2.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
resources/NibblePoker/images/backgrounds/old-mathematics.png
Normal file
After Width: | Height: | Size: 51 KiB |
@@ -21,6 +21,14 @@ h1, h2, h3, h4, h5, h6 {
|
||||
}
|
||||
}
|
||||
|
||||
// Adding special ones
|
||||
.t-size-11 {
|
||||
font-size: 1.1rem !important;
|
||||
}
|
||||
.t-size-13 {
|
||||
font-size: 1.3rem !important;
|
||||
}
|
||||
|
||||
@for $_ from 2 through 7 {
|
||||
$size: $_ * 100;
|
||||
|
||||
|
@@ -7,3 +7,11 @@
|
||||
.bkgd-grid {
|
||||
background: #{$color-background-main-headings} url("/resources/NibblePoker/images/backgrounds/3px-tile-0.4.png") repeat scroll center center;
|
||||
}
|
||||
|
||||
.bkgd-squares {
|
||||
background: #{$color-background-main-headings} url("/resources/NibblePoker/images/backgrounds/bright-squares-p100-0.125.png") repeat scroll center center;
|
||||
}
|
||||
|
||||
.bkgd-math {
|
||||
background: #{$color-background-main-headings} url("/resources/NibblePoker/images/backgrounds/old-mathematics-v2-0.25.png") repeat scroll center center;
|
||||
}
|
||||
|
@@ -54,8 +54,13 @@ main, .sidebar {
|
||||
transition-timing-function: cubic-bezier(.25,.8,.25,1.1);
|
||||
}
|
||||
|
||||
.heading-main > h2 {
|
||||
.heading-main {
|
||||
> h2, > h3, > h4 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: left;
|
||||
}
|
||||
&.heading-dyn-width-1 {
|
||||
min-width: 75%;
|
||||
}
|
||||
}
|
||||
|