From a32340394ca9706eaca1e9b6b07bfd724c8eae81 Mon Sep 17 00:00:00 2001 From: Vii Date: Mon, 19 May 2025 00:10:27 +0300 Subject: [PATCH 01/60] Initial override commit, mostly undocumented, sorry --- .env-files/Dockerfile.github | 11 - .env-files/Dockerfile.gitlab | 11 - .env-files/Gemfile.github | 3 - .env-files/Gemfile.gitlab | 18 - .github/workflows/jekyll.yml | 65 ++ .gitignore | 3 +- CODE_OF_CONDUCT.md | 76 -- CONTRIBUTING.md | 7 - Gemfile | 26 + LICENSE | 21 - PULL_REQUEST_TEMPLATE.md | 21 - README.md | 50 - _config.yml | 241 ++--- .../bakery-wiki/components/charCard.html | 28 + _includes/bakery-wiki/head.html | 30 + _includes/bakery-wiki/navBar.html | 39 + _includes/bakery-wiki/pageActions.html | 30 + _includes/bakery-wiki/toc/toc-lib.html | 107 ++ _layouts/bakery-theme-404.html | 15 + _layouts/bakery-theme-blog.html | 68 ++ _layouts/bakery-theme-default.html | 35 + _layouts/default.html | 4 - _layouts/git-wiki-404.html | 21 - _layouts/git-wiki-blog.html | 38 - _layouts/git-wiki-bs-github.html | 65 -- _layouts/git-wiki-bs-lux.html | 75 -- _layouts/git-wiki-bs-united.html | 64 -- _layouts/git-wiki-default.html | 9 - _layouts/git-wiki-post.html | 15 - _posts/.gitkeep | 1 - _sass/fonts.scss | 55 - _sass/git-wiki-style.scss | 400 -------- _sass/rouge-github.scss | 209 ---- _sass/w3.scss | 233 ----- assets/404.html | 2 +- assets/css/git-wiki-style.scss | 5 - assets/css/github.css | 962 ------------------ assets/css/rouge-highlight.css | 65 ++ assets/css/style404.css | 278 +++++ assets/css/stylemain.css | 609 +++++++++++ assets/js/lightModeToggle.js | 49 + assets/js/searchdata.js | 26 +- index.md | 113 ++ sync-wiki.sh | 12 - wiki/main_page.md | 8 - wiki/test2.md | 46 + wiki/testpage.md | 111 ++ 47 files changed, 1826 insertions(+), 2554 deletions(-) delete mode 100644 .env-files/Dockerfile.github delete mode 100644 .env-files/Dockerfile.gitlab delete mode 100644 .env-files/Gemfile.github delete mode 100644 .env-files/Gemfile.gitlab create mode 100644 .github/workflows/jekyll.yml delete mode 100644 CODE_OF_CONDUCT.md delete mode 100644 CONTRIBUTING.md create mode 100644 Gemfile delete mode 100644 LICENSE delete mode 100644 PULL_REQUEST_TEMPLATE.md delete mode 100644 README.md create mode 100644 _includes/bakery-wiki/components/charCard.html create mode 100644 _includes/bakery-wiki/head.html create mode 100644 _includes/bakery-wiki/navBar.html create mode 100644 _includes/bakery-wiki/pageActions.html create mode 100644 _includes/bakery-wiki/toc/toc-lib.html create mode 100644 _layouts/bakery-theme-404.html create mode 100644 _layouts/bakery-theme-blog.html create mode 100644 _layouts/bakery-theme-default.html delete mode 100644 _layouts/default.html delete mode 100644 _layouts/git-wiki-404.html delete mode 100644 _layouts/git-wiki-blog.html delete mode 100644 _layouts/git-wiki-bs-github.html delete mode 100644 _layouts/git-wiki-bs-lux.html delete mode 100644 _layouts/git-wiki-bs-united.html delete mode 100644 _layouts/git-wiki-default.html delete mode 100644 _layouts/git-wiki-post.html delete mode 100644 _posts/.gitkeep delete mode 100644 _sass/fonts.scss delete mode 100644 _sass/git-wiki-style.scss delete mode 100644 _sass/rouge-github.scss delete mode 100644 _sass/w3.scss delete mode 100644 assets/css/git-wiki-style.scss delete mode 100644 assets/css/github.css create mode 100644 assets/css/rouge-highlight.css create mode 100644 assets/css/style404.css create mode 100644 assets/css/stylemain.css create mode 100644 assets/js/lightModeToggle.js create mode 100644 index.md delete mode 100644 sync-wiki.sh delete mode 100644 wiki/main_page.md create mode 100644 wiki/test2.md create mode 100644 wiki/testpage.md diff --git a/.env-files/Dockerfile.github b/.env-files/Dockerfile.github deleted file mode 100644 index 07e3dedec..000000000 --- a/.env-files/Dockerfile.github +++ /dev/null @@ -1,11 +0,0 @@ -# The ruby version should be in sync with this: https://github.com/github/pages-gem/blob/master/Dockerfile#L1 -FROM ruby:3.3 -ENV LC_ALL=C.UTF-8=value - -ADD . /srv/jekyll - -WORKDIR /srv/jekyll - -RUN bundle install --gemfile=.env-files/Gemfile.github - -EXPOSE 4000 \ No newline at end of file diff --git a/.env-files/Dockerfile.gitlab b/.env-files/Dockerfile.gitlab deleted file mode 100644 index 5e120bcce..000000000 --- a/.env-files/Dockerfile.gitlab +++ /dev/null @@ -1,11 +0,0 @@ -FROM ruby:2.7.0 - -ENV LC_ALL=C.UTF-8=value - -ADD . /srv/jekyll - -WORKDIR /srv/jekyll - -RUN bundle install --gemfile=.env-files/Gemfile.gitlab - -EXPOSE 4000 \ No newline at end of file diff --git a/.env-files/Gemfile.github b/.env-files/Gemfile.github deleted file mode 100644 index 8eceee697..000000000 --- a/.env-files/Gemfile.github +++ /dev/null @@ -1,3 +0,0 @@ -source 'http://rubygems.org' -gem 'github-pages', group: :jekyll_plugins -gem "jekyll-gitlab-metadata" # for cross compatibility \ No newline at end of file diff --git a/.env-files/Gemfile.gitlab b/.env-files/Gemfile.gitlab deleted file mode 100644 index b61bb0500..000000000 --- a/.env-files/Gemfile.gitlab +++ /dev/null @@ -1,18 +0,0 @@ -source 'http://rubygems.org' -gem "jekyll-avatar" -gem "jekyll-coffeescript" -gem "jekyll-default-layout" -gem "jekyll-feed" -gem "jekyll-gist" -gem "jekyll-paginate" -gem "jekyll-mentions" -gem "jekyll-optional-front-matter" -gem "jekyll-readme-index" -gem "jekyll-redirect-from" -gem "jekyll-remote-theme" -gem "jekyll-relative-links" -gem "jekyll-seo-tag" -gem "jekyll-sitemap" -gem "jekyll-titles-from-headings" -gem "jemoji" -gem "jekyll-gitlab-metadata" \ No newline at end of file diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml new file mode 100644 index 000000000..61f2d803b --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,65 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll site to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Ruby + # https://github.com/ruby/setup-ruby/releases/tag/v1.207.0 + uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 + with: + ruby-version: '3.1' # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + cache-version: 0 # Increment this number if you need to re-download cached gems + - name: Setup Pages + id: pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + # Outputs to the './_site' directory by default + run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" + env: + JEKYLL_ENV: production + - name: Upload artifact + # Automatically uploads an artifact from the './_site' directory by default + uses: actions/upload-pages-artifact@v3 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index 8c5f13df9..0ec53d862 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ _site Gemfile.*.lock -.sass-cache \ No newline at end of file +.sass-cache +Gemfile.lock diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index ac3152823..000000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,76 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at staff-drassil@googlegroups.com. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 56c3a2b3c..000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,7 +0,0 @@ -If you want to send a pull request to our project and github editor is not enough, then you can: - -1. Fork or copy this repository - -2. clone on your local environment and run your git-wiki installation following [this guide](https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/) - -3. do your changes, push on your fork and create a Pull Request for us diff --git a/Gemfile b/Gemfile new file mode 100644 index 000000000..bd33c037a --- /dev/null +++ b/Gemfile @@ -0,0 +1,26 @@ +source 'http://rubygems.org' + +gem 'jekyll-unified-codeblocks', git: "https://github.com/razvii22/jekyll-unified-codeblocks" + +gem "jekyll", "3.10.0" +gem "jekyll-avatar", "0.8.0" +gem "jekyll-coffeescript", "1.2.2" +gem "jekyll-default-layout", "0.1.5" +gem "jekyll-feed", "0.17.0" +gem "jekyll-gist", "1.5.0" +gem "jekyll-github-metadata", "2.16.1" +gem "jekyll-include-cache", "0.2.1" +gem "jekyll-mentions", "1.6.0" +gem "jekyll-optional-front-matter", "0.3.2" +gem "jekyll-paginate", "1.1.0" +gem "jekyll-readme-index", "0.3.0" +gem "jekyll-redirect-from", "0.16.0" +gem "jekyll-relative-links", "0.6.1" +gem "jekyll-remote-theme", "0.4.3" +gem "jekyll-sass-converter", "1.5.2" +gem "jekyll-seo-tag", "2.8.0" +gem "jekyll-sitemap", "1.4.0" +gem "jekyll-titles-from-headings", "0.5.3" +gem "jemoji", "0.13.0" +gem "jekyll-gitlab-metadata" +gem "kramdown-parser-gfm" \ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 3d2e0e301..000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2017 Drassil.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 1af5b81ec..000000000 --- a/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,21 +0,0 @@ - - -## Description - - -## Related Issue - - - - - -## Motivation and Context - - - -## How Has This Been Tested? - - - - -## Screenshots (if appropriate): diff --git a/README.md b/README.md deleted file mode 100644 index 006a6f472..000000000 --- a/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# git-wiki - -Git-wiki is a **modular and full featured wiki** powered by Git, [GitHub](https://pages.github.com/)/[Gitlab](https://about.gitlab.com/product/pages/) Pages and pull requests! - -The git-wiki project is composed by 3 different repository: - -- [git-wiki-theme](https://github.com/Drassil/git-wiki-theme): This is the repository of the theme that implements the wiki functionalities. You would have not fork it unless you need to send a Pull Request or create your wiki project from scratch. - -- [git-wiki-skeleton](https://github.com/Drassil/git-wiki-skeleton): This is the repo that you should fork or use as a template. It uses the [jekyll remote theme](https://github.com/benbalter/jekyll-remote-theme) functionality that allows you to create your own wiki based on git-wiki-theme. By using the remote functionality you can automatically keep your wiki always updated with latest features from the **git-wiki-theme**, but you can also fully customize it. - -- [git-wiki](https://github.com/Drassil/git-wiki): This is the documentation repository and website of the **git-wiki-theme** project. You would have not fork it unless you want to contribute to the git-wiki project documentation. - -## Getting started - -The easier and faster way to use git-wiki is the "skeleton" method. - -**You don't need to install anything locally!** - -1. Simply fork/clone [skeleton repo](https://github.com/Drassil/git-wiki-skeleton) or click on the "Use this template" button to create your copy of the skeleton project. - -2. Edit _config.yml and other pages as you need and then deploy it on GitHub/Gitlab Pages. - -**Done**! Now wait that your page will be published and you're ready **_to wiki_**! - -## Features - -* Improvements in the **cooperative** aspect: forks, pull requests and roles. -* You can **customize your wiki** as you want with stylesheets and even changing the layout (see customization section below). -* **No databases!** Only static files that can be downloaded in a few seconds. -* **Blazing fast** and free thankfully to GitHub/Gitlab Pages and Jekyll Server Side Generation process! -* **Markdown and HTML** mixed together! -* **Multiple free search engines!** on a static site! -* **History, revision comparison** and everything you need from a wiki platform. -* You can **edit your pages** with the standard git editor, prose.io (integrated) or any kind of editor you prefer. -* Non-existent wiki page links are "[red](red.md)", you can **click on them to automatically create a new page**! -* [External links](http://example.com) get the right icon automatically. -* **Component system with hooks** that allows you to completely customize your wiki UI (see customization section below). -* Some **nice internal themes** to change your entire wiki UI with 1 simple configuration (see customization section below). -* Integrated **Blogging** feature thanks to Jekyll! -* Automatically generated **TOC**! -* You can download the entire wiki for **offline** usage and even navigate directly using a Markdown reader! - - -You can use it with the Jekyll ["remote_theme"](https://github.com/benbalter/jekyll-remote-theme) feature or fork/copy the master branch and start your wiki in just 1 minute. - - - -Instructions and full documentation: [http://drassil.github.io/git-wiki](http://drassil.github.io/git-wiki) - - diff --git a/_config.yml b/_config.yml index b69f8f10f..1cdf20e44 100644 --- a/_config.yml +++ b/_config.yml @@ -1,147 +1,94 @@ -# (string) Title of your wiki -title: -# (string) Description of your wiki -description: -# (boolean) disable edit functionalities (edit/delete/add pages) -disable_edit: false -# (boolean) Enable/disable wiki page list in sidebar -show_wiki_pages: true -# (integer) Maximum number of wiki page to shown in sidebar -show_wiki_pages_limit: 10 -# (boolean) Enable/disable blog feature -blog_feature: true -# (boolean) Enable/disable wiki posts list in sidebar (needs blog_feature enabled) -show_wiki_posts: true -# (integer) Maximum number of wiki posts to shown in sidebar -show_wiki_posts_limit: 10 -# from jekyll (read jekyll doc) -paginate: 5 -paginate_path: "/assets/blog/page:num" -permalink: "/assets/blog/posts/:year/:month/:day/:title:output_ext" -# (boolean) Enable/disable download buttons in sidebar -show_downloads: true -# (string) Specify branch rendered by gitpages allowing wiki tool buttons to work -git_branch: "master" -# (string) Url of logo image, it can be full, absolute or relative. -logo_url: -# (string) The UA-XXXXX-Y code from google analytic to enable GA on your wiki -google_analytics: -# (string) folder where wiki pages are stored, it's needed for tool buttons -wiki_folder: "wiki" -# (boolean) if you're using github wiki as submodule then this config -# must be enabled to allow tool buttons to work properly -use_github_wiki: false -# (boolean) Enable "Edit with Prose.io" button in tools, it's a 3rd party -# service to edit github markdown pages easily -use_prose_io: true -# Select search_engine component from: -# - js: it uses a built in javascript component that uses generated js object -# - js_rss: it uses a built in javascript component that uses generated sitemap_full.xml to search inside your wiki with lunr library (slow and experimental) -# - github : it uses internal github repository search -# - google : it uses cse search bar, you need to configure google_cse_token -# -search_engine : "js" -# Setting google custom search engine for google -# cse search bar (https://cse.google.it/cse/) -google_cse_token: - -# (string) path of site root. Normally it's must be empty because _config.yml resides in the root of your repository. -# If you have _config.yml and your site in a subfolder, then change this config accordly -site_root: - -# -# Jekyll configurations -# - -# You can customize it changing default layout for all pages -# More info: https://jekyllrb.com/docs/configuration/ -# -# git-wiki includes some internal themes that you can choose -# check _layouts folder -# -markdown: kramdown -highlighter: rouge -kramdown: - input: GFM - syntax_highlighter: rouge - -defaults: - - - scope: - path: "wiki" - values: - permalink: /:basename - - - scope: - path: "" # an empty string here means all files in the project - values: - layout: "git-wiki-default" - - - scope: - path: "" - type: "pages" - values: - layout: "git-wiki-default" - - - scope: - path: "" - type: "posts" - values: - layout: "git-wiki-post" - - - scope: - path: assets/blog - values: - layout: "git-wiki-blog" -sass: - style: compressed -plugins: - - jekyll-avatar - - jekyll-coffeescript - - jekyll-default-layout - - jekyll-feed - - jekyll-gist - - jekyll-paginate - - jekyll-mentions - - jekyll-optional-front-matter - - jekyll-readme-index - - jekyll-redirect-from - - jekyll-remote-theme - - jekyll-relative-links - - jekyll-seo-tag - - jekyll-sitemap - - jekyll-titles-from-headings - - jemoji - - -# -# INCLUDING HOOKS -# They are optional, change them only if you need -# Check wiki documentation to learn how they work -# - -inc_before_toc : -inc_after_toc : -inc_before_content : -inc_after_content : -inc_before_footer : -inc_after_footer : -inc_before_head : -inc_after_head : -inc_before_meta : -inc_after_meta : -inc_before_scripts : -inc_after_scripts : -inc_before_styles : -inc_after_styles : -inc_before_header : -inc_after_header : -inc_before_tail : -inc_after_tail : -inc_before_tools : -inc_after_tools : - -inc_before_page_list : -inc_after_page_list : -inc_before_post_list : -inc_after_post_list : +# (string) Title of your wiki +title: "bakery-wiki" +# (string) if you've installed your wiki in subfolder, you must change this configuration +# with your folder name, otherwise leave it empty +baseurl: "/test" +# (string) Description of your wiki +description: 'The "Official" theme repository for the Bakery wiki' +# (mapping) Left side navigation buttons, leave empty to remove them +navButtons: + Home: "/" + Test Page: "/wiki/testpage.html" +# HACK Github stuff, using jekyll-github-metadata seems wasteful when we're only using a few variables. +# (string) repo url: user/repo +github: + repository_url: "razvii22/test" +# (string) Specify branch rendered by gitpages allowing wiki tool buttons to work +git_branch: "main" +# (boolean) disable edit functionalities (edit/delete/add pages) +disable_edit: false +# (boolean) Enable/disable wiki page list in sidebar +show_wiki_pages: true +# (integer) Maximum number of wiki page to shown in sidebar +show_wiki_pages_limit: 10 +# (boolean) Enable/disable blog feature +blog_feature: true +# (boolean) Enable/disable wiki posts list in sidebar (needs blog_feature enabled) +show_wiki_posts: true +# (integer) Maximum number of wiki posts to shown in sidebar +show_wiki_posts_limit: 10 +# from jekyll (read jekyll doc) +paginate: 5 +paginate_path: "/assets/blog/page:num" +permalink: /assets/blog/posts/:year/:month/:day/:title:output_ext +# (string) folder where wiki pages are stored, it's needed for tool buttons (Kept for git wiki theme) +wiki_folder: "wiki" +# Select search_engine component from: +# - js: it uses a built in javascript component that uses generated js object +# - js_rss: it uses a built in javascript component that uses generated sitemap_full.xml to search inside your wiki with lunr library (slow and experimental) +# - github : it uses internal github repository search +# - google : it uses cse search bar, you need to configure google_cse_token +search_engine : "js" +# Setting google custom search engine for google +# cse search bar (https://cse.google.it/cse/) +google_cse_token: + +# (string) path of site root. Normally it's must be empty because _config.yml resides in the root of your repository. +# If you have _config.yml and your site in a subfolder, then change this config accordly +site_root: + +# +# Jekyll configurations +# + +# You can customize it changing default layout for all pages +# More info: https://jekyllrb.com/docs/configuration/ +# +# git-wiki includes some internal themes that you can choose +# check _layouts folder +# +markdown: kramdown +highlighter: rouge +kramdown: + input: GFM + syntax_highlighter: rouge + +defaults: + - + scope: + path: "" # an empty string here means all files in the project + values: + layout: "bakery-theme-default" + - + scope: + path: assets/blog + values: + layout: "bakery-theme-blog" +plugins: + - jekyll-unified-codeblocks + - jekyll-avatar + - jekyll-coffeescript + - jekyll-default-layout + - jekyll-feed + - jekyll-gist + - jekyll-paginate + - jekyll-mentions + - jekyll-optional-front-matter + - jekyll-readme-index + - jekyll-redirect-from + - jekyll-remote-theme + - jekyll-relative-links + - jekyll-seo-tag + - jekyll-sitemap + - jekyll-titles-from-headings + - jemoji diff --git a/_includes/bakery-wiki/components/charCard.html b/_includes/bakery-wiki/components/charCard.html new file mode 100644 index 000000000..c170542e0 --- /dev/null +++ b/_includes/bakery-wiki/components/charCard.html @@ -0,0 +1,28 @@ + +{% assign title = include.title | default: "Waiting." %} +{% assign lr = include.lr | default: "right" %} +{% assign imageURL = include.imageURL | default: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTfpbNRYOrK9HJpurmGakWEIv_zeu25-fvBug&s" %} +{% assign table = include.table | default:'' | split: "|" %} + + + + + + + + {% for row in table %} + {% assign column = row | split: "," %} + + {% assign colspan = 100 | divided_by: column.size %} + {% if column.size > 1 %} + {% for item in column %} + + {% endfor %} + {% else %} + {% for item in column %} + + {% endfor %} + {%endif%} + + {% endfor %} +
{{title}}
{{item}}{{item}}
diff --git a/_includes/bakery-wiki/head.html b/_includes/bakery-wiki/head.html new file mode 100644 index 000000000..3e9b1d8b4 --- /dev/null +++ b/_includes/bakery-wiki/head.html @@ -0,0 +1,30 @@ + + + + + + {% assign pagetitle = page.name | replace: ".md", "" %} + {% assign title = pagetitle | append: " - " | append: site.title | strip_html %} + + {{ title | strip_html | strip_newlines | truncate: 160 }} + + + + + + {% if page.image %} + + + {% elsif site.logo_url %} + + + {% endif %} + + + + diff --git a/_includes/bakery-wiki/navBar.html b/_includes/bakery-wiki/navBar.html new file mode 100644 index 000000000..cfa7c37de --- /dev/null +++ b/_includes/bakery-wiki/navBar.html @@ -0,0 +1,39 @@ + + + + + \ No newline at end of file diff --git a/_includes/bakery-wiki/pageActions.html b/_includes/bakery-wiki/pageActions.html new file mode 100644 index 000000000..cc686ca80 --- /dev/null +++ b/_includes/bakery-wiki/pageActions.html @@ -0,0 +1,30 @@ + +{% if site.disable_edit != true %} +
+ + + + + +
+{% endif %} diff --git a/_includes/bakery-wiki/toc/toc-lib.html b/_includes/bakery-wiki/toc/toc-lib.html new file mode 100644 index 000000000..972ddd948 --- /dev/null +++ b/_includes/bakery-wiki/toc/toc-lib.html @@ -0,0 +1,107 @@ +{% capture tocWorkspace %} + {% comment %} + Modified from the original git-wiki-theme toc-lib, adding a
tag after every entry. line 93. + Version 1.0.9 + https://github.com/allejo/jekyll-toc + + "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe + + Usage: + {% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %} + + Parameters: + * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll + + Optional Parameters: + * title (string) : Contents: - title for the TOC + * minHeaders (int) : 1 - minimum number of headers required to show the TOC + * sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC + * class (string) : '' - a CSS class assigned to the TOC + * id (string) : '' - an ID to assigned to the TOC + * h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored + * h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored + * ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list + * item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level + * baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content + * anchor_class (string) : '' - add custom class(es) for each anchor element + + Output: + An ordered or unordered list representing the table of contents of a markdown block. This snippet will only + generate the table of contents and will NOT output the markdown given to it + {% endcomment %} + + {% capture my_toc %}{% endcapture %} + {% assign title = include.title | default: "Contents:" %} + {% assign minHeaders = include.minHeaders | default: 1 %} + {% assign orderedList = include.ordered | default: false %} + {% assign minHeader = include.h_min | default: 1 %} + {% assign maxHeader = include.h_max | default: 6 %} + {% assign nodes = include.html | split: ' maxHeader %} + {% continue %} + {% endif %} + + {% if firstHeader %} + {% assign firstHeader = false %} + {% assign minHeader = headerLevel %} + {% endif %} + + {% assign indentAmount = headerLevel | minus: minHeader %} + {% assign _workspace = node | split: '' | first }}>{% endcapture %} + {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %} + + {% assign space = '' %} + {% for i in (1..indentAmount) %} + {% assign space = space | prepend: ' ' %} + {% endfor %} + + {% if include.item_class and include.item_class != blank %} + {% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %} + {% endif %} + + {% assign hCount = hCount | plus: 1 %} + + {% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %} + {% capture my_toc %}{{ my_toc }} +{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }})
{% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %} + {% endfor %} + {% if include.class and include.item_class != blank %} + {% capture my_toc %}{:.{{ include.class }}} +{{ my_toc | lstrip }}{% endcapture %} + {% endif %} + {% if include.id %} + {% capture my_toc %}{: #{{ include.id }}} +{{ my_toc | lstrip }}{% endcapture %} + {% endif %} +{% endcapture %}{% assign tocWorkspace = '' %} +{% if hCount >= minHeaders %} + {{ title }} + {{ my_toc | markdownify | strip }} +{% endif %} \ No newline at end of file diff --git a/_layouts/bakery-theme-404.html b/_layouts/bakery-theme-404.html new file mode 100644 index 000000000..25cc8475e --- /dev/null +++ b/_layouts/bakery-theme-404.html @@ -0,0 +1,15 @@ + + + {% include bakery-wiki/head.html %} + + + + + {% include bakery-wiki/navBar.html %} +
+

404

+

that isn't real

+

you must be hallucinating

+
+ + diff --git a/_layouts/bakery-theme-blog.html b/_layouts/bakery-theme-blog.html new file mode 100644 index 000000000..48d1bb4c2 --- /dev/null +++ b/_layouts/bakery-theme-blog.html @@ -0,0 +1,68 @@ + + + {% include bakery-wiki/head.html %} + {% comment %} This injects the frontmatter accent colors into the body css, overwriting the initial variables imported alongside the header at line 3 + This does NOT need default values, the default should fallback to the stylesheets. + The if statements avoid asigning empty variables, which chromium browsers do not like, at all, chromium sucks. {% endcomment %} + {% comment %}============================================================================================== {% endcomment %} + {% if page.accent-light %} + + {% endif %} + {% if page.accent-dark %} + + {% endif %} + {% comment %}============================================================================================== {% endcomment %} + + {% include bakery-wiki/navBar.html %} + {% comment %} Add the sidebar unless the page has it disabled {% endcomment %} + {% if page.sidebar != false %} + + {% endif %} +
+ + {% for post in paginator.posts %} +
+

+ {{ post.date | date: "%-d %B %Y"}} +

+
+ {{ post.excerpt }} + + ...Read all +
+
+
+ {% endfor %} + + + +
+ + + \ No newline at end of file diff --git a/_layouts/bakery-theme-default.html b/_layouts/bakery-theme-default.html new file mode 100644 index 000000000..9e4a0910e --- /dev/null +++ b/_layouts/bakery-theme-default.html @@ -0,0 +1,35 @@ + + + {% include bakery-wiki/head.html %} + {% comment %} This injects the frontmatter accent colors into the body css, overwriting the initial variables imported alongside the header at line 3 + This does NOT need default values, the default should fallback to the stylesheets. + The if statements avoid asigning empty variables, which chromium browsers do not like, at all, chromium sucks. {% endcomment %} + {% comment %}============================================================================================== {% endcomment %} + {% if page.accent-light %} + + {% endif %} + {% if page.accent-dark %} + + {% endif %} + {% comment %}============================================================================================== {% endcomment %} + + {% include bakery-wiki/navBar.html %} + {% comment %} Add the sidebar unless the page has it disabled {% endcomment %} + {% if page.sidebar != false %} + + {% include bakery-wiki/toc/toc-lib.html title=" " minHeaders=1 html=content sanitize=true class="SideBar" id="git-wiki-toc" h_min=1 h_max=3 %} + + {% endif %} +
+ {{ content }} +
+ + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index feab7b64d..000000000 --- a/_layouts/default.html +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Default -layout: git-wiki-default ---- \ No newline at end of file diff --git a/_layouts/git-wiki-404.html b/_layouts/git-wiki-404.html deleted file mode 100644 index 59f65ec7f..000000000 --- a/_layouts/git-wiki-404.html +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Not Found -permalink: /404.html -is_wiki_page: false ---- - - -{% if site.disable_edit != true %} - -{% else %} - -Page Not Found - -{% endif %} \ No newline at end of file diff --git a/_layouts/git-wiki-blog.html b/_layouts/git-wiki-blog.html deleted file mode 100644 index ae6b994bb..000000000 --- a/_layouts/git-wiki-blog.html +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Blog -layout: git-wiki-default ---- - - -{% for post in paginator.posts %} -
-

- {{ post.date | date: "%-d %B %Y"}} -

-
- {{ post.excerpt }} - - ...Read all -
-
-
-{% endfor %} - - - \ No newline at end of file diff --git a/_layouts/git-wiki-bs-github.html b/_layouts/git-wiki-bs-github.html deleted file mode 100644 index b2b0788fd..000000000 --- a/_layouts/git-wiki-bs-github.html +++ /dev/null @@ -1,65 +0,0 @@ -{% comment %} -# -# This layout uses bootstrap with united theme -# -{% endcomment %} - -{% include git-wiki/defines/defines.html %} - - - - - - {% if site.inc_before_head %} - {% include {{ site.inc_before_head }} %} - {% endif %} - - {% include git-wiki/sections/head/meta.html %} - {% include git-wiki/sections/head/scripts.html %} - {% include git-wiki/sections/head/styles.html %} - - - - - {% if site.inc_after_head %} - {% include {{ site.inc_after_head }} %} - {% endif %} - - - -
-
-
-
- {% include git-wiki/sections/tools/tools.html %} - - {% include git-wiki/components/toc/toc.html %} - - {% if site.inc_before_content %} - {% include {{ site.inc_before_content }} %} - {% endif %} - -
- {{ content }} -
- - {% if site.inc_after_content %} - {% include {{ site.inc_after_content }} %} - {% endif %} -
-
-
- {% include git-wiki/sections/header/header.html %} -
-
-
-
- {% include git-wiki/sections/footer/footer.html %} -
-
-
- - {% include git-wiki/sections/tail/tail.html %} - - - \ No newline at end of file diff --git a/_layouts/git-wiki-bs-lux.html b/_layouts/git-wiki-bs-lux.html deleted file mode 100644 index 5cc4a2744..000000000 --- a/_layouts/git-wiki-bs-lux.html +++ /dev/null @@ -1,75 +0,0 @@ -{% comment %} -# -# This layout uses bootstrap with lux theme -# -{% endcomment %} - -{% include git-wiki/defines/defines.html %} - - - - - - {% if site.inc_before_head %} - {% include {{ site.inc_before_head }} %} - {% endif %} - - {% include git-wiki/sections/head/meta.html %} - {% include git-wiki/sections/head/scripts.html %} - {% include git-wiki/sections/head/styles.html %} - - - - {% comment %} Hacky-Fix for lux theme {% endcomment %} - - - {% if site.inc_after_head %} - {% include {{ site.inc_after_head }} %} - {% endif %} - - - -
-
-
- {% include git-wiki/sections/header/header.html %} -
-
-
- {% include git-wiki/sections/tools/tools.html %} - - {% include git-wiki/components/toc/toc.html %} - - {% if site.inc_before_content %} - {% include {{ site.inc_before_content }} %} - {% endif %} - -
- {{ content }} -
- - {% if site.inc_after_content %} - {% include {{ site.inc_after_content }} %} - {% endif %} -
-
-
-
-
- {% include git-wiki/sections/footer/footer.html %} -
-
-
- - {% include git-wiki/sections/tail/tail.html %} - - - diff --git a/_layouts/git-wiki-bs-united.html b/_layouts/git-wiki-bs-united.html deleted file mode 100644 index 556bcd3c5..000000000 --- a/_layouts/git-wiki-bs-united.html +++ /dev/null @@ -1,64 +0,0 @@ -{% comment %} -# -# This layout uses bootstrap with united theme -# -{% endcomment %} - -{% include git-wiki/defines/defines.html %} - - - - - - {% if site.inc_before_head %} - {% include {{ site.inc_before_head }} %} - {% endif %} - - {% include git-wiki/sections/head/meta.html %} - {% include git-wiki/sections/head/scripts.html %} - {% include git-wiki/sections/head/styles.html %} - - - - {% if site.inc_after_head %} - {% include {{ site.inc_after_head }} %} - {% endif %} - - - -
-
-
-
- {% include git-wiki/sections/tools/tools.html %} - - {% include git-wiki/components/toc/toc.html %} - - {% if site.inc_before_content %} - {% include {{ site.inc_before_content }} %} - {% endif %} - -
- {{ content }} -
- - {% if site.inc_after_content %} - {% include {{ site.inc_after_content }} %} - {% endif %} -
-
-
- {% include git-wiki/sections/header/header.html %} -
-
-
-
- {% include git-wiki/sections/footer/footer.html %} -
-
-
- - {% include git-wiki/sections/tail/tail.html %} - - - \ No newline at end of file diff --git a/_layouts/git-wiki-default.html b/_layouts/git-wiki-default.html deleted file mode 100644 index bd81329b9..000000000 --- a/_layouts/git-wiki-default.html +++ /dev/null @@ -1,9 +0,0 @@ -{% include git-wiki/defines/defines.html %} - - - -{% include git-wiki/sections/head/head.html %} - -{% include git-wiki/sections/content/body.html %} - - \ No newline at end of file diff --git a/_layouts/git-wiki-post.html b/_layouts/git-wiki-post.html deleted file mode 100644 index 31841999e..000000000 --- a/_layouts/git-wiki-post.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: git-wiki-default ---- - -{{ page.date | date: "%-d %B %Y" }} -{% if page.author or site.author %} -

by {{ page.author | default: site.author }}

-{% endif %} - -{{content}} - - -{% if page.tags.size > 0 %} - tags: {{ page.tags | join: " - " }} -{% endif %} \ No newline at end of file diff --git a/_posts/.gitkeep b/_posts/.gitkeep deleted file mode 100644 index 8b1378917..000000000 --- a/_posts/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_sass/fonts.scss b/_sass/fonts.scss deleted file mode 100644 index 04c28e935..000000000 --- a/_sass/fonts.scss +++ /dev/null @@ -1,55 +0,0 @@ -@font-face { - font-family: 'Noto Sans'; - font-weight: 400; - font-style: normal; - src: url('../fonts/Noto-Sans-regular/Noto-Sans-regular.eot'); - src: url('../fonts/Noto-Sans-regular/Noto-Sans-regular.eot?#iefix') format('embedded-opentype'), - local('Noto Sans'), - local('Noto-Sans-regular'), - url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff2') format('woff2'), - url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff') format('woff'), - url('../fonts/Noto-Sans-regular/Noto-Sans-regular.ttf') format('truetype'), - url('../fonts/Noto-Sans-regular/Noto-Sans-regular.svg#NotoSans') format('svg'); -} - -@font-face { - font-family: 'Noto Sans'; - font-weight: 700; - font-style: normal; - src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot'); - src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot?#iefix') format('embedded-opentype'), - local('Noto Sans Bold'), - local('Noto-Sans-700'), - url('../fonts/Noto-Sans-700/Noto-Sans-700.woff2') format('woff2'), - url('../fonts/Noto-Sans-700/Noto-Sans-700.woff') format('woff'), - url('../fonts/Noto-Sans-700/Noto-Sans-700.ttf') format('truetype'), - url('../fonts/Noto-Sans-700/Noto-Sans-700.svg#NotoSans') format('svg'); -} - -@font-face { - font-family: 'Noto Sans'; - font-weight: 400; - font-style: italic; - src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot'); - src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot?#iefix') format('embedded-opentype'), - local('Noto Sans Italic'), - local('Noto-Sans-italic'), - url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff2') format('woff2'), - url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff') format('woff'), - url('../fonts/Noto-Sans-italic/Noto-Sans-italic.ttf') format('truetype'), - url('../fonts/Noto-Sans-italic/Noto-Sans-italic.svg#NotoSans') format('svg'); -} - -@font-face { - font-family: 'Noto Sans'; - font-weight: 700; - font-style: italic; - src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot'); - src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot?#iefix') format('embedded-opentype'), - local('Noto Sans Bold Italic'), - local('Noto-Sans-700italic'), - url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2') format('woff2'), - url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff') format('woff'), - url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf') format('truetype'), - url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg#NotoSans') format('svg'); -} diff --git a/_sass/git-wiki-style.scss b/_sass/git-wiki-style.scss deleted file mode 100644 index 2966dc3e6..000000000 --- a/_sass/git-wiki-style.scss +++ /dev/null @@ -1,400 +0,0 @@ -@import "fonts"; -@import "rouge-github"; -@import "w3.scss"; - -body { - /* background-color: #fff; */ - padding: 50px; - font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #727272; - font-weight: 400; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - color: #222; - margin: 0 0 20px; -} - -p, -ul, -ol, -table, -pre, -dl { - margin: 0 0 20px; -} - -h1, -h2, -h3 { - line-height: 1.1; -} - -h1 { - font-size: 28px; -} - -h2 { - color: #393939; -} - -h3, -h4, -h5, -h6 { - color: #494949; -} - -a { - color: #39c; - text-decoration: none; -} - -a:hover { - color: #069; -} - -a small { - font-size: 11px; - color: #777; - margin-top: -0.3em; - display: block; -} - -a:hover small { - color: #777; -} - -.wrapper { - /*width:860px;*/ - margin: 0 auto; -} - -blockquote { - border-left: 1px solid #e5e5e5; - margin: 0; - padding: 0 0 0 20px; - font-style: italic; -} - -code, -pre { - font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace; - color: #333; - font-size: 12px; -} - -pre { - padding: 8px 15px; - background: #f8f8f8; - border-radius: 5px; - border: 1px solid #e5e5e5; - overflow-x: auto; -} - -table { - width: 100%; - border-collapse: collapse; -} - -th, -td { - text-align: left; - padding: 5px 10px; - border-bottom: 1px solid #e5e5e5; -} - -dt { - color: #444; - font-weight: 700; -} - -th { - color: #444; -} - -img { - max-width: 100%; -} - -.w3-teal { - color: #000 !important; - background-color: inherit !important; -} - -#git-wiki-mobile-header { - position: fixed; - top: 0; - height: 55px; - background-color: white; - width: 100%; - border-bottom: 1px solid; - border-radius: 10px; - // z-index: 999; // it breaks the dark mode -} - -#git-wiki-sidebar { - width: 280px !important; - float: left; - position: relative !important; - -webkit-font-smoothing: subpixel-antialiased; - /*overflow-y: auto; - overflow-x: auto;*/ - max-height: 100%; - padding-bottom: 55px !important; -} - -@media print, -screen and (max-width: 992px) { - #git-wiki-sidebar { - position: fixed !important; - top: 50px; - border-right: 1px solid; - border-bottom: 1px solid; - border-radius: 10px; - } - - .git-wiki-page { - margin-top: 60px; - } -} - -.git-wiki-main-logo { - max-width: 270px; -} - -#git-wiki-sidebar .git-wiki-downloads { - list-style: none; - height: 40px; - padding: 0; - background: #f4f4f4; - border-radius: 5px; - border: 1px solid #e0e0e0; - width: 270px; -} - -#git-wiki-sidebar .git-wiki-downloads li { - width: 89px; - float: left; - border-right: 1px solid #e0e0e0; - height: 40px; -} - -#git-wiki-sidebar .git-wiki-downloads li:first-child a { - border-radius: 5px 0 0 5px; -} - -#git-wiki-sidebar .git-wiki-downloads li:last-child a { - border-radius: 0 5px 5px 0; -} - -#git-wiki-sidebar .git-wiki-downloads a { - line-height: 1; - font-size: 11px; - color: #999; - display: block; - text-align: center; - padding-top: 6px; - height: 34px; -} - -#git-wiki-sidebar .git-wiki-downloads a:hover { - color: #999; -} - -#git-wiki-sidebar .git-wiki-downloads a:active { - background-color: #f0f0f0; -} - -strong { - color: #222; - font-weight: 700; -} - -#git-wiki-sidebar .git-wiki-downloads li+li+li { - border-right: none; - width: 89px; -} - -#git-wiki-sidebar .git-wiki-downloads a strong { - font-size: 14px; - display: block; - color: #222; -} - -.git-wiki-page { - /*width:500px; - float:right;*/ - padding-left: 320px; - padding-bottom: 50px; -} - -small { - font-size: 11px; -} - -hr { - border: 0; - background: #e5e5e5; - height: 1px; - margin: 0 0 20px; -} - -footer { - padding-left: 320px; - float: left; - bottom: 50px; - -webkit-font-smoothing: subpixel-antialiased; -} - -.tools-element { - border-left: aqua; - border-left-style: solid; - padding-left: 10px; - padding-right: 10px; -} - -@media print, -screen and (max-width: 960px) { - - div.wrapper { - width: auto; - margin: 0; - } - - #git-wiki-sidebar, - .git-wiki-page, - footer { - float: none; - position: static; - width: auto; - } - - #git-wiki-sidebar { - padding-right: 320px; - } - - .git-wiki-page, - footer { - border: 1px solid #e5e5e5; - border-width: 1px 0; - padding: 20px 0; - margin: 60px 0 20px; - } - - #git-wiki-sidebara small { - display: inline; - } - - /*#git-wiki-sidebar .git-wiki-downloads { - position:absolute; - right:50px; - top:52px; - }*/ -} - - -@media print, -screen and (max-width: 720px) { - body { - word-wrap: break-word; - } - - #git-wiki-sidebar { - padding: 0; - } - - #git-wiki-sidebar .git-wiki-downloads, - #git-wiki-sidebarp.view { - position: static; - } - - pre, - code { - word-wrap: normal; - } -} - -@media print, -screen and (max-width: 480px) { - body { - padding: 15px; - } - - #git-wiki-sidebar .git-wiki-downloads { - width: 99%; - } - - #git-wiki-sidebarli, - #git-wiki-sidebar .git-wiki-downloads li+li+li { - width: 33%; - } -} - -@media print { - body { - padding: 0.4in; - font-size: 12pt; - color: #444; - } -} - -/* - Pagination rules -*/ - -.pagination a, -.pagination span { - padding: 7px 18px; - border: 1px solid #eee; - margin-left: -2px; - margin-right: -2px; - background-color: #ffffff; - display: inline-block; -} - -.pagination a { - &:hover { - background-color: #f1f1f1; - color: #333; - } -} - -.pagination { - text-align: center; -} - -.post-item { - margin-bottom: 50px; -} - -#results-container li { - list-style-type: none; -} - -.external-link { - background-position: center right; - background-repeat: no-repeat; - background-image: url("../images/external-link-ltr-icon.png"); - background-image: linear-gradient(transparent, transparent), url("../images/external.svg"); - padding-right: 13px; -} - - -/* - dark mode - https://darkmodejs.learn.uno/#debug -*/ -.darkmode-layer, .darkmode-toggle { - z-index: 500; -} - -/* disable dark mode on images */ -body.darkmode--activated img, body.darkmode--activated .darkmode-ignore { - mix-blend-mode: difference; -} \ No newline at end of file diff --git a/_sass/rouge-github.scss b/_sass/rouge-github.scss deleted file mode 100644 index daf76adee..000000000 --- a/_sass/rouge-github.scss +++ /dev/null @@ -1,209 +0,0 @@ -.highlight table td { padding: 5px; } -.highlight table pre { margin: 0; } -.highlight .cm { - color: #999988; - font-style: italic; -} -.highlight .cp { - color: #999999; - font-weight: bold; -} -.highlight .c1 { - color: #999988; - font-style: italic; -} -.highlight .cs { - color: #999999; - font-weight: bold; - font-style: italic; -} -.highlight .c, .highlight .cd { - color: #999988; - font-style: italic; -} -.highlight .err { - color: #a61717; - background-color: #e3d2d2; -} -.highlight .gd { - color: #000000; - background-color: #ffdddd; -} -.highlight .ge { - color: #000000; - font-style: italic; -} -.highlight .gr { - color: #aa0000; -} -.highlight .gh { - color: #999999; -} -.highlight .gi { - color: #000000; - background-color: #ddffdd; -} -.highlight .go { - color: #888888; -} -.highlight .gp { - color: #555555; -} -.highlight .gs { - font-weight: bold; -} -.highlight .gu { - color: #aaaaaa; -} -.highlight .gt { - color: #aa0000; -} -.highlight .kc { - color: #000000; - font-weight: bold; -} -.highlight .kd { - color: #000000; - font-weight: bold; -} -.highlight .kn { - color: #000000; - font-weight: bold; -} -.highlight .kp { - color: #000000; - font-weight: bold; -} -.highlight .kr { - color: #000000; - font-weight: bold; -} -.highlight .kt { - color: #445588; - font-weight: bold; -} -.highlight .k, .highlight .kv { - color: #000000; - font-weight: bold; -} -.highlight .mf { - color: #009999; -} -.highlight .mh { - color: #009999; -} -.highlight .il { - color: #009999; -} -.highlight .mi { - color: #009999; -} -.highlight .mo { - color: #009999; -} -.highlight .m, .highlight .mb, .highlight .mx { - color: #009999; -} -.highlight .sb { - color: #d14; -} -.highlight .sc { - color: #d14; -} -.highlight .sd { - color: #d14; -} -.highlight .s2 { - color: #d14; -} -.highlight .se { - color: #d14; -} -.highlight .sh { - color: #d14; -} -.highlight .si { - color: #d14; -} -.highlight .sx { - color: #d14; -} -.highlight .sr { - color: #009926; -} -.highlight .s1 { - color: #d14; -} -.highlight .ss { - color: #990073; -} -.highlight .s { - color: #d14; -} -.highlight .na { - color: #008080; -} -.highlight .bp { - color: #999999; -} -.highlight .nb { - color: #0086B3; -} -.highlight .nc { - color: #445588; - font-weight: bold; -} -.highlight .no { - color: #008080; -} -.highlight .nd { - color: #3c5d5d; - font-weight: bold; -} -.highlight .ni { - color: #800080; -} -.highlight .ne { - color: #990000; - font-weight: bold; -} -.highlight .nf { - color: #990000; - font-weight: bold; -} -.highlight .nl { - color: #990000; - font-weight: bold; -} -.highlight .nn { - color: #555555; -} -.highlight .nt { - color: #000080; -} -.highlight .vc { - color: #008080; -} -.highlight .vg { - color: #008080; -} -.highlight .vi { - color: #008080; -} -.highlight .nv { - color: #008080; -} -.highlight .ow { - color: #000000; - font-weight: bold; -} -.highlight .o { - color: #000000; - font-weight: bold; -} -.highlight .w { - color: #bbbbbb; -} -.highlight { - background-color: #f8f8f8; -} diff --git a/_sass/w3.scss b/_sass/w3.scss deleted file mode 100644 index 8faa68335..000000000 --- a/_sass/w3.scss +++ /dev/null @@ -1,233 +0,0 @@ -/* W3.CSS 4.12 Novemberr 2018 by Jan Egil and Borge Refsnes */ -html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit} -/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */ -html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} -article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block} -audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline} -audio:not([controls]){display:none;height:0}[hidden],template{display:none} -a{background-color:transparent;-webkit-text-decoration-skip:objects} -a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted} -dfn{font-style:italic}mark{background:#ff0;color:#000} -small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline} -sub{bottom:-0.25em}sup{top:-0.5em}figure{margin:1em 40px}img{border-style:none}svg:not(:root){overflow:hidden} -code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{box-sizing:content-box;height:0;overflow:visible} -button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:bold} -button,input{overflow:visible}button,select{text-transform:none} -button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button} -button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner{border-style:none;padding:0} -button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring{outline:1px dotted ButtonText} -fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em} -legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto} -[type=checkbox],[type=radio]{padding:0} -[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto} -[type=search]{-webkit-appearance:textfield;outline-offset:-2px} -[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none} -::-webkit-input-placeholder{color:inherit;opacity:0.54} -::-webkit-file-upload-button{-webkit-appearance:button;font:inherit} -/* End extract */ -html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5}html{overflow-x:hidden} -h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}.w3-serif{font-family:serif} -h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:10px 0}.w3-wide{letter-spacing:4px} -hr{border:0;border-top:1px solid #eee;margin:20px 0} -.w3-image{max-width:100%;height:auto}img{vertical-align:middle}a{color:inherit} -.w3-table,.w3-table-all{border-collapse:collapse;border-spacing:0;width:100%;display:table}.w3-table-all{border:1px solid #ccc} -.w3-bordered tr,.w3-table-all tr{border-bottom:1px solid #ddd}.w3-striped tbody tr:nth-child(even){background-color:#f1f1f1} -.w3-table-all tr:nth-child(odd){background-color:#fff}.w3-table-all tr:nth-child(even){background-color:#f1f1f1} -.w3-hoverable tbody tr:hover,.w3-ul.w3-hoverable li:hover{background-color:#ccc}.w3-centered tr th,.w3-centered tr td{text-align:center} -.w3-table td,.w3-table th,.w3-table-all td,.w3-table-all th{padding:8px 8px;display:table-cell;text-align:left;vertical-align:top} -.w3-table th:first-child,.w3-table td:first-child,.w3-table-all th:first-child,.w3-table-all td:first-child{padding-left:16px} -.w3-btn,.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap} -.w3-btn:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)} -.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none} -.w3-disabled,.w3-btn:disabled,.w3-button:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none} -.w3-btn.w3-disabled:hover,.w3-btn:disabled:hover{box-shadow:none} -.w3-badge,.w3-tag{background-color:#000;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;text-align:center}.w3-badge{border-radius:50%} -.w3-ul{list-style-type:none;padding:0;margin:0}.w3-ul li{padding:8px 16px;border-bottom:1px solid #ddd}.w3-ul li:last-child{border-bottom:none} -.w3-tooltip,.w3-display-container{position:relative}.w3-tooltip .w3-text{display:none}.w3-tooltip:hover .w3-text{display:inline-block} -.w3-ripple:active{opacity:0.5}.w3-ripple{transition:opacity 0s} -.w3-input{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:100%} -.w3-select{padding:9px 0;width:100%;border:none;border-bottom:1px solid #ccc} -.w3-dropdown-click,.w3-dropdown-hover{position:relative;display:inline-block;cursor:pointer} -.w3-dropdown-hover:hover .w3-dropdown-content{display:block} -.w3-dropdown-hover:first-child,.w3-dropdown-click:hover{background-color:#ccc;color:#000} -.w3-dropdown-hover:hover > .w3-button:first-child,.w3-dropdown-click:hover > .w3-button:first-child{background-color:#ccc;color:#000} -.w3-dropdown-content{cursor:auto;color:#000;background-color:#fff;display:none;position:absolute;min-width:160px;margin:0;padding:0;z-index:1} -.w3-check,.w3-radio{width:24px;height:24px;position:relative;top:6px} -.w3-sidebar{height:100%;width:200px;background-color:#fff;position:fixed!important;z-index:1;overflow:auto} -.w3-bar-block .w3-dropdown-hover,.w3-bar-block .w3-dropdown-click{width:100%} -.w3-bar-block .w3-dropdown-hover .w3-dropdown-content,.w3-bar-block .w3-dropdown-click .w3-dropdown-content{min-width:100%} -.w3-bar-block .w3-dropdown-hover .w3-button,.w3-bar-block .w3-dropdown-click .w3-button{width:100%;text-align:left;padding:8px 16px} -.w3-main,#main{transition:margin-left .4s} -.w3-modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)} -.w3-modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px} -.w3-bar{width:100%;overflow:hidden}.w3-center .w3-bar{display:inline-block;width:auto} -.w3-bar .w3-bar-item{padding:8px 16px;float:left;width:auto;border:none;display:block;outline:0} -.w3-bar .w3-dropdown-hover,.w3-bar .w3-dropdown-click{position:static;float:left} -.w3-bar .w3-button{white-space:normal} -.w3-bar-block .w3-bar-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;white-space:normal;float:none;outline:0} -.w3-bar-block.w3-center .w3-bar-item{text-align:center}.w3-block{display:block;width:100%} -.w3-responsive{display:block;overflow-x:auto} -.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before, -.w3-cell-row:before,.w3-cell-row:after,.w3-clear:after,.w3-clear:before,.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both} -.w3-col,.w3-half,.w3-third,.w3-twothird,.w3-threequarter,.w3-quarter{float:left;width:100%} -.w3-col.s1{width:8.33333%}.w3-col.s2{width:16.66666%}.w3-col.s3{width:24.99999%}.w3-col.s4{width:33.33333%} -.w3-col.s5{width:41.66666%}.w3-col.s6{width:49.99999%}.w3-col.s7{width:58.33333%}.w3-col.s8{width:66.66666%} -.w3-col.s9{width:74.99999%}.w3-col.s10{width:83.33333%}.w3-col.s11{width:91.66666%}.w3-col.s12{width:99.99999%} -@media (min-width:601px){.w3-col.m1{width:8.33333%}.w3-col.m2{width:16.66666%}.w3-col.m3,.w3-quarter{width:24.99999%}.w3-col.m4,.w3-third{width:33.33333%} -.w3-col.m5{width:41.66666%}.w3-col.m6,.w3-half{width:49.99999%}.w3-col.m7{width:58.33333%}.w3-col.m8,.w3-twothird{width:66.66666%} -.w3-col.m9,.w3-threequarter{width:74.99999%}.w3-col.m10{width:83.33333%}.w3-col.m11{width:91.66666%}.w3-col.m12{width:99.99999%}} -@media (min-width:993px){.w3-col.l1{width:8.33333%}.w3-col.l2{width:16.66666%}.w3-col.l3{width:24.99999%}.w3-col.l4{width:33.33333%} -.w3-col.l5{width:41.66666%}.w3-col.l6{width:49.99999%}.w3-col.l7{width:58.33333%}.w3-col.l8{width:66.66666%} -.w3-col.l9{width:74.99999%}.w3-col.l10{width:83.33333%}.w3-col.l11{width:91.66666%}.w3-col.l12{width:99.99999%}} -.w3-rest{overflow:hidden}.w3-stretch{margin-left:-16px;margin-right:-16px} -.w3-content,.w3-auto{margin-left:auto;margin-right:auto}.w3-content{max-width:980px}.w3-auto{max-width:1140px} -.w3-cell-row{display:table;width:100%}.w3-cell{display:table-cell} -.w3-cell-top{vertical-align:top}.w3-cell-middle{vertical-align:middle}.w3-cell-bottom{vertical-align:bottom} -.w3-hide{display:none!important}.w3-show-block,.w3-show{display:block!important}.w3-show-inline-block{display:inline-block!important} -@media (max-width:1205px){.w3-auto{max-width:95%}} -@media (max-width:600px){.w3-modal-content{margin:0 10px;width:auto!important}.w3-modal{padding-top:30px} -.w3-dropdown-hover.w3-mobile .w3-dropdown-content,.w3-dropdown-click.w3-mobile .w3-dropdown-content{position:relative} -.w3-hide-small{display:none!important}.w3-mobile{display:block;width:100%!important}.w3-bar-item.w3-mobile,.w3-dropdown-hover.w3-mobile,.w3-dropdown-click.w3-mobile{text-align:center} -.w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,.w3-dropdown-click.w3-mobile .w3-button{width:100%}} -@media (max-width:768px){.w3-modal-content{width:500px}.w3-modal{padding-top:50px}} -@media (min-width:993px){.w3-modal-content{width:900px}.w3-hide-large{display:none!important}.w3-sidebar.w3-collapse{display:block!important}} -@media (max-width:992px) and (min-width:601px){.w3-hide-medium{display:none!important}} -@media (max-width:992px){.w3-sidebar.w3-collapse{display:none}.w3-main{margin-left:0!important;margin-right:0!important}.w3-auto{max-width:100%}} -.w3-top,.w3-bottom{position:fixed;width:100%;z-index:1}.w3-top{top:0}.w3-bottom{bottom:0} -.w3-overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.5);z-index:2} -.w3-display-topleft{position:absolute;left:0;top:0}.w3-display-topright{position:absolute;right:0;top:0} -.w3-display-bottomleft{position:absolute;left:0;bottom:0}.w3-display-bottomright{position:absolute;right:0;bottom:0} -.w3-display-middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%)} -.w3-display-left{position:absolute;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)} -.w3-display-right{position:absolute;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)} -.w3-display-topmiddle{position:absolute;left:50%;top:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)} -.w3-display-bottommiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)} -.w3-display-container:hover .w3-display-hover{display:block}.w3-display-container:hover span.w3-display-hover{display:inline-block}.w3-display-hover{display:none} -.w3-display-position{position:absolute} -.w3-circle{border-radius:50%} -.w3-round-small{border-radius:2px}.w3-round,.w3-round-medium{border-radius:4px}.w3-round-large{border-radius:8px}.w3-round-xlarge{border-radius:16px}.w3-round-xxlarge{border-radius:32px} -.w3-row-padding,.w3-row-padding>.w3-half,.w3-row-padding>.w3-third,.w3-row-padding>.w3-twothird,.w3-row-padding>.w3-threequarter,.w3-row-padding>.w3-quarter,.w3-row-padding>.w3-col{padding:0 8px} -.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px} -.w3-code,.w3-codespan{font-family:Consolas,"courier new";font-size:16px} -.w3-code{width:auto;background-color:#fff;padding:8px 12px;border-left:4px solid #4CAF50;word-wrap:break-word} -.w3-codespan{color:crimson;background-color:#f1f1f1;padding-left:4px;padding-right:4px;font-size:110%} -.w3-card,.w3-card-2{box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)} -.w3-card-4,.w3-hover-shadow:hover{box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)} -.w3-spin{animation:w3-spin 2s infinite linear}@keyframes w3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}} -.w3-animate-fading{animation:fading 10s infinite}@keyframes fading{0%{opacity:0}50%{opacity:1}100%{opacity:0}} -.w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}} -.w3-animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}} -.w3-animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}} -.w3-animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}} -.w3-animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}} -.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}} -.w3-animate-input{transition:width 0.4s ease-in-out}.w3-animate-input:focus{width:100%!important} -.w3-opacity,.w3-hover-opacity:hover{opacity:0.60}.w3-opacity-off,.w3-hover-opacity-off:hover{opacity:1} -.w3-opacity-max{opacity:0.25}.w3-opacity-min{opacity:0.75} -.w3-greyscale-max,.w3-grayscale-max,.w3-hover-greyscale:hover,.w3-hover-grayscale:hover{filter:grayscale(100%)} -.w3-greyscale,.w3-grayscale{filter:grayscale(75%)}.w3-greyscale-min,.w3-grayscale-min{filter:grayscale(50%)} -.w3-sepia{filter:sepia(75%)}.w3-sepia-max,.w3-hover-sepia:hover{filter:sepia(100%)}.w3-sepia-min{filter:sepia(50%)} -.w3-tiny{font-size:10px!important}.w3-small{font-size:12px!important}.w3-medium{font-size:15px!important}.w3-large{font-size:18px!important} -.w3-xlarge{font-size:24px!important}.w3-xxlarge{font-size:36px!important}.w3-xxxlarge{font-size:48px!important}.w3-jumbo{font-size:64px!important} -.w3-left-align{text-align:left!important}.w3-right-align{text-align:right!important}.w3-justify{text-align:justify!important}.w3-center{text-align:center!important} -.w3-border-0{border:0!important}.w3-border{border:1px solid #ccc!important} -.w3-border-top{border-top:1px solid #ccc!important}.w3-border-bottom{border-bottom:1px solid #ccc!important} -.w3-border-left{border-left:1px solid #ccc!important}.w3-border-right{border-right:1px solid #ccc!important} -.w3-topbar{border-top:6px solid #ccc!important}.w3-bottombar{border-bottom:6px solid #ccc!important} -.w3-leftbar{border-left:6px solid #ccc!important}.w3-rightbar{border-right:6px solid #ccc!important} -.w3-section,.w3-code{margin-top:16px!important;margin-bottom:16px!important} -.w3-margin{margin:16px!important}.w3-margin-top{margin-top:16px!important}.w3-margin-bottom{margin-bottom:16px!important} -.w3-margin-left{margin-left:16px!important}.w3-margin-right{margin-right:16px!important} -.w3-padding-small{padding:4px 8px!important}.w3-padding{padding:8px 16px!important}.w3-padding-large{padding:12px 24px!important} -.w3-padding-16{padding-top:16px!important;padding-bottom:16px!important}.w3-padding-24{padding-top:24px!important;padding-bottom:24px!important} -.w3-padding-32{padding-top:32px!important;padding-bottom:32px!important}.w3-padding-48{padding-top:48px!important;padding-bottom:48px!important} -.w3-padding-64{padding-top:64px!important;padding-bottom:64px!important} -.w3-left{float:left!important}.w3-right{float:right!important} -.w3-button:hover{color:#000!important;background-color:#ccc!important} -.w3-transparent,.w3-hover-none:hover{background-color:transparent!important} -.w3-hover-none:hover{box-shadow:none!important} -/* Colors */ -.w3-amber,.w3-hover-amber:hover{color:#000!important;background-color:#ffc107!important} -.w3-aqua,.w3-hover-aqua:hover{color:#000!important;background-color:#00ffff!important} -.w3-blue,.w3-hover-blue:hover{color:#fff!important;background-color:#2196F3!important} -.w3-light-blue,.w3-hover-light-blue:hover{color:#000!important;background-color:#87CEEB!important} -.w3-brown,.w3-hover-brown:hover{color:#fff!important;background-color:#795548!important} -.w3-cyan,.w3-hover-cyan:hover{color:#000!important;background-color:#00bcd4!important} -.w3-blue-grey,.w3-hover-blue-grey:hover,.w3-blue-gray,.w3-hover-blue-gray:hover{color:#fff!important;background-color:#607d8b!important} -.w3-green,.w3-hover-green:hover{color:#fff!important;background-color:#4CAF50!important} -.w3-light-green,.w3-hover-light-green:hover{color:#000!important;background-color:#8bc34a!important} -.w3-indigo,.w3-hover-indigo:hover{color:#fff!important;background-color:#3f51b5!important} -.w3-khaki,.w3-hover-khaki:hover{color:#000!important;background-color:#f0e68c!important} -.w3-lime,.w3-hover-lime:hover{color:#000!important;background-color:#cddc39!important} -.w3-orange,.w3-hover-orange:hover{color:#000!important;background-color:#ff9800!important} -.w3-deep-orange,.w3-hover-deep-orange:hover{color:#fff!important;background-color:#ff5722!important} -.w3-pink,.w3-hover-pink:hover{color:#fff!important;background-color:#e91e63!important} -.w3-purple,.w3-hover-purple:hover{color:#fff!important;background-color:#9c27b0!important} -.w3-deep-purple,.w3-hover-deep-purple:hover{color:#fff!important;background-color:#673ab7!important} -.w3-red,.w3-hover-red:hover{color:#fff!important;background-color:#f44336!important} -.w3-sand,.w3-hover-sand:hover{color:#000!important;background-color:#fdf5e6!important} -.w3-teal,.w3-hover-teal:hover{color:#fff!important;background-color:#009688!important} -.w3-yellow,.w3-hover-yellow:hover{color:#000!important;background-color:#ffeb3b!important} -.w3-white,.w3-hover-white:hover{color:#000!important;background-color:#fff!important} -.w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important} -.w3-grey,.w3-hover-grey:hover,.w3-gray,.w3-hover-gray:hover{color:#000!important;background-color:#9e9e9e!important} -.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{color:#000!important;background-color:#f1f1f1!important} -.w3-dark-grey,.w3-hover-dark-grey:hover,.w3-dark-gray,.w3-hover-dark-gray:hover{color:#fff!important;background-color:#616161!important} -.w3-pale-red,.w3-hover-pale-red:hover{color:#000!important;background-color:#ffdddd!important} -.w3-pale-green,.w3-hover-pale-green:hover{color:#000!important;background-color:#ddffdd!important} -.w3-pale-yellow,.w3-hover-pale-yellow:hover{color:#000!important;background-color:#ffffcc!important} -.w3-pale-blue,.w3-hover-pale-blue:hover{color:#000!important;background-color:#ddffff!important} -.w3-text-amber,.w3-hover-text-amber:hover{color:#ffc107!important} -.w3-text-aqua,.w3-hover-text-aqua:hover{color:#00ffff!important} -.w3-text-blue,.w3-hover-text-blue:hover{color:#2196F3!important} -.w3-text-light-blue,.w3-hover-text-light-blue:hover{color:#87CEEB!important} -.w3-text-brown,.w3-hover-text-brown:hover{color:#795548!important} -.w3-text-cyan,.w3-hover-text-cyan:hover{color:#00bcd4!important} -.w3-text-blue-grey,.w3-hover-text-blue-grey:hover,.w3-text-blue-gray,.w3-hover-text-blue-gray:hover{color:#607d8b!important} -.w3-text-green,.w3-hover-text-green:hover{color:#4CAF50!important} -.w3-text-light-green,.w3-hover-text-light-green:hover{color:#8bc34a!important} -.w3-text-indigo,.w3-hover-text-indigo:hover{color:#3f51b5!important} -.w3-text-khaki,.w3-hover-text-khaki:hover{color:#b4aa50!important} -.w3-text-lime,.w3-hover-text-lime:hover{color:#cddc39!important} -.w3-text-orange,.w3-hover-text-orange:hover{color:#ff9800!important} -.w3-text-deep-orange,.w3-hover-text-deep-orange:hover{color:#ff5722!important} -.w3-text-pink,.w3-hover-text-pink:hover{color:#e91e63!important} -.w3-text-purple,.w3-hover-text-purple:hover{color:#9c27b0!important} -.w3-text-deep-purple,.w3-hover-text-deep-purple:hover{color:#673ab7!important} -.w3-text-red,.w3-hover-text-red:hover{color:#f44336!important} -.w3-text-sand,.w3-hover-text-sand:hover{color:#fdf5e6!important} -.w3-text-teal,.w3-hover-text-teal:hover{color:#009688!important} -.w3-text-yellow,.w3-hover-text-yellow:hover{color:#d2be0e!important} -.w3-text-white,.w3-hover-text-white:hover{color:#fff!important} -.w3-text-black,.w3-hover-text-black:hover{color:#000!important} -.w3-text-grey,.w3-hover-text-grey:hover,.w3-text-gray,.w3-hover-text-gray:hover{color:#757575!important} -.w3-text-light-grey,.w3-hover-text-light-grey:hover,.w3-text-light-gray,.w3-hover-text-light-gray:hover{color:#f1f1f1!important} -.w3-text-dark-grey,.w3-hover-text-dark-grey:hover,.w3-text-dark-gray,.w3-hover-text-dark-gray:hover{color:#3a3a3a!important} -.w3-border-amber,.w3-hover-border-amber:hover{border-color:#ffc107!important} -.w3-border-aqua,.w3-hover-border-aqua:hover{border-color:#00ffff!important} -.w3-border-blue,.w3-hover-border-blue:hover{border-color:#2196F3!important} -.w3-border-light-blue,.w3-hover-border-light-blue:hover{border-color:#87CEEB!important} -.w3-border-brown,.w3-hover-border-brown:hover{border-color:#795548!important} -.w3-border-cyan,.w3-hover-border-cyan:hover{border-color:#00bcd4!important} -.w3-border-blue-grey,.w3-hover-border-blue-grey:hover,.w3-border-blue-gray,.w3-hover-border-blue-gray:hover{border-color:#607d8b!important} -.w3-border-green,.w3-hover-border-green:hover{border-color:#4CAF50!important} -.w3-border-light-green,.w3-hover-border-light-green:hover{border-color:#8bc34a!important} -.w3-border-indigo,.w3-hover-border-indigo:hover{border-color:#3f51b5!important} -.w3-border-khaki,.w3-hover-border-khaki:hover{border-color:#f0e68c!important} -.w3-border-lime,.w3-hover-border-lime:hover{border-color:#cddc39!important} -.w3-border-orange,.w3-hover-border-orange:hover{border-color:#ff9800!important} -.w3-border-deep-orange,.w3-hover-border-deep-orange:hover{border-color:#ff5722!important} -.w3-border-pink,.w3-hover-border-pink:hover{border-color:#e91e63!important} -.w3-border-purple,.w3-hover-border-purple:hover{border-color:#9c27b0!important} -.w3-border-deep-purple,.w3-hover-border-deep-purple:hover{border-color:#673ab7!important} -.w3-border-red,.w3-hover-border-red:hover{border-color:#f44336!important} -.w3-border-sand,.w3-hover-border-sand:hover{border-color:#fdf5e6!important} -.w3-border-teal,.w3-hover-border-teal:hover{border-color:#009688!important} -.w3-border-yellow,.w3-hover-border-yellow:hover{border-color:#ffeb3b!important} -.w3-border-white,.w3-hover-border-white:hover{border-color:#fff!important} -.w3-border-black,.w3-hover-border-black:hover{border-color:#000!important} -.w3-border-grey,.w3-hover-border-grey:hover,.w3-border-gray,.w3-hover-border-gray:hover{border-color:#9e9e9e!important} -.w3-border-light-grey,.w3-hover-border-light-grey:hover,.w3-border-light-gray,.w3-hover-border-light-gray:hover{border-color:#f1f1f1!important} -.w3-border-dark-grey,.w3-hover-border-dark-grey:hover,.w3-border-dark-gray,.w3-hover-border-dark-gray:hover{border-color:#616161!important} -.w3-border-pale-red,.w3-hover-border-pale-red:hover{border-color:#ffe7e7!important}.w3-border-pale-green,.w3-hover-border-pale-green:hover{border-color:#e7ffe7!important} -.w3-border-pale-yellow,.w3-hover-border-pale-yellow:hover{border-color:#ffffcc!important}.w3-border-pale-blue,.w3-hover-border-pale-blue:hover{border-color:#e7ffff!important} \ No newline at end of file diff --git a/assets/404.html b/assets/404.html index 7f4c12b4a..cd9bde3ad 100644 --- a/assets/404.html +++ b/assets/404.html @@ -1,5 +1,5 @@ --- -layout: git-wiki-404 +layout: bakery-theme-404 permalink: /404.html is_wiki_page: false --- diff --git a/assets/css/git-wiki-style.scss b/assets/css/git-wiki-style.scss deleted file mode 100644 index 0d32653fb..000000000 --- a/assets/css/git-wiki-style.scss +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: "null" ---- - -@import "git-wiki-style.scss"; diff --git a/assets/css/github.css b/assets/css/github.css deleted file mode 100644 index 5c85aa6eb..000000000 --- a/assets/css/github.css +++ /dev/null @@ -1,962 +0,0 @@ -@font-face { - font-family: octicons-link; - src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); -} - -body>.wrapper .octicon { - display: inline-block; - fill: currentColor; - vertical-align: text-bottom; -} - -body>.wrapper .anchor { - float: left; - line-height: 1; - margin-left: -20px; - padding-right: 4px; -} - -body>.wrapper .anchor:focus { - outline: none; -} - -body>.wrapper h1 .octicon-link, -body>.wrapper h2 .octicon-link, -body>.wrapper h3 .octicon-link, -body>.wrapper h4 .octicon-link, -body>.wrapper h5 .octicon-link, -body>.wrapper h6 .octicon-link { - color: #1b1f23; - vertical-align: middle; - visibility: hidden; -} - -body>.wrapper h1:hover .anchor, -body>.wrapper h2:hover .anchor, -body>.wrapper h3:hover .anchor, -body>.wrapper h4:hover .anchor, -body>.wrapper h5:hover .anchor, -body>.wrapper h6:hover .anchor { - text-decoration: none; -} - -body>.wrapper h1:hover .anchor .octicon-link, -body>.wrapper h2:hover .anchor .octicon-link, -body>.wrapper h3:hover .anchor .octicon-link, -body>.wrapper h4:hover .anchor .octicon-link, -body>.wrapper h5:hover .anchor .octicon-link, -body>.wrapper h6:hover .anchor .octicon-link { - visibility: visible; -} - -body>.wrapper { - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; - color: #24292e; - line-height: 1.5; - font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; - font-size: 16px; - line-height: 1.5; - word-wrap: break-word; -} - -body>.wrapper .pl-c { - color: #6a737d; -} - -body>.wrapper .pl-c1, -body>.wrapper .pl-s .pl-v { - color: #005cc5; -} - -body>.wrapper .pl-e, -body>.wrapper .pl-en { - color: #6f42c1; -} - -body>.wrapper .pl-s .pl-s1, -body>.wrapper .pl-smi { - color: #24292e; -} - -body>.wrapper .pl-ent { - color: #22863a; -} - -body>.wrapper .pl-k { - color: #d73a49; -} - -body>.wrapper .pl-pds, -body>.wrapper .pl-s, -body>.wrapper .pl-s .pl-pse .pl-s1, -body>.wrapper .pl-sr, -body>.wrapper .pl-sr .pl-cce, -body>.wrapper .pl-sr .pl-sra, -body>.wrapper .pl-sr .pl-sre { - color: #032f62; -} - -body>.wrapper .pl-smw, -body>.wrapper .pl-v { - color: #e36209; -} - -body>.wrapper .pl-bu { - color: #b31d28; -} - -body>.wrapper .pl-ii { - background-color: #b31d28; - color: #fafbfc; -} - -body>.wrapper .pl-c2 { - background-color: #d73a49; - color: #fafbfc; -} - -body>.wrapper .pl-c2:before { - content: "^M"; -} - -body>.wrapper .pl-sr .pl-cce { - color: #22863a; - font-weight: 700; -} - -body>.wrapper .pl-ml { - color: #735c0f; -} - -body>.wrapper .pl-mh, -body>.wrapper .pl-mh .pl-en, -body>.wrapper .pl-ms { - color: #005cc5; - font-weight: 700; -} - -body>.wrapper .pl-mi { - color: #24292e; - font-style: italic; -} - -body>.wrapper .pl-mb { - color: #24292e; - font-weight: 700; -} - -body>.wrapper .pl-md { - background-color: #ffeef0; - color: #b31d28; -} - -body>.wrapper .pl-mi1 { - background-color: #f0fff4; - color: #22863a; -} - -body>.wrapper .pl-mc { - background-color: #ffebda; - color: #e36209; -} - -body>.wrapper .pl-mi2 { - background-color: #005cc5; - color: #f6f8fa; -} - -body>.wrapper .pl-mdr { - color: #6f42c1; - font-weight: 700; -} - -body>.wrapper .pl-ba { - color: #586069; -} - -body>.wrapper .pl-sg { - color: #959da5; -} - -body>.wrapper .pl-corl { - color: #032f62; - text-decoration: underline; -} - -body>.wrapper details { - display: block; -} - -body>.wrapper summary { - display: list-item; -} - -body>.wrapper a { - background-color: transparent; -} - -body>.wrapper a:active, -body>.wrapper a:hover { - outline-width: 0; -} - -body>.wrapper strong { - font-weight: inherit; - font-weight: bolder; -} - -body>.wrapper h1 { - font-size: 2em; - margin: .67em 0; -} - -body>.wrapper img { - border-style: none; -} - -body>.wrapper code, -body>.wrapper kbd, -body>.wrapper pre { - font-family: monospace, monospace; - font-size: 1em; -} - -body>.wrapper hr { - box-sizing: content-box; - height: 0; - overflow: visible; -} - -body>.wrapper input { - font: inherit; - margin: 0; -} - -body>.wrapper input { - overflow: visible; -} - -body>.wrapper [type=checkbox] { - box-sizing: border-box; - padding: 0; -} - -body>.wrapper * { - box-sizing: border-box; -} - -body>.wrapper input { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -body>.wrapper a { - color: #0366d6; - text-decoration: none; -} - -body>.wrapper a:hover { - text-decoration: underline; -} - -body>.wrapper strong { - font-weight: 600; -} - -body>.wrapper hr { - background: transparent; - border: 0; - border-bottom: 1px solid #dfe2e5; - height: 0; - margin: 15px 0; - overflow: hidden; -} - -body>.wrapper hr:before { - content: ""; - display: table; -} - -body>.wrapper hr:after { - clear: both; - content: ""; - display: table; -} - -body>.wrapper table { - border-collapse: collapse; - border-spacing: 0; -} - -body>.wrapper td, -body>.wrapper th { - padding: 0; -} - -body>.wrapper details summary { - cursor: pointer; -} - -body>.wrapper h1, -body>.wrapper h2, -body>.wrapper h3, -body>.wrapper h4, -body>.wrapper h5, -body>.wrapper h6 { - margin-bottom: 0; - margin-top: 0; -} - -body>.wrapper h1 { - font-size: 32px; -} - -body>.wrapper h1, -body>.wrapper h2 { - font-weight: 600; -} - -body>.wrapper h2 { - font-size: 24px; -} - -body>.wrapper h3 { - font-size: 20px; -} - -body>.wrapper h3, -body>.wrapper h4 { - font-weight: 600; -} - -body>.wrapper h4 { - font-size: 16px; -} - -body>.wrapper h5 { - font-size: 14px; -} - -body>.wrapper h5, -body>.wrapper h6 { - font-weight: 600; -} - -body>.wrapper h6 { - font-size: 12px; -} - -body>.wrapper p { - margin-bottom: 10px; - margin-top: 0; -} - -body>.wrapper blockquote { - margin: 0; -} - -body>.wrapper ol, -body>.wrapper ul { - margin-bottom: 0; - margin-top: 0; - padding-left: 0; -} - -body>.wrapper ol ol, -body>.wrapper ul ol { - list-style-type: lower-roman; -} - -body>.wrapper ol ol ol, -body>.wrapper ol ul ol, -body>.wrapper ul ol ol, -body>.wrapper ul ul ol { - list-style-type: lower-alpha; -} - -body>.wrapper dd { - margin-left: 0; -} - -body>.wrapper code, -body>.wrapper pre { - font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; - font-size: 12px; -} - -body>.wrapper pre { - margin-bottom: 0; - margin-top: 0; -} - -body>.wrapper input::-webkit-inner-spin-button, -body>.wrapper input::-webkit-outer-spin-button { - -webkit-appearance: none; - appearance: none; - margin: 0; -} - -body>.wrapper .border { - border: 1px solid #e1e4e8 !important; -} - -body>.wrapper .border-0 { - border: 0 !important; -} - -body>.wrapper .border-bottom { - border-bottom: 1px solid #e1e4e8 !important; -} - -body>.wrapper .rounded-1 { - border-radius: 3px !important; -} - -body>.wrapper .bg-white { - background-color: #fff !important; -} - -body>.wrapper .bg-gray-light { - background-color: #fafbfc !important; -} - -body>.wrapper .text-gray-light { - color: #6a737d !important; -} - -body>.wrapper .mb-0 { - margin-bottom: 0 !important; -} - -body>.wrapper .my-2 { - margin-bottom: 8px !important; - margin-top: 8px !important; -} - -body>.wrapper .pl-0 { - padding-left: 0 !important; -} - -body>.wrapper .py-0 { - padding-bottom: 0 !important; - padding-top: 0 !important; -} - -body>.wrapper .pl-1 { - padding-left: 4px !important; -} - -body>.wrapper .pl-2 { - padding-left: 8px !important; -} - -body>.wrapper .py-2 { - padding-bottom: 8px !important; - padding-top: 8px !important; -} - -body>.wrapper .pl-3, -body>.wrapper .px-3 { - padding-left: 16px !important; -} - -body>.wrapper .px-3 { - padding-right: 16px !important; -} - -body>.wrapper .pl-4 { - padding-left: 24px !important; -} - -body>.wrapper .pl-5 { - padding-left: 32px !important; -} - -body>.wrapper .pl-6 { - padding-left: 40px !important; -} - -body>.wrapper .f6 { - font-size: 12px !important; -} - -body>.wrapper .lh-condensed { - line-height: 1.25 !important; -} - -body>.wrapper .text-bold { - font-weight: 600 !important; -} - -body>.wrapper:before { - content: ""; - display: table; -} - -body>.wrapper:after { - clear: both; - content: ""; - display: table; -} - -body>.wrapper>:first-child { - margin-top: 0 !important; -} - -body>.wrapper>:last-child { - margin-bottom: 0 !important; -} - -body>.wrapper a:not([href]) { - color: inherit; - text-decoration: none; -} - -body>.wrapper blockquote, -body>.wrapper dl, -body>.wrapper ol, -body>.wrapper p, -body>.wrapper pre, -body>.wrapper table, -body>.wrapper ul { - margin-bottom: 16px; - margin-top: 0; -} - -body>.wrapper hr { - background-color: #e1e4e8; - border: 0; - height: .25em; - margin: 24px 0; - padding: 0; -} - -body>.wrapper blockquote { - border-left: .25em solid #dfe2e5; - color: #6a737d; - padding: 0 1em; -} - -body>.wrapper blockquote>:first-child { - margin-top: 0; -} - -body>.wrapper blockquote>:last-child { - margin-bottom: 0; -} - -body>.wrapper kbd { - background-color: #fafbfc; - border: 1px solid #c6cbd1; - border-bottom-color: #959da5; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #959da5; - color: #444d56; - display: inline-block; - font-size: 11px; - line-height: 10px; - padding: 3px 5px; - vertical-align: middle; -} - -body>.wrapper h1, -body>.wrapper h2, -body>.wrapper h3, -body>.wrapper h4, -body>.wrapper h5, -body>.wrapper h6 { - font-weight: 600; - line-height: 1.25; - margin-bottom: 16px; - margin-top: 24px; -} - -body>.wrapper h1 { - font-size: 2em; -} - -body>.wrapper h1, -body>.wrapper h2 { - border-bottom: 1px solid #eaecef; - padding-bottom: .3em; -} - -body>.wrapper h2 { - font-size: 1.5em; -} - -body>.wrapper h3 { - font-size: 1.25em; -} - -body>.wrapper h4 { - font-size: 1em; -} - -body>.wrapper h5 { - font-size: .875em; -} - -body>.wrapper h6 { - color: #6a737d; - font-size: .85em; -} - -body>.wrapper ol, -body>.wrapper ul { - padding-left: 2em; -} - -body>.wrapper ol ol, -body>.wrapper ol ul, -body>.wrapper ul ol, -body>.wrapper ul ul { - margin-bottom: 0; - margin-top: 0; -} - -body>.wrapper li { - word-wrap: break-all; -} - -body>.wrapper li>p { - margin-top: 16px; -} - -body>.wrapper li+li { - margin-top: .25em; -} - -body>.wrapper dl { - padding: 0; -} - -body>.wrapper dl dt { - font-size: 1em; - font-style: italic; - font-weight: 600; - margin-top: 16px; - padding: 0; -} - -body>.wrapper dl dd { - margin-bottom: 16px; - padding: 0 16px; -} - -body>.wrapper table { - display: block; - overflow: auto; - width: 100%; -} - -body>.wrapper table th { - font-weight: 600; -} - -body>.wrapper table td, -body>.wrapper table th { - border: 1px solid #dfe2e5; - padding: 6px 13px; -} - -body>.wrapper table tr { - background-color: #fff; - border-top: 1px solid #c6cbd1; -} - -body>.wrapper table tr:nth-child(2n) { - background-color: #f6f8fa; -} - -body>.wrapper img { - background-color: #fff; - box-sizing: content-box; - max-width: 100%; -} - -body>.wrapper img[align=right] { - padding-left: 20px; -} - -body>.wrapper img[align=left] { - padding-right: 20px; -} - -body>.wrapper code { - background-color: rgba(27, 31, 35, .05); - border-radius: 3px; - font-size: 85%; - margin: 0; - padding: .2em .4em; -} - -body>.wrapper pre { - word-wrap: normal; -} - -body>.wrapper pre>code { - background: transparent; - border: 0; - font-size: 100%; - margin: 0; - padding: 0; - white-space: pre; - word-break: normal; -} - -body>.wrapper .highlight { - margin-bottom: 16px; -} - -body>.wrapper .highlight pre { - margin-bottom: 0; - word-break: normal; -} - -body>.wrapper .highlight pre, -body>.wrapper pre { - background-color: #f6f8fa; - border-radius: 3px; - font-size: 85%; - line-height: 1.45; - overflow: auto; - padding: 16px; -} - -body>.wrapper pre code { - background-color: transparent; - border: 0; - display: inline; - line-height: inherit; - margin: 0; - max-width: auto; - overflow: visible; - padding: 0; - word-wrap: normal; -} - -body>.wrapper .commit-tease-sha { - color: #444d56; - display: inline-block; - font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; - font-size: 90%; -} - -body>.wrapper .blob-wrapper { - border-bottom-left-radius: 3px; - border-bottom-right-radius: 3px; - overflow-x: auto; - overflow-y: hidden; -} - -body>.wrapper .blob-wrapper-embedded { - max-height: 240px; - overflow-y: auto; -} - -body>.wrapper .blob-num { - -moz-user-select: none; - -ms-user-select: none; - -webkit-user-select: none; - color: rgba(27, 31, 35, .3); - cursor: pointer; - font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; - font-size: 12px; - line-height: 20px; - min-width: 50px; - padding-left: 10px; - padding-right: 10px; - text-align: right; - user-select: none; - vertical-align: top; - white-space: nowrap; - width: 1%; -} - -body>.wrapper .blob-num:hover { - color: rgba(27, 31, 35, .6); -} - -body>.wrapper .blob-num:before { - content: attr(data-line-number); -} - -body>.wrapper .blob-code { - line-height: 20px; - padding-left: 10px; - padding-right: 10px; - position: relative; - vertical-align: top; -} - -body>.wrapper .blob-code-inner { - color: #24292e; - font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; - font-size: 12px; - overflow: visible; - white-space: pre; - word-wrap: normal; -} - -body>.wrapper .pl-token.active, -body>.wrapper .pl-token:hover { - background: #ffea7f; - cursor: pointer; -} - -body>.wrapper kbd { - background-color: #fafbfc; - border: 1px solid #d1d5da; - border-bottom-color: #c6cbd1; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #c6cbd1; - color: #444d56; - display: inline-block; - font: 11px SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; - line-height: 10px; - padding: 3px 5px; - vertical-align: middle; -} - -body>.wrapper :checked+.radio-label { - border-color: #0366d6; - position: relative; - z-index: 1; -} - -body>.wrapper .tab-size[data-tab-size="1"] { - -moz-tab-size: 1; - tab-size: 1; -} - -body>.wrapper .tab-size[data-tab-size="2"] { - -moz-tab-size: 2; - tab-size: 2; -} - -body>.wrapper .tab-size[data-tab-size="3"] { - -moz-tab-size: 3; - tab-size: 3; -} - -body>.wrapper .tab-size[data-tab-size="4"] { - -moz-tab-size: 4; - tab-size: 4; -} - -body>.wrapper .tab-size[data-tab-size="5"] { - -moz-tab-size: 5; - tab-size: 5; -} - -body>.wrapper .tab-size[data-tab-size="6"] { - -moz-tab-size: 6; - tab-size: 6; -} - -body>.wrapper .tab-size[data-tab-size="7"] { - -moz-tab-size: 7; - tab-size: 7; -} - -body>.wrapper .tab-size[data-tab-size="8"] { - -moz-tab-size: 8; - tab-size: 8; -} - -body>.wrapper .tab-size[data-tab-size="9"] { - -moz-tab-size: 9; - tab-size: 9; -} - -body>.wrapper .tab-size[data-tab-size="10"] { - -moz-tab-size: 10; - tab-size: 10; -} - -body>.wrapper .tab-size[data-tab-size="11"] { - -moz-tab-size: 11; - tab-size: 11; -} - -body>.wrapper .tab-size[data-tab-size="12"] { - -moz-tab-size: 12; - tab-size: 12; -} - -body>.wrapper .task-list-item { - list-style-type: none; -} - -body>.wrapper .task-list-item+.task-list-item { - margin-top: 3px; -} - -body>.wrapper .task-list-item input { - margin: 0 .2em .25em -1.6em; - vertical-align: middle; -} - -body>.wrapper hr { - border-bottom-color: #eee; -} - -body>.wrapper .pl-0 { - padding-left: 0 !important; -} - -body>.wrapper .pl-1 { - padding-left: 4px !important; -} - -body>.wrapper .pl-2 { - padding-left: 8px !important; -} - -body>.wrapper .pl-3 { - padding-left: 16px !important; -} - -body>.wrapper .pl-4 { - padding-left: 24px !important; -} - -body>.wrapper .pl-5 { - padding-left: 32px !important; -} - -body>.wrapper .pl-6 { - padding-left: 40px !important; -} - -body>.wrapper .pl-7 { - padding-left: 48px !important; -} - -body>.wrapper .pl-8 { - padding-left: 64px !important; -} - -body>.wrapper .pl-9 { - padding-left: 80px !important; -} - -body>.wrapper .pl-10 { - padding-left: 96px !important; -} - -body>.wrapper .pl-11 { - padding-left: 112px !important; -} - -body>.wrapper .pl-12 { - padding-left: 128px !important; -} - -/* https://darkmodejs.learn.uno/#debug */ -.darkmode-layer, .darkmode-toggle { - z-index: 500; -} \ No newline at end of file diff --git a/assets/css/rouge-highlight.css b/assets/css/rouge-highlight.css new file mode 100644 index 000000000..cc9c73e89 --- /dev/null +++ b/assets/css/rouge-highlight.css @@ -0,0 +1,65 @@ +.highlight pre { background-color: rgba(16, 16, 16,0.3);} +.highlight .hll { background-color: #272822; } +.highlight .c { color: #75715e } /* Comment */ +.highlight .err { color: #960050; background-color: #1e0010 } /* Error */ +.highlight .k { color: #66d9ef } /* Keyword */ +.highlight .l { color: #ae81ff } /* Literal */ +.highlight .n { color: #f8f8f2 } /* Name */ +.highlight .o { color: #f92672 } /* Operator */ +.highlight .p { color: #f8f8f2 } /* Punctuation */ +.highlight .cm { color: #75715e } /* Comment.Multiline */ +.highlight .cp { color: #75715e } /* Comment.Preproc */ +.highlight .c1 { color: #75715e } /* Comment.Single */ +.highlight .cs { color: #75715e } /* Comment.Special */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .kc { color: #66d9ef } /* Keyword.Constant */ +.highlight .kd { color: #66d9ef } /* Keyword.Declaration */ +.highlight .kn { color: #f92672 } /* Keyword.Namespace */ +.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */ +.highlight .kr { color: #66d9ef } /* Keyword.Reserved */ +.highlight .kt { color: #66d9ef } /* Keyword.Type */ +.highlight .ld { color: #e6db74 } /* Literal.Date */ +.highlight .m { color: #ae81ff } /* Literal.Number */ +.highlight .s { color: #e6db74 } /* Literal.String */ +.highlight .na { color: #a6e22e } /* Name.Attribute */ +.highlight .nb { color: #f8f8f2 } /* Name.Builtin */ +.highlight .nc { color: #a6e22e } /* Name.Class */ +.highlight .no { color: #66d9ef } /* Name.Constant */ +.highlight .nd { color: #a6e22e } /* Name.Decorator */ +.highlight .ni { color: #f8f8f2 } /* Name.Entity */ +.highlight .ne { color: #a6e22e } /* Name.Exception */ +.highlight .nf { color: #a6e22e } /* Name.Function */ +.highlight .nl { color: #f8f8f2 } /* Name.Label */ +.highlight .nn { color: #f8f8f2 } /* Name.Namespace */ +.highlight .nx { color: #a6e22e } /* Name.Other */ +.highlight .py { color: #f8f8f2 } /* Name.Property */ +.highlight .nt { color: #f92672 } /* Name.Tag */ +.highlight .nv { color: #f8f8f2 } /* Name.Variable */ +.highlight .ow { color: #f92672 } /* Operator.Word */ +.highlight .w { color: #f8f8f2 } /* Text.Whitespace */ +.highlight .mf { color: #ae81ff } /* Literal.Number.Float */ +.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */ +.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */ +.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */ +.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */ +.highlight .sc { color: #e6db74 } /* Literal.String.Char */ +.highlight .sd { color: #e6db74 } /* Literal.String.Doc */ +.highlight .s2 { color: #e6db74 } /* Literal.String.Double */ +.highlight .se { color: #ae81ff } /* Literal.String.Escape */ +.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */ +.highlight .si { color: #e6db74 } /* Literal.String.Interpol */ +.highlight .sx { color: #e6db74 } /* Literal.String.Other */ +.highlight .sr { color: #e6db74 } /* Literal.String.Regex */ +.highlight .s1 { color: #e6db74 } /* Literal.String.Single */ +.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */ +.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */ +.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */ +.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */ +.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ + +.highlight .gh { } /* Generic Heading & Diff Header */ +.highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */ +.highlight .gd { color: #f92672; } /* Generic.Deleted & Diff Deleted */ +.highlight .gi { color: #a6e22e; } /* Generic.Inserted & Diff Inserted */ diff --git a/assets/css/style404.css b/assets/css/style404.css new file mode 100644 index 000000000..3bf15baf4 --- /dev/null +++ b/assets/css/style404.css @@ -0,0 +1,278 @@ +@import url('https://fonts.googleapis.com/css2?family=B612+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap'); +:root { + /* ============================================================================================== */ + /* DARK MODE */ + --Sidebar: #101010; + --Content: #201f1f; + --Blockquote: #1b1b1b; + --BlockquoteD: #191919; + --Resultsbox: #151515ea; + --Background: rgb(32, 32, 32); + --Text: whitesmoke; + --NavButton: rgb(22, 2, 2); + --Highlight: #727272; + --Highlight2: #949494; + /* --Accent: #e2d326; */ + --Accent: #990e0e; + /* --SbarBorder: rgb(32, 32, 32); + --Shadow: rgba(0, 0, 0, 0.226); */ + /* ============================================================================================= */ + /* LIGHT MODE */ + /* --Sidebar: #f7f7f7; + --Content: #fbfbfb; + --Blockquote: #f5f2f2; + --BlockquoteD: #e8e8e8; + --Resultsbox: #b2b2b2ea; + --Background: rgb(236, 236, 236); + --Text: rgb(0, 0, 0); + --NavButton: rgb(236, 236, 236); + --Highlight: #f0f0f0; + --Highlight2: #f1f1f1; + --Accent: #e2d326; + --SbarBorder: rgb(222, 222, 222); + --Shadow: rgba(196, 196, 196, 0.046); */ + /* ============================================================================================= */ + --SBarWidth: 320px; + --TBarHeight: 50px; + overscroll-behavior: none; +} + +body{ + display: flex; + flex-flow: row; + align-items: stretch; + flex-wrap: wrap; + margin:0; + font-family: "B612 Mono", monospace; + font-size: 1.3rem; + background-color: var(--Background); + color: var(--Text); + box-sizing: border-box; +} +/* ================================================================================================== */ + +::-webkit-scrollbar{ + z-index: 1; + width: 5px; + height: 5px; + background-color: var(--Highlight); +} +::-webkit-scrollbar-thumb{ + background-color: var(--Text); + height: 50px; +} + +/* ================================================================================================== */ +/* HEADINGS */ + +h1{ + margin: 0; + font-family: "Exo 2"; +} +h2{ + margin: 0; + font-family: "Exo 2"; + clear:both; +} + +/* ================================================================================================== */ +/* MISC */ + +a{ + color: rgb(232, 157, 46); + text-decoration: dotted; +} + +/* ================================================================================================= */ +/* NAVIGATION */ + +.TopBar{ + max-width: calc(100% - 20px); + font-family: "Exo 2"; + z-index: 3; + background-color: var(--Content); + position: sticky; + top: 0; + margin-bottom: auto; + order: 1; + height: var(--TBarHeight); + width: 100vw; + padding: 10px; + border-bottom: 0.1rem solid --Sidebar; + /* display: inline-flex; + justify-content: center; */ + display: grid; + grid-template-columns: 35% 30% 35%; + /* overflow: hidden; */ + box-shadow: 0 5px var(--Shadow); + align-items: center; + border-bottom: 2px solid var(--Accent); +} +.TopBar div{ + display: inline-flex; +} +.left-buttons{ + justify-content: left; +} +.center-buttons{ + justify-content: center; + overflow: hidden; +} +.right-buttons{ + justify-content: right; +} +.navbutton{ + font-size: 1.3rem; + background-color: var(--Sidebar); + margin: 0.2rem; + padding: 0.3rem 0.3rem 0.3rem 0.3rem; + border-left: 5px solid var(--Accent); + height: fit-content; + text-overflow: clip; + white-space: nowrap; + overflow: hidden; +} +.navbutton2{ + font-size: 1.3rem; + background-color: var(--BlockquoteD); + margin: 0.2rem; + padding: 0.3rem 0.3rem 0.3rem 0.3rem; + border-left: 5px solid var(--Accent); + height: fit-content; + text-overflow: clip; + white-space: nowrap; + overflow: hidden; + /* overflow-y: hidden; */ +} +input{ + font-size: 1.3rem; + border:none; + background-color: transparent; + color: var(--Text); +} +input:focus, textarea { + outline: none !important; + color: var(--Accent); +} +#results{ + display: flex; + flex-direction: column; + position: absolute; + /* right: 35%; */ + top: 35px; + width: 30%; + padding: 5px; + height: fit-content; + float: right; + clear: right; + color: var(--Text); + background-color: var(--Resultsbox); + list-style-type: none; + text-align: left; + border: 5px solid var(--Sidebar); + /* overflow: hidden; */ + white-space: normal; + word-wrap: break-word; + word-break: break-all; +} +#results li:nth-of-type(2n){ + background-color: rgba(0, 0, 0, 0.132); +} + +.i-testing{ + display: inline-block; + width: 100px; +} + +/* ================================================================================================== */ +/* CONTENT */ +.error{ + text-align: center; + z-index: 1; + max-width: 33w; + margin-left: auto; + margin-right: auto; + order: 3; + margin-top: auto; + margin-bottom: auto; +} +.error h1{ + font-size: 8rem; +} + +/* =============================================================================================== */ +/* MOBILE DISPLAY */ + +@media(max-width: 800px){ + .SideBar{ + display: none; + } + .Content{ + max-width: calc(100vw - 20px); + width: calc(100% - 20px); + display: grid; + grid-template-columns: 100%; + justify-items: center; + /* justify-content: center; */ + overflow-x: hidden; + } + .Content::after{ + height: 70px; + content: ''; + width: 100%; + clear: both; + display: block; + background-color: var(--Content); + } + img{ + max-width: 100%; + height: auto; + /* margin-top: 5px; */ + } + .TopBar{ + display: flex; + justify-content: center; + } + div[buttons]{ + display: none; + + } + div.left-buttons{ + position: fixed; + bottom: 0px; + /* height: 100%; */ + display: flex; + font-size: 2rem; + justify-content: center; + width: 100vw; + padding: 10px; + background-color: var(--Sidebar); + } + .navbutton{ + width: 20%; + text-align: center; + justify-content: center; + background-color: var(--Blockquote); + border-left: none; + border-bottom: 5px solid var(--Accent); + } + .center-buttons{ + width: 100%; + } + input{ + width: 100%; + font-size: 2rem; + } + [lr]{ + float: none; + clear: both; + } + .table{ + clear: both; + max-width: 100%; + overflow-x: scroll; + } + div.info{ + width: fit-content; + } +} \ No newline at end of file diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css new file mode 100644 index 000000000..77eb84c82 --- /dev/null +++ b/assets/css/stylemain.css @@ -0,0 +1,609 @@ +@import url('https://fonts.googleapis.com/css2?family=B612+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap'); + +:root { + --accent-light: #0044cc; /* fallback or default for light mode */ + --accent-dark: #6699ff; /* fallback or default for dark mode */ + --SBarWidth: 320px; + --TBarHeight: 50px; + overscroll-behavior: none; + --A1: rgb(232, 157, 46); + --A2: rgb(232, 192, 46); + /* ============================================================================================== */ + /* DARK MODE */ + --LDOne: #FFFFFF; + --LDTwo: #000000; + --Sidebar: #101010; + --Content: #201f1f; + --TopBar: var(--Content); + --TopBarButtons: var(--Sidebar); + --Blockquote: #1b1b1b; + --BlockquoteD: #191919; + --Gradient: var(--Sidebar); + --SearchBar: var(--BlockquoteD); + --Resultsbox: #151515ea; + --ResultsDark: rgba(0, 0, 0, 0.132); + --ResultsBorder: var(--Sidebar); + --Background: rgb(32, 32, 32); + --Text: whitesmoke; + --NavButton: rgb(22, 2, 2); + --CodeBorder: var(--Highlight); + --Highlight: #727272; + --Highlight2: #949494; + --Highlight3: var(--Text); + --SbarBorder: rgb(32, 32, 32); + --Shadow: rgba(0, 0, 0, 0.226); + --CodeBlock: rgb(7, 8, 46); +} + +[data-theme="light"] { + /* ============================================================================================= */ + /* LIGHT MODE */ + --Accent: var(--accent-light); + --Accent2: var(--accent-dark); + --LDOne: #000000; + --LDTwo: var(--SearchBar); + --Sidebar: var(--Content); + --Content: #f5f2f2; + --TopBar: var(--Background); + --TopBarButtons: var(--Background); + --Blockquote: #f5f2f2; + --BlockquoteD: #ebebe5; + --Gradient: #e1e3d8; + --SearchBar: var(--ResultsDark); + --Resultsbox: #f1f1f1; + --ResultsDark: #f4f4f4; + --ResultsBorder: var(--Accent); + --Background: rgb(236, 236, 236); + --Text: rgb(0, 0, 0); + --NavButton: rgb(236, 236, 236); + --CodeBorder:var(--Text); + --Highlight: #aeaeae; + --Highlight2: #ece9e9; + --Highlight3: var(--Highlight2); + --SbarBorder: rgb(236, 236, 236); + --Shadow: rgba(184, 184, 184, 0.094); + --CodeBlock: rgb(40, 45, 116); + /* ============================================================================================= */ +} +body{ + --Accent: var(--accent-dark); + --Accent2: var(--accent-light); + display: flex; + flex-flow: row; + align-items: stretch; + flex-wrap: wrap; + margin:0; + font-family: "B612 Mono", monospace; + font-size: 1.3rem; + background-color: var(--Background); + color: var(--Text); + box-sizing: border-box; +} + +/* ================================================================================================== */ +/* SCROLLBAR */ + +::-webkit-scrollbar { + z-index: 1; + width: 5px; + height: 5px; + background-color: var(--Highlight); +} +::-webkit-scrollbar-thumb{ + background-color: var(--Text); + height: 50px; +} + +/* ================================================================================================== */ +/* HEADINGS */ + +h1{ + margin: 0; + font-family: "Exo 2"; +} + +h2{ + margin: 0; + font-family: "Exo 2"; +} + +h3 { + margin: 0; + font-family: "Exo 2"; +} + +h4 { + margin: 0; + font-family: "Exo 2"; + /* width: 100%; */ +} + +h5 { + margin: 0; + font-family: "Exo 2"; +} + +h6 { + margin: 0; + font-family: "Exo 2"; +} + +/* ================================================================================================== */ +/* MISC */ + +hr { + color: var(--Sidebar); + border-radius: 2px; + border-top: var(--Sidebar) solid 2px; + border-bottom: var(--Accent) solid 1px; +} +a { + color: rgb(232, 157, 46); + text-decoration: dotted; +} +/* =================================================================================================== */ +/* TABLES */ + +table, th, td { + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} +table { + display: block; + overflow: scroll; + clear: both; + font-family: "B612 Mono"; + margin: 1.5rem 0 1.5rem 0; + width: 100px; + width: calc(100vw - var(--SBarWidth) - 50px); +} +td { + background-color: var(--Blockquote); + padding: 10px; + font-style: italic; + border-left: 3px solid var(--Accent); + border-right: 3px solid var(--Accent); + text-align: center; +} +th, caption { + font-weight: 700; + background-color: var(--BlockquoteD); + padding: 0.5rem 20px 0.5rem 20px; /*Top Right Bottom Left*/ + text-align: center; +} + +/* INFO TABLES */ + +.info td { + background-color: var(--Blockquote); + padding: 0px; + font-style: italic; + border-left: 3px solid var(--Accent); + border-right: 3px solid var(--Accent); + text-align: center; +} + +.info { + display: grid; + text-align: center; + align-items: center; + justify-content: center; + justify-items: center; + font-family: "B612 Mono"; + margin: 0 0 0 0; + max-width: 300px; + border-spacing: 0; + max-width: 320px; + background-color: var(--Blockquote); + border-left: 3px solid var(--Accent); + border-right: 3px solid var(--Accent); + margin: 0 1px 0 1px; + padding: 2px; + word-break: break-all; + overflow: hidden; +} +.info img { + margin: 0px; + max-width: 300px; +} +.infowide { + grid-column: 1 / span 2; + padding: 10px; + background-color: var(--BlockquoteD); +} + +/* ================================================================================================== */ +/* BLOCKQUOTES */ + +blockquote { + background-color: var(--Blockquote); + font-style: italic; + padding: 10px; + border-left: 3px solid var(--Accent); + border-right: 3px solid var(--Accent); + width: fit-content; + display: flex; + flex-direction: column; + margin: 10px 0 10px 0; + clear: both; +} + +blockquote[blame]::after { + content: "- " attr(blame); + color: var(--Accent); + margin-left: auto; +} + +blockquote p { + margin: 0; +} + +[gradient] { + background-color: transparent; + padding-right: 150px; + border-right: none; + background-image: linear-gradient(to right, var(--Gradient), transparent); +} + +/* ================================================================================================= */ +/* NAVIGATION */ + +nav { + max-width: calc(100% - 20px); + font-family: "Exo 2"; + z-index: 3; + background-color: var(--TopBar); + position: sticky; + top: 0; + margin-bottom: auto; + order: 1; + height: var(--TBarHeight); + width: 100vw; + padding: 10px; + border-bottom: 0.1rem solid --Sidebar; + display: grid; + grid-template-columns: 35% 30% 35%; + box-shadow: 0 5px var(--Shadow); + align-items: center; +} + +nav > div , nav > span { + display: inline-flex; +} +nav button , search { + border: none; + height: fit-content; + text-overflow: clip; + white-space: nowrap; + overflow: hidden; + border-left: 5px solid var(--Accent); + margin: 0.2rem; + padding: 0.3rem 0.3rem 0.3rem 0.3rem; + font-size: 1.3rem; +} + +nav > div:first-of-type { + justify-content: left; +} +nav > div:last-of-type { + justify-content: right; +} + +nav > span { + justify-content: center; + align-items: center; + overflow: hidden; +} + +nav > div > button { + background-color: var(--TopBarButtons); + +} + +button:hover , search:hover { + border-left: 5px solid var(--Accent2); +} +button:active { + border-left: 5px solid var(--TopBar); +} + +/* SEARCH BAR */ + +search { + background-color: var(--SearchBar); +} + +input { + font-size: 1.3rem; + border:none; + background-color: transparent; + color: var(--Text); +} + +input:focus, textarea { + outline: none !important; + color: var(--Accent); +} + +#results { + display: flex; + flex-direction: column; + position: absolute; + top: 35px; + width: 30%; + padding: 5px; + height: fit-content; + float: right; + clear: right; + color: var(--Text); + background-color: var(--Resultsbox); + list-style-type: none; + text-align: left; + border: 2px solid var(--ResultsBorder); + border-top: none; + white-space: normal; + word-wrap: break-word; + word-break: break-all; +} + +#results li:nth-of-type(2n) { + background-color: var(--ResultsDark); +} + +.i-testing { + display: inline-block; + width: 100px; +} + +button.LightDark { + height: 30px; + width: 30px; + box-sizing: border-box; + border-radius: 50%; + border: 2px solid var(--LDOne); + background-image: linear-gradient(to right, var(--LDOne) 0%, var(--LDOne) 50%, var(--LDTwo) 50%, var(--LDTwo) 100%); +} + +/* ================================================================================================= */ +/* SIDEBAR */ + +menu { + align-items: flex-start; + display: flex; + z-index: 2; + background-color: var(--Sidebar); + margin-top: 0; + align-self: flex-start; + position: sticky; + top: calc(70px + 0.2vh); + flex-basis: calc(var(--SBarWidth) - 00.1rem); + order: 2; + padding: 10px; + height: calc(99.8vh - 90px); + font-size: 0.9rem; + overflow-wrap: break-word; + overflow-y: scroll; + border-right: 0.1rem solid var(--SbarBorder); + -ms-overflow-style: none; + scrollbar-width: none; +} + +menu::-webkit-scrollbar { + display: none; +} + +menu li { + list-style-type: square; +} +menu li::marker { + color: var(--A1); +} +menu li:nth-of-type(2n) a { + color: var(--A2); +} + +menu li li { + list-style-type: none; +} + +menu li ul { + box-sizing: content-box; + padding-left: 5px; + border-left: 3px solid var(--A1); + list-style-type: none; +} + +/* ================================================================================================== */ +/* CONTENT */ + +main { + z-index: 1; + width: calc(100vw - 360px - 00.2rem); + max-width: calc(100vw - 360px - 00.2rem); + order: 3; + margin-left: auto; + margin-right: auto; + background-color: var(--Content); + padding: 0.1rem; + border-top: 2px solid var(--Background); + flex-shrink: 2; +} + +/* IMAGES */ + +img{ + margin-top: 1rem; +} +[lr="left"]{ + float: left; + margin: 5px; +} +[lr="right"]{ + float: right; + margin: 5px; + margin-left: 19px; +} +[lr]::after{ + height: 0; + content: ''; + width: 100%; + clear: both; + display: block; +} + +/* CODE */ + +/* BASIC CODE BLOCK */ + +p code{ + height: fit-content; + width: fit-content; + color: var(--Highlight3); + background-color: var(--CodeBlock); + border: 2px solid var(--CodeBorder); + padding: 0 5px 0 5px; + font-size: 0.8em; +} + +/* HIGHLIGHTED CODE BLOCKS */ + +figure.highlight, figure.highlighter-rouge{ + display: flex; + align-items: top; + justify-content: right; + position: relative; + margin: 10px auto 10px auto; + overflow: scroll; + justify-content: left; + background-color: var(--CodeBlock); + border: 2px solid var(--CodeBorder); + padding: 5px; + color: var(--Highlight2); + font-size: 0.9rem; +} +div.highlight{ + width: 100%; + overflow: scroll; + padding: 0 0 10px 0; +} +.highlight pre{ + margin: 10px 0 0 0; +} + +/* LANGUAGE DECLARATIONS */ +.highlight figcaption, .highlighter-rouge figcaption{ + position: absolute; + right: 0; + top: 0; + margin: 0; + padding: 0 10px 0 5px; + text-align: right; + font-size: 0.9rem; + color: var(--Highlight); +} +.highlight figcaption::first-letter, .highlighter-rouge figcaption::first-letter{ + text-transform: capitalize; +} + +/* CODE BLCOKS WITH LINE NUMBERING */ + +table.rouge-table{ + border: none; + background-color: transparent; + margin: 0; + padding: 0; +} +.rouge-table td{ + border: none; + background-color: transparent; + text-align: left; + font-style: normal; + padding: 0 0 0 5px; +} +td.gutter{ + padding: 0 5px 0 0; + border-right: 2px solid var(--Highlight); +} + +/* =============================================================================================== */ +/* MOBILE DISPLAY */ + +@media(max-width: 800px) { + + menu { + display: none; + } + + main { + width: calc(100vw - 30px); + max-width:calc(100vw - 30px); + display: grid; + grid-template-columns: 100%; + justify-items: left; + overflow-x: hidden; + padding: 10px; + } + + main::after { + height: 70px; + content: ''; + width: 100%; + clear: both; + display: block; + background-color: var(--Content); + } + + img { + max-width: 100%; + height: auto; + /* margin-top: 5px; */ + } + + nav { + display: flex; + justify-content: center; + } + nav > div:last-of-type { + display: none; + + } + + nav > div:first-of-type { + position: fixed; + bottom: 0px; + display: flex; + font-size: 2rem; + justify-content: center; + width: 100vw; + padding: 10px; + background-color: var(--Sidebar); + } + nav > div { + width: 20%; + text-align: center; + justify-content: center; + background-color: var(--Blockquote); + border-left: none; + border-bottom: 5px solid var(--Accent); + } + .center-buttons{ + width: 100%; + } + input{ + width: 100%; + font-size: 2rem; + } + [lr]{ + float: none; + clear: both; + } + table { + clear: both; + width: 100%; + } + + .info{ + width: fit-content; + } +} \ No newline at end of file diff --git a/assets/js/lightModeToggle.js b/assets/js/lightModeToggle.js new file mode 100644 index 000000000..b8494cd93 --- /dev/null +++ b/assets/js/lightModeToggle.js @@ -0,0 +1,49 @@ +function calculateSettingAsThemeString({ localStorageTheme, systemSettingLight }) { + if (localStorageTheme !== null) { + return localStorageTheme; + } + + if (systemSettingLight.matches) { + return "light"; + } + + return "dark"; +} + +function updateThemeOnHtmlEl({ theme }) { + document.body.setAttribute("data-theme", theme); +} + + +/** +* On page load: +*/ + +/** +* 1. Grab what we need from the DOM and system settings on page load +*/ +const button = document.querySelector("[data-theme-toggle]"); +const localStorageTheme = localStorage.getItem("theme"); +const systemSettingLight = window.matchMedia("(prefers-color-scheme: light)"); + +/** +* 2. Work out the current site settings +*/ +let currentThemeSetting = calculateSettingAsThemeString({ localStorageTheme, systemSettingLight }); + +/** +* 3. Update the theme setting and button text accoridng to current settings +*/ +updateThemeOnHtmlEl({ theme: currentThemeSetting }); + +/** +* 4. Add an event listener to toggle the theme +*/ +button.addEventListener("click", (event) => { + const newTheme = currentThemeSetting === "dark" ? "light" : "dark"; + + localStorage.setItem("theme", newTheme); + updateThemeOnHtmlEl({ theme: newTheme }); + + currentThemeSetting = newTheme; +}); \ No newline at end of file diff --git a/assets/js/searchdata.js b/assets/js/searchdata.js index a27f3ff69..e26e61b45 100644 --- a/assets/js/searchdata.js +++ b/assets/js/searchdata.js @@ -11,34 +11,38 @@ var jsondata=[ "tags" : "{{ post.tags | join: ', ' }}", "url" : "{{ site.baseurl }}{{ post.url }}", "date" : "{{ post.date }}", - "content" : {{ page.content | jsonify }} + "excerpt" : {{ post.excerpt | strip_html | jsonify }}, + "content" : "" } {% unless forloop.last %},{% endunless %} {% endfor %} , {% for page in site.html_pages %} + {% if page.is_wiki_page != false %} { {% assign title = page.title | default: page.name %} {% if title != nil %} + {% assign excerpt = page.excerpt | default: page.content | markdownify | strip_html | truncatewords: 10 | jsonify %} "title" : "{{ title | escape }}", "category" : "{{ page.category }}", "tags" : "{{ page.tags | join: ', ' }}", "url" : "{{ site.baseurl }}{{ page.url }}", "date" : "{{ page.date }}", - "content" : {{ page.content | jsonify }} - {% endif %} - } {% unless forloop.last %},{% endunless %} + "excerpt" : {{excerpt}}, + "content" : "" + {% endif %} + } {% unless forloop.last %},{% endunless %} + {% endif %} {% endfor %} ]; var sjs = SimpleJekyllSearch({ searchInput: document.getElementById('search-input'), - resultsContainer: document.getElementById('results-container'), + resultsContainer: document.getElementById('results'), json: jsondata, - searchResultTemplate: '
  • {title}
  • ', - noResultsText: 'No results found', - limit: 10, - fuzzy: false, + searchResultTemplate: '
  • {title}
  • ', + noResultsText: 'Nothing here.', + limit: 20, + fuzzy: true, exclude: [] }) -{% endif %} - +{% endif %} \ No newline at end of file diff --git a/index.md b/index.md new file mode 100644 index 000000000..e3e67c9c4 --- /dev/null +++ b/index.md @@ -0,0 +1,113 @@ +{% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" table='uwu|What|Youtube|Streams,None|Socials,None|uwu,owo,uvu|check,this,out!,neat.|Even image alts work!' %} + +[This is a link](example) +# Test header1 +--- +{{ site.github.repository_url }}/edit/{{site.git_branch | escape}}/{{ site.site_root | default: '/' }}{{page.path | escape}} +This is a test page showing every single component, element or piece of formatting in one place. + +# Text blocks +--- +## Quote blocks +--- +### Markdown +--- +> This is a simple one line quote written in markdown + +> This is a 2 line quote +> written in markdown without any newlines. + +> This is a 2 line quote with a +> 2 space newline, written in markdown + +{: blame="An important person"} +> This is a one line quote written in markdown with a blame! + +{: blame="A confusing person" } +> This is a 2 line quote written in markdown +> with a blame. + +{: gradient=""} +> I have a gradient! + +{: gradient="" blame="A gradient person"} +> I have a gradient and a blame! + +{: gradient="" blame="A contemplating person"} +> I am a very long quote. +> Or rather, I am not that long. +> I just have a lot of short lines. +> Does that still make me a long quote? +> I mean it must, I have been talking for a while. +> Although this shouldn't make a difference. +> I could be talking for quite a while, and this should look just right. + +### HTML +--- +
    This is a single line quote written in HTML
    +
    This is a multi line quote
    Written in html
    +
    This is a blamed quote!
    +
    This is a blamed gradient quote!
    +
    + This is a really long HTML quote.
    + Or rather, it is a HTML tag in markdown!
    + does that make it markdown? html?
    + technically markdown considers it to just be text.
    + it is only browsers that think the text can be interpreted as HTML.
    + technically, to anything else, this is no different from just text.
    + I guess this can say many things about perspective or...
    + maybe about how information can hide meaning.
    + But I am bad at that sort of stuff.
    + Adding br tags in these is getting infuriating.
    +
    + +## Code blocks +--- +### Markdown +--- +#### Simple code highlight +`meow meow meow meow meow meow` + +#### Simple code fence, with no information. +``` +while true do + print("uwu") +end +``` + +#### Code block with language definition. +```lua +while true do + print("uwu") +end +``` + +#### Code block with language definition and "data-lang" injection. +{: data-lang="lua"} +```lua +while true do + print("uwu") +end +``` +### Liquid +--- +#### Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes. +{% highlight lua %} +while true do + print("uwu") +end +{% endhighlight %} + +#### Code block using the highlight tag with line numbers +{% highlight lua linenos %} +while true do + print("uwu") +end +{% endhighlight %} + +# Tables + +| Header1 | Header2 | Header3 | +| - | +| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | +| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | \ No newline at end of file diff --git a/sync-wiki.sh b/sync-wiki.sh deleted file mode 100644 index 2eb95db40..000000000 --- a/sync-wiki.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -# -# This script can be used to sync the wiki submodule -# in case you're using github internal wiki option -# - -git pull origin master -cd wiki -git pull origin master -cd .. -git commit -a -m "updated wiki" -git push origin master diff --git a/wiki/main_page.md b/wiki/main_page.md deleted file mode 100644 index 0773184b6..000000000 --- a/wiki/main_page.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -redirect_from: "/" ---- - -This is a sample of main page. You can edit it to start your wiki. - -For documentation, installation guide and demo of [git-wiki-theme](git-wiki-theme) visit this [link](http://drassil.github.io/git-wiki/) - diff --git a/wiki/test2.md b/wiki/test2.md new file mode 100644 index 000000000..0313fcafc --- /dev/null +++ b/wiki/test2.md @@ -0,0 +1,46 @@ +--- +layout: none +--- +## Code blocks +--- +### Markdown +--- +#### Simple code highlight +`meow meow meow meow meow meow` + +#### Simple code fence, with no information. +``` +while true do + print("uwu") +end +``` + +#### Code block with language definition. +```lua +while true do + print("uwu") +end +``` + +#### Code block with language definition and "data-lang" injection. +{: data-lang="lua"} +```lua +while true do + print("uwu") +end +``` +### Liquid +--- +#### Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes. +{% highlight lua%} +while true do + print("uwu") +end +{% endhighlight %} + +#### Code block using the highlight tag with line numbers +{% highlight lua linenos %} +while true do + print("uwu") +end +{% endhighlight %} \ No newline at end of file diff --git a/wiki/testpage.md b/wiki/testpage.md new file mode 100644 index 000000000..585aa409a --- /dev/null +++ b/wiki/testpage.md @@ -0,0 +1,111 @@ +{% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" %} + +# Test header1 +--- +This is a test page showing every single component, element or piece of formatting in one place. + +# Text blocks +--- +## Quote blocks +--- +### Markdown +--- +> This is a simple one line quote written in markdown + +> This is a 2 line quote +> written in markdown without any newlines. + +> This is a 2 line quote with a +> 2 space newline, written in markdown + +{: blame="An important person"} +> This is a one line quote written in markdown with a blame! + +{: blame="A confusing person" } +> This is a 2 line quote written in markdown +> with a blame. + +{: gradient=""} +> I have a gradient! + +{: gradient="" blame="A gradient person"} +> I have a gradient and a blame! + +{: gradient="" blame="A contemplating person"} +> I am a very long quote. +> Or rather, I am not that long. +> I just have a lot of short lines. +> Does that still make me a long quote? +> I mean it must, I have been talking for a while. +> Although this shouldn't make a difference. +> I could be talking for quite a while, and this should look just right. + +### HTML +--- +
    This is a single line quote written in HTML
    +
    This is a multi line quote
    Written in html
    +
    This is a blamed quote!
    +
    This is a blamed gradient quote!
    +
    + This is a really long HTML quote.
    + Or rather, it is a HTML tag in markdown!
    + does that make it markdown? html?
    + technically markdown considers it to just be text.
    + it is only browsers that think the text can be interpreted as HTML.
    + technically, to anything else, this is no different from just text.
    + I guess this can say many things about perspective or...
    + maybe about how information can hide meaning.
    + But I am bad at that sort of stuff.
    + Adding br tags in these is getting infuriating.
    +
    + +## Code blocks +--- +### Markdown +--- +#### Simple code highlight +`meow meow meow meow meow meow` + +#### Simple code fence, with no information. +``` +while true do + print("uwu") +end +``` + +#### Code block with language definition. +```lua +while true do + print("uwu") +end +``` + +#### Code block with language definition and "data-lang" injection. +{: data-lang="lua"} +```lua +while true do + print("uwu") +end +``` +### Liquid +--- +#### Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes. +{% highlight lua %} +while true do + print("uwu") +end +{% endhighlight %} + +#### Code block using the highlight tag with line numbers +{% highlight lua linenos %} +while true do + print("uwu") +end +{% endhighlight %} + +# Tables + +| Header1 | Header2 | Header3 | +| - | - | - | +| Table cell | Table cell | Table cell | +| Table cell | Table cell | Table cell | \ No newline at end of file From 4707b77d0a8ff8ff5d54a3a5ee092b8aa423dafc Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Mon, 19 May 2025 00:12:03 +0300 Subject: [PATCH 02/60] Update _config.yml Changed main to master --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 1cdf20e44..af53743fc 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ navButtons: github: repository_url: "razvii22/test" # (string) Specify branch rendered by gitpages allowing wiki tool buttons to work -git_branch: "main" +git_branch: "master" # (boolean) disable edit functionalities (edit/delete/add pages) disable_edit: false # (boolean) Enable/disable wiki page list in sidebar From fce5e88b4e5628f8534e9f00ac506e64c62bfc0f Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Mon, 19 May 2025 01:12:16 +0300 Subject: [PATCH 03/60] Update jekyll.yml --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 61f2d803b..501686bcc 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -9,7 +9,7 @@ name: Deploy Jekyll site to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ["master"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From d7c09ece2c7dbe2d1415087428591bff8e1052ff Mon Sep 17 00:00:00 2001 From: Squallog Date: Mon, 19 May 2025 21:35:46 +0100 Subject: [PATCH 04/60] new styles, swag --- assets/css/stylemain.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 77eb84c82..b9c952ca7 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -196,8 +196,6 @@ th, caption { border-spacing: 0; max-width: 320px; background-color: var(--Blockquote); - border-left: 3px solid var(--Accent); - border-right: 3px solid var(--Accent); margin: 0 1px 0 1px; padding: 2px; word-break: break-all; @@ -371,6 +369,7 @@ button.LightDark { menu { align-items: flex-start; display: flex; + flex-direction: column; z-index: 2; background-color: var(--Sidebar); margin-top: 0; From caf212ec8dfeefd27f123d3cba1808fbcb229904 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Tue, 20 May 2025 00:39:33 +0300 Subject: [PATCH 05/60] Update _config.yml Updated the repository_url variable so edit buttons actually work --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index af53743fc..d6518fe9d 100644 --- a/_config.yml +++ b/_config.yml @@ -12,7 +12,7 @@ navButtons: # HACK Github stuff, using jekyll-github-metadata seems wasteful when we're only using a few variables. # (string) repo url: user/repo github: - repository_url: "razvii22/test" + repository_url: "razvii22/bakery-wiki-theme" # (string) Specify branch rendered by gitpages allowing wiki tool buttons to work git_branch: "master" # (boolean) disable edit functionalities (edit/delete/add pages) From ad1c1726d8be7762ceb9198bcf72c173fce093b3 Mon Sep 17 00:00:00 2001 From: Squallog Date: Wed, 21 May 2025 12:00:52 +0100 Subject: [PATCH 06/60] 404 styling tweaks (ported changes fro mstylemain) --- assets/css/style404.css | 197 ++++++++++++++++++++++++++-------------- 1 file changed, 129 insertions(+), 68 deletions(-) diff --git a/assets/css/style404.css b/assets/css/style404.css index 3bf15baf4..a85f23c59 100644 --- a/assets/css/style404.css +++ b/assets/css/style404.css @@ -86,11 +86,11 @@ a{ /* ================================================================================================= */ /* NAVIGATION */ -.TopBar{ +nav { max-width: calc(100% - 20px); font-family: "Exo 2"; z-index: 3; - background-color: var(--Content); + background-color: var(--TopBar); position: sticky; top: 0; margin-bottom: auto; @@ -99,66 +99,74 @@ a{ width: 100vw; padding: 10px; border-bottom: 0.1rem solid --Sidebar; - /* display: inline-flex; - justify-content: center; */ display: grid; grid-template-columns: 35% 30% 35%; - /* overflow: hidden; */ box-shadow: 0 5px var(--Shadow); align-items: center; - border-bottom: 2px solid var(--Accent); } -.TopBar div{ + +nav > div , nav > span { display: inline-flex; } -.left-buttons{ - justify-content: left; -} -.center-buttons{ - justify-content: center; - overflow: hidden; -} -.right-buttons{ - justify-content: right; -} -.navbutton{ - font-size: 1.3rem; - background-color: var(--Sidebar); - margin: 0.2rem; - padding: 0.3rem 0.3rem 0.3rem 0.3rem; - border-left: 5px solid var(--Accent); +nav button , search { + border: none; height: fit-content; text-overflow: clip; white-space: nowrap; overflow: hidden; -} -.navbutton2{ - font-size: 1.3rem; - background-color: var(--BlockquoteD); + border-left: 5px solid var(--Accent); margin: 0.2rem; padding: 0.3rem 0.3rem 0.3rem 0.3rem; - border-left: 5px solid var(--Accent); - height: fit-content; - text-overflow: clip; - white-space: nowrap; + font-size: 1.3rem; +} + +nav > div:first-of-type { + justify-content: left; +} +nav > div:last-of-type { + justify-content: right; +} + +nav > span { + justify-content: center; + align-items: center; overflow: hidden; - /* overflow-y: hidden; */ } -input{ + +nav > div > button { + background-color: var(--TopBarButtons); + +} + +button:hover , search:hover { + border-left: 5px solid var(--Accent2); +} +button:active { + border-left: 5px solid var(--TopBar); +} + +/* SEARCH BAR */ + +search { + background-color: var(--SearchBar); +} + +input { font-size: 1.3rem; border:none; background-color: transparent; color: var(--Text); } + input:focus, textarea { outline: none !important; color: var(--Accent); } -#results{ + +#results { display: flex; flex-direction: column; position: absolute; - /* right: 35%; */ top: 35px; width: 30%; padding: 5px; @@ -169,24 +177,84 @@ input:focus, textarea { background-color: var(--Resultsbox); list-style-type: none; text-align: left; - border: 5px solid var(--Sidebar); - /* overflow: hidden; */ + border: 2px solid var(--ResultsBorder); + border-top: none; white-space: normal; word-wrap: break-word; word-break: break-all; } -#results li:nth-of-type(2n){ - background-color: rgba(0, 0, 0, 0.132); + +#results li:nth-of-type(2n) { + background-color: var(--ResultsDark); } -.i-testing{ +.i-testing { display: inline-block; width: 100px; } +button.LightDark { + height: 30px; + width: 30px; + box-sizing: border-box; + border-radius: 50%; + border: 2px solid var(--LDOne); + background-image: linear-gradient(to right, var(--LDOne) 0%, var(--LDOne) 50%, var(--LDTwo) 50%, var(--LDTwo) 100%); +} + +/* ================================================================================================= */ +/* SIDEBAR */ + +menu { + align-items: flex-start; + display: flex; + flex-direction: column; + z-index: 2; + background-color: var(--Sidebar); + margin-top: 0; + align-self: flex-start; + position: sticky; + top: calc(70px + 0.2vh); + flex-basis: calc(var(--SBarWidth) - 00.1rem); + order: 2; + padding: 10px; + height: calc(99.8vh - 90px); + font-size: 0.9rem; + overflow-wrap: break-word; + overflow-y: scroll; + border-right: 0.1rem solid var(--SbarBorder); + -ms-overflow-style: none; + scrollbar-width: none; +} + +menu::-webkit-scrollbar { + display: none; +} + +menu li { + list-style-type: square; +} +menu li::marker { + color: var(--A1); +} +menu li:nth-of-type(2n) a { + color: var(--A2); +} + +menu li li { + list-style-type: none; +} + +menu li ul { + box-sizing: content-box; + padding-left: 5px; + border-left: 3px solid var(--A1); + list-style-type: none; +} + /* ================================================================================================== */ /* CONTENT */ -.error{ +main{ text-align: center; z-index: 1; max-width: 33w; @@ -196,27 +264,30 @@ input:focus, textarea { margin-top: auto; margin-bottom: auto; } -.error h1{ +main h1{ font-size: 8rem; } /* =============================================================================================== */ /* MOBILE DISPLAY */ -@media(max-width: 800px){ - .SideBar{ +@media(max-width: 800px) { + + menu { display: none; } - .Content{ - max-width: calc(100vw - 20px); - width: calc(100% - 20px); + + main { + width: calc(100vw - 30px); + max-width:calc(100vw - 30px); display: grid; grid-template-columns: 100%; - justify-items: center; - /* justify-content: center; */ + justify-items: left; overflow-x: hidden; + padding: 10px; } - .Content::after{ + + main::after { height: 70px; content: ''; width: 100%; @@ -224,23 +295,25 @@ input:focus, textarea { display: block; background-color: var(--Content); } - img{ + + img { max-width: 100%; height: auto; /* margin-top: 5px; */ } - .TopBar{ + + nav { display: flex; justify-content: center; } - div[buttons]{ + nav > div:last-of-type { display: none; } - div.left-buttons{ + + nav > div:first-of-type { position: fixed; bottom: 0px; - /* height: 100%; */ display: flex; font-size: 2rem; justify-content: center; @@ -248,7 +321,7 @@ input:focus, textarea { padding: 10px; background-color: var(--Sidebar); } - .navbutton{ + nav > div { width: 20%; text-align: center; justify-content: center; @@ -263,16 +336,4 @@ input:focus, textarea { width: 100%; font-size: 2rem; } - [lr]{ - float: none; - clear: both; - } - .table{ - clear: both; - max-width: 100%; - overflow-x: scroll; - } - div.info{ - width: fit-content; - } } \ No newline at end of file From 5d7bd57a0bba47838cf6ca3cbbd9e5228ed9de9b Mon Sep 17 00:00:00 2001 From: Squallog Date: Wed, 21 May 2025 12:06:36 +0100 Subject: [PATCH 07/60] Style Tweaks --- assets/css/style404.css | 4 ++-- assets/css/stylemain.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/style404.css b/assets/css/style404.css index a85f23c59..ff8f5054d 100644 --- a/assets/css/style404.css +++ b/assets/css/style404.css @@ -329,10 +329,10 @@ main h1{ border-left: none; border-bottom: 5px solid var(--Accent); } - .center-buttons{ + nav > span { width: 100%; } - input{ + input { width: 100%; font-size: 2rem; } diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index b9c952ca7..b121c274e 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -586,7 +586,7 @@ td.gutter{ border-left: none; border-bottom: 5px solid var(--Accent); } - .center-buttons{ + nav > span { width: 100%; } input{ From 636c5831fa20e338ec7039ab3db219ea9022640b Mon Sep 17 00:00:00 2001 From: Squallog Date: Thu, 22 May 2025 11:11:32 +0100 Subject: [PATCH 08/60] added testing document --- styletesting/TheFax.html | 582 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 582 insertions(+) create mode 100644 styletesting/TheFax.html diff --git a/styletesting/TheFax.html b/styletesting/TheFax.html new file mode 100644 index 000000000..f32ae3398 --- /dev/null +++ b/styletesting/TheFax.html @@ -0,0 +1,582 @@ + + + + + + + + + + + documents - bakery-wiki + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    + +

    Wiki Page

    +
    +

    The Fax

    +
    + Disclaimer: The Fax is not cannon. +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Waiting.
    What happens if I give it a really long string...?
    Twitch
    Youtube
    StreamsNone
    SocialsNone
    uwuowouvu
    checkthisout!neat.
    Even image alts work!
    + +

    + This is a paragraph testing left right alignments +

    +

    + In the expanded universe, The Fax is spacefairing vessel used by Raz and Jeremy to carry out acts of piracy and terorism throughout the galaxy.
    + The Fax is characterised by it's wide, blocky shape, yellow colour scheme, and heavy port side armanet. +

    +

    + Armament and Ordinance +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Primary Armament +
    Weapon TypeRate of FireQuantity
    Plasma Burst16.4 Rounds per minute2
    EMP Missile3.5 Rounds per minute1
    Space Ejector1 Round per minute1
    EMP Cannon4 Rounds per minute1
    Secondary Armament
    Fire Beam3 Rounds per minute1
    Radiation Beam3.2 Rounds per minute1
    Space Ejector1 Round per minute1
    EMP Missile3.5 Rounds per minute1
    EMP Cannon4 Rounds per minute1
    +

    + The Fax carries five weapons, four of which can be adapted to be effective against either an enemy ship, or its crew. +

    +

    Combat History

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Battle NameSectorCombatantsShips DestroyedShips CapturedTotal value
    Battle 121:-414122530 Scrap
    Battle 217:23743647 Scrap
    Battle 317:45532326 Scrap
    DF Fight30:30660221 Scrap
    +

    + Once upon a time, after inhaling copius ammounts of crohns medication, Jeremy forgot that Razvii's twitch channel belongs to razvii.
    + This happens often.
    + Subsequently, he took it upon himself to write an uninspired, mostly unoriginal, fanfic about people from whom he had not received consent. +

    +

    + Monitors (speakers if you're dumb) are better than headphones. +

    + Heading Three Example +

    + Test Image +

    + Paragraph relating to image. Here to try out styles for images around text. Look at these three blokes, lookin fine. Sexy lads. Proper lads. (I amar prestar aen.) The world is changed. (Han matho ne nen.) I feel it in the water. +

    +

    Heading 3 next to image

    + +
    + Heading 3 will not be next to images on mobile displays.
    + This is intentional. +
    +

    + (Han mathon ned cae.) I feel it in the earth. (A han noston ned gwilith.) I smell it in the air. Much that once was is lost, for none now live who remember it. It began with the forging of the Great Rings. Three were given to the Elves, immortal, wisest and fairest of all beings. Seven to the Dwarf-Lords, great miners and craftsmen of the mountain halls. And nine, nine rings were gifted to the race of Men, who above all else desire power. For within these rings was bound the strength and the will to govern each race. But they were all of them deceived, for another ring was made. Deep in the land of Mordor, in the Fires of Mount Doom, the Dark Lord Sauron forged a master ring, and into this ring he poured his cruelty, his malice and his will to dominate all life. One ring to rule them all. One by one, the free lands of Middle-Earth fell to the power of the Ring, but there were some who resisted. A last alliance of men and elves marched against the armies of Mordor, and on the very slopes of Mount Doom, they fought for the freedom of Middle-Earth. Victory was near, but the power of the ring could not be undone. It was in this moment, when all hope had faded, that Isildur, son of the king, took up his father’s sword. Sauron, enemy of the free peoples of Middle-Earth, was defeated. The Ring passed to Isildur, who had this one chance to destroy evil forever, but the hearts of men are easily corrupted. And the ring of power has a will of its own. It betrayed Isildur, to his death. And some things that should not have been forgotten were lost. History became legend. Legend became myth. And for two and a half thousand years, the ring passed out of all knowledge. Until, when chance came, it ensnared another bearer. It came to the creature Gollum, who took it deep into the tunnels of the Misty Mountains. And there it consumed him. The ring gave to Gollum unnatural long life. For five hundred years it poisoned his mind, and in the gloom of Gollum’s cave, it waited. Darkness crept back into the forests of the world. Rumor grew of a shadow in the East, whispers of a nameless fear, and the Ring of Power perceived its time had come. It abandoned Gollum, but then something happened that the Ring did not intend. It was picked up by the most unlikely creature imaginable: a hobbit, Bilbo Baggins, of the Shire. For the time will soon come when hobbits will shape the fortunes of all. +

    + Heading Four Example +

    + +
    + "This is a blockquote without a gradient.
    I wanted to see how it looks without good grades.
    Really lomng singler line quote thayt raz wanted me to write. He is a stink head for making me come up with this on the spot. He is going to tell me that I can use lorum ipsum, but I think he should lorum ipshutup about that unorigional bollocks. I am a free thinking creative mind, let me work my creaive juices. You've already taken away the blue juice, let me at least have creative juice." +
    + Heading Five Example +
    + +
    + Heading Six Example +
    + obo-obo + +

    LEGO

    +

    + Legend has it, burried shallow in the guts of Jeremy's room, there exists a LEGO replica of The Fax. + It has, alegedly, 4 minifigures, and a detailed interior that includes the pilot, weapons, sensor, shields,teleporter, reactor, oxygen, and engine rooms. + This paragraph should have a gradient background. + Just a test to see if my gradient attribute is transferable to other elements. +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Waiting.
    What happens if I give it a really long string...?
    Twitch
    Youtube
    StreamsNone
    SocialsNone
    uwuowouvu
    checkthisout!neat.
    Even image alts work!
    + + + +

    Custom Code blocks

    +

    Code blocks

    +
    +

    Markdown

    +
    + + +

    Simple code highlight

    +

    meow meow meow meow meow meowmeow meow meow meow meow meowmeow meow meow meow meow meow

    + + +

    Simple code fence, with no information.

    +
    while true do
    +    print("uwu")long string to test overflow properties on codeblocks without divs
    +end
    +
    + + +

    Code block with language definition.

    +
    while true do
    +    print("uwu" long string to test overflow properties on codeblocks without divs.)
    +end
    +
    + + +

    Code block with language definition and “data-lang” injection.

    +
    lua
    while long line to test overlapping and positioning of language declaration element. true do
    +    print("uwu")
    +end
    +
    + + +

    Liquid

    +
    + + +

    Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes.

    + +
    while true do
    +    print("uwu")
    +end
    + + +

    Code block using the highlight tag with line numbers and "data-lang" injection

    + +
    lua
    1
    +2
    +3
    +
    while true do
    +    print("uwu")
    +end
    +
    +
    + + + \ No newline at end of file From 9b9fb10c0457e14fa294023f7b757be0efdcc4b3 Mon Sep 17 00:00:00 2001 From: Squallog Date: Thu, 22 May 2025 20:02:06 +0100 Subject: [PATCH 09/60] Removed Testing Space --- assets/css/rouge-highlight.css | 1 - assets/css/stylemain.css | 13 +- styletesting/TheFax.html | 582 --------------------------------- 3 files changed, 10 insertions(+), 586 deletions(-) delete mode 100644 styletesting/TheFax.html diff --git a/assets/css/rouge-highlight.css b/assets/css/rouge-highlight.css index cc9c73e89..d7b4abbbd 100644 --- a/assets/css/rouge-highlight.css +++ b/assets/css/rouge-highlight.css @@ -1,4 +1,3 @@ -.highlight pre { background-color: rgba(16, 16, 16,0.3);} .highlight .hll { background-color: #272822; } .highlight .c { color: #75715e } /* Comment */ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */ diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index b121c274e..3a4b67507 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -481,13 +481,20 @@ figure.highlight, figure.highlighter-rouge{ color: var(--Highlight2); font-size: 0.9rem; } -div.highlight{ + +div.highlight { width: 100%; overflow: scroll; padding: 0 0 10px 0; } -.highlight pre{ + +pre { margin: 10px 0 0 0; + max-width: 100%; +} + +code > table { + max-width: 100%; } /* LANGUAGE DECLARATIONS */ @@ -589,7 +596,7 @@ td.gutter{ nav > span { width: 100%; } - input{ + input { width: 100%; font-size: 2rem; } diff --git a/styletesting/TheFax.html b/styletesting/TheFax.html deleted file mode 100644 index f32ae3398..000000000 --- a/styletesting/TheFax.html +++ /dev/null @@ -1,582 +0,0 @@ - - - - - - - - - - - documents - bakery-wiki - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - -
    - -

    Wiki Page

    -
    -

    The Fax

    -
    - Disclaimer: The Fax is not cannon. -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Waiting.
    What happens if I give it a really long string...?
    Twitch
    Youtube
    StreamsNone
    SocialsNone
    uwuowouvu
    checkthisout!neat.
    Even image alts work!
    - -

    - This is a paragraph testing left right alignments -

    -

    - In the expanded universe, The Fax is spacefairing vessel used by Raz and Jeremy to carry out acts of piracy and terorism throughout the galaxy.
    - The Fax is characterised by it's wide, blocky shape, yellow colour scheme, and heavy port side armanet. -

    -

    - Armament and Ordinance -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Primary Armament -
    Weapon TypeRate of FireQuantity
    Plasma Burst16.4 Rounds per minute2
    EMP Missile3.5 Rounds per minute1
    Space Ejector1 Round per minute1
    EMP Cannon4 Rounds per minute1
    Secondary Armament
    Fire Beam3 Rounds per minute1
    Radiation Beam3.2 Rounds per minute1
    Space Ejector1 Round per minute1
    EMP Missile3.5 Rounds per minute1
    EMP Cannon4 Rounds per minute1
    -

    - The Fax carries five weapons, four of which can be adapted to be effective against either an enemy ship, or its crew. -

    -

    Combat History

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Battle NameSectorCombatantsShips DestroyedShips CapturedTotal value
    Battle 121:-414122530 Scrap
    Battle 217:23743647 Scrap
    Battle 317:45532326 Scrap
    DF Fight30:30660221 Scrap
    -

    - Once upon a time, after inhaling copius ammounts of crohns medication, Jeremy forgot that Razvii's twitch channel belongs to razvii.
    - This happens often.
    - Subsequently, he took it upon himself to write an uninspired, mostly unoriginal, fanfic about people from whom he had not received consent. -

    -

    - Monitors (speakers if you're dumb) are better than headphones. -

    - Heading Three Example -

    - Test Image -

    - Paragraph relating to image. Here to try out styles for images around text. Look at these three blokes, lookin fine. Sexy lads. Proper lads. (I amar prestar aen.) The world is changed. (Han matho ne nen.) I feel it in the water. -

    -

    Heading 3 next to image

    - -
    - Heading 3 will not be next to images on mobile displays.
    - This is intentional. -
    -

    - (Han mathon ned cae.) I feel it in the earth. (A han noston ned gwilith.) I smell it in the air. Much that once was is lost, for none now live who remember it. It began with the forging of the Great Rings. Three were given to the Elves, immortal, wisest and fairest of all beings. Seven to the Dwarf-Lords, great miners and craftsmen of the mountain halls. And nine, nine rings were gifted to the race of Men, who above all else desire power. For within these rings was bound the strength and the will to govern each race. But they were all of them deceived, for another ring was made. Deep in the land of Mordor, in the Fires of Mount Doom, the Dark Lord Sauron forged a master ring, and into this ring he poured his cruelty, his malice and his will to dominate all life. One ring to rule them all. One by one, the free lands of Middle-Earth fell to the power of the Ring, but there were some who resisted. A last alliance of men and elves marched against the armies of Mordor, and on the very slopes of Mount Doom, they fought for the freedom of Middle-Earth. Victory was near, but the power of the ring could not be undone. It was in this moment, when all hope had faded, that Isildur, son of the king, took up his father’s sword. Sauron, enemy of the free peoples of Middle-Earth, was defeated. The Ring passed to Isildur, who had this one chance to destroy evil forever, but the hearts of men are easily corrupted. And the ring of power has a will of its own. It betrayed Isildur, to his death. And some things that should not have been forgotten were lost. History became legend. Legend became myth. And for two and a half thousand years, the ring passed out of all knowledge. Until, when chance came, it ensnared another bearer. It came to the creature Gollum, who took it deep into the tunnels of the Misty Mountains. And there it consumed him. The ring gave to Gollum unnatural long life. For five hundred years it poisoned his mind, and in the gloom of Gollum’s cave, it waited. Darkness crept back into the forests of the world. Rumor grew of a shadow in the East, whispers of a nameless fear, and the Ring of Power perceived its time had come. It abandoned Gollum, but then something happened that the Ring did not intend. It was picked up by the most unlikely creature imaginable: a hobbit, Bilbo Baggins, of the Shire. For the time will soon come when hobbits will shape the fortunes of all. -

    - Heading Four Example -

    - -
    - "This is a blockquote without a gradient.
    I wanted to see how it looks without good grades.
    Really lomng singler line quote thayt raz wanted me to write. He is a stink head for making me come up with this on the spot. He is going to tell me that I can use lorum ipsum, but I think he should lorum ipshutup about that unorigional bollocks. I am a free thinking creative mind, let me work my creaive juices. You've already taken away the blue juice, let me at least have creative juice." -
    - Heading Five Example -
    - -
    - Heading Six Example -
    - obo-obo - -

    LEGO

    -

    - Legend has it, burried shallow in the guts of Jeremy's room, there exists a LEGO replica of The Fax. - It has, alegedly, 4 minifigures, and a detailed interior that includes the pilot, weapons, sensor, shields,teleporter, reactor, oxygen, and engine rooms. - This paragraph should have a gradient background. - Just a test to see if my gradient attribute is transferable to other elements. -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Waiting.
    What happens if I give it a really long string...?
    Twitch
    Youtube
    StreamsNone
    SocialsNone
    uwuowouvu
    checkthisout!neat.
    Even image alts work!
    - - - -

    Custom Code blocks

    -

    Code blocks

    -
    -

    Markdown

    -
    - - -

    Simple code highlight

    -

    meow meow meow meow meow meowmeow meow meow meow meow meowmeow meow meow meow meow meow

    - - -

    Simple code fence, with no information.

    -
    while true do
    -    print("uwu")long string to test overflow properties on codeblocks without divs
    -end
    -
    - - -

    Code block with language definition.

    -
    while true do
    -    print("uwu" long string to test overflow properties on codeblocks without divs.)
    -end
    -
    - - -

    Code block with language definition and “data-lang” injection.

    -
    lua
    while long line to test overlapping and positioning of language declaration element. true do
    -    print("uwu")
    -end
    -
    - - -

    Liquid

    -
    - - -

    Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes.

    - -
    while true do
    -    print("uwu")
    -end
    - - -

    Code block using the highlight tag with line numbers and "data-lang" injection

    - -
    lua
    1
    -2
    -3
    -
    while true do
    -    print("uwu")
    -end
    -
    -
    - - - \ No newline at end of file From 7948b34bc45ebb47e4a52c603e0de2a65ceeb6e0 Mon Sep 17 00:00:00 2001 From: Vii Date: Fri, 23 May 2025 02:25:40 +0300 Subject: [PATCH 10/60] Fixed the search functionality and readded the testing html file. --- _includes/bakery-wiki/navBar.html | 1 + testing/TheFax.html | 588 ++++++++++++++++++++++++++++++ 2 files changed, 589 insertions(+) create mode 100644 testing/TheFax.html diff --git a/_includes/bakery-wiki/navBar.html b/_includes/bakery-wiki/navBar.html index cfa7c37de..0a1b18c6b 100644 --- a/_includes/bakery-wiki/navBar.html +++ b/_includes/bakery-wiki/navBar.html @@ -11,6 +11,7 @@ +
      diff --git a/testing/TheFax.html b/testing/TheFax.html new file mode 100644 index 000000000..466784a2e --- /dev/null +++ b/testing/TheFax.html @@ -0,0 +1,588 @@ +--- +layout: none +--- + + + + + + + + + + + documents - bakery-wiki + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      + +
      + +

      Wiki Page

      +
      +

      The Fax

      +
      + Disclaimer: The Fax is not cannon. +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Waiting.
      What happens if I give it a really long string...?
      Twitch
      Youtube
      StreamsNone
      SocialsNone
      uwuowouvu
      checkthisout!neat.
      Even image alts work!
      + +

      + This is a paragraph testing left right alignments +

      +

      + In the expanded universe, The Fax is spacefairing vessel used by Raz and Jeremy to carry out acts of piracy and terorism throughout the galaxy.
      + The Fax is characterised by it's wide, blocky shape, yellow colour scheme, and heavy port side armanet. +

      +

      + Armament and Ordinance +

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Primary Armament +
      Weapon TypeRate of FireQuantity
      Plasma Burst16.4 Rounds per minute2
      EMP Missile3.5 Rounds per minute1
      Space Ejector1 Round per minute1
      EMP Cannon4 Rounds per minute1
      Secondary Armament
      Fire Beam3 Rounds per minute1
      Radiation Beam3.2 Rounds per minute1
      Space Ejector1 Round per minute1
      EMP Missile3.5 Rounds per minute1
      EMP Cannon4 Rounds per minute1
      +

      + The Fax carries five weapons, four of which can be adapted to be effective against either an enemy ship, or its crew. +

      +

      Combat History

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Battle NameSectorCombatantsShips DestroyedShips CapturedTotal value
      Battle 121:-414122530 Scrap
      Battle 217:23743647 Scrap
      Battle 317:45532326 Scrap
      DF Fight30:30660221 Scrap
      +

      + Once upon a time, after inhaling copius ammounts of crohns medication, Jeremy forgot that Razvii's twitch channel belongs to razvii.
      + This happens often.
      + Subsequently, he took it upon himself to write an uninspired, mostly unoriginal, fanfic about people from whom he had not received consent. +

      +

      + Monitors (speakers if you're dumb) are better than headphones. +

      + Heading Three Example +

      + Test Image +

      + Paragraph relating to image. Here to try out styles for images around text. Look at these three blokes, lookin fine. Sexy lads. Proper lads. (I amar prestar aen.) The world is changed. (Han matho ne nen.) I feel it in the water. +

      +

      Heading 3 next to image

      + +
      + Heading 3 will not be next to images on mobile displays.
      + This is intentional. +
      +

      + (Han mathon ned cae.) I feel it in the earth. (A han noston ned gwilith.) I smell it in the air. Much that once was is lost, for none now live who remember it. It began with the forging of the Great Rings. Three were given to the Elves, immortal, wisest and fairest of all beings. Seven to the Dwarf-Lords, great miners and craftsmen of the mountain halls. And nine, nine rings were gifted to the race of Men, who above all else desire power. For within these rings was bound the strength and the will to govern each race. But they were all of them deceived, for another ring was made. Deep in the land of Mordor, in the Fires of Mount Doom, the Dark Lord Sauron forged a master ring, and into this ring he poured his cruelty, his malice and his will to dominate all life. One ring to rule them all. One by one, the free lands of Middle-Earth fell to the power of the Ring, but there were some who resisted. A last alliance of men and elves marched against the armies of Mordor, and on the very slopes of Mount Doom, they fought for the freedom of Middle-Earth. Victory was near, but the power of the ring could not be undone. It was in this moment, when all hope had faded, that Isildur, son of the king, took up his father’s sword. Sauron, enemy of the free peoples of Middle-Earth, was defeated. The Ring passed to Isildur, who had this one chance to destroy evil forever, but the hearts of men are easily corrupted. And the ring of power has a will of its own. It betrayed Isildur, to his death. And some things that should not have been forgotten were lost. History became legend. Legend became myth. And for two and a half thousand years, the ring passed out of all knowledge. Until, when chance came, it ensnared another bearer. It came to the creature Gollum, who took it deep into the tunnels of the Misty Mountains. And there it consumed him. The ring gave to Gollum unnatural long life. For five hundred years it poisoned his mind, and in the gloom of Gollum’s cave, it waited. Darkness crept back into the forests of the world. Rumor grew of a shadow in the East, whispers of a nameless fear, and the Ring of Power perceived its time had come. It abandoned Gollum, but then something happened that the Ring did not intend. It was picked up by the most unlikely creature imaginable: a hobbit, Bilbo Baggins, of the Shire. For the time will soon come when hobbits will shape the fortunes of all. +

      + Heading Four Example +

      + +
      + "This is a blockquote without a gradient.
      I wanted to see how it looks without good grades.
      Really lomng singler line quote thayt raz wanted me to write. He is a stink head for making me come up with this on the spot. He is going to tell me that I can use lorum ipsum, but I think he should lorum ipshutup about that unorigional bollocks. I am a free thinking creative mind, let me work my creaive juices. You've already taken away the blue juice, let me at least have creative juice." +
      + Heading Five Example +
      + +
      + Heading Six Example +
      + obo-obo + +

      LEGO

      +

      + Legend has it, burried shallow in the guts of Jeremy's room, there exists a LEGO replica of The Fax. + It has, alegedly, 4 minifigures, and a detailed interior that includes the pilot, weapons, sensor, shields,teleporter, reactor, oxygen, and engine rooms. + This paragraph should have a gradient background. + Just a test to see if my gradient attribute is transferable to other elements. +

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Waiting.
      What happens if I give it a really long string...?
      Twitch
      Youtube
      StreamsNone
      SocialsNone
      uwuowouvu
      checkthisout!neat.
      Even image alts work!
      + + + +

      Custom Code blocks

      +

      Code blocks

      +
      +

      Markdown

      +
      + + +

      Simple code highlight

      +

      meow meow meow meow meow meowmeow meow meow meow meow meowmeow meow meow meow meow meow

      + + +

      Simple code fence, with no information.

      +
      while true do
      +    print("uwu")long string to test overflow properties on codeblocks without divs
      +end
      +
      + + +

      Code block with language definition.

      +
      while true do
      +    print("uwu" long string to test overflow properties on codeblocks without divs.)
      +end
      +
      + + +

      Code block with language definition and “data-lang” injection.

      +
      lua
      while long line to test overlapping and positioning of language declaration element. true do
      +    print("uwu")
      +end
      +
      + + +

      Liquid

      +
      + + +

      Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes.

      + +
      while true do
      +    print("uwu")
      +end
      + + +

      Code block using the highlight tag with line numbers and "data-lang" injection

      + +
      lua
      1
      +2
      +3
      +
      while true do
      +    print("uwu")
      +end
      +
      +
      + + + \ No newline at end of file From b2918817630ef6b7f8ec676a459c22fdf32ff76d Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Fri, 23 May 2025 02:27:40 +0300 Subject: [PATCH 11/60] Update TheFax.html Fixed the repo links. I need to set up a better system for this. --- testing/TheFax.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/TheFax.html b/testing/TheFax.html index 466784a2e..1d4784107 100644 --- a/testing/TheFax.html +++ b/testing/TheFax.html @@ -22,8 +22,8 @@ - - + + - - - - - - - -
      - -
      - -
      - -
      - -

      Wiki Page

      -
      -

      The Fax

      -
      - Disclaimer: The Fax is not cannon. -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Waiting.
      What happens if I give it a really long string...?
      Twitch
      Youtube
      StreamsNone
      SocialsNone
      uwuowouvu
      checkthisout!neat.
      Even image alts work!
      - -

      - This is a paragraph testing left right alignments -

      -

      - In the expanded universe, The Fax is spacefairing vessel used by Raz and Jeremy to carry out acts of piracy and terorism throughout the galaxy.
      - The Fax is characterised by it's wide, blocky shape, yellow colour scheme, and heavy port side armanet. -

      -

      - Armament and Ordinance -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Primary Armament -
      Weapon TypeRate of FireQuantity
      Plasma Burst16.4 Rounds per minute2
      EMP Missile3.5 Rounds per minute1
      Space Ejector1 Round per minute1
      EMP Cannon4 Rounds per minute1
      Secondary Armament
      Fire Beam3 Rounds per minute1
      Radiation Beam3.2 Rounds per minute1
      Space Ejector1 Round per minute1
      EMP Missile3.5 Rounds per minute1
      EMP Cannon4 Rounds per minute1
      -

      - The Fax carries five weapons, four of which can be adapted to be effective against either an enemy ship, or its crew. -

      -

      Combat History

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Battle NameSectorCombatantsShips DestroyedShips CapturedTotal value
      Battle 121:-414122530 Scrap
      Battle 217:23743647 Scrap
      Battle 317:45532326 Scrap
      DF Fight30:30660221 Scrap
      -

      - Once upon a time, after inhaling copius ammounts of crohns medication, Jeremy forgot that Razvii's twitch channel belongs to razvii.
      - This happens often.
      - Subsequently, he took it upon himself to write an uninspired, mostly unoriginal, fanfic about people from whom he had not received consent. -

      -

      - Monitors (speakers if you're dumb) are better than headphones. -

      - Heading Three Example -

      - Test Image -

      - Paragraph relating to image. Here to try out styles for images around text. Look at these three blokes, lookin fine. Sexy lads. Proper lads. (I amar prestar aen.) The world is changed. (Han matho ne nen.) I feel it in the water. -

      -

      Heading 3 next to image

      - -
      - Heading 3 will not be next to images on mobile displays.
      - This is intentional. -
      -

      - (Han mathon ned cae.) I feel it in the earth. (A han noston ned gwilith.) I smell it in the air. Much that once was is lost, for none now live who remember it. It began with the forging of the Great Rings. Three were given to the Elves, immortal, wisest and fairest of all beings. Seven to the Dwarf-Lords, great miners and craftsmen of the mountain halls. And nine, nine rings were gifted to the race of Men, who above all else desire power. For within these rings was bound the strength and the will to govern each race. But they were all of them deceived, for another ring was made. Deep in the land of Mordor, in the Fires of Mount Doom, the Dark Lord Sauron forged a master ring, and into this ring he poured his cruelty, his malice and his will to dominate all life. One ring to rule them all. One by one, the free lands of Middle-Earth fell to the power of the Ring, but there were some who resisted. A last alliance of men and elves marched against the armies of Mordor, and on the very slopes of Mount Doom, they fought for the freedom of Middle-Earth. Victory was near, but the power of the ring could not be undone. It was in this moment, when all hope had faded, that Isildur, son of the king, took up his father’s sword. Sauron, enemy of the free peoples of Middle-Earth, was defeated. The Ring passed to Isildur, who had this one chance to destroy evil forever, but the hearts of men are easily corrupted. And the ring of power has a will of its own. It betrayed Isildur, to his death. And some things that should not have been forgotten were lost. History became legend. Legend became myth. And for two and a half thousand years, the ring passed out of all knowledge. Until, when chance came, it ensnared another bearer. It came to the creature Gollum, who took it deep into the tunnels of the Misty Mountains. And there it consumed him. The ring gave to Gollum unnatural long life. For five hundred years it poisoned his mind, and in the gloom of Gollum’s cave, it waited. Darkness crept back into the forests of the world. Rumor grew of a shadow in the East, whispers of a nameless fear, and the Ring of Power perceived its time had come. It abandoned Gollum, but then something happened that the Ring did not intend. It was picked up by the most unlikely creature imaginable: a hobbit, Bilbo Baggins, of the Shire. For the time will soon come when hobbits will shape the fortunes of all. -

      - Heading Four Example -

      - -
      - "This is a blockquote without a gradient.
      I wanted to see how it looks without good grades.
      Really lomng singler line quote thayt raz wanted me to write. He is a stink head for making me come up with this on the spot. He is going to tell me that I can use lorum ipsum, but I think he should lorum ipshutup about that unorigional bollocks. I am a free thinking creative mind, let me work my creaive juices. You've already taken away the blue juice, let me at least have creative juice." -
      - Heading Five Example -
      - -
      - Heading Six Example -
      - obo-obo - -

      LEGO

      -

      - Legend has it, burried shallow in the guts of Jeremy's room, there exists a LEGO replica of The Fax. - It has, alegedly, 4 minifigures, and a detailed interior that includes the pilot, weapons, sensor, shields,teleporter, reactor, oxygen, and engine rooms. - This paragraph should have a gradient background. - Just a test to see if my gradient attribute is transferable to other elements. -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Waiting.
      What happens if I give it a really long string...?
      Twitch
      Youtube
      StreamsNone
      SocialsNone
      uwuowouvu
      checkthisout!neat.
      Even image alts work!
      - - - -

      Custom Code blocks

      -

      Code blocks

      -
      -

      Markdown

      -
      - - -

      Simple code highlight

      -

      meow meow meow meow meow meowmeow meow meow meow meow meowmeow meow meow meow meow meow

      - - -

      Simple code fence, with no information.

      -
      while true do
      -    print("uwu")long string to test overflow properties on codeblocks without divs
      -end
      -
      - - -

      Code block with language definition.

      -
      while true do
      -    print("uwu" long string to test overflow properties on codeblocks without divs.)
      -end
      -
      - - -

      Code block with language definition and “data-lang” injection.

      -
      lua
      while long line to test overlapping and positioning of language declaration element. true do
      -    print("uwu")
      -end
      -
      - - -

      Liquid

      -
      - - -

      Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes.

      - -
      while true do
      -    print("uwu")
      -end
      - - -

      Code block using the highlight tag with line numbers and "data-lang" injection

      - -
      lua
      1
      -2
      -3
      -
      while true do
      -    print("uwu")
      -end
      -
      -
      - - - From 34d85e3da85a91d08055bb4188854b3337f4d6d1 Mon Sep 17 00:00:00 2001 From: Squallog Date: Mon, 26 May 2025 18:47:47 +0100 Subject: [PATCH 15/60] fixed width of gutters --- assets/css/stylemain.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 03c4628b1..7cc345831 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -550,6 +550,7 @@ table.rouge-table{ } td.gutter { + width: 10px; padding: 0 5px 0 0; border-right: 2px solid var(--Highlight); } From 487df54fd6e17b6ac393f0da04aaddb5234c593e Mon Sep 17 00:00:00 2001 From: Squallog Date: Mon, 26 May 2025 18:51:22 +0100 Subject: [PATCH 16/60] fixed padding in codeblocks --- assets/css/stylemain.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 7cc345831..df8b1c2ea 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -514,10 +514,10 @@ div.highlight{ width: 100%; height: fit-content; overflow-x: scroll; - padding: 0 0 10px 0; + padding: 0 0 0 0; } .highlight pre{ - margin: 10px 0 0 0; + margin: 5px 0 5px 0; } /* LANGUAGE DECLARATIONS */ From 92434a0a2f543b2cb9a0e6993139365dd487b3f7 Mon Sep 17 00:00:00 2001 From: Squallog <103752428+Squallog@users.noreply.github.com> Date: Tue, 27 May 2025 11:11:42 +0100 Subject: [PATCH 17/60] Create jeremy testing the add page functionality --- wiki/jeremy | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 wiki/jeremy diff --git a/wiki/jeremy b/wiki/jeremy new file mode 100644 index 000000000..c54d22d01 --- /dev/null +++ b/wiki/jeremy @@ -0,0 +1,3 @@ +# Jeremy +--- +British twat, knows what monitors (speakers if you are dense) are, certified gorgeous lad, blonde. From 8863cb1017dc029a3b8f9e996a57a0e34a73370b Mon Sep 17 00:00:00 2001 From: Squallog Date: Tue, 27 May 2025 13:08:19 +0100 Subject: [PATCH 18/60] epic page --- assets/css/stylemain.css | 13 +++++++++-- wiki/jeremy | 3 --- wiki/jeremy.md | 49 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 5 deletions(-) delete mode 100644 wiki/jeremy create mode 100644 wiki/jeremy.md diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index df8b1c2ea..6bb30f654 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -229,7 +229,7 @@ menu { menu > ul { padding-top: 10px; - height: 50%; + min-height: 50%; overflow-y: scroll; background-color: var(--Sidebar); position: sticky; @@ -372,10 +372,12 @@ table, th, td { -webkit-box-sizing: border-box; } table { + display: block; overflow-x: scroll; font-family: "B612 Mono"; margin: 1.5rem 0 1.5rem 0; - max-width: calc(100vw - var(--SBarWidth) - 10px); + max-width: 100%; + padding: 5px; } td { background-color: var(--Blockquote); @@ -436,9 +438,11 @@ blockquote { } blockquote[blame]::after { + font-size: 0.9rem; content: "- " attr(blame); color: var(--Accent); margin-left: auto; + padding-top: 10px; } blockquote p { @@ -564,11 +568,16 @@ hr { border-top: var(--Sidebar) solid 2px; border-bottom: var(--Accent) solid 1px; } + a { color: rgb(232, 157, 46); text-decoration: dotted; } +strong { + color: var(--Accent); +} + /* =================================================================================================== */ /* MOBILE DISPLAY */ diff --git a/wiki/jeremy b/wiki/jeremy deleted file mode 100644 index c54d22d01..000000000 --- a/wiki/jeremy +++ /dev/null @@ -1,3 +0,0 @@ -# Jeremy ---- -British twat, knows what monitors (speakers if you are dense) are, certified gorgeous lad, blonde. diff --git a/wiki/jeremy.md b/wiki/jeremy.md new file mode 100644 index 000000000..a71153a0f --- /dev/null +++ b/wiki/jeremy.md @@ -0,0 +1,49 @@ +{: accent-dark="#5f0191" } + +{% include bakery-wiki/components/charCard.html title="Jeremy" imageURL="https://the-yorkshireman.com/wp-content/uploads/2022/12/a35df17f39adbcdcc6d9eaa17c9bba9b.jpg" table='Pronouns,Knob/Head|Youtube,None|Streams,Most|Socials,Hah.|Blonde|Enjoys,Cheese' %} + +# Jeremy + +{: blame="Wix, Giraffe, Everyone in chat"} +> Jeremy is my favourite. + +--- +British twat, knows what monitors (speakers if you are dense) are, certified gorgeous lad, blonde. Ask me about Coffee. Often Jeremy is aleged to know a thing or two about audio and sound engineeting; as of yet little evidence has been found that can verify these claims. + +Known for having Diabetes and Crohns disease, and sometimes **avoiding** (but never evading) taxes. + +## Insulin Reviews + +*A brief catalogue and ranking of the various drugs to which Jeremy is addicted.* + +### Quick Acting + +| Insulin Type | Pen Type | Speed Score | Pen Score | Rating | +|:-------------|:---------|:------------|:----------|:-------| +| Lyumjev | Humapen Savio | 9/10 | 4/10 | Wish it had a better pen. | +| Fiasp | Novopen Echo | 6/10 | 8/10 | It's fine. | +| Humalog | Humapen Savio | 4/10 | 4/10 | Avoid like the plague. | + +### Long Acting + +| Insulin Type | Pen Type | Duration Score | Mechanism Score | Rating | +|:-------------|:---------|:------------|:----------------|:-------| +| Tresiba | Novopen Echo | 8/10 | 8/10 | Pretty good. | +| Levimir | Novopen Echo | 4/10 | 8/10 | Not great. | + +### Pens + +| Pen Type | Material | Lid Removal | Doseage Wheel | Cartridge Release | Gripes | Rating | +|:---------|:---------|:------------|:--------------|:------------------|:-------|:-------| +| Novopen Echo | Metal | 7/10 | 8/10 | 7/10 | None. | 8/10 | +| Novopen Echo Plus | Metal | 7/10 | 8/10 | 7/10 | Batteries cannot be replaced. | 7/10 | +| Humapen Savio | Plastic? | 4/10 | 5/10 | 3/10 | Easy to release cartridge when removing needle. | 4/10 | +| Flexpen | Plastic | 4/10 | 3/10 | 0/10 | Disposable. | 2/10 | +| Quickpen | Plastic | 4/10 | 2/10 | 0/10 | Disposable. | 2/10 | + +## Squallarms Plant + +Jeremy likes to feel important, so we let him pretend he has a silly little engineering company. + +--- +Jeremy has never been - and will never be - a streamner. \ No newline at end of file From f849bdd026517a490557f99ef12144209a625769 Mon Sep 17 00:00:00 2001 From: Squallog <103752428+Squallog@users.noreply.github.com> Date: Tue, 27 May 2025 13:39:11 +0100 Subject: [PATCH 19/60] Create newpage.md --- wiki/newpage.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 wiki/newpage.md diff --git a/wiki/newpage.md b/wiki/newpage.md new file mode 100644 index 000000000..3ca5ea527 --- /dev/null +++ b/wiki/newpage.md @@ -0,0 +1,7 @@ +# Title + +## Subtitle + +### su sube title + +content whatever/ From 0891c80a4d7c7a3b5782d89be270f8de5567f9b2 Mon Sep 17 00:00:00 2001 From: Squallog <103752428+Squallog@users.noreply.github.com> Date: Tue, 27 May 2025 14:13:09 +0100 Subject: [PATCH 20/60] Delete wiki/newpage.md --- wiki/newpage.md | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 wiki/newpage.md diff --git a/wiki/newpage.md b/wiki/newpage.md deleted file mode 100644 index 3ca5ea527..000000000 --- a/wiki/newpage.md +++ /dev/null @@ -1,7 +0,0 @@ -# Title - -## Subtitle - -### su sube title - -content whatever/ From c7a74b2e61087b7719bce0a0068ec832f87d4d19 Mon Sep 17 00:00:00 2001 From: Squallog Date: Tue, 27 May 2025 14:19:34 +0100 Subject: [PATCH 21/60] altered home page content, moved testing content to testing page. --- index.md | 112 +---------------------------------------------- wiki/testpage.md | 10 +++-- 2 files changed, 8 insertions(+), 114 deletions(-) diff --git a/index.md b/index.md index e3e67c9c4..4cfd79ed2 100644 --- a/index.md +++ b/index.md @@ -1,113 +1,5 @@ -{% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" table='uwu|What|Youtube|Streams,None|Socials,None|uwu,owo,uvu|check,this,out!,neat.|Even image alts work!' %} +# The Bakery -[This is a link](example) -# Test header1 ---- -{{ site.github.repository_url }}/edit/{{site.git_branch | escape}}/{{ site.site_root | default: '/' }}{{page.path | escape}} -This is a test page showing every single component, element or piece of formatting in one place. - -# Text blocks ---- -## Quote blocks ---- -### Markdown ---- -> This is a simple one line quote written in markdown - -> This is a 2 line quote -> written in markdown without any newlines. - -> This is a 2 line quote with a -> 2 space newline, written in markdown - -{: blame="An important person"} -> This is a one line quote written in markdown with a blame! - -{: blame="A confusing person" } -> This is a 2 line quote written in markdown -> with a blame. - -{: gradient=""} -> I have a gradient! - -{: gradient="" blame="A gradient person"} -> I have a gradient and a blame! +*Still unsure what this group should be called.* -{: gradient="" blame="A contemplating person"} -> I am a very long quote. -> Or rather, I am not that long. -> I just have a lot of short lines. -> Does that still make me a long quote? -> I mean it must, I have been talking for a while. -> Although this shouldn't make a difference. -> I could be talking for quite a while, and this should look just right. - -### HTML ---- -
      This is a single line quote written in HTML
      -
      This is a multi line quote
      Written in html
      -
      This is a blamed quote!
      -
      This is a blamed gradient quote!
      -
      - This is a really long HTML quote.
      - Or rather, it is a HTML tag in markdown!
      - does that make it markdown? html?
      - technically markdown considers it to just be text.
      - it is only browsers that think the text can be interpreted as HTML.
      - technically, to anything else, this is no different from just text.
      - I guess this can say many things about perspective or...
      - maybe about how information can hide meaning.
      - But I am bad at that sort of stuff.
      - Adding br tags in these is getting infuriating.
      -
      - -## Code blocks --- -### Markdown ---- -#### Simple code highlight -`meow meow meow meow meow meow` - -#### Simple code fence, with no information. -``` -while true do - print("uwu") -end -``` - -#### Code block with language definition. -```lua -while true do - print("uwu") -end -``` - -#### Code block with language definition and "data-lang" injection. -{: data-lang="lua"} -```lua -while true do - print("uwu") -end -``` -### Liquid ---- -#### Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes. -{% highlight lua %} -while true do - print("uwu") -end -{% endhighlight %} - -#### Code block using the highlight tag with line numbers -{% highlight lua linenos %} -while true do - print("uwu") -end -{% endhighlight %} - -# Tables - -| Header1 | Header2 | Header3 | -| - | -| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | -| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | \ No newline at end of file diff --git a/wiki/testpage.md b/wiki/testpage.md index 585aa409a..e3e67c9c4 100644 --- a/wiki/testpage.md +++ b/wiki/testpage.md @@ -1,7 +1,9 @@ -{% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" %} +{% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" table='uwu|What|Youtube|Streams,None|Socials,None|uwu,owo,uvu|check,this,out!,neat.|Even image alts work!' %} +[This is a link](example) # Test header1 --- +{{ site.github.repository_url }}/edit/{{site.git_branch | escape}}/{{ site.site_root | default: '/' }}{{page.path | escape}} This is a test page showing every single component, element or piece of formatting in one place. # Text blocks @@ -106,6 +108,6 @@ end # Tables | Header1 | Header2 | Header3 | -| - | - | - | -| Table cell | Table cell | Table cell | -| Table cell | Table cell | Table cell | \ No newline at end of file +| - | +| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | +| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | \ No newline at end of file From b4b98ac98c4ec5548d0951fd6e75d3a0246820b0 Mon Sep 17 00:00:00 2001 From: Vii Date: Mon, 2 Jun 2025 12:38:24 +0300 Subject: [PATCH 22/60] Added new page suggestion filename --- _includes/bakery-wiki/pageActions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/bakery-wiki/pageActions.html b/_includes/bakery-wiki/pageActions.html index 46103b6f1..2bbf5e1c6 100644 --- a/_includes/bakery-wiki/pageActions.html +++ b/_includes/bakery-wiki/pageActions.html @@ -8,7 +8,7 @@ From ca18db7b811145351a8ac8047663f2277d8222ad Mon Sep 17 00:00:00 2001 From: Vii Date: Mon, 2 Jun 2025 12:44:14 +0300 Subject: [PATCH 23/60] Fixed Jeremy's problem. Why do we even have that file...? --- wiki/jeremy.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wiki/jeremy.md b/wiki/jeremy.md index a71153a0f..ff37dafda 100644 --- a/wiki/jeremy.md +++ b/wiki/jeremy.md @@ -1,4 +1,6 @@ -{: accent-dark="#5f0191" } +--- +accent-dark: "#5f0191" +--- {% include bakery-wiki/components/charCard.html title="Jeremy" imageURL="https://the-yorkshireman.com/wp-content/uploads/2022/12/a35df17f39adbcdcc6d9eaa17c9bba9b.jpg" table='Pronouns,Knob/Head|Youtube,None|Streams,Most|Socials,Hah.|Blonde|Enjoys,Cheese' %} From a9b1c9a7c98508ea257a69a415b948428b5877b9 Mon Sep 17 00:00:00 2001 From: Vii Date: Fri, 6 Jun 2025 19:03:49 +0300 Subject: [PATCH 24/60] Fixed embeds Why they weren't sanitized to begin with is beyond me. --- _includes/bakery-wiki/head.html | 7 +++++-- wiki/jeremy.md | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/_includes/bakery-wiki/head.html b/_includes/bakery-wiki/head.html index 3e9b1d8b4..80845a1ab 100644 --- a/_includes/bakery-wiki/head.html +++ b/_includes/bakery-wiki/head.html @@ -9,13 +9,16 @@ {{ title | strip_html | strip_newlines | truncate: 160 }} + + {% if page.image %} diff --git a/wiki/jeremy.md b/wiki/jeremy.md index ff37dafda..91404f09c 100644 --- a/wiki/jeremy.md +++ b/wiki/jeremy.md @@ -1,5 +1,6 @@ --- accent-dark: "#5f0191" +image: https://the-yorkshireman.com/wp-content/uploads/2022/12/a35df17f39adbcdcc6d9eaa17c9bba9b.jpg --- {% include bakery-wiki/components/charCard.html title="Jeremy" imageURL="https://the-yorkshireman.com/wp-content/uploads/2022/12/a35df17f39adbcdcc6d9eaa17c9bba9b.jpg" table='Pronouns,Knob/Head|Youtube,None|Streams,Most|Socials,Hah.|Blonde|Enjoys,Cheese' %} From 0345f33c2015a4140b4d1929e2badbdfaf4babd8 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Mon, 9 Jun 2025 12:15:46 +0300 Subject: [PATCH 25/60] Update _config.yml Wrong branch selector. TODO: Rewrite and reformat all _config.yml instances in the main 4 repos. --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 863f32ca4..615c29e5e 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ navButtons: github: repository_url: "razvii22/bakery-wiki-theme" # (string) Specify branch rendered by gitpages allowing wiki tool buttons to work -git_branch: "master" +git_branch: "main" # (boolean) disable edit functionalities (edit/delete/add pages) disable_edit: false # (boolean) Enable/disable wiki page list in sidebar From db2fc2af41f92b925b54747a2dc7e701f8147d68 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Mon, 9 Jun 2025 12:23:07 +0300 Subject: [PATCH 26/60] Revert "Update _config.yml" This reverts commit 0345f33c2015a4140b4d1929e2badbdfaf4babd8. I am not smart. --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 615c29e5e..863f32ca4 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ navButtons: github: repository_url: "razvii22/bakery-wiki-theme" # (string) Specify branch rendered by gitpages allowing wiki tool buttons to work -git_branch: "main" +git_branch: "master" # (boolean) disable edit functionalities (edit/delete/add pages) disable_edit: false # (boolean) Enable/disable wiki page list in sidebar From 8c9acbc23f8f951499f0cef6d84c8352ccec4201 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Wed, 11 Jun 2025 15:56:10 +0300 Subject: [PATCH 27/60] Made header image embed urls relative --- _includes/bakery-wiki/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/bakery-wiki/head.html b/_includes/bakery-wiki/head.html index 80845a1ab..a473fe3dc 100644 --- a/_includes/bakery-wiki/head.html +++ b/_includes/bakery-wiki/head.html @@ -21,8 +21,8 @@ {% if page.image %} - - + + {% elsif site.logo_url %} From e64f284e9b0267416d79f2281e1bacc8f3e5b518 Mon Sep 17 00:00:00 2001 From: Squallog Date: Mon, 23 Jun 2025 16:49:45 +0100 Subject: [PATCH 28/60] font fixes --- assets/css/stylemain.css | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 6bb30f654..e21387372 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -1,5 +1,6 @@ @import url('https://fonts.googleapis.com/css2?family=B612+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap'); - +@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap'); :root { overscroll-behavior: none; --accent-light: #0044cc; /* fallback or default for light mode */ @@ -79,8 +80,9 @@ body { align-items: stretch; flex-wrap: wrap; margin:0; - font-family: "B612 Mono", monospace; - font-size: 1.3rem; + font-family: "Titillium Web"; + word-spacing: ; + font-size: 1rem; background-color: var(--Background); color: var(--Text); box-sizing: border-box; @@ -100,7 +102,7 @@ header { margin-bottom: auto; /* order: 1; */ padding: 5px; - border-bottom: 1px solid --Sidebar; + border-bottom: 1px solid var(--Sidebar); display: grid; grid-template-columns: 35% 30% 35%; box-shadow: 0 5px var(--Shadow); @@ -293,6 +295,10 @@ main { overscroll-behavior-y: contain; } +main > p { + margin-top: 2px; +} + main > header { position: sticky; top: 0; @@ -335,6 +341,8 @@ body > :not(header, menu, main) { h1{ margin: 0; font-family: "Exo 2"; + width: 100%; + border-bottom: 2px solid var(--Accent); } h2{ @@ -374,7 +382,7 @@ table, th, td { table { display: block; overflow-x: scroll; - font-family: "B612 Mono"; + font-family: "titilium web"; margin: 1.5rem 0 1.5rem 0; max-width: 100%; padding: 5px; @@ -399,7 +407,7 @@ th, caption { .info { width: fit-content; max-width: 320px; - font-family: "B612 Mono"; + font-family: "titilium web"; border-spacing: 0; background-color: var(--Blockquote); margin: 0 2px 0 2px; @@ -462,7 +470,9 @@ blockquote p { /* IMAGES */ img{ - margin-top: 1rem; + margin-top: 2px; + max-height: 100%; + max-width: 100%; } [lr="left"]{ float: left; @@ -486,6 +496,10 @@ img{ /* BASIC CODE BLOCK */ +code{ + font-family: "Space Mono"; +} + p code{ height: fit-content; width: fit-content; @@ -502,7 +516,7 @@ figure.highlight, figure.highlighter-rouge{ width: 100%; height: fit-content; display: flex; - align-items: top; + /* align-items: top; */ justify-content: right; position: relative; margin: 10px auto 10px auto; @@ -566,7 +580,7 @@ hr { color: var(--Sidebar); border-radius: 2px; border-top: var(--Sidebar) solid 2px; - border-bottom: var(--Accent) solid 1px; + border-bottom:1px solid var(--Highlight2); } a { From 1c9dc9be202cf7103bd38852c91067cd39cfdde0 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 26 Jun 2025 12:01:40 +0300 Subject: [PATCH 29/60] Re-enabled and added functionality. Re-enabled external links(only the html side) Re-enabled red links Added edit message on 404 page. --- _includes/bakery-wiki/head.html | 4 +++- _layouts/bakery-theme-404.html | 10 ++++++++++ _layouts/bakery-theme-default.html | 12 ++++++++++++ assets/js/checkLinks.js | 2 +- 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/_includes/bakery-wiki/head.html b/_includes/bakery-wiki/head.html index a473fe3dc..0b97f2f5a 100644 --- a/_includes/bakery-wiki/head.html +++ b/_includes/bakery-wiki/head.html @@ -27,7 +27,9 @@ {% endif %} - + + diff --git a/_layouts/bakery-theme-404.html b/_layouts/bakery-theme-404.html index e33f720c4..5f26c7336 100644 --- a/_layouts/bakery-theme-404.html +++ b/_layouts/bakery-theme-404.html @@ -10,6 +10,16 @@

      404

      that isn't real

      you must be hallucinating

      + {% if site.disable_edit != true %} + Create it? + + {% endif %} diff --git a/_layouts/bakery-theme-default.html b/_layouts/bakery-theme-default.html index 9e4a0910e..303a6b101 100644 --- a/_layouts/bakery-theme-default.html +++ b/_layouts/bakery-theme-default.html @@ -30,6 +30,18 @@ {% endif %}
      {{ content }} + {% assign items = site.html_pages %} + {% for page in items %} + {% assign url = page.url | relative_url %} + {% assign urls = urls | append: url | append: "," %} + {% endfor %}
      + + \ No newline at end of file diff --git a/assets/js/checkLinks.js b/assets/js/checkLinks.js index bd41fb6d7..90b8f1730 100644 --- a/assets/js/checkLinks.js +++ b/assets/js/checkLinks.js @@ -7,7 +7,7 @@ $('a').each(function () { // avoid red link for external urls if (this.hostname != window.location.hostname) { - if ($(this).parents('#git-wiki-content').length > 0) + if ($(this).parents('main').length > 0) $(this).addClass("external-link"); return; } From dce76f971453c521ca33872ccb02cbdcdfd27ddb Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 26 Jun 2025 12:13:51 +0300 Subject: [PATCH 30/60] Made the index page actually useful --- _config.yml | 2 +- index.md | 102 ++++++++++++++++++++++++++++++++++++++++-- wiki/testpage.md | 113 ----------------------------------------------- 3 files changed, 100 insertions(+), 117 deletions(-) delete mode 100644 wiki/testpage.md diff --git a/_config.yml b/_config.yml index 863f32ca4..4df08f0e8 100644 --- a/_config.yml +++ b/_config.yml @@ -8,7 +8,7 @@ description: 'The "Official" theme repository for the Bakery wiki' # (mapping) Left side navigation buttons, leave empty to remove them navButtons: Home: "/" - Test Page: "/wiki/testpage.html" + Example page: "/wiki/jeremy.html" # HACK Github stuff, using jekyll-github-metadata seems wasteful when we're only using a few variables. # (string) repo url: user/repo github: diff --git a/index.md b/index.md index 4cfd79ed2..3f7564210 100644 --- a/index.md +++ b/index.md @@ -1,5 +1,101 @@ -# The Bakery +{% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" table='uwu|What|Youtube|Streams,None|Socials,None|uwu,owo,uvu|check,this,out!,neat.|Even image alts work!' %} -*Still unsure what this group should be called.* +[This is a link](jeremy.md) +# Text blocks +## Quote blocks +### Markdown +> This is a simple one line quote written in markdown ---- +> This is a 2 line quote +> written in markdown without any newlines. + +> This is a 2 line quote with a +> 2 space newline, written in markdown + +{: blame="An important person"} +> This is a one line quote written in markdown with a blame! + +{: blame="A confusing person" } +> This is a 2 line quote written in markdown +> with a blame. + +{: gradient=""} +> I have a gradient! + +{: gradient="" blame="A gradient person"} +> I have a gradient and a blame! + +{: gradient="" blame="A contemplating person"} +> I am a very long quote. +> Or rather, I am not that long. +> I just have a lot of short lines. +> Does that still make me a long quote? +> I mean it must, I have been talking for a while. +> Although this shouldn't make a difference. +> I could be talking for quite a while, and this should look just right. + +### HTML +
      This is a single line quote written in HTML
      +
      This is a multi line quote
      Written in html
      +
      This is a blamed quote!
      +
      This is a blamed gradient quote!
      +
      + This is a really long HTML quote.
      + Or rather, it is a HTML tag in markdown!
      + does that make it markdown? html?
      + technically markdown considers it to just be text.
      + it is only browsers that think the text can be interpreted as HTML.
      + technically, to anything else, this is no different from just text.
      + I guess this can say many things about perspective or...
      + maybe about how information can hide meaning.
      + But I am bad at that sort of stuff.
      + Adding br tags in these is getting infuriating.
      +
      + +## Code blocks +### Markdown +#### Simple code highlight +`meow meow meow meow meow meow` + +#### Simple code fence, with no information. +``` +while true do + print("uwu") +end +``` + +#### Code block with language definition. +```lua +while true do + print("uwu") +end +``` + +#### Code block with language definition and "data-lang" injection. +{: data-lang="lua"} +```lua +while true do + print("uwu") +end +``` +### Liquid +#### Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes. +{% highlight lua %} +while true do + print("uwu") +end +{% endhighlight %} + +#### Code block using the highlight tag with line numbers +{% highlight lua linenos %} +while true do + print("uwu") +end +{% endhighlight %} + +# Tables + +| Header1 | Header2 | Header3 | +| - | +| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | +| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | \ No newline at end of file diff --git a/wiki/testpage.md b/wiki/testpage.md deleted file mode 100644 index e3e67c9c4..000000000 --- a/wiki/testpage.md +++ /dev/null @@ -1,113 +0,0 @@ -{% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" table='uwu|What|Youtube|Streams,None|Socials,None|uwu,owo,uvu|check,this,out!,neat.|Even image alts work!' %} - -[This is a link](example) -# Test header1 ---- -{{ site.github.repository_url }}/edit/{{site.git_branch | escape}}/{{ site.site_root | default: '/' }}{{page.path | escape}} -This is a test page showing every single component, element or piece of formatting in one place. - -# Text blocks ---- -## Quote blocks ---- -### Markdown ---- -> This is a simple one line quote written in markdown - -> This is a 2 line quote -> written in markdown without any newlines. - -> This is a 2 line quote with a -> 2 space newline, written in markdown - -{: blame="An important person"} -> This is a one line quote written in markdown with a blame! - -{: blame="A confusing person" } -> This is a 2 line quote written in markdown -> with a blame. - -{: gradient=""} -> I have a gradient! - -{: gradient="" blame="A gradient person"} -> I have a gradient and a blame! - -{: gradient="" blame="A contemplating person"} -> I am a very long quote. -> Or rather, I am not that long. -> I just have a lot of short lines. -> Does that still make me a long quote? -> I mean it must, I have been talking for a while. -> Although this shouldn't make a difference. -> I could be talking for quite a while, and this should look just right. - -### HTML ---- -
      This is a single line quote written in HTML
      -
      This is a multi line quote
      Written in html
      -
      This is a blamed quote!
      -
      This is a blamed gradient quote!
      -
      - This is a really long HTML quote.
      - Or rather, it is a HTML tag in markdown!
      - does that make it markdown? html?
      - technically markdown considers it to just be text.
      - it is only browsers that think the text can be interpreted as HTML.
      - technically, to anything else, this is no different from just text.
      - I guess this can say many things about perspective or...
      - maybe about how information can hide meaning.
      - But I am bad at that sort of stuff.
      - Adding br tags in these is getting infuriating.
      -
      - -## Code blocks ---- -### Markdown ---- -#### Simple code highlight -`meow meow meow meow meow meow` - -#### Simple code fence, with no information. -``` -while true do - print("uwu") -end -``` - -#### Code block with language definition. -```lua -while true do - print("uwu") -end -``` - -#### Code block with language definition and "data-lang" injection. -{: data-lang="lua"} -```lua -while true do - print("uwu") -end -``` -### Liquid ---- -#### Code block using the highlight tag, note that this REQUIRES a language to be specified, otherwise Jekyll literally crashes. -{% highlight lua %} -while true do - print("uwu") -end -{% endhighlight %} - -#### Code block using the highlight tag with line numbers -{% highlight lua linenos %} -while true do - print("uwu") -end -{% endhighlight %} - -# Tables - -| Header1 | Header2 | Header3 | -| - | -| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | -| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | \ No newline at end of file From 1235f2c3590806ba464e400ee0c847b14dce96ef Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 26 Jun 2025 15:57:25 +0300 Subject: [PATCH 31/60] Reformatted CSS. What the hell were you on jeremy? --- assets/css/stylemain.css | 217 ++++++++++++++++++++++++--------------- 1 file changed, 137 insertions(+), 80 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index e21387372..ad9178f8d 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -1,16 +1,18 @@ @import url('https://fonts.googleapis.com/css2?family=B612+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap'); + :root { overscroll-behavior: none; - --accent-light: #0044cc; /* fallback or default for light mode */ - --accent-dark: #6699ff; /* fallback or default for dark mode */ + --accent-light: #0044cc; + /* fallback or default for light mode */ + --accent-dark: #6699ff; + /* fallback or default for dark mode */ --SBarWidth: 320px; --TBarHeight: 54px; --A1: rgb(232, 157, 46); --A2: rgb(232, 192, 46); - /* ============================================================================================== */ - /* DARK MODE */ + /*#region Dark mode */ --LDOne: #FFFFFF; --LDTwo: #000000; --Sidebar: #101010; @@ -34,6 +36,7 @@ --SbarBorder: rgb(32, 32, 32); --Shadow: rgba(0, 0, 0, 0.226); --CodeBlock: rgb(7, 8, 46); + /*#endregion Dark mode */ } * { @@ -41,9 +44,8 @@ scroll-behavior: smooth; } +/*#region Light mode*/ [data-theme="light"] { - /* ============================================================================================= */ - /* LIGHT MODE */ --Accent: var(--accent-light); --Accent2: var(--accent-dark); --LDOne: #000000; @@ -62,16 +64,18 @@ --Background: rgb(236, 236, 236); --Text: rgb(0, 0, 0); --NavButton: rgb(236, 236, 236); - --CodeBorder:var(--Text); + --CodeBorder: var(--Text); --Highlight: #aeaeae; --Highlight2: #ece9e9; --Highlight3: var(--Highlight2); --SbarBorder: rgb(236, 236, 236); --Shadow: rgba(184, 184, 184, 0.094); --CodeBlock: rgb(40, 45, 116); - /* ============================================================================================= */ } +/*#endregion Light mode*/ + +/*#region Body*/ body { --Accent: var(--accent-dark); --Accent2: var(--accent-light); @@ -79,17 +83,18 @@ body { flex-flow: row; align-items: stretch; flex-wrap: wrap; - margin:0; + margin: 0; font-family: "Titillium Web"; - word-spacing: ; + word-spacing: normal; font-size: 1rem; background-color: var(--Background); color: var(--Text); box-sizing: border-box; } -/* ================================================================================================== */ -/* NAVIGATION */ +/*#endregion Body*/ + +/*#region Navigation*/ header { width: 100%; @@ -109,11 +114,13 @@ header { align-items: center; } -header > nav , header > span { +header>nav, +header>span { display: inline-flex; } -header button , search { +header button, +search { border: none; height: fit-content; text-overflow: clip; @@ -125,45 +132,50 @@ header button , search { font-size: 1.3rem; } -header > nav:first-of-type { +header>nav:first-of-type { justify-content: left; } -header > nav:last-of-type { + +header>nav:last-of-type { justify-content: right; } -header > span { +header>span { justify-content: center; align-items: center; overflow: hidden; } -header > nav > button { +header>nav>button { background-color: var(--TopBarButtons); - + } -button:hover , search:hover { +button:hover, +search:hover { border-left: 5px solid var(--Accent2); } + button:active { border-left: 5px solid var(--TopBar); } -/* SEARCH BAR */ +/*#endregion Navigation*/ +/*#region Search bar*/ search { background-color: var(--SearchBar); } input { font-size: 1.3rem; - border:none; + border: none; background-color: transparent; color: var(--Text); } -input:focus, textarea { +input:focus, +textarea { outline: none !important; color: var(--Accent); } @@ -193,6 +205,9 @@ input:focus, textarea { background-color: var(--ResultsDark); } +/*#endregion Search bar*/ + +/*#region LightDark*/ button.LightDark { height: 30px; width: 30px; @@ -207,8 +222,9 @@ button.LightDark { background-image: linear-gradient(to right, var(--LDTwo) 0%, var(--LDTwo) 50%, var(--LDOne) 50%, var(--LDOne) 100%); } -/* ================================================================================================= */ -/* SIDEBAR */ +/*#endregion LightDark*/ + +/*#region Sidebar*/ menu { height: calc(100vh - var(--TBarHeight)); @@ -229,7 +245,7 @@ menu { scrollbar-width: none; } -menu > ul { +menu>ul { padding-top: 10px; min-height: 50%; overflow-y: scroll; @@ -240,11 +256,11 @@ menu > ul { padding-right: 5px; } -menu > ul > li { +menu>ul>li { height: fit-content; } -menu > *:not(ul) { +menu>*:not(ul) { margin: 0 auto 0 auto; } @@ -255,9 +271,11 @@ menu::-webkit-scrollbar { menu li { list-style-type: square; } + menu li::marker { color: var(--A1); } + menu li:nth-of-type(2n) a { color: var(--A2); } @@ -273,6 +291,10 @@ menu li ul { list-style-type: none; } +/*#endregion Sidebar*/ + +/*#region Footer*/ + footer { position: sticky; bottom: 0; @@ -281,8 +303,9 @@ footer { width: 100%; } -/* ================================================================================================== */ -/* MAIN */ +/*#endregion Footer*/ + +/*#region Main*/ main { width: calc(100vw - var(--SBarWidth) - 10px); @@ -295,25 +318,25 @@ main { overscroll-behavior-y: contain; } -main > p { +main>p { margin-top: 2px; } -main > header { +main>header { position: sticky; top: 0; } -/* ================================================================================================== */ +/*#endregion Main*/ -body > :not(header, menu, main) { +body> :not(header, menu, main) { order: 2; max-width: calc(100vw - (2 * var(--SBarWidth)) - 10px); margin: 0 calc(var(--SBarWidth) + 5px) 0 calc(var(--SBarWidth) + 5px); padding: 5px; } -/* SCROLLBAR */ +/*#region Scrollbar*/ ::-webkit-scrollbar { z-index: 1; @@ -335,17 +358,18 @@ body > :not(header, menu, main) { background-color: var(--Text); } -/* ================================================================================================== */ -/* HEADINGS */ +/*#endregion Sidebar*/ + +/*#region Headings*/ -h1{ +h1 { margin: 0; font-family: "Exo 2"; width: 100%; border-bottom: 2px solid var(--Accent); } -h2{ +h2 { margin: 0; font-family: "Exo 2"; } @@ -371,14 +395,18 @@ h6 { font-family: "Exo 2"; } -/* ========================================================================================================== */ -/* TABLES */ +/*#endregion Headings*/ -table, th, td { +/*#region Tables*/ + +table, +th, +td { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } + table { display: block; overflow-x: scroll; @@ -387,6 +415,7 @@ table { max-width: 100%; padding: 5px; } + td { background-color: var(--Blockquote); padding: 10px; @@ -395,14 +424,18 @@ td { border-right: 3px solid var(--Accent); text-align: center; } -th, caption { + +th, +caption { font-weight: 700; background-color: var(--BlockquoteD); padding: 0.5rem 20px 0.5rem 20px; text-align: center; } -/* INFO TABLES */ +/*#endregion Tables*/ + +/*#region Info tables*/ .info { width: fit-content; @@ -431,8 +464,9 @@ th, caption { object-fit: scale-down; } -/* ================================================================================================== */ -/* BLOCKQUOTES */ +/*#endregion Info tables*/ + +/*#region Blockquotes*/ blockquote { background-color: var(--Blockquote); @@ -464,26 +498,28 @@ blockquote p { background-image: linear-gradient(to right, var(--Gradient), transparent); } -/* ================================================================================================= */ - +/*#endregion Blockquotes*/ -/* IMAGES */ +/*#region Images*/ -img{ +img { margin-top: 2px; max-height: 100%; max-width: 100%; } -[lr="left"]{ + +[lr="left"] { float: left; margin: 5px; } -[lr="right"]{ + +[lr="right"] { float: right; margin: 5px; margin-left: 19px; } -[lr]::after{ + +[lr]::after { height: 0; content: ''; width: 100%; @@ -491,16 +527,17 @@ img{ display: block; } -/* ================================================================================================= */ -/* CODE */ +/*#endregion Images*/ -/* BASIC CODE BLOCK */ +/*#region Code Blocks*/ -code{ +/*#region Basic*/ + +code { font-family: "Space Mono"; } -p code{ +p code { height: fit-content; width: fit-content; color: var(--Highlight3); @@ -510,9 +547,12 @@ p code{ font-size: 0.8em; } -/* HIGHLIGHTED CODE BLOCKS */ +/*#endregion Basic*/ + +/*#region Highlighted*/ -figure.highlight, figure.highlighter-rouge{ +figure.highlight, +figure.highlighter-rouge { width: 100%; height: fit-content; display: flex; @@ -528,18 +568,23 @@ figure.highlight, figure.highlighter-rouge{ color: var(--Highlight2); font-size: 0.9rem; } -div.highlight{ + +div.highlight { width: 100%; height: fit-content; overflow-x: scroll; padding: 0 0 0 0; } -.highlight pre{ + +.highlight pre { margin: 5px 0 5px 0; } -/* LANGUAGE DECLARATIONS */ -.highlight figcaption, .highlighter-rouge figcaption{ +/*#endregion Highlighted*/ + +/*#region Language declarations */ +.highlight figcaption, +.highlighter-rouge figcaption { position: absolute; right: 0; top: 0; @@ -550,15 +595,17 @@ div.highlight{ color: var(--Highlight); } -/* CODE BLCOKS WITH LINE NUMBERING */ +/*#endregion Language declarations */ -table.rouge-table{ +/*#region Code blocks with line numbering */ +table.rouge-table { width: 100%; border: none; background-color: transparent; margin: 0; padding: 0; } + .rouge-table td { border: none; background-color: transparent; @@ -573,14 +620,16 @@ td.gutter { border-right: 2px solid var(--Highlight); } -/* ================================================================================================== */ -/* MISC */ +/*#endregion Code blocks with line numbering*/ +/*#endregion Code blocks*/ + +/*#region Misc*/ hr { color: var(--Sidebar); border-radius: 2px; border-top: var(--Sidebar) solid 2px; - border-bottom:1px solid var(--Highlight2); + border-bottom: 1px solid var(--Highlight2); } a { @@ -592,9 +641,9 @@ strong { color: var(--Accent); } -/* =================================================================================================== */ +/*#endregion Misc*/ -/* MOBILE DISPLAY */ +/*#region Mobile display*/ @media(max-width: 800px) { @@ -620,12 +669,13 @@ strong { display: flex; justify-content: center; } - header > nav:last-of-type { + + header>nav:last-of-type { display: none; - + } - header > nav:first-of-type { + header>nav:first-of-type { position: fixed; bottom: 0; display: flex; @@ -636,7 +686,8 @@ strong { background-color: var(--Sidebar); border-top: 2px solid var(--Background); } - nav > div { + + nav>div { width: 20%; text-align: center; justify-content: center; @@ -644,23 +695,29 @@ strong { border-left: none; border-bottom: 5px solid var(--Accent); } - .center-buttons{ + + .center-buttons { width: 100%; } - input{ + + input { width: 100%; font-size: 2rem; } - [lr]{ + + [lr] { float: none; clear: both; } + table { clear: both; width: 100%; } - .info{ + .info { width: fit-content; } -} \ No newline at end of file +} + +/*#endregion Mobile display*/ \ No newline at end of file From 70b01cdabe4988ae595dc6b7d2cafa09d3728648 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 26 Jun 2025 15:58:19 +0300 Subject: [PATCH 32/60] Added code snippets for css comments. Jeremy please use them. --- .vscode/regions.code-snippets | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .vscode/regions.code-snippets diff --git a/.vscode/regions.code-snippets b/.vscode/regions.code-snippets new file mode 100644 index 000000000..8b82af21a --- /dev/null +++ b/.vscode/regions.code-snippets @@ -0,0 +1,35 @@ +{ + // Place your bakery-wiki-theme workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and + // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope + // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is + // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. + // Placeholders with the same ids are connected. + // Example: + "Css region start": { + "scope": "css", + "prefix": "regstart", + "body": [ + "/*#region $1*/$0" + ], + "description": "Starts CSS region comment" + }, + "Css region end": { + "scope": "css", + "prefix": "regend", + "body": [ + "/*#endregion $1*/$0" + ], + "description": "Ends CSS region comment" + }, + "Css region": { + "scope": "css", + "prefix": "region", + "body": [ + "/*#region $1 */", + "$0", + "/*#endregion $1*/$0" + ], + "description": "Ends CSS region comment" + } +} \ No newline at end of file From 19d3eae099fb35b9bd53f01bac804b9c8bbe7f47 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 26 Jun 2025 16:08:32 +0300 Subject: [PATCH 33/60] Added links section to the index page. --- index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/index.md b/index.md index 3f7564210..a84ab556b 100644 --- a/index.md +++ b/index.md @@ -1,7 +1,19 @@ {% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" table='uwu|What|Youtube|Streams,None|Socials,None|uwu,owo,uvu|check,this,out!,neat.|Even image alts work!' %} [This is a link](jeremy.md) + +[meow](https://www.youtube.com/watch?v=kjCdGWx9dwU) # Text blocks +## Links + +[This is a link]() + +[This is an external link](https://www.youtube.com/watch?v=5ICNRoXpQTw) + +[This is a local link](/wiki/jeremy.md) + +[This is a missing local link](/wiki/meow.md) + ## Quote blocks ### Markdown > This is a simple one line quote written in markdown From 1c0882cf50abeb0dcd31cfd72de0faaac418eca2 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 26 Jun 2025 16:08:57 +0300 Subject: [PATCH 34/60] Readded external link marker --- assets/css/stylemain.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index ad9178f8d..ce6083244 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -501,7 +501,6 @@ blockquote p { /*#endregion Blockquotes*/ /*#region Images*/ - img { margin-top: 2px; max-height: 100%; @@ -529,6 +528,17 @@ img { /*#endregion Images*/ +/*#region Links */ +.external-link { + background-position: center right; + background-repeat: no-repeat; + background-image: url("../images/external-link-ltr-icon.png"); + background-image: linear-gradient(transparent, transparent), url("../images/external.svg"); + padding-right: 13px; +} + +/*#endregion Links*/ + /*#region Code Blocks*/ /*#region Basic*/ From 0a1858b150edccdd25ec43f8cd12e1c9d0e13e1c Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 26 Jun 2025 16:11:02 +0300 Subject: [PATCH 35/60] Oops. --- index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.md b/index.md index a84ab556b..2092e01fb 100644 --- a/index.md +++ b/index.md @@ -1,8 +1,4 @@ {% include bakery-wiki/components/charCard.html title="UwU" imageURL="https://yt3.ggpht.com/IXnjZR-4D2JX8HjIwZloE088y2taeis8YFpR-NFaP2N_6P7z4JI3cc6SEg-N-iOGAeyP3zanFw=s600-c-k-c0x00ffffff-no-rj-rp-mo" table='uwu|What|Youtube|Streams,None|Socials,None|uwu,owo,uvu|check,this,out!,neat.|Even image alts work!' %} - -[This is a link](jeremy.md) - -[meow](https://www.youtube.com/watch?v=kjCdGWx9dwU) # Text blocks ## Links From 69fe1ab95de82c9667e0355e01264f3ee45c1264 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Mon, 30 Jun 2025 18:57:27 +0300 Subject: [PATCH 36/60] Added favicon functionality. Also added a favicon to the theme site. --- _includes/bakery-wiki/head.html | 1 + assets/favicon.png | Bin 0 -> 530 bytes 2 files changed, 1 insertion(+) create mode 100644 assets/favicon.png diff --git a/_includes/bakery-wiki/head.html b/_includes/bakery-wiki/head.html index 0b97f2f5a..3721c0344 100644 --- a/_includes/bakery-wiki/head.html +++ b/_includes/bakery-wiki/head.html @@ -2,6 +2,7 @@ + {% assign pagetitle = page.name | replace: ".md", "" %} {% assign title = pagetitle | append: " - " | append: site.title | strip_html %} diff --git a/assets/favicon.png b/assets/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..d6e15f7890d888a260577bcbbb9a0a2e9ecf66de GIT binary patch literal 530 zcmeAS@N?(olHy`uVBq!ia0vp^3qY8K8Aw(>tdav#3dtTpz6=aiY77hwEes65fIm z|9>A(*DjzmV@Z%-FoVOh8)+a;lDE4HN87!rRX`4ViKnkC`%5-C9x-OWNgD5gLWezF z978hhy}faex7mQlEio*CHS7gfY@_Hdrq|&g7w%884DzU6`S)ILvwh)4j+}6#9FF9uiXGDdi!+|Lao-JCY>u`W8VadJC z42++f!cV&`k*mEdrjSq+kiKiZj>CaH3sScyRp0-yj7MODmd4jN(OZG)8uDdq@|$i( zB**~0qgvt`QIe8al4_M)lnSI6j0}uSbq&mPjSWH!jjW7}tPG5_4GgRd4ED3V1%^A4 zhTQy=%(P0}8qP(BegtaJfZI@#nVVW%l9*e7MUOGW5_`+~SwKAup00i_>zopr0Ch&T A1ONa4 literal 0 HcmV?d00001 From 58aee8186d17a81b015f370983bcf040c8fd448c Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Mon, 30 Jun 2025 19:12:42 +0300 Subject: [PATCH 37/60] Added twitter card functionality to embeds. use `embed: card` to render a page with a twitter card embed. --- _includes/bakery-wiki/head.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_includes/bakery-wiki/head.html b/_includes/bakery-wiki/head.html index 3721c0344..bc9946d38 100644 --- a/_includes/bakery-wiki/head.html +++ b/_includes/bakery-wiki/head.html @@ -28,6 +28,9 @@ {% endif %} + {% if page.embed == "card" %} + + {% endif %} From 0d5871c16773fe2c1acdbfcdf82279fc2c6bea37 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Tue, 1 Jul 2025 14:40:16 +0300 Subject: [PATCH 38/60] Replaced every liquid tag with whitespace controlled ones --- .../bakery-wiki/components/charCard.html | 30 ++-- _includes/bakery-wiki/head.html | 33 ++-- _includes/bakery-wiki/navBar.html | 6 +- _includes/bakery-wiki/pageActions.html | 4 +- _includes/bakery-wiki/toc/toc-lib.html | 156 +++++++++--------- _layouts/bakery-theme-default.html | 38 ++--- 6 files changed, 133 insertions(+), 134 deletions(-) diff --git a/_includes/bakery-wiki/components/charCard.html b/_includes/bakery-wiki/components/charCard.html index c170542e0..d0a307aca 100644 --- a/_includes/bakery-wiki/components/charCard.html +++ b/_includes/bakery-wiki/components/charCard.html @@ -1,8 +1,8 @@ -{% assign title = include.title | default: "Waiting." %} -{% assign lr = include.lr | default: "right" %} -{% assign imageURL = include.imageURL | default: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTfpbNRYOrK9HJpurmGakWEIv_zeu25-fvBug&s" %} -{% assign table = include.table | default:'' | split: "|" %} +{%- assign title = include.title | default: "Waiting." -%} +{%- assign lr = include.lr | default: "right" -%} +{%- assign imageURL = include.imageURL | default: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTfpbNRYOrK9HJpurmGakWEIv_zeu25-fvBug&s" -%} +{%- assign table = include.table | default:'' | split: "|" -%} @@ -10,19 +10,19 @@ - {% for row in table %} - {% assign column = row | split: "," %} + {%- for row in table -%} + {%- assign column = row | split: "," -%} - {% assign colspan = 100 | divided_by: column.size %} - {% if column.size > 1 %} - {% for item in column %} + {%- assign colspan = 100 | divided_by: column.size -%} + {%- if column.size > 1 -%} + {%- for item in column -%} - {% endfor %} - {% else %} - {% for item in column %} + {%- endfor -%} + {%- else -%} + {%- for item in column -%} - {% endfor %} - {%endif%} + {%- endfor -%} + {%endif-%} - {% endfor %} + {%- endfor -%}
      {{title}}
      {{item}}{{item}}
      diff --git a/_includes/bakery-wiki/head.html b/_includes/bakery-wiki/head.html index bc9946d38..734958509 100644 --- a/_includes/bakery-wiki/head.html +++ b/_includes/bakery-wiki/head.html @@ -2,37 +2,36 @@ + - - {% assign pagetitle = page.name | replace: ".md", "" %} - {% assign title = pagetitle | append: " - " | append: site.title | strip_html %} + + {%- assign title = page.name | replace: ".md", "" | append: " - " | append: site.title | strip_html -%} + {{ title | strip_html | strip_newlines | truncate: 160 }} - + {%- endif -%}"> - - + + - {% if page.image %} + {%- if page.image -%} - {% elsif site.logo_url %} + {%- elsif site.logo_url -%} - {% endif %} - {% if page.embed == "card" %} + {%- endif -%} + {%- if page.embed == "card" -%} - {% endif %} - + {%- endif -%} + + diff --git a/_includes/bakery-wiki/navBar.html b/_includes/bakery-wiki/navBar.html index a655fda97..48614413f 100644 --- a/_includes/bakery-wiki/navBar.html +++ b/_includes/bakery-wiki/navBar.html @@ -1,13 +1,13 @@
      @@ -17,7 +17,7 @@ - {% include bakery-wiki/pageActions.html %} + {%- include bakery-wiki/pageActions.html -%}
      diff --git a/_includes/bakery-wiki/pageActions.html b/_includes/bakery-wiki/pageActions.html index 2bbf5e1c6..fa0c344a2 100644 --- a/_includes/bakery-wiki/pageActions.html +++ b/_includes/bakery-wiki/pageActions.html @@ -1,6 +1,6 @@ -{% if site.disable_edit != true %} +{%- if site.disable_edit != true -%} -{% endif %} +{%- endif -%} diff --git a/_includes/bakery-wiki/toc/toc-lib.html b/_includes/bakery-wiki/toc/toc-lib.html index 972ddd948..673923e45 100644 --- a/_includes/bakery-wiki/toc/toc-lib.html +++ b/_includes/bakery-wiki/toc/toc-lib.html @@ -1,5 +1,5 @@ -{% capture tocWorkspace %} - {% comment %} +{%- capture tocWorkspace -%} + {%- comment -%} Modified from the original git-wiki-theme toc-lib, adding a
      tag after every entry. line 93. Version 1.0.9 https://github.com/allejo/jekyll-toc @@ -7,7 +7,7 @@ "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe Usage: - {% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %} + {%- include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 -%} Parameters: * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll @@ -28,80 +28,80 @@ Output: An ordered or unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it - {% endcomment %} - - {% capture my_toc %}{% endcapture %} - {% assign title = include.title | default: "Contents:" %} - {% assign minHeaders = include.minHeaders | default: 1 %} - {% assign orderedList = include.ordered | default: false %} - {% assign minHeader = include.h_min | default: 1 %} - {% assign maxHeader = include.h_max | default: 6 %} - {% assign nodes = include.html | split: ' maxHeader %} - {% continue %} - {% endif %} - - {% if firstHeader %} - {% assign firstHeader = false %} - {% assign minHeader = headerLevel %} - {% endif %} - - {% assign indentAmount = headerLevel | minus: minHeader %} - {% assign _workspace = node | split: '' | first }}>{% endcapture %} - {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %} - - {% assign space = '' %} - {% for i in (1..indentAmount) %} - {% assign space = space | prepend: ' ' %} - {% endfor %} - - {% if include.item_class and include.item_class != blank %} - {% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %} - {% endif %} - - {% assign hCount = hCount | plus: 1 %} - - {% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %} - {% capture my_toc %}{{ my_toc }} -{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }})
      {% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %} - {% endfor %} - {% if include.class and include.item_class != blank %} - {% capture my_toc %}{:.{{ include.class }}} -{{ my_toc | lstrip }}{% endcapture %} - {% endif %} - {% if include.id %} - {% capture my_toc %}{: #{{ include.id }}} -{{ my_toc | lstrip }}{% endcapture %} - {% endif %} -{% endcapture %}{% assign tocWorkspace = '' %} -{% if hCount >= minHeaders %} + {%- endcomment -%} + + {%- capture my_toc -%}{%- endcapture -%} + {%- assign title = include.title | default: "Contents:" -%} + {%- assign minHeaders = include.minHeaders | default: 1 -%} + {%- assign orderedList = include.ordered | default: false -%} + {%- assign minHeader = include.h_min | default: 1 -%} + {%- assign maxHeader = include.h_max | default: 6 -%} + {%- assign nodes = include.html | split: ' maxHeader -%} + {%- continue -%} + {%- endif -%} + + {%- if firstHeader -%} + {%- assign firstHeader = false -%} + {%- assign minHeader = headerLevel -%} + {%- endif -%} + + {%- assign indentAmount = headerLevel | minus: minHeader -%} + {%- assign _workspace = node | split: '' | first }}>{%- endcapture -%} + {%- assign header = _workspace[0] | replace: _hAttrToStrip, '' -%} + + {%- assign space = '' -%} + {%- for i in (1..indentAmount) -%} + {%- assign space = space | prepend: ' ' -%} + {%- endfor -%} + + {%- if include.item_class and include.item_class != blank -%} + {%- capture listItemClass -%}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{%- endcapture -%} + {%- endif -%} + + {%- assign hCount = hCount | plus: 1 -%} + + {%- capture heading_body -%}{%- if include.sanitize -%}{{ header | strip_html }}{%- else -%}{{ header }}{%- endif -%}{%- endcapture -%} + {%- capture my_toc -%}{{ my_toc }} +{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({%- if include.baseurl -%}{{ include.baseurl }}{%- endif -%}#{{ html_id }})
      {%- if include.anchor_class -%}{:.{{ include.anchor_class }}}{%- endif -%}{%- endcapture -%} + {%- endfor -%} + {%- if include.class and include.item_class != blank -%} + {%- capture my_toc -%}{:.{{ include.class }}} +{{ my_toc | lstrip }}{%- endcapture -%} + {%- endif -%} + {%- if include.id -%} + {%- capture my_toc -%}{: #{{ include.id }}} +{{ my_toc | lstrip }}{%- endcapture -%} + {%- endif -%} +{%- endcapture -%}{%- assign tocWorkspace = '' -%} +{%- if hCount >= minHeaders -%} {{ title }} {{ my_toc | markdownify | strip }} -{% endif %} \ No newline at end of file +{%- endif -%} \ No newline at end of file diff --git a/_layouts/bakery-theme-default.html b/_layouts/bakery-theme-default.html index 303a6b101..00de99904 100644 --- a/_layouts/bakery-theme-default.html +++ b/_layouts/bakery-theme-default.html @@ -1,40 +1,40 @@ - {% include bakery-wiki/head.html %} - {% comment %} This injects the frontmatter accent colors into the body css, overwriting the initial variables imported alongside the header at line 3 + {%- include bakery-wiki/head.html -%} + {%- comment -%} This injects the frontmatter accent colors into the body css, overwriting the initial variables imported alongside the header at line 3 This does NOT need default values, the default should fallback to the stylesheets. - The if statements avoid asigning empty variables, which chromium browsers do not like, at all, chromium sucks. {% endcomment %} - {% comment %}============================================================================================== {% endcomment %} - {% if page.accent-light %} + The if statements avoid asigning empty variables, which chromium browsers do not like, at all, chromium sucks. {%- endcomment -%} + {%- comment -%}============================================================================================== {%- endcomment -%} + {%- if page.accent-light -%} - {% endif %} - {% if page.accent-dark %} + {%- endif -%} + {%- if page.accent-dark -%} - {% endif %} - {% comment %}============================================================================================== {% endcomment %} + {%- endif -%} + {%- comment -%}============================================================================================== {% endcomment -%} - {% include bakery-wiki/navBar.html %} - {% comment %} Add the sidebar unless the page has it disabled {% endcomment %} - {% if page.sidebar != false %} + {%- include bakery-wiki/navBar.html -%} + {%- comment -%} Add the sidebar unless the page has it disabled {%- endcomment -%} + {%- if page.sidebar != false -%} - {% include bakery-wiki/toc/toc-lib.html title=" " minHeaders=1 html=content sanitize=true class="SideBar" id="git-wiki-toc" h_min=1 h_max=3 %} + {%- include bakery-wiki/toc/toc-lib.html title=" " minHeaders=1 html=content sanitize=true class="SideBar" id="git-wiki-toc" h_min=1 h_max=3 -%} - {% endif %} + {%- endif -%}
      {{ content }} - {% assign items = site.html_pages %} - {% for page in items %} - {% assign url = page.url | relative_url %} - {% assign urls = urls | append: url | append: "," %} - {% endfor %} + {%- assign items = site.html_pages -%} + {%- for page in items -%} + {%- assign url = page.url | relative_url -%} + {%- assign urls = urls | append: url | append: "," -%} + {%- endfor -%}
      + + + + + + + +
      + + + + + + + +
      + + + + + +
      +

      Games

      + + +

      Minecraft

      +
      + + +

      Minecraft

      +
      + + +

      Minecraft

      +
      + + +

      Minecraft

      +
      + + +

      Minecraft

      +
      + + +

      Chess

      +
      +
      + + + + + \ No newline at end of file diff --git a/wiki/indexPageTemplate.html b/wiki/indexPageTemplate.html new file mode 100644 index 000000000..37b4fdb22 --- /dev/null +++ b/wiki/indexPageTemplate.html @@ -0,0 +1,110 @@ + + + + + + + + + + minecraft - The Bakery wiki + + + + + + + + + + + + + + +
      + + + + + + + +
      + + + + + +
      +

      Games

      + + +

      Minecraft

      +
      + + +

      Chess

      +
      +
      + + + + + \ No newline at end of file From 644a19c19fb3ddbc7389a3055842e6c47c5855a2 Mon Sep 17 00:00:00 2001 From: Squallog Date: Thu, 28 Aug 2025 15:31:06 +0100 Subject: [PATCH 50/60] excluded headers from blanket text fix --- assets/css/stylemain.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 74eb39d88..b98ae7f0e 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -352,7 +352,7 @@ main { overscroll-behavior-y: contain; } -main > :not(blockquote, table, code) { +main > :not(blockquote, table, code, h1, h2, h3, h4, h5, h6) { margin-top: 2px; font-size: 1.1rem; font-family: "titillium web"; From cac191930938862baf636c4295574cc5b86b6632 Mon Sep 17 00:00:00 2001 From: Razvii <81186976+razvii22@users.noreply.github.com> Date: Thu, 28 Aug 2025 18:01:15 +0300 Subject: [PATCH 51/60] Functionality changes (#4) * Fixed oversight with the 404 page. * File creation now has the default file name of `index.md` --- _layouts/bakery-theme-404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/bakery-theme-404.html b/_layouts/bakery-theme-404.html index 5f26c7336..604cb1b46 100644 --- a/_layouts/bakery-theme-404.html +++ b/_layouts/bakery-theme-404.html @@ -13,7 +13,7 @@

      that isn't real

      {% if site.disable_edit != true %} Create it? - - - - - - - -
      - - - - - - - -
      - - - - - -
      -

      Games

      - - -

      Minecraft

      -
      - - -

      Chess

      -
      -
      - - - - - \ No newline at end of file From 31e2cbdfeb437feff8d8fd96ed994a5e82fb25b7 Mon Sep 17 00:00:00 2001 From: Squallog Date: Fri, 14 Nov 2025 15:11:00 +0000 Subject: [PATCH 54/60] fixed margins, changed link colour, removed link stroking. --- assets/css/stylemain.css | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 2ae9b5153..2208009df 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -364,8 +364,8 @@ main>header { } [data-theme="light"] main { - margin: calc(var(--TBarHeight) + 5px) 0 0 0; - height: calc(100vh - var(--TBarHeight) - 5px);; + margin: calc(var(--TBarHeight) + 5px) 0 0 0 !important; + height: calc(100vh - 2 * var(--TBarHeight) - 5px); border-image: linear-gradient(to bottom right, hsl(from var(--accent-dark) h s 95) 50%, var(--Highlight) 50%) 1; border-width: 4px; border-style: solid; @@ -374,12 +374,6 @@ main>header { padding-bottom: 5px; */ } -[data-theme="light"] main a{ - /* text-shadow: 1px -1px var(--Highlight), 1px 1px var(--Highlight), -1px 1px var(--Highlight), -1px -1px var(--Highlight); */ - -webkit-text-stroke: 0.5px; - -webkit-text-stroke-color: black; -} - /*#endregion Main*/ body> :not(header, menu, main) { @@ -703,6 +697,10 @@ a { text-decoration: dotted; } +a [data-theme="light"] { + color: rgb(193, 126, 25); +} + strong { color: var(--Accent); } From 5cac08327d92e8ae7ea24b7764d73e2438111266 Mon Sep 17 00:00:00 2001 From: Squallog Date: Fri, 14 Nov 2025 15:33:13 +0000 Subject: [PATCH 55/60] fixed margin adjustment persisting in desktop mode, tweaked light mode link colour --- assets/css/stylemain.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 2208009df..bc046b89b 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -36,6 +36,7 @@ --SbarBorder: rgb(32, 32, 32); --Shadow: rgba(0, 0, 0, 0.226); --CodeBlock: rgb(7, 8, 46); + --Link: rgb(232, 157, 46); /*#endregion Dark mode */ } @@ -73,6 +74,7 @@ --CodeBlock: rgb(40, 45, 116); --A1: rgb(85, 0, 85); --A2: purple; + --Link: rgb(55, 45, 194); } /*#endregion Light mode*/ @@ -121,6 +123,10 @@ header { box-shadow: none; } +[data-theme="light"] nav a{ + color: rgb(232, 157, 46); +} + header>nav, header>span { display: inline-flex; @@ -365,7 +371,7 @@ main>header { [data-theme="light"] main { margin: calc(var(--TBarHeight) + 5px) 0 0 0 !important; - height: calc(100vh - 2 * var(--TBarHeight) - 5px); + height: calc(100vh - var(--TBarHeight) - 5px); border-image: linear-gradient(to bottom right, hsl(from var(--accent-dark) h s 95) 50%, var(--Highlight) 50%) 1; border-width: 4px; border-style: solid; @@ -693,14 +699,10 @@ hr { } a { - color: rgb(232, 157, 46); + color: var(--Link); text-decoration: dotted; } -a [data-theme="light"] { - color: rgb(193, 126, 25); -} - strong { color: var(--Accent); } @@ -720,7 +722,7 @@ strong { main { width: calc(100vw - 20px); - height: calc(100vh - 2 * var(--TBarHeight)); + height: calc(100vh - 2 * var(--TBarHeight)) !important; grid-template-columns: 100%; justify-items: left; overflow-x: hidden; From 8fa22362b38f8276bbfb3b675faad76337b7dc59 Mon Sep 17 00:00:00 2001 From: Squallog Date: Fri, 14 Nov 2025 16:01:27 +0000 Subject: [PATCH 56/60] fixed quotes overflowing boundaries --- assets/css/stylemain.css | 2 ++ index.md | 1 + 2 files changed, 3 insertions(+) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index bc046b89b..20f8ab652 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -529,6 +529,8 @@ blockquote { display: flex; flex-direction: column; margin: 10px 0 10px 0; + word-wrap: break-word; + word-break: break-all; } blockquote[blame]::after { diff --git a/index.md b/index.md index 2092e01fb..1bc62c868 100644 --- a/index.md +++ b/index.md @@ -44,6 +44,7 @@ ### HTML
      This is a single line quote written in HTML
      +
      This is a quote with a HUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUGE word in it.
      This is a multi line quote
      Written in html
      This is a blamed quote!
      This is a blamed gradient quote!
      From 011af77c035a8df1155162259852090ce7f3e703 Mon Sep 17 00:00:00 2001 From: Squallog Date: Fri, 14 Nov 2025 16:40:17 +0000 Subject: [PATCH 57/60] fixed checkboxes on mobile displays and enlarged checkboxes to fit font size. --- assets/css/stylemain.css | 8 ++++++- index.md | 50 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 20f8ab652..8087ec612 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -197,6 +197,13 @@ textarea { color: var(--Accent); } +input[type="checkbox"] { + background-color: var(--A1); + color: var(--A1); + width: 0.9em; + height: 0.9em; +} + #results { display: flex; flex-direction: column; @@ -781,7 +788,6 @@ strong { } input { - width: 100%; font-size: 2rem; } diff --git a/index.md b/index.md index 1bc62c868..7e5edb76e 100644 --- a/index.md +++ b/index.md @@ -107,4 +107,52 @@ end | Header1 | Header2 | Header3 | | - | | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | -| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | \ No newline at end of file +| Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | Table cell | + +# Bulleted lists + +- list 1 +- list 2 +- list 3 + +lists with sublists + +- list 1 +- list 2 + - sublist 1 + - sub-sublist 1 + - sub-sublist 2 + - sub-sublist 4 + - sublist 2 + - sublist 3 + - sublist 4 + - su-sublist 1 + - sub-sublis 2 + - sub-sulist 3 + +Checkbox Lists + +- [ ] Panopticon Cover +- [ ] Panopticon Close +- [ ] Taskmaster Cover +- [ ] Taskmaster Close +- [ ] Smeltery Cover + +Checkbox lists with sub checkbox lists +- [x] Home page +- [x] People pages: + - [x] Razvii page + - [ ] Scruby page + - [x] Brent page + +--- +- [ ] Structures + - [x] ? Panopticon + - [ ] Taskmaster + - [x] ? Warehouse + - [ ] Smeltery + +--- +- [ ] Games page + - [ ] Minecraft + - [ ] Mindustry From 94e13042df6431c13ebb5fc677efdc7f11eb91bf Mon Sep 17 00:00:00 2001 From: Squallog Date: Fri, 14 Nov 2025 18:25:49 +0000 Subject: [PATCH 58/60] removed redundant styling --- assets/css/stylemain.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index 8087ec612..bc2aa8a72 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -198,8 +198,6 @@ textarea { } input[type="checkbox"] { - background-color: var(--A1); - color: var(--A1); width: 0.9em; height: 0.9em; } From 7eff1bfde901b7fb290acac839d410ae192d6133 Mon Sep 17 00:00:00 2001 From: Squallog Date: Mon, 17 Nov 2025 11:33:51 +0000 Subject: [PATCH 59/60] Word break adjustments --- assets/css/stylemain.css | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index bc2aa8a72..e0db1d7e7 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -535,7 +535,6 @@ blockquote { flex-direction: column; margin: 10px 0 10px 0; word-wrap: break-word; - word-break: break-all; } blockquote[blame]::after { From c2632ea1c3d202a048b0bc9c1944fcad1da907c4 Mon Sep 17 00:00:00 2001 From: Squallog <103752428+Squallog@users.noreply.github.com> Date: Wed, 18 Mar 2026 19:28:23 +0000 Subject: [PATCH 60/60] Created branch for radio player development --- assets/css/stylemain.css | 11 +++++++++++ index.md | 2 ++ 2 files changed, 13 insertions(+) diff --git a/assets/css/stylemain.css b/assets/css/stylemain.css index e0db1d7e7..b26481ba1 100644 --- a/assets/css/stylemain.css +++ b/assets/css/stylemain.css @@ -709,6 +709,17 @@ a { text-decoration: dotted; } +.dark { + display: block; + text-decoration: none; + color: inherit; +} + +.dark::first-letter { + font-style: italic !important; + /* font-weight: bold !important; */ +} + strong { color: var(--Accent); } diff --git a/index.md b/index.md index 7e5edb76e..c066401ba 100644 --- a/index.md +++ b/index.md @@ -10,6 +10,8 @@ [This is a missing local link](/wiki/meow.md) +[This is a secret "dark" link (spooky)](https://fudrehcs-document-archive.neocities.org/ammended){:.dark} + ## Quote blocks ### Markdown > This is a simple one line quote written in markdown