diff --git a/.gitignore b/.gitignore index 1ea5e33..f40fbd8 100755 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -vendor _site -.idea/ -*.iml \ No newline at end of file +.sass-cache +.jekyll-cache +.jekyll-metadata +vendor diff --git a/Gemfile b/Gemfile index 03b5892..33c4b64 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,4 @@ source "https://rubygems.org" - # Hello! This is where you manage which Jekyll version is used to run. # When you want to use a different version, change it below, save the # file and run `bundle install`. Run Jekyll with `bundle exec`, like so: @@ -8,19 +7,29 @@ source "https://rubygems.org" # # This will help ensure the proper Jekyll version is running. # Happy Jekylling! -# gem "jekyll", "3.2.1" - +#gem "jekyll", "~> 4.3.2" # This is the default theme for new Jekyll sites. You may change this to anything you like. -# gem "minima" -gem 'webrick' - +# gem "minima", "~> 2.5" # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. gem "github-pages", group: :jekyll_plugins - # If you have any plugins, put them here! -# group :jekyll_plugins do -# gem "jekyll-github-metadata", "~> 1.0" -# end +group :jekyll_plugins do + # gem "jekyll-feed", "~> 0.12" +end -gem 'wdm', '>= 0.1.0' if Gem.win_platform? +gem 'webrick' + +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", ">= 1", "< 3" + gem "tzinfo-data" +end + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] + +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] diff --git a/Gemfile.lock b/Gemfile.lock index 79660ad..3d2620e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,65 +1,43 @@ GEM remote: https://rubygems.org/ specs: - activesupport (6.0.4.4) + activesupport (7.0.4.3) concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - zeitwerk (~> 2.2, >= 2.2.2) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + addressable (2.8.1) + public_suffix (>= 2.0.2, < 6.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.11.1) colorator (1.1.0) - commonmarker (0.17.13) - ruby-enum (~> 0.5) - concurrent-ruby (1.1.9) + commonmarker (0.23.9) + concurrent-ruby (1.2.2) dnsruby (1.61.9) simpleidn (~> 0.1) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) - ethon (0.15.0) + ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) - eventmachine (1.2.7-x64-mingw32) execjs (2.8.1) - faraday (1.9.3) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0) - faraday-multipart (~> 1.0) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.0) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - faraday-retry (~> 1.0) + faraday (2.7.4) + faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-multipart (1.0.3) - multipart-post (>= 1.2, < 3) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) - faraday-retry (1.0.3) + faraday-net_http (3.0.2) ffi (1.15.5) - ffi (1.15.5-x64-mingw32) + ffi (1.15.5-x64-mingw-ucrt) forwardable-extended (2.6.0) gemoji (3.0.1) - github-pages (223) + github-pages (228) github-pages-health-check (= 1.17.9) - jekyll (= 3.9.0) + jekyll (= 3.9.3) jekyll-avatar (= 0.7.0) jekyll-coffeescript (= 1.1.1) - jekyll-commonmark-ghpages (= 0.1.6) + jekyll-commonmark-ghpages (= 0.4.0) jekyll-default-layout (= 0.1.4) jekyll-feed (= 0.15.1) jekyll-gist (= 1.5.0) @@ -73,7 +51,7 @@ GEM jekyll-relative-links (= 0.6.1) jekyll-remote-theme (= 0.4.3) jekyll-sass-converter (= 1.5.2) - jekyll-seo-tag (= 2.7.1) + jekyll-seo-tag (= 2.8.0) jekyll-sitemap (= 1.4.0) jekyll-swiss (= 1.0.0) jekyll-theme-architect (= 0.2.0) @@ -91,12 +69,12 @@ GEM jekyll-theme-time-machine (= 0.2.0) jekyll-titles-from-headings (= 0.5.3) jemoji (= 0.12.0) - kramdown (= 2.3.1) + kramdown (= 2.3.2) kramdown-parser-gfm (= 1.1.0) - liquid (= 4.0.3) + liquid (= 4.0.4) mercenary (~> 0.3) minima (= 2.5.1) - nokogiri (>= 1.12.5, < 2.0) + nokogiri (>= 1.13.6, < 2.0) rouge (= 3.26.0) terminal-table (~> 1.4) github-pages-health-check (1.17.9) @@ -105,17 +83,17 @@ GEM octokit (~> 4.0) public_suffix (>= 3.0, < 5.0) typhoeus (~> 1.3) - html-pipeline (2.14.0) + html-pipeline (2.14.3) activesupport (>= 2) nokogiri (>= 1.4) http_parser.rb (0.8.0) - i18n (0.9.5) + i18n (1.12.0) concurrent-ruby (~> 1.0) - jekyll (3.9.0) + jekyll (3.9.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) - i18n (~> 0.7) + i18n (>= 0.7, < 2) jekyll-sass-converter (~> 1.0) jekyll-watch (~> 2.0) kramdown (>= 1.17, < 3) @@ -129,13 +107,13 @@ GEM jekyll-coffeescript (1.1.1) coffee-script (~> 2.2) coffee-script-source (~> 1.11.1) - jekyll-commonmark (1.3.1) - commonmarker (~> 0.14) - jekyll (>= 3.7, < 5.0) - jekyll-commonmark-ghpages (0.1.6) - commonmarker (~> 0.17.6) - jekyll-commonmark (~> 1.2) - rouge (>= 2.0, < 4.0) + jekyll-commonmark (1.4.0) + commonmarker (~> 0.22) + jekyll-commonmark-ghpages (0.4.0) + commonmarker (~> 0.23.7) + jekyll (~> 3.9.0) + jekyll-commonmark (~> 1.4.0) + rouge (>= 2.0, < 5.0) jekyll-default-layout (0.1.4) jekyll (~> 3.0) jekyll-feed (0.15.1) @@ -166,7 +144,7 @@ GEM rubyzip (>= 1.3.0, < 3.0) jekyll-sass-converter (1.5.2) sass (~> 3.4) - jekyll-seo-tag (2.7.1) + jekyll-seo-tag (2.8.0) jekyll (>= 3.8, < 5.0) jekyll-sitemap (1.4.0) jekyll (>= 3.7, < 5.0) @@ -219,41 +197,36 @@ GEM gemoji (~> 3.0) html-pipeline (~> 2.2) jekyll (>= 3.0, < 5.0) - kramdown (2.3.1) + kramdown (2.3.2) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - liquid (4.0.3) - listen (3.7.1) + liquid (4.0.4) + listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - mini_portile2 (2.7.1) minima (2.5.1) jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) - minitest (5.15.0) - multipart-post (2.1.1) - nokogiri (1.13.1) - mini_portile2 (~> 2.7.0) + minitest (5.18.0) + nokogiri (1.14.3-x64-mingw-ucrt) racc (~> 1.4) - nokogiri (1.13.1-x64-mingw32) + nokogiri (1.14.3-x86_64-linux) racc (~> 1.4) - octokit (4.22.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) + octokit (4.25.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.6) - racc (1.6.0) - rb-fsevent (0.11.0) + public_suffix (4.0.7) + racc (1.6.2) + rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.5) rouge (3.26.0) - ruby-enum (0.9.0) - i18n ruby2_keywords (0.0.5) rubyzip (2.3.2) safe_yaml (1.0.5) @@ -262,40 +235,38 @@ GEM sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - sassc (2.4.0) - ffi (~> 1.9) - sassc (2.4.0-x64-mingw32) - ffi (~> 1.9) - sawyer (0.8.2) + sawyer (0.9.2) addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) + faraday (>= 0.17.3, < 3) simpleidn (0.2.1) unf (~> 0.1.4) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1) - thread_safe (0.3.6) typhoeus (1.4.0) ethon (>= 0.9.0) - tzinfo (1.2.9) - thread_safe (~> 0.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + tzinfo-data (1.2022.7) + tzinfo (>= 1.0.0) unf (0.1.4) unf_ext - unf_ext (0.0.8) - unf_ext (0.0.8-x64-mingw32) + unf_ext (0.0.8.2) + unf_ext (0.0.8.2-x64-mingw-ucrt) unicode-display_width (1.8.0) wdm (0.1.1) - webrick (1.7.0) - zeitwerk (2.5.4) + webrick (1.8.1) PLATFORMS - ruby - x64-mingw32 + x64-mingw-ucrt + x86_64-linux DEPENDENCIES github-pages - sassc - wdm (>= 0.1.0) + http_parser.rb (~> 0.6.0) + tzinfo (>= 1, < 3) + tzinfo-data + wdm (~> 0.1.1) webrick BUNDLED WITH - 2.2.32 + 2.4.6 diff --git a/_config.yml b/_config.yml index a0bede6..194bdeb 100644 --- a/_config.yml +++ b/_config.yml @@ -1,72 +1,29 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing these this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. +# General site settings title: GeyserMC Wiki author: GeyserMC -description: > # this means to ignore newlines until "baseurl:" - This is the wiki for all of GeyserMCs projects. +description: >- + This is the wiki for all of GeyserMC's projects. -# Add your baseurl here (your repository) but DO NOT CHANGE THE LINE NUMBER without editing .circleci/circle_urls.sh -baseurl: "" # the subpath of your site, e.g. /blog +# Url settings +baseurl: "" +url: "https://wiki.geysermc.org" -# This is mostly for testing -url: "https://wiki.geysermc.org" # the base hostname & protocol for your site - -# Social (First three Required) +# Repository settings repo: "https://github.com/GeyserMC/GeyserWiki" -github_user: "GeyserMC" -github_repo: "Geyser" -github_branch: "master" - -# Optional -twitter: geyser_mc - -# Should there be feedback buttons at the bottom of pages? -feedback: true - -# Link to a privacy policy in footer, uncomment and define if wanted -# privacy: https://domain.com/privacy - -# google-analytics: UA-XXXXXXXXXX -# Image and (square) dimension for logo (don't start with /) -# If commented, will use material hat theme -# logo: "assets/img/logo/SRCC-square-red.png" -logo_pixels: 34 -color: "#2b3035" -# color: "#8c1515" # primary color for header, buttons # Build settings markdown: kramdown - -# If you add tags to pages, define this variable to link them to some external search -# If you want to link to tags locally on the site, leave this commented out -# tag_search_endpoint: https://ask.cyberinfrastructure.org/search?q= -tag_color: primary # danger, success, warning, primary, info, secondary - -permalink: /:year/:title/ -markdown: kramdown -exclude: [_site, CHANGELOG.md, LICENSE, README.md, vendor] +highlighter: rouge +exclude: [_site, LICENSE, README.md] # Collections collections: docs: output: true - permalink: /:collection/:path + permalink: /:path/ -# Defaults +# Front Matter Defaults defaults: - scope: path: "_docs" @@ -78,4 +35,4 @@ defaults: path: "" type: "pages" values: - layout: "page" + layout: default \ No newline at end of file diff --git a/_data/navigation.yml b/_data/navigation.yml deleted file mode 100644 index f5f2343..0000000 --- a/_data/navigation.yml +++ /dev/null @@ -1,2 +0,0 @@ -- title: Download - external_url: https://geysermc.org/download \ No newline at end of file diff --git a/_data/toc.yml b/_data/toc.yml index 07ead7a..556ddf4 100644 --- a/_data/toc.yml +++ b/_data/toc.yml @@ -12,9 +12,9 @@ url: "geyser/standalone/" children: - title: Termux (Android) - url: "geyser/setup/#termux-android" + url: "geyser/standalone/#termux-android" - title: NewTerm 2 (iOS) - url: "geyser/setup/#newterm-2-ios" + url: "geyser/standalone/#newterm-2-ios" - title: FAQ url: "geyser/faq/" - title: Common Issues diff --git a/_docs/floodgate/api.md b/_docs/floodgate/api.md index c8493ab..9b8eb51 100644 --- a/_docs/floodgate/api.md +++ b/_docs/floodgate/api.md @@ -1,7 +1,5 @@ --- -layout: page title: Floodgate API -permalink: /floodgate/api/ --- ### Floodgate has an API to extend what is possible and allow servers to get information about the Bedrock client. It also allows other plugins access to [Cumulus](/floodgate/forms/) @@ -27,7 +25,6 @@ Floodgate uses the open collaboration repo. The following example is for Maven, ``` The Floodgate API has changed in Floodgate 2.0. The most important change is that the API methods are no longer static and instead instance-based, as shown below. - --- The class FloodgateApi is the base class of the API and you need to use it to access any part of the API.
diff --git a/_docs/floodgate/commands.md b/_docs/floodgate/commands.md index 58a203b..0477beb 100644 --- a/_docs/floodgate/commands.md +++ b/_docs/floodgate/commands.md @@ -1,7 +1,5 @@ --- -layout: page title: Commands -permalink: /floodgate/commands/ --- | Command | Permission | Description | diff --git a/_docs/floodgate/features.md b/_docs/floodgate/features.md index 94eaadc..0c7cbc3 100644 --- a/_docs/floodgate/features.md +++ b/_docs/floodgate/features.md @@ -1,7 +1,5 @@ --- -layout: page title: Features -permalink: /floodgate/features/ --- ## Whitelist command diff --git a/_docs/floodgate/forms.md b/_docs/floodgate/forms.md index ccc9471..bcbc500 100644 --- a/_docs/floodgate/forms.md +++ b/_docs/floodgate/forms.md @@ -1,7 +1,5 @@ --- -layout: page title: Forms and Cumulus -permalink: /floodgate/forms/ --- # What is Cumulus? diff --git a/_docs/floodgate/issues.md b/_docs/floodgate/issues.md index d4b2880..bc79676 100644 --- a/_docs/floodgate/issues.md +++ b/_docs/floodgate/issues.md @@ -1,7 +1,5 @@ --- -layout: page title: Issues -permalink: /floodgate/issues/ --- # Known Issues & Caveats diff --git a/_docs/floodgate/linking.md b/_docs/floodgate/linking.md index 7adf12f..4c685d1 100644 --- a/_docs/floodgate/linking.md +++ b/_docs/floodgate/linking.md @@ -1,7 +1,5 @@ --- -layout: page title: Linking -permalink: /floodgate/linking/ --- ## What is Global Linking? diff --git a/_docs/floodgate/player.md b/_docs/floodgate/player.md index e49cf26..e6bbb12 100644 --- a/_docs/floodgate/player.md +++ b/_docs/floodgate/player.md @@ -1,7 +1,5 @@ --- -layout: page title: FloodgatePlayer -permalink: /floodgate/player/ --- FloodgatePlayer is something that every player who's connect through Floodgate has.
diff --git a/_docs/floodgate/root.md b/_docs/floodgate/root.md index 63e6c32..7b86ddf 100644 --- a/_docs/floodgate/root.md +++ b/_docs/floodgate/root.md @@ -1,5 +1,4 @@ --- -layout: page title: Floodgate permalink: /floodgate/ --- diff --git a/_docs/floodgate/setup.md b/_docs/floodgate/setup.md index 26fbee9..e9136ec 100644 --- a/_docs/floodgate/setup.md +++ b/_docs/floodgate/setup.md @@ -1,7 +1,5 @@ --- -layout: page title: Floodgate Setup -permalink: /floodgate/setup/ --- ## Downloads: diff --git a/_docs/geyser/anticheat-compatibility.md b/_docs/geyser/anticheat-compatibility.md index 1341b92..fe4c378 100644 --- a/_docs/geyser/anticheat-compatibility.md +++ b/_docs/geyser/anticheat-compatibility.md @@ -1,10 +1,10 @@ --- -layout: page title: Anticheat Compatibility -permalink: /geyser/anticheat-compatibility/ --- -

The AntiCheats listed below have been categorized based on their compatibility with Geyser. This is a community-compiled list and does not indicate any endorsement from GeyserMC. Use them at your own risk!

+ ### AntiCheat compatibility reports diff --git a/_docs/geyser/commands.md b/_docs/geyser/commands.md index 47a08cb..2f60d02 100644 --- a/_docs/geyser/commands.md +++ b/_docs/geyser/commands.md @@ -1,7 +1,5 @@ --- -layout: page title: Commands -permalink: /geyser/commands/ --- # Commands and Permissions diff --git a/_docs/geyser/common-issues.md b/_docs/geyser/common-issues.md index 10bc95d..e7cfbb0 100644 --- a/_docs/geyser/common-issues.md +++ b/_docs/geyser/common-issues.md @@ -1,7 +1,5 @@ --- -layout: page title: Common Issues -permalink: /geyser/common-issues/ --- Commonly, people may have issues with Geyser not showing up in their server list or run into similar issues. This page contains a few common issues people may encounter that you might have as well as potential fixes for them. If you still can't make it work, join [our Discord](https://discord.gg/geysermc) for support. diff --git a/_docs/geyser/creating-a-startup-script.md b/_docs/geyser/creating-a-startup-script.md index dec5e24..75538c7 100644 --- a/_docs/geyser/creating-a-startup-script.md +++ b/_docs/geyser/creating-a-startup-script.md @@ -1,7 +1,5 @@ --- -layout: page title: Creating a Startup Script -permalink: /geyser/creating-a-startup-script/ --- **In order for this to work, you MUST have Java 16 (or higher) installed!** diff --git a/_docs/geyser/current-limitations.md b/_docs/geyser/current-limitations.md index 3508143..37696ed 100644 --- a/_docs/geyser/current-limitations.md +++ b/_docs/geyser/current-limitations.md @@ -1,7 +1,5 @@ --- -layout: page title: Current Limitations -permalink: /geyser/current-limitations/ --- With Geyser being a protocol translator between two different games with two different codebases, there are a handful of limitations that Geyser is unfortunately unable to handle. Despite Minecraft Bedrock and Java being quite close in comparison, there are some vast differences in many areas. diff --git a/_docs/geyser/custom-items.md b/_docs/geyser/custom-items.md index 3bd4158..40e2c0b 100644 --- a/_docs/geyser/custom-items.md +++ b/_docs/geyser/custom-items.md @@ -1,7 +1,5 @@ --- -layout: page title: Custom items with Geyser -permalink: /geyser/custom-items/ --- # Custom items with Geyser diff --git a/_docs/geyser/faq.md b/_docs/geyser/faq.md index 53562a9..5c99f45 100644 --- a/_docs/geyser/faq.md +++ b/_docs/geyser/faq.md @@ -1,7 +1,5 @@ --- -layout: page title: FAQ -permalink: /geyser/faq/ --- ## How Does it Work? diff --git a/_docs/geyser/fixing-unable-to-connect-to-world.md b/_docs/geyser/fixing-unable-to-connect-to-world.md index c7d64c9..a9e4354 100644 --- a/_docs/geyser/fixing-unable-to-connect-to-world.md +++ b/_docs/geyser/fixing-unable-to-connect-to-world.md @@ -1,7 +1,5 @@ --- -layout: page title: Fixing 'Unable to Connect to World' -permalink: /geyser/fixing-unable-to-connect-to-world/ --- *Unable to Connect to World* is by far the most common error people get when attempting to set up Geyser. Here's some steps on how to solve that. diff --git a/_docs/geyser/playit-gg.md b/_docs/geyser/playit-gg.md index 8fde73f..87c80f4 100644 --- a/_docs/geyser/playit-gg.md +++ b/_docs/geyser/playit-gg.md @@ -1,7 +1,5 @@ --- -layout: page title: playit.gg Setup -permalink: /geyser/playit-gg/ --- ## Prerequisites diff --git a/_docs/geyser/root.md b/_docs/geyser/root.md index 9cac055..d3f0b1b 100644 --- a/_docs/geyser/root.md +++ b/_docs/geyser/root.md @@ -1,12 +1,11 @@ --- -layout: page title: Geyser permalink: /geyser/ --- # Geyser [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?label=License)](LICENSE) -[![Build Status](https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.nukkitx.com%2Fjob%2FGeyser%2Fjob%2Fmaster%2F&label=Build)](https://ci.nukkitx.com/job/Geyser/job/master/) +[![Build Status](https://github.com/GeyserMC/Geyser/actions/workflows/build.yml/badge.svg)](https://github.com/GeyserMC/Geyser/actions/workflows/build.yml) [![Discord](https://img.shields.io/discord/613163671870242838?color=cornflowerblue&label=Discord&logo=Discord&logoColor=white)](https://discord.geysermc.org) _A bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition._ diff --git a/_docs/geyser/secure-chat.md b/_docs/geyser/secure-chat.md index f9b11bc..bb56847 100644 --- a/_docs/geyser/secure-chat.md +++ b/_docs/geyser/secure-chat.md @@ -1,7 +1,5 @@ --- -layout: page title: Geyser and Secure Chat -permalink: /geyser/secure-chat/ --- In the 1.19 Java Edition updates, a mechanism for reporting player chat messages to Mojang was implemented. diff --git a/_docs/geyser/setup.md b/_docs/geyser/setup.md index 3062187..040df77 100644 --- a/_docs/geyser/setup.md +++ b/_docs/geyser/setup.md @@ -1,7 +1,5 @@ --- -layout: page title: Geyser Setup -permalink: /geyser/setup/ --- # Setup @@ -36,7 +34,7 @@ The server itself does not have to be the latest version but does have to allow 3. If 2. does not apply: download Geyser [here](https://geysermc.org/download) for the platform your server runs on. See the [FAQ](/geyser/faq/#which-plugin-version-of-geyser-do-i-need) if you're confused about which build to download. 4. Put the Geyser jar file in your plugins folder and start up the server. 5. Port-forwarding: - - If you are using a hosting provider, you will likely need to change your Bedrock port in `config.yml`. Information on your hosting provider might be available on the [Supported Hosting Providers](/geyser/supported-hosting-providers/) page. If there is no information on your hosting provider and you are unable to assign/open ports yourself, try enabling `clone-remote-port` in Geyser's `config.yml`file and connecting with the same IP/port as you would with Java Edition. + - If you are using a hosting provider, you will likely need to change your Bedrock port in `config.yml`. Information on your hosting provider might be available on the [Supported Hosting Providers](/geyser/supported-hosting-providers/) page. If there is no information on your hosting provider and you are unable to assign/open ports yourself, try enabling `clone-remote-port` in Geyser's `config.yml` file and connecting with the same IP/port as you would with Java Edition. - If not using a hosting provider, you will need to use port forwarding to allow people outside your LAN to connect. You want to port forward 19132 UDP, instructions to do that for most routers can be found [here](https://www.lifewire.com/how-to-port-forward-4163829). If you are trying to join from the same LAN, the server should show up in the friends tab. - To check whether it is working correctly, you can use the `geyser connectiontest [yourIP]:[yourPort]` command in your server console to check if the server is reachable from the outside. - _Restart your server if you edited your config! Simply reloading will not work._ diff --git a/_docs/geyser/standalone-command-line-arguments.md b/_docs/geyser/standalone-command-line-arguments.md index 673f0e1..d819cc8 100644 --- a/_docs/geyser/standalone-command-line-arguments.md +++ b/_docs/geyser/standalone-command-line-arguments.md @@ -1,7 +1,5 @@ --- -layout: page title: Standalone Command Line Arguments -permalink: /geyser/standalone-command-line-arguments/ --- # General command-line arguments diff --git a/_docs/geyser/standalone.md b/_docs/geyser/standalone.md index 4c382b5..22b93e5 100644 --- a/_docs/geyser/standalone.md +++ b/_docs/geyser/standalone.md @@ -1,7 +1,5 @@ --- -layout: page title: Geyser Standalone -permalink: /geyser/standalone/ --- # Setup of Geyser Standalone diff --git a/_docs/geyser/supported-hosting-providers.md b/_docs/geyser/supported-hosting-providers.md index dc29338..2eafc19 100644 --- a/_docs/geyser/supported-hosting-providers.md +++ b/_docs/geyser/supported-hosting-providers.md @@ -1,16 +1,22 @@ --- -layout: page title: Supported Hosting Providers -permalink: /geyser/supported-hosting-providers/ --- -This list is incomplete. Please open a [PR](https://github.com/GeyserMC/GeyserWiki/pulls) or contact us on [Discord](https://discord.gg/geysermc) if the information is incorrect or you want to add a new hosting provider! + -It should also be noted that these providers may not be verified by the Geyser team, and the server providers below are reported as working by members of the community. + -**Warning: The below information is for the plugin versions of Geyser unless otherwise specified** + -**Warning: Using a *”Free Host”* may not give you the best experience *at all*. If you want better support, more freedom to control your server, and learn how to run one, PLEASE pay for a server.** + ## Built-in Geyser {% for provider in site.data.providers.built_in %} diff --git a/_docs/geyser/understanding-the-config.md b/_docs/geyser/understanding-the-config.md index ed3088c..2f1fc86 100644 --- a/_docs/geyser/understanding-the-config.md +++ b/_docs/geyser/understanding-the-config.md @@ -1,7 +1,5 @@ --- -layout: page title: Understanding the Config -permalink: /geyser/understanding-the-config/ --- This page covers basic information about the Geyser config and what each option does. Though they are explained in the configuration itself, this explains what each option does in more detail. diff --git a/_docs/geyser/using-geyser-or-floodgate-as-a-dependency.md b/_docs/geyser/using-geyser-or-floodgate-as-a-dependency.md index 4e75abe..62a0f1d 100644 --- a/_docs/geyser/using-geyser-or-floodgate-as-a-dependency.md +++ b/_docs/geyser/using-geyser-or-floodgate-as-a-dependency.md @@ -1,7 +1,5 @@ --- -layout: page title: Using Geyser or Floodgate as a dependency -permalink: /geyser/using-geyser-or-floodgate-as-a-dependency/ --- To start, add the Open Collaboration repository to your project: diff --git a/_docs/geyser/using-geyser-with-consoles.md b/_docs/geyser/using-geyser-with-consoles.md index 06a17c2..c681067 100644 --- a/_docs/geyser/using-geyser-with-consoles.md +++ b/_docs/geyser/using-geyser-with-consoles.md @@ -1,7 +1,5 @@ --- -layout: page title: Using Geyser with Consoles -permalink: /geyser/using-geyser-with-consoles/ --- All consoles can join third-party servers - including Geyser servers - with workarounds. Xbox One, Nintendo Switch, and PS4 systems can join third-party servers using a third-party program called BedrockConnect. For technical information about the program, including how to run your own setup, see [their GitHub repository](https://github.com/Pugmatt/BedrockConnect) (*This program is not affiliated with GeyserMC*). Other methods are also available for use. diff --git a/_docs/other/community-geyser-projects.md b/_docs/other/community-geyser-projects.md index f8d7abb..a0e5538 100644 --- a/_docs/other/community-geyser-projects.md +++ b/_docs/other/community-geyser-projects.md @@ -1,7 +1,5 @@ --- -layout: page title: Community Geyser Projects -permalink: /other/community-geyser-projects/ --- Below is a list of community-compiled plugins, extensions and tools that work with Geyser. diff --git a/_docs/other/developer-guide.md b/_docs/other/developer-guide.md index 580dd6b..c582f4b 100644 --- a/_docs/other/developer-guide.md +++ b/_docs/other/developer-guide.md @@ -1,7 +1,5 @@ --- -layout: page title: Developer Guide -permalink: /other/developer-guide/ --- ## Compiling diff --git a/_docs/other/discord-bot-usage.md b/_docs/other/discord-bot-usage.md index 501f81d..fc1e7d8 100644 --- a/_docs/other/discord-bot-usage.md +++ b/_docs/other/discord-bot-usage.md @@ -1,7 +1,5 @@ --- -layout: page title: Discord Bot Usage -permalink: /other/discord-bot-usage/ --- Our discord bot provides some very useful toos to debug/issue track your server. We will go in-depth on how to use the bot commands and its tools. diff --git a/_docs/other/geyserconnect.md b/_docs/other/geyserconnect.md index eb34398..259eb29 100644 --- a/_docs/other/geyserconnect.md +++ b/_docs/other/geyserconnect.md @@ -1,7 +1,5 @@ --- -layout: page title: GeyserConnect -permalink: /other/geyserconnect/ --- GeyserConnect is a extension for Geyser that allows you to join multiple servers using a single GeyserMC proxy. diff --git a/_docs/other/geyseroptionalpack.md b/_docs/other/geyseroptionalpack.md index 969a601..712e2cc 100644 --- a/_docs/other/geyseroptionalpack.md +++ b/_docs/other/geyseroptionalpack.md @@ -1,7 +1,5 @@ --- -layout: page title: GeyserOptionalPack -permalink: /other/geyseroptionalpack/ --- # [Download here](https://ci.opencollab.dev/job/GeyserMC/job/GeyserOptionalPack/job/master/lastSuccessfulBuild/artifact/GeyserOptionalPack.mcpack) diff --git a/_docs/other/root.md b/_docs/other/root.md index eedb22e..8cc0b46 100644 --- a/_docs/other/root.md +++ b/_docs/other/root.md @@ -1,5 +1,4 @@ --- -layout: page title: Other permalink: /other/ --- diff --git a/_docs/other/test-server.md b/_docs/other/test-server.md index 6cb7974..26d317b 100644 --- a/_docs/other/test-server.md +++ b/_docs/other/test-server.md @@ -1,7 +1,5 @@ --- -layout: page title: Test Server -permalink: /other/test-server/ --- ### Details diff --git a/_includes/alert.html b/_includes/alert.html deleted file mode 100644 index a04371f..0000000 --- a/_includes/alert.html +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/_includes/doc.html b/_includes/doc.html deleted file mode 100644 index 7ca21b6..0000000 --- a/_includes/doc.html +++ /dev/null @@ -1 +0,0 @@ -{% if include.name %}{{ include.name }}{% else %}{{ include.path }}{% endif %} diff --git a/_includes/editable.html b/_includes/editable.html deleted file mode 100644 index 7a71523..0000000 --- a/_includes/editable.html +++ /dev/null @@ -1,6 +0,0 @@ - Edit this page - Create Wiki issue/bug report - Create Geyser issue/bug report - diff --git a/_includes/feedback.html b/_includes/feedback.html deleted file mode 100644 index 0f7f804..0000000 --- a/_includes/feedback.html +++ /dev/null @@ -1,44 +0,0 @@ -{% if site.feedback %} -
Feedback
-

Was this page helpful?

- - -

- Glad to hear it! Please tell us how we can improve. -

-

- Sorry to hear that. Please tell us how we can improve. -

-{% endif %}
- diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100755 index 93d0eab..0000000 --- a/_includes/footer.html +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/_includes/google-analytics.html b/_includes/google-analytics.html deleted file mode 100644 index 5f18734..0000000 --- a/_includes/google-analytics.html +++ /dev/null @@ -1,9 +0,0 @@ -{% if site.google-analytics %} -{% endif %} diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100755 index 4988034..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - -{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index ec68c92..0000000 --- a/_includes/header.html +++ /dev/null @@ -1,46 +0,0 @@ -
- -
- - diff --git a/_includes/permalinks.html b/_includes/permalinks.html deleted file mode 100644 index 4039682..0000000 --- a/_includes/permalinks.html +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/_includes/scripts.html b/_includes/scripts.html deleted file mode 100644 index 2bdad13..0000000 --- a/_includes/scripts.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/_includes/scrolltop.html b/_includes/scrolltop.html deleted file mode 100644 index 3320461..0000000 --- a/_includes/scrolltop.html +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/_includes/sidebar-nav.html b/_includes/sidebar-nav.html new file mode 100644 index 0000000..8aecaf7 --- /dev/null +++ b/_includes/sidebar-nav.html @@ -0,0 +1,29 @@ + \ No newline at end of file diff --git a/_includes/sidebar-page.html b/_includes/sidebar-page.html new file mode 100644 index 0000000..eda4ebe --- /dev/null +++ b/_includes/sidebar-page.html @@ -0,0 +1,5 @@ + Edit this page + Create Wiki issue/bug report + Create Geyser issue/bug report + + diff --git a/_includes/sidebar.html b/_includes/sidebar.html deleted file mode 100644 index b86741b..0000000 --- a/_includes/sidebar.html +++ /dev/null @@ -1,54 +0,0 @@ -
- - - - -
diff --git a/_includes/tags.html b/_includes/tags.html deleted file mode 100644 index 47e60f8..0000000 --- a/_includes/tags.html +++ /dev/null @@ -1,2 +0,0 @@ -{% if page.tags %}{% endif %} diff --git a/_includes/toc.html b/_includes/toc.html deleted file mode 100644 index c4a6f8c..0000000 --- a/_includes/toc.html +++ /dev/null @@ -1,35 +0,0 @@ - - - diff --git a/_layouts/default.html b/_layouts/default.html index ec6dfff..74a9c74 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,58 +1,89 @@ - - - - {% include head.html %} - {% include google-analytics.html %} - - {% include header.html %} -
-
-
-
- {% include sidebar.html %} -
-
-
- {% include editable.html %} -
- -
-
- -
- {{ content }} - {% if section.links %}
-
{% for child in section.links %} -
-
- {{ child.title }} -
-

{{ child.description }}

-
{% endfor %} -
{% endif %} - {% include feedback.html %} -
-
-
-
- {% include footer.html %} -
- {% include scripts.html %} + + + + + + + + {{ site.title }}{% if page.title %}: {{ page.title }}{% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+
+ +
+
+
+ {{ content }} +
+
+
+ +
+
+
+
+ + + - + \ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html index 3f30384..fb196bd 100755 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -1,7 +1,18 @@ --- layout: default --- + + {{ content }} -{% include toc.html %} -{% include permalinks.html %} -{% include tags.html %} diff --git a/_sass/extras.scss b/_sass/extras.scss deleted file mode 100644 index 66eb701..0000000 --- a/_sass/extras.scss +++ /dev/null @@ -1,2437 +0,0 @@ -pre { - color: #c9d1d9 -} - -.navbar-dark .navbar-brand { - color: #f0f6fc -} - -.navbar-dark .navbar-nav .nav-link { - color: #f0f6fc -} - -body { - margin: 0; - font-family: open sans, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol; - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #c9d1d9; - text-align: left; - background-color: #212529 -} - -img { - vertical-align: middle; - border-style: none -} - -.img-fluid, -.td-content img { - max-width: 100%; - height: auto -} - -.td-border-top { - border: none; - border-top: 1px solid #eee; -} - -.td-border-none { - border: none; -} - -.td-block-padding, -.td-default main section { - padding-top: 4rem; - padding-bottom: 4rem; -} - -@media(min-width:768px) { - .td-block-padding, - .td-default main section { - padding-top: 5rem; - padding-bottom: 5rem; - } -} - -.td-overlay { - position: relative; -} - -.td-overlay::after { - content: ""; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; -} - -.td-overlay--dark::after { - background-color: rgba(64, 63, 76, .3); -} - -.td-overlay--light::after { - background-color: rgba(211, 243, 238, .3); -} - -.td-overlay__inner { - position: relative; - z-index: 1; -} - -@media(min-width:992px) { - .td-max-width-on-larger-screens, - .td-content>pre, - .td-content>.highlight, - .td-content>.lead, - .td-content>h1, - .td-content>h2, - .td-content>ul, - .td-content>ol, - .td-content>p, - .td-content>blockquote, - .td-content>dl dd, - .td-content .footnotes, - .td-content>.alert { - max-width: 80%; - } -} - -.td-box--height-min { - min-height: 300px; -} - -.td-box--height-med { - min-height: 400px; -} - -.td-box--height-max { - min-height: 500px; -} - -.td-box--height-full { - min-height: 100vh; -} - -@media(min-width:768px) { - .td-box--height-min { - min-height: 450px; - } - .td-box--height-med { - min-height: 500px; - } - .td-box--height-max { - min-height: 650px; - } -} - -.td-box .row.section { - padding-left: 5rem; - padding-right: 5rem; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.td-box .row { - padding-left: 5rem; - padding-right: 5rem; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.td-box.linkbox { - padding: 5rem; -} - -.td-box--0 { - color: #fff; - background-color: #403f4c; -} - -.td-box--0 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #403f4c transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--0 p>a { - color: #d9e5f8; -} - -.td-box--0 p>a:hover, -.td-box--0 p>a:focus { - color: #1e53a0; -} - -.td-box--10.td-box--gradient { - background: #403F4C -webkit-gradient(linear, left top, left bottom, from(#5d5c67), to(#403F4C)) repeat-x!important; - background: #403f4c -webkit-linear-gradient(top, #5d5c67, #403F4C) repeat-x!important; - background: #403f4c -o-linear-gradient(top, #5d5c67, #403F4C) repeat-x!important; - background: #403f4c linear-gradient(180deg, #5d5c67, #403F4C) repeat-x!important; -} - -.td-box--1 { - color: #fff; - background-color: $site_color -} - -.td-box--1 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: $site_color transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--1 p>a { - color: #cadcf5; -} - -.td-box--1 p>a:hover, -.td-box--1 p>a:focus { - color: #1e53a0; -} - -.td-box--11.td-box--gradient { - background: $site_color -webkit-gradient(linear, left top, left bottom, from(#4f7a9f), to($site_color)) repeat-x!important; - background: $site_color -webkit-linear-gradient(top, #4f7a9f, $site_color) repeat-x!important; - background: $site_color -o-linear-gradient(top, #4f7a9f, $site_color) repeat-x!important; - background: $site_color linear-gradient(180deg, #4f7a9f, $site_color) repeat-x!important; -} - -.td-box--2 { - color: #fff; - background-color: #d95040; -} - -.td-box--2 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #d95040 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--2 p>a { - color: #b1cbf1; -} - -.td-box--2 p>a:hover, -.td-box--2 p>a:focus { - color: #1e53a0; -} - -.td-box--12.td-box--gradient { - background: #D95040 -webkit-gradient(linear, left top, left bottom, from(#df6a5d), to(#D95040)) repeat-x!important; - background: #d95040 -webkit-linear-gradient(top, #df6a5d, #D95040) repeat-x!important; - background: #d95040 -o-linear-gradient(top, #df6a5d, #D95040) repeat-x!important; - background: #d95040 linear-gradient(180deg, #df6a5d, #D95040) repeat-x!important; -} - -.td-box--3 { - color: #222; - background-color: #c0e0de; -} - -.td-box--3 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #c0e0de transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--3 p>a { - color: #638ac1; -} - -.td-box--3 p>a:hover, -.td-box--3 p>a:focus { - color: #1e53a0; -} - -.td-box--13.td-box--gradient { - background: #C0E0DE -webkit-gradient(linear, left top, left bottom, from(#c9e5e3), to(#C0E0DE)) repeat-x!important; - background: #c0e0de -webkit-linear-gradient(top, #c9e5e3, #C0E0DE) repeat-x!important; - background: #c0e0de -o-linear-gradient(top, #c9e5e3, #C0E0DE) repeat-x!important; - background: #c0e0de linear-gradient(180deg, #c9e5e3, #C0E0DE) repeat-x!important; -} - -.td-box--4 { - color: #222; - background-color: #fff; -} - -.td-box--4 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #fff transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--4 p>a { - color: #72a1e5; -} - -.td-box--4 p>a:hover, -.td-box--4 p>a:focus { - color: #1e53a0; -} - -.td-box--14.td-box--gradient { - background: white -webkit-gradient(linear, left top, left bottom, from(white), to(white)) repeat-x!important; - background: #fff -webkit-linear-gradient(top, white, white) repeat-x!important; - background: #fff -o-linear-gradient(top, white, white) repeat-x!important; - background: #fff linear-gradient(180deg, white, white) repeat-x!important; -} - -.td-box--5 { - color: #fff; - background-color: #888; -} - -.td-box--5 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #888 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--5 p>a { - color: #b4cdf1; -} - -.td-box--5 p>a:hover, -.td-box--5 p>a:focus { - color: #1e53a0; -} - -.td-box--15.td-box--gradient { - background: #888 -webkit-gradient(linear, left top, left bottom, from(#9a9a9a), to(#888)) repeat-x!important; - background: #888 -webkit-linear-gradient(top, #9a9a9a, #888) repeat-x!important; - background: #888 -o-linear-gradient(top, #9a9a9a, #888) repeat-x!important; - background: #888 linear-gradient(180deg, #9a9a9a, #888) repeat-x!important; -} - -.td-box--6 { - color: #fff; - background-color: #3772ff; -} - -.td-box--6 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #3772ff transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--6 p>a { - color: #a9c6ef; -} - -.td-box--6 p>a:hover, -.td-box--6 p>a:focus { - color: #1e53a0; -} - -.td-box--16.td-box--gradient { - background: #3772FF -webkit-gradient(linear, left top, left bottom, from(#5587ff), to(#3772FF)) repeat-x!important; - background: #3772ff -webkit-linear-gradient(top, #5587ff, #3772FF) repeat-x!important; - background: #3772ff -o-linear-gradient(top, #5587ff, #3772FF) repeat-x!important; - background: #3772ff linear-gradient(180deg, #5587ff, #3772FF) repeat-x!important; -} - -.td-box--7 { - color: #fff; - background-color: #ed6a5a; -} - -.td-box--7 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #ed6a5a transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--7 p>a { - color: #a5c3ee; -} - -.td-box--7 p>a:hover, -.td-box--7 p>a:focus { - color: #1e53a0; -} - -.td-box--17.td-box--gradient { - background: #ED6A5A -webkit-gradient(linear, left top, left bottom, from(#f08073), to(#ED6A5A)) repeat-x!important; - background: #ed6a5a -webkit-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a -o-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a linear-gradient(180deg, #f08073, #ED6A5A) repeat-x!important; -} - -.td-box--8 { - color: #fff; - background-color: #403f4c; -} - -.td-box--8 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #403f4c transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--8 p>a { - color: #d9e5f8; -} - -.td-box--8 p>a:hover, -.td-box--8 p>a:focus { - color: #1e53a0; -} - -.td-box--18.td-box--gradient { - background: #403F4C -webkit-gradient(linear, left top, left bottom, from(#5d5c67), to(#403F4C)) repeat-x!important; - background: #403f4c -webkit-linear-gradient(top, #5d5c67, #403F4C) repeat-x!important; - background: #403f4c -o-linear-gradient(top, #5d5c67, #403F4C) repeat-x!important; - background: #403f4c linear-gradient(180deg, #5d5c67, #403F4C) repeat-x!important; -} - -.td-box--9 { - color: #fff; - background-color: #ed6a5a; -} - -.td-box--9 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #ed6a5a transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--9 p>a { - color: #a5c3ee; -} - -.td-box--9 p>a:hover, -.td-box--9 p>a:focus { - color: #1e53a0; -} - -.td-box--19.td-box--gradient { - background: #ED6A5A -webkit-gradient(linear, left top, left bottom, from(#f08073), to(#ED6A5A)) repeat-x!important; - background: #ed6a5a -webkit-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a -o-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a linear-gradient(180deg, #f08073, #ED6A5A) repeat-x!important; -} - -.td-box--10 { - color: #fff; - background-color: $site_color -} - -.td-box--10 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: $site_color transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--10 p>a { - color: #cadcf5; -} - -.td-box--10 p>a:hover, -.td-box--10 p>a:focus { - color: #1e53a0; -} - -.td-box--110.td-box--gradient { - background: $site_color -webkit-gradient(linear, left top, left bottom, from(#4f7a9f), to($site_color)) repeat-x!important; - background: $site_color -webkit-linear-gradient(top, #4f7a9f, $site_color) repeat-x!important; - background: $site_color -o-linear-gradient(top, #4f7a9f, $site_color) repeat-x!important; - background: $site_color linear-gradient(180deg, #4f7a9f, $site_color) repeat-x!important; -} - -.td-box--11 { - color: #fff; - background-color: #d95040; -} - -.td-box--11 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #d95040 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--11 p>a { - color: #b1cbf1; -} - -.td-box--11 p>a:hover, -.td-box--11 p>a:focus { - color: #1e53a0; -} - -.td-box--111.td-box--gradient { - background: #D95040 -webkit-gradient(linear, left top, left bottom, from(#df6a5d), to(#D95040)) repeat-x!important; - background: #d95040 -webkit-linear-gradient(top, #df6a5d, #D95040) repeat-x!important; - background: #d95040 -o-linear-gradient(top, #df6a5d, #D95040) repeat-x!important; - background: #d95040 linear-gradient(180deg, #df6a5d, #D95040) repeat-x!important; -} - -.td-box--12 { - color: #222; - background-color: #fff; -} - -.td-box--12 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #fff transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--12 p>a { - color: #72a1e5; -} - -.td-box--12 p>a:hover, -.td-box--12 p>a:focus { - color: #1e53a0; -} - -.td-box--112.td-box--gradient { - background: white -webkit-gradient(linear, left top, left bottom, from(white), to(white)) repeat-x!important; - background: #fff -webkit-linear-gradient(top, white, white) repeat-x!important; - background: #fff -o-linear-gradient(top, white, white) repeat-x!important; - background: #fff linear-gradient(180deg, white, white) repeat-x!important; -} - -.td-box--13 { - color: #222; - background-color: #c0e0de; -} - -.td-box--13 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #c0e0de transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--13 p>a { - color: #638ac1; -} - -.td-box--13 p>a:hover, -.td-box--13 p>a:focus { - color: #1e53a0; -} - -.td-box--113.td-box--gradient { - background: #C0E0DE -webkit-gradient(linear, left top, left bottom, from(#c9e5e3), to(#C0E0DE)) repeat-x!important; - background: #c0e0de -webkit-linear-gradient(top, #c9e5e3, #C0E0DE) repeat-x!important; - background: #c0e0de -o-linear-gradient(top, #c9e5e3, #C0E0DE) repeat-x!important; - background: #c0e0de linear-gradient(180deg, #c9e5e3, #C0E0DE) repeat-x!important; -} - -.td-box--blue { - color: #fff; - background-color: #72a1e5; -} - -.td-box--blue .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #72a1e5 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--blue p>a { - color: #a0c0ee; -} - -.td-box--blue p>a:hover, -.td-box--blue p>a:focus { - color: #1e53a0; -} - -.td-box--1blue.td-box--gradient { - background: #72A1E5 -webkit-gradient(linear, left top, left bottom, from(#87afe9), to(#72A1E5)) repeat-x!important; - background: #72a1e5 -webkit-linear-gradient(top, #87afe9, #72A1E5) repeat-x!important; - background: #72a1e5 -o-linear-gradient(top, #87afe9, #72A1E5) repeat-x!important; - background: #72a1e5 linear-gradient(180deg, #87afe9, #72A1E5) repeat-x!important; -} - -.td-box--indigo { - color: #fff; - background-color: #6610f2; -} - -.td-box--indigo .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #6610f2 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--indigo p>a { - color: #b8cff2; -} - -.td-box--indigo p>a:hover, -.td-box--indigo p>a:focus { - color: #1e53a0; -} - -.td-box--1indigo.td-box--gradient { - background: #6610f2 -webkit-gradient(linear, left top, left bottom, from(#7d34f4), to(#6610f2)) repeat-x!important; - background: #6610f2 -webkit-linear-gradient(top, #7d34f4, #6610f2) repeat-x!important; - background: #6610f2 -o-linear-gradient(top, #7d34f4, #6610f2) repeat-x!important; - background: #6610f2 linear-gradient(180deg, #7d34f4, #6610f2) repeat-x!important; -} - -.td-box--purple { - color: #fff; - background-color: #6f42c1; -} - -.td-box--purple .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #6f42c1 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--purple p>a { - color: #b7cff2; -} - -.td-box--purple p>a:hover, -.td-box--purple p>a:focus { - color: #1e53a0; -} - -.td-box--1purple.td-box--gradient { - background: #6f42c1 -webkit-gradient(linear, left top, left bottom, from(#855eca), to(#6f42c1)) repeat-x!important; - background: #6f42c1 -webkit-linear-gradient(top, #855eca, #6f42c1) repeat-x!important; - background: #6f42c1 -o-linear-gradient(top, #855eca, #6f42c1) repeat-x!important; - background: #6f42c1 linear-gradient(180deg, #855eca, #6f42c1) repeat-x!important; -} - -.td-box--pink { - color: #fff; - background-color: #e83e8c; -} - -.td-box--pink .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #e83e8c transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--pink p>a { - color: #aec9f0; -} - -.td-box--pink p>a:hover, -.td-box--pink p>a:focus { - color: #1e53a0; -} - -.td-box--1pink.td-box--gradient { - background: #e83e8c -webkit-gradient(linear, left top, left bottom, from(#eb5b9d), to(#e83e8c)) repeat-x!important; - background: #e83e8c -webkit-linear-gradient(top, #eb5b9d, #e83e8c) repeat-x!important; - background: #e83e8c -o-linear-gradient(top, #eb5b9d, #e83e8c) repeat-x!important; - background: #e83e8c linear-gradient(180deg, #eb5b9d, #e83e8c) repeat-x!important; -} - -.td-box--red { - color: #fff; - background-color: #dc3545; -} - -.td-box--red .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #dc3545 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--red p>a { - color: #b4cdf1; -} - -.td-box--red p>a:hover, -.td-box--red p>a:focus { - color: #1e53a0; -} - -.td-box--1red.td-box--gradient { - background: #dc3545 -webkit-gradient(linear, left top, left bottom, from(#e15361), to(#dc3545)) repeat-x!important; - background: #dc3545 -webkit-linear-gradient(top, #e15361, #dc3545) repeat-x!important; - background: #dc3545 -o-linear-gradient(top, #e15361, #dc3545) repeat-x!important; - background: #dc3545 linear-gradient(180deg, #e15361, #dc3545) repeat-x!important; -} - -.td-box--orange { - color: #fff; - background-color: #ba5a31; -} - -.td-box--orange .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #ba5a31 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--orange p>a { - color: #bed4f3; -} - -.td-box--orange p>a:hover, -.td-box--orange p>a:focus { - color: #1e53a0; -} - -.td-box--1orange.td-box--gradient { - background: #BA5A31 -webkit-gradient(linear, left top, left bottom, from(#c47350), to(#BA5A31)) repeat-x!important; - background: #ba5a31 -webkit-linear-gradient(top, #c47350, #BA5A31) repeat-x!important; - background: #ba5a31 -o-linear-gradient(top, #c47350, #BA5A31) repeat-x!important; - background: #ba5a31 linear-gradient(180deg, #c47350, #BA5A31) repeat-x!important; -} - -.td-box--yellow { - color: #fff; - background-color: #ffc107; -} - -.td-box--yellow .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #ffc107 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--yellow p>a { - color: #b7cff2; -} - -.td-box--yellow p>a:hover, -.td-box--yellow p>a:focus { - color: #1e53a0; -} - -.td-box--1yellow.td-box--gradient { - background: #ffc107 -webkit-gradient(linear, left top, left bottom, from(#ffca2c), to(#ffc107)) repeat-x!important; - background: #ffc107 -webkit-linear-gradient(top, #ffca2c, #ffc107) repeat-x!important; - background: #ffc107 -o-linear-gradient(top, #ffca2c, #ffc107) repeat-x!important; - background: #ffc107 linear-gradient(180deg, #ffca2c, #ffc107) repeat-x!important; -} - -.td-box--green { - color: #fff; - background-color: #28a745; -} - -.td-box--green .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #28a745 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--green p>a { - color: #c6d9f4; -} - -.td-box--green p>a:hover, -.td-box--green p>a:focus { - color: #1e53a0; -} - -.td-box--1green.td-box--gradient { - background: #28a745 -webkit-gradient(linear, left top, left bottom, from(#48b461), to(#28a745)) repeat-x!important; - background: #28a745 -webkit-linear-gradient(top, #48b461, #28a745) repeat-x!important; - background: #28a745 -o-linear-gradient(top, #48b461, #28a745) repeat-x!important; - background: #28a745 linear-gradient(180deg, #48b461, #28a745) repeat-x!important; -} - -.td-box--teal { - color: #fff; - background-color: #20c997; -} - -.td-box--teal .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #20c997 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--teal p>a { - color: #bfd4f3; -} - -.td-box--teal p>a:hover, -.td-box--teal p>a:focus { - color: #1e53a0; -} - -.td-box--1teal.td-box--gradient { - background: #20c997 -webkit-gradient(linear, left top, left bottom, from(#41d1a7), to(#20c997)) repeat-x!important; - background: #20c997 -webkit-linear-gradient(top, #41d1a7, #20c997) repeat-x!important; - background: #20c997 -o-linear-gradient(top, #41d1a7, #20c997) repeat-x!important; - background: #20c997 linear-gradient(180deg, #41d1a7, #20c997) repeat-x!important; -} - -.td-box--cyan { - color: #fff; - background-color: #17a2b8; -} - -.td-box--cyan .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #17a2b8 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--cyan p>a { - color: #c6d9f4; -} - -.td-box--cyan p>a:hover, -.td-box--cyan p>a:focus { - color: #1e53a0; -} - -.td-box--1cyan.td-box--gradient { - background: #17a2b8 -webkit-gradient(linear, left top, left bottom, from(#3ab0c3), to(#17a2b8)) repeat-x!important; - background: #17a2b8 -webkit-linear-gradient(top, #3ab0c3, #17a2b8) repeat-x!important; - background: #17a2b8 -o-linear-gradient(top, #3ab0c3, #17a2b8) repeat-x!important; - background: #17a2b8 linear-gradient(180deg, #3ab0c3, #17a2b8) repeat-x!important; -} - -.td-box--white { - color: #222; - background-color: #fff; -} - -.td-box--white .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #fff transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--white p>a { - color: #72a1e5; -} - -.td-box--white p>a:hover, -.td-box--white p>a:focus { - color: #1e53a0; -} - -.td-box--1white.td-box--gradient { - background: #fff -webkit-gradient(linear, left top, left bottom, from(white), to(#fff)) repeat-x!important; - background: #fff -webkit-linear-gradient(top, white, #fff) repeat-x!important; - background: #fff -o-linear-gradient(top, white, #fff) repeat-x!important; - background: #fff linear-gradient(180deg, white, #fff) repeat-x!important; -} - -.td-box--gray { - color: #fff; - background-color: #888; -} - -.td-box--gray .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #888 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--gray p>a { - color: #b4cdf1; -} - -.td-box--gray p>a:hover, -.td-box--gray p>a:focus { - color: #1e53a0; -} - -.td-box--1gray.td-box--gradient { - background: #888 -webkit-gradient(linear, left top, left bottom, from(#9a9a9a), to(#888)) repeat-x!important; - background: #888 -webkit-linear-gradient(top, #9a9a9a, #888) repeat-x!important; - background: #888 -o-linear-gradient(top, #9a9a9a, #888) repeat-x!important; - background: #888 linear-gradient(180deg, #9a9a9a, #888) repeat-x!important; -} - -.td-box--gray-dark { - color: #fff; - background-color: #333; -} - -.td-box--gray-dark .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #333 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--gray-dark p>a { - color: #e3ecfa; -} - -.td-box--gray-dark p>a:hover, -.td-box--gray-dark p>a:focus { - color: #1e53a0; -} - -.td-box--1gray-dark.td-box--gradient { - background: #333 -webkit-gradient(linear, left top, left bottom, from(#525252), to(#333)) repeat-x!important; - background: #333 -webkit-linear-gradient(top, #525252, #333) repeat-x!important; - background: #333 -o-linear-gradient(top, #525252, #333) repeat-x!important; - background: #333 linear-gradient(180deg, #525252, #333) repeat-x!important; -} - -.td-box--primary { - color: #fff; - background-color: $site_color -} - -.td-box--primary .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: $site_color transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--primary p>a { - color: #cadcf5; -} - -.td-box--primary p>a:hover, -.td-box--primary p>a:focus { - color: #1e53a0; -} - -.td-box--1primary.td-box--gradient { - background: $site_color -webkit-gradient(linear, left top, left bottom, from(#4f7a9f), to($site_color)) repeat-x!important; - background: $site_color -webkit-linear-gradient(top, #4f7a9f, $site_color) repeat-x!important; - background: $site_color -o-linear-gradient(top, #4f7a9f, $site_color) repeat-x!important; - background: $site_color linear-gradient(180deg, #4f7a9f, $site_color) repeat-x!important; -} - -.td-box--secondary { - color: #fff; - background-color: #d95040; -} - -.td-box--secondary .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #d95040 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--secondary p>a { - color: #b1cbf1; -} - -.td-box--secondary p>a:hover, -.td-box--secondary p>a:focus { - color: #1e53a0; -} - -.td-box--1secondary.td-box--gradient { - background: #D95040 -webkit-gradient(linear, left top, left bottom, from(#df6a5d), to(#D95040)) repeat-x!important; - background: #d95040 -webkit-linear-gradient(top, #df6a5d, #D95040) repeat-x!important; - background: #d95040 -o-linear-gradient(top, #df6a5d, #D95040) repeat-x!important; - background: #d95040 linear-gradient(180deg, #df6a5d, #D95040) repeat-x!important; -} - -.td-box--success { - color: #fff; - background-color: #3772ff; -} - -.td-box--success .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #3772ff transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--success p>a { - color: #a9c6ef; -} - -.td-box--success p>a:hover, -.td-box--success p>a:focus { - color: #1e53a0; -} - -.td-box--1success.td-box--gradient { - background: #3772FF -webkit-gradient(linear, left top, left bottom, from(#5587ff), to(#3772FF)) repeat-x!important; - background: #3772ff -webkit-linear-gradient(top, #5587ff, #3772FF) repeat-x!important; - background: #3772ff -o-linear-gradient(top, #5587ff, #3772FF) repeat-x!important; - background: #3772ff linear-gradient(180deg, #5587ff, #3772FF) repeat-x!important; -} - -.td-box--info { - color: #222; - background-color: #c0e0de; -} - -.td-box--info .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #c0e0de transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--info p>a { - color: #638ac1; -} - -.td-box--info p>a:hover, -.td-box--info p>a:focus { - color: #1e53a0; -} - -.td-box--1info.td-box--gradient { - background: #C0E0DE -webkit-gradient(linear, left top, left bottom, from(#c9e5e3), to(#C0E0DE)) repeat-x!important; - background: #c0e0de -webkit-linear-gradient(top, #c9e5e3, #C0E0DE) repeat-x!important; - background: #c0e0de -o-linear-gradient(top, #c9e5e3, #C0E0DE) repeat-x!important; - background: #c0e0de linear-gradient(180deg, #c9e5e3, #C0E0DE) repeat-x!important; -} - -.td-box--warning { - color: #fff; - background-color: #ed6a5a; -} - -.td-box--warning .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #ed6a5a transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--warning p>a { - color: #a5c3ee; -} - -.td-box--warning p>a:hover, -.td-box--warning p>a:focus { - color: #1e53a0; -} - -.td-box--1warning.td-box--gradient { - background: #ED6A5A -webkit-gradient(linear, left top, left bottom, from(#f08073), to(#ED6A5A)) repeat-x!important; - background: #ed6a5a -webkit-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a -o-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a linear-gradient(180deg, #f08073, #ED6A5A) repeat-x!important; -} - -.td-box--danger { - color: #fff; - background-color: #ed6a5a; -} - -.td-box--danger .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #ed6a5a transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--danger p>a { - color: #a5c3ee; -} - -.td-box--danger p>a:hover, -.td-box--danger p>a:focus { - color: #1e53a0; -} - -.td-box--1danger.td-box--gradient { - background: #ED6A5A -webkit-gradient(linear, left top, left bottom, from(#f08073), to(#ED6A5A)) repeat-x!important; - background: #ed6a5a -webkit-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a -o-linear-gradient(top, #f08073, #ED6A5A) repeat-x!important; - background: #ed6a5a linear-gradient(180deg, #f08073, #ED6A5A) repeat-x!important; -} - -.td-box--light { - color: #222; - background-color: #d3f3ee; -} - -.td-box--light .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #d3f3ee transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--light p>a { - color: #6993d0; -} - -.td-box--light p>a:hover, -.td-box--light p>a:focus { - color: #1e53a0; -} - -.td-box--1light.td-box--gradient { - background: #D3F3EE -webkit-gradient(linear, left top, left bottom, from(#daf5f1), to(#D3F3EE)) repeat-x!important; - background: #d3f3ee -webkit-linear-gradient(top, #daf5f1, #D3F3EE) repeat-x!important; - background: #d3f3ee -o-linear-gradient(top, #daf5f1, #D3F3EE) repeat-x!important; - background: #d3f3ee linear-gradient(180deg, #daf5f1, #D3F3EE) repeat-x!important; -} - -.td-box--dark { - color: #fff; - background-color: #403f4c; -} - -.td-box--dark .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #403f4c transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--dark p>a { - color: #d9e5f8; -} - -.td-box--dark p>a:hover, -.td-box--dark p>a:focus { - color: #1e53a0; -} - -.td-box--1dark.td-box--gradient { - background: #403F4C -webkit-gradient(linear, left top, left bottom, from(#5d5c67), to(#403F4C)) repeat-x!important; - background: #403f4c -webkit-linear-gradient(top, #5d5c67, #403F4C) repeat-x!important; - background: #403f4c -o-linear-gradient(top, #5d5c67, #403F4C) repeat-x!important; - background: #403f4c linear-gradient(180deg, #5d5c67, #403F4C) repeat-x!important; -} - -.td-box--100 { - color: #222; - background-color: #f8f9fa; -} - -.td-box--100 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #f8f9fa transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--100 p>a { - color: #709ee0; -} - -.td-box--100 p>a:hover, -.td-box--100 p>a:focus { - color: #1e53a0; -} - -.td-box--1100.td-box--gradient { - background: #f8f9fa -webkit-gradient(linear, left top, left bottom, from(#f9fafb), to(#f8f9fa)) repeat-x!important; - background: #f8f9fa -webkit-linear-gradient(top, #f9fafb, #f8f9fa) repeat-x!important; - background: #f8f9fa -o-linear-gradient(top, #f9fafb, #f8f9fa) repeat-x!important; - background: #f8f9fa linear-gradient(180deg, #f9fafb, #f8f9fa) repeat-x!important; -} - -.td-box--200 { - color: #222; - background-color: #eee; -} - -.td-box--200 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #eee transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--200 p>a { - color: #6d99d8; -} - -.td-box--200 p>a:hover, -.td-box--200 p>a:focus { - color: #1e53a0; -} - -.td-box--1200.td-box--gradient { - background: #eee -webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#eee)) repeat-x!important; - background: #eee -webkit-linear-gradient(top, #f1f1f1, #eee) repeat-x!important; - background: #eee -o-linear-gradient(top, #f1f1f1, #eee) repeat-x!important; - background: #eee linear-gradient(180deg, #f1f1f1, #eee) repeat-x!important; -} - -.td-box--300 { - color: #222; - background-color: #dee2e6; -} - -.td-box--300 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #dee2e6 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--300 p>a { - color: #6993cf; -} - -.td-box--300 p>a:hover, -.td-box--300 p>a:focus { - color: #1e53a0; -} - -.td-box--1300.td-box--gradient { - background: #dee2e6 -webkit-gradient(linear, left top, left bottom, from(#e3e6ea), to(#dee2e6)) repeat-x!important; - background: #dee2e6 -webkit-linear-gradient(top, #e3e6ea, #dee2e6) repeat-x!important; - background: #dee2e6 -o-linear-gradient(top, #e3e6ea, #dee2e6) repeat-x!important; - background: #dee2e6 linear-gradient(180deg, #e3e6ea, #dee2e6) repeat-x!important; -} - -.td-box--400 { - color: #222; - background-color: #ccc; -} - -.td-box--400 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #ccc transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--400 p>a { - color: #6288be; -} - -.td-box--400 p>a:hover, -.td-box--400 p>a:focus { - color: #1e53a0; -} - -.td-box--1400.td-box--gradient { - background: #ccc -webkit-gradient(linear, left top, left bottom, from(#d4d4d4), to(#ccc)) repeat-x!important; - background: #ccc -webkit-linear-gradient(top, #d4d4d4, #ccc) repeat-x!important; - background: #ccc -o-linear-gradient(top, #d4d4d4, #ccc) repeat-x!important; - background: #ccc linear-gradient(180deg, #d4d4d4, #ccc) repeat-x!important; -} - -.td-box--500 { - color: #fff; - background-color: #adb5bd; -} - -.td-box--500 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #adb5bd transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--500 p>a { - color: #9bbced; -} - -.td-box--500 p>a:hover, -.td-box--500 p>a:focus { - color: #1e53a0; -} - -.td-box--1500.td-box--gradient { - background: #adb5bd -webkit-gradient(linear, left top, left bottom, from(#b9c0c7), to(#adb5bd)) repeat-x!important; - background: #adb5bd -webkit-linear-gradient(top, #b9c0c7, #adb5bd) repeat-x!important; - background: #adb5bd -o-linear-gradient(top, #b9c0c7, #adb5bd) repeat-x!important; - background: #adb5bd linear-gradient(180deg, #b9c0c7, #adb5bd) repeat-x!important; -} - -.td-box--600 { - color: #fff; - background-color: #888; -} - -.td-box--600 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #888 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--600 p>a { - color: #b4cdf1; -} - -.td-box--600 p>a:hover, -.td-box--600 p>a:focus { - color: #1e53a0; -} - -.td-box--1600.td-box--gradient { - background: #888 -webkit-gradient(linear, left top, left bottom, from(#9a9a9a), to(#888)) repeat-x!important; - background: #888 -webkit-linear-gradient(top, #9a9a9a, #888) repeat-x!important; - background: #888 -o-linear-gradient(top, #9a9a9a, #888) repeat-x!important; - background: #888 linear-gradient(180deg, #9a9a9a, #888) repeat-x!important; -} - -.td-box--700 { - color: #fff; - background-color: #495057; -} - -.td-box--700 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #495057 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--700 p>a { - color: #d3e2f7; -} - -.td-box--700 p>a:hover, -.td-box--700 p>a:focus { - color: #1e53a0; -} - -.td-box--1700.td-box--gradient { - background: #495057 -webkit-gradient(linear, left top, left bottom, from(#646a70), to(#495057)) repeat-x!important; - background: #495057 -webkit-linear-gradient(top, #646a70, #495057) repeat-x!important; - background: #495057 -o-linear-gradient(top, #646a70, #495057) repeat-x!important; - background: #495057 linear-gradient(180deg, #646a70, #495057) repeat-x!important; -} - -.td-box--800 { - color: #fff; - background-color: #333; -} - -.td-box--800 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #333 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--800 p>a { - color: #e3ecfa; -} - -.td-box--800 p>a:hover, -.td-box--800 p>a:focus { - color: #1e53a0; -} - -.td-box--1800.td-box--gradient { - background: #333 -webkit-gradient(linear, left top, left bottom, from(#525252), to(#333)) repeat-x!important; - background: #333 -webkit-linear-gradient(top, #525252, #333) repeat-x!important; - background: #333 -o-linear-gradient(top, #525252, #333) repeat-x!important; - background: #333 linear-gradient(180deg, #525252, #333) repeat-x!important; -} - -.td-box--900 { - color: #fff; - background-color: #222; -} - -.td-box--900 .td-arrow-down::before { - left: 50%; - margin-left: -30px; - bottom: -25px; - border-style: solid; - border-width: 25px 30px 0; - border-color: #222 transparent transparent transparent; - z-index: 3; - position: absolute; - content: ""; -} - -.td-box--900 p>a { - color: #ecf2fc; -} - -.td-box--900 p>a:hover, -.td-box--900 p>a:focus { - color: #1e53a0; -} - -.td-box--1900.td-box--gradient { - background: #222 -webkit-gradient(linear, left top, left bottom, from(#434343), to(#222)) repeat-x!important; - background: #222 -webkit-linear-gradient(top, #434343, #222) repeat-x!important; - background: #222 -o-linear-gradient(top, #434343, #222) repeat-x!important; - background: #222 linear-gradient(180deg, #434343, #222) repeat-x!important; -} - -.td-blog .td-rss-button { - position: absolute; - top: 5.5rem; - right: 1rem; - z-index: 22; -} - -.td-content .highlight { - margin: 2rem 0; - padding: 1rem; - background-color: #161b22; -} - -.td-content .highlight pre, -.td-content .highlight div { - background-color: inherit!important; -} - -.td-content .highlight pre { - margin: 0; - padding: 0; -} - -.td-content p code, -.td-content li>code, -.td-content table code { - color: inherit; - padding: .2em .4em; - margin: 0; - font-size: 85%; - word-break: normal; - background-color: rgba(0, 0, 0, .05); - border-radius: .25rem; -} - -.td-content p code br, -.td-content li>code br, -.td-content table code br { - display: none; -} - -.td-content pre { - word-wrap: normal; - background-color: #f8f9fa; - padding: 1rem; -} - -.td-content pre>code { - padding: 0; - margin: 0; - font-size: 100%; - word-break: normal; - white-space: pre; - border: 0; -} - -.td-navbar-cover { - background: $site_color -} - -@media(min-width:768px) { - .td-navbar-cover { - background: transparent!important; - } - .td-navbar-cover .nav-link { - text-shadow: 1px 1px 2px #403f4c; - } -} - -.td-navbar-cover.navbar-bg-onscroll .nav-link { - text-shadow: none; -} - -.navbar-bg-onscroll { - background: $site_color!important; - opacity: inherit; -} - -.td-navbar { - background: $site_color; - min-height: 4rem; - margin: 0; - z-index: 32; -} - -footer { - background: $site_color; -} - -@media(min-width:768px) { - .td-navbar { - position: fixed; - top: 0; - width: 100%; - } -} - -.td-navbar .navbar-brand { - text-transform: none; - text-align: center; -} - -.td-navbar .navbar-brand .nav-link { - display: inline-block; - margin-right: -30px; -} - -.td-navbar .navbar-brand img { - display: inline-block; - margin: 0 10px; - height: 30px; -} - -.td-navbar .nav-link { - text-transform: none; - font-weight: 700; -} - -.td-navbar .td-search-input { - border: none; -} - -.td-navbar .td-search-input::-webkit-input-placeholder { - color: rgba(255, 255, 255, .75); -} - -.td-navbar .td-search-input:-moz-placeholder { - color: rgba(255, 255, 255, .75); -} - -.td-navbar .td-search-input::-moz-placeholder { - color: rgba(255, 255, 255, .75); -} - -.td-navbar .td-search-input:-ms-input-placeholder { - color: rgba(255, 255, 255, .75); -} - -.td-navbar .dropdown { - min-width: 100px; -} - -.headerlink { - display: inline-block; - margin-left: 1rem; - -webkit-transform: translateY(.5rem); - transform: translateY(.5rem); - transition: color .25s, opacity .125s .25s, -webkit-transform .25s .25s; - transition: transform .25s .25s, color .25s, opacity .125s .25s; - transition: transform .25s .25s, color .25s, opacity .125s .25s, -webkit-transform .25s .25s; - opacity: 0; -} -[dir=rtl] .headerlink { - margin-right: 1rem; - margin-left: 0; -} -html body .md-typeset .headerlink { - color: rgba(0, 0, 0, .26); -} - -.headerlink { - opacity: 0; -} - -.headerlink:focus, .headerlink:hover { - -webkit-transform: translate(0); - transform: translate(0); - opacity: 1; -} - -@media(max-width:991.98px) { - .td-navbar { - padding-right: .5rem; - padding-left: .75rem; - } - .td-navbar .td-navbar-nav-scroll { - max-width: 100%; - height: 2.5rem; - margin-top: .25rem; - overflow: hidden; - font-size: .875rem; - } - .td-navbar .td-navbar-nav-scroll .nav-link { - padding-right: .25rem; - padding-left: 0; - } - .td-navbar .td-navbar-nav-scroll .navbar-nav { - padding-bottom: 2rem; - overflow-x: auto; - white-space: nowrap; - -webkit-overflow-scrolling: touch; - } -} - -.td-sidebar-nav { - padding-right: .5rem; - margin-right: -15px; - margin-left: -15px; -} - -@media(min-width:768px) { - @supports((position: -webkit-sticky) or (position: sticky)) { - .td-sidebar-nav { - max-height: -webkit-calc(100vh - 10rem); - max-height: calc(100vh - 10rem); - overflow-y: auto; - } - } -} - -@media(min-width:768px) { - .td-sidebar-nav { - display: block!important; - } -} - -.td-sidebar-nav__section { - padding-left: 0; -} - -.td-sidebar-nav__section li { - list-style: none; -} - -.td-sidebar-nav__section ul { - padding: 0; - margin: 0; -} - -@media(min-width:768px) { - .td-sidebar-nav__section>ul { - padding-left: .5rem; - } -} - -.td-sidebar-nav__section-title { - display: block; - font-weight: 500; -} - -.td-sidebar-nav__section-title .active { - font-weight: 700; -} - -.td-sidebar-nav__section-title a { - color: #c9d1d9; -} - -.td-sidebar-nav .td-sidebar-link { - display: block; - padding-bottom: .375rem; -} - -.td-sidebar-nav .td-sidebar-link__page { - color: #fff; - font-weight: 300; -} - -.td-sidebar-nav a:hover { - color: #72a1e5; - text-decoration: none; -} - -.td-sidebar-nav a.active { - font-weight: 700; -} - -.td-sidebar-nav .dropdown a { - color: #fff; -} - -.td-sidebar-nav .dropdown .nav-link { - padding: 0 0 1rem; -} - -.td-sidebar { - padding-bottom: 1rem; -} - -@media(min-width:768px) { - .td-sidebar { - padding-top: 4rem; - background-color: rgba(48, 99, 142, .03); - padding-right: 1rem; - border-right: 1px solid #dee2e6; - } -} - -.td-sidebar__toggle { - line-height: 1; - color: #c9d1d9; - margin: 1rem; -} - -.td-sidebar__toggle:hover, .td-sidebar__toggle:focus { - text-decoration: none; -} - -.td-sidebar__search { - padding: 1rem 15px; - margin-right: -15px; - margin-left: -15px; -} - -.td-sidebar__inner { - -webkit-box-ordinal-group: 1; - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; -} - -@media(min-width:768px) { - @supports((position: -webkit-sticky) or (position: sticky)) { - .td-sidebar__inner { - position: -webkit-sticky; - position: sticky; - top: 4rem; - z-index: 10; - height: -webkit-calc(100vh - 6rem); - height: calc(100vh - 6rem); - } - } -} - -@media(min-width:1200px) { - .td-sidebar__inner { - -webkit-box-flex: 0; - -webkit-flex: 0 1 320px; - -ms-flex: 0 1 320px; - flex: 0 1 320px; - } -} - -.td-sidebar__inner .td-search-box { - width: 100%; -} - -.td-toc { - border-left: 1px solid #dee2e6; - -webkit-box-ordinal-group: 3; - -webkit-order: 2; - -ms-flex-order: 2; - order: 2; - padding-top: .75rem; - padding-bottom: 1.5rem; - vertical-align: top; -} - -@supports((position:-webkit-sticky) or (position:sticky)) { - .td-toc { - position: -webkit-sticky; - position: sticky; - top: 4rem; - height: -webkit-calc(100vh - 10rem); - height: calc(100vh - 4rem); - overflow-y: auto; - } -} - -.td-toc a { - display: block; - font-weight: 300; - padding-bottom: .25rem; -} - -.td-toc li { - list-style: none; - display: block; -} - -.td-toc li li { - margin-left: .5rem; -} - -.td-toc .td-page-meta a { - font-weight: 500; -} - -.td-toc #TableOfContents a { - color: #c9d1d9; -} - -.td-toc #TableOfContents a:hover { - color: #72a1e5; - text-decoration: none; -} - -.td-toc ul { - padding-left: 0; -} - -.btn { - border-radius: 1rem; -} - -.btn-lg, -.btn-group-lg>.btn { - border-radius: 2rem; -} - -.btn-sm, -.btn-group-sm>.btn { - border-radius: 1rem; -} - -.breadcrumb { - background: 0 0; - padding-left: 0; - padding-top: 0; -} - -.alert { - font-weight: 500; - background: #fff; - color: inherit; - border-radius: 0; -} - -.alert-primary { - border-style: solid; - border-color: $site_color; - border-width: 0 0 0 4px; -} - -.alert-primary .alert-heading { - color: $site_color -} - -.alert-secondary { - border-style: solid; - border-color: #888; - border-width: 0 0 0 4px; -} - -.alert-secondary .alert-heading { - color: #888; -} - -.alert-success { - border-style: solid; - border-color: #13a733; - border-width: 0 0 0 4px; -} - -.alert-success .alert-heading { - color: #13a733; -} - -.alert-info { - border-style: solid; - border-color: #479de7; - border-width: 0 0 0 4px; -} - -.alert-info .alert-heading { - color: #479de7; -} - -.alert-warning { - border-style: solid; - border-color: #f7820a; - border-width: 0 0 0 4px; -} - -.alert-warning .alert-heading { - color: #f7820a; -} - -.alert-danger { - border-style: solid; - border-color: #d95040; - border-width: 0 0 0 4px; -} - -.alert-danger .alert-heading { - color: #d95040; -} - -.alert-light { - border-style: solid; - border-color: #d3f3ee; - border-width: 0 0 0 4px; -} - -.alert-light .alert-heading { - color: #d3f3ee; -} - -.alert-dark { - border-style: solid; - border-color: #403f4c; - border-width: 0 0 0 4px; -} - -.alert-dark .alert-heading { - color: #403f4c; -} - -.td-content { - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - overflow-wrap: anywhere; -} - -.td-content p, -.td-content li, -.td-content td { - font-weight: 400; -} - -.td-content>h1 { - font-weight: 700; - margin-bottom: 1rem; -} - -.td-content>h2 { - margin-bottom: 1rem; -} - -.td-content>h2:not(:first-child) { - margin-top: 3rem; -} - -.td-content>h2+h3 { - margin-top: 1rem; -} - -.td-content>h3, -.td-content>h4, -.td-content>h5, -.td-content>h6 { - margin-bottom: 1rem; - margin-top: 2rem; -} - -.td-content>blockquote { - padding: 0 0 0 1rem; - margin-bottom: 1rem; - color: #888; - border-left: 6px solid $site_color -} - -.td-content>ul li, -.td-content>ol li { - margin-bottom: .25rem; -} - -.td-content strong { - font-weight: 700; -} - -.td-content .alert:not(:first-child) { - margin-top: 2rem; - margin-bottom: 2rem; -} - -.td-content .lead { - margin-bottom: 1.5rem; -} - -.td-title { - margin-top: 1rem; - margin-bottom: .5rem; -} - -@media(min-width:576px) { - .td-title { - font-size: 3rem; - } -} - -.td-search-input { - background: transparent; - border-radius: 1rem; - font-family: "font awesome 5 free", open sans, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol; -} - -.td-search-input.form-control:focus { - border-color: #f5f8fb; - -webkit-box-shadow: 0 0 0 2px #82afd5; - box-shadow: 0 0 0 2px #82afd5; -} - -.td-outer { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - - -webkit-scrollbar { - width: 12px; - height: 12px; - } - - -webkit-scrollbar-track { - box-shadow: inset 0 0 10px darkgray; - border-radius: 10px; - } - - -webkit-scrollbar-thumb { - border-radius: 10px; - background: gray; - box-shadow: inset 0 0 6px rgba(0,0,0,0.5); - } - - -ms-flex-direction: column; - flex-direction: column; - height: 100vh; - -} - -@media(min-width:768px) { - .td-default main section:first-of-type { - padding-top: 8rem; - } -} - -.td-main { - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; -} - -.td-main main { - padding-bottom: 2rem; -} - -@media(min-width:768px) { - .td-main main { - padding-top: 5.5rem; - } -} - -.td-cover-block--height-min { - min-height: 300px; -} - -.td-cover-block--height-med { - min-height: 400px; -} - -.td-cover-block--height-max { - min-height: 500px; -} - -.td-cover-block--height-full { - min-height: 100vh; -} - -@media(min-width:768px) { - .td-cover-block--height-min { - min-height: 450px; - } - .td-cover-block--height-med { - min-height: 500px; - } - .td-cover-block--height-max { - min-height: 650px; - } -} - -.td-cover-logo { - margin-right: .5em; -} - -.td-cover-block { - position: relative; - padding-top: 5rem; - padding-bottom: 5rem; - background-repeat: no-repeat; - background-position: 50% 0; - -webkit-background-size: cover; - background-size: cover; -} - -.td-bg-arrow-wrapper { - position: relative; -} - -.section-index .entry { - padding: .75rem; -} - -.section-index h5 { - margin-bottom: 0; -} - -.section-index h5 a { - font-weight: 700; -} - -.section-index p { - margin-top: 0; -} - -.pageinfo { - font-weight: 500; - background: #f8f9fa; - color: inherit; - border-radius: 0; - margin: 2rem; - padding: 1.5rem; - padding-bottom: .5rem; -} - -.pageinfo-primary { - border-style: solid; - border-color: $site_color -} - -.pageinfo-secondary { - border-style: solid; - border-color: #d95040; -} - -.pageinfo-success { - border-style: solid; - border-color: #3772ff; -} - -.pageinfo-info { - border-style: solid; - border-color: #c0e0de; -} - -.pageinfo-warning { - border-style: solid; - border-color: #ed6a5a; -} - -.pageinfo-danger { - border-style: solid; - border-color: #ed6a5a; -} - -.pageinfo-light { - border-style: solid; - border-color: #d3f3ee; -} - -.pageinfo-dark { - border-style: solid; - border-color: #403f4c; -} - -footer { - min-height: 150px; - border-top-width: 1px; - border-top-style: solid; - border-top-color: #c9d1d9; -} - -@media(max-width:991.98px) { - footer { - min-height: 200px; - } -} - -@media(min-width:768px) { - .td-offset-anchor:target { - display: block; - position: relative; - top: -4rem; - visibility: hidden; - } - h2[id]:before, - h3[id]:before, - h4[id]:before, - h5[id]:before { - display: block; - content: " "; - margin-top: -5rem; - height: 5rem; - visibility: hidden; - } -} - -.h1, h1 { - font-size: 2.25rem; -} - -.h3, h3 { - font-size: 1.5rem; -} - -.feedback--answer { - display: inline-block; - border: 0px; - border-radius: 5px; - cursor: pointer; -} - -.feedback--answer:not([disabled]):hover { - background-color: lightgray; -} - -.feedback--answer-no { - margin-left: 1em; -} - -.feedback--response { - display: none; - margin-top: 1em; -} - -.feedback--response__visible { - display: block; -} - -#scrolltop { - display: none; /* Hidden by default */ - position: fixed; /* Fixed/sticky position */ - bottom: 20px; /* Place the button at the bottom of the page */ - right: 30px; /* Place the button 30px from the right */ - z-index: 99; /* Make sure it does not overlap */ - border: none; /* Remove borders */ - outline: none; /* Remove outline */ - background-color: $site_color; /* Set a background color */ - color: white; /* Text color */ - cursor: pointer; /* Add a mouse pointer on hover */ - padding: 10px 15px; /* Some padding */ - border-radius: 100px; /* Rounded corners */ - font-size: 18px; /* Increase font size */ - font-weight: 600; -} - -#scrolltop:hover { - background-color: #555; /* Add a dark-grey background on hover */ -} diff --git a/_sass/github.scss b/_sass/github.scss deleted file mode 100644 index 0e07f14..0000000 --- a/_sass/github.scss +++ /dev/null @@ -1,79 +0,0 @@ -.gh-source { - display: block; - padding-right: 1.2rem; - transition: opacity .25s; - font-size: 0.8rem; - line-height: 1.2; - color: #f0f6fc; - white-space: nowrap; -} -[dir=rtl] .gh-source { - padding-right: 0; - padding-left: 1.2rem; -} -.gh-source:hover { - color: yellow; -} -.gh-source__icon+.gh-source__repository { - margin-left: -4.4rem; - padding-left: 4rem; -} -[dir=rtl] .gh-source__icon+.gh-source__repository { - margin-right: -4.4rem; - margin-left: 0; - padding-right: 4rem; - padding-left: 0; -} -.gh-source__repository { - display: inline-block; - max-width: 100%; - margin-left: 1.2rem; - font-weight: 700; - text-overflow: ellipsis; - overflow: hidden; - vertical-align: middle; -} -.gh-source__facts { - margin: 0; - padding: 0; - font-size: 0.8rem; - font-weight: 700; - list-style-type: none; - opacity: .75; - overflow: hidden; -} -[data-md-state=done] .gh-source__facts { - -webkit-animation: md-source__facts--done .25s ease-in; - animation: md-source__facts--done .25s ease-in; -} -.gh-source__fact { - float: left; -} -[dir=rtl] .gh-source__fact { - float: right; -} -[data-md-state=done] .gh-source__fact { - -webkit-animation: md-source__fact--done .4s ease-out; - animation: md-source__fact--done .4s ease-out; -} -.gh-source-file { - display: inline-block; - margin: 1em .5em 1em 0; - padding-right: .5rem; - border-radius: .2rem; - background-color: rgba(0, 0, 0, .07); - font-size: 1.28rem; - list-style-type: none; - cursor: pointer; - overflow: hidden; -} -.gh-source-file:before { - display: inline-block; - margin-right: .5rem; - padding: .5rem; - background-color: rgba(0, 0, 0, .26); - color: #fff; - font-size: 1.6rem; - content: "\E86F"; - vertical-align: middle; -} diff --git a/_sass/palette.scss b/_sass/palette.scss deleted file mode 100644 index db47edd..0000000 --- a/_sass/palette.scss +++ /dev/null @@ -1,213 +0,0 @@ -.highlight pre { - border: none !important; -} - -.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 .ch, .highlight .cd, .highlight .cpf { - 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: #ff7b72; - 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: #ff7b72; - font-weight: bold; -} -.highlight .mf { - color: #009999; -} -.highlight .mh { - color: #009999; -} -.highlight .il { - color: #009999; -} -.highlight .mi { - color: #79c0ff; -} -.highlight .mo { - color: #009999; -} -.highlight .m, .highlight .mb, .highlight .mx { - color: #c9d1d9; -} -.highlight .sb { - color: #d14; -} -.highlight .sc { - color: #d14; -} -.highlight .sd { - color: #d14; -} -.highlight .s2 { - color: #a5d6ff; -} -.highlight .se { - color: #d14; -} -.highlight .sh { - color: #d14; -} -.highlight .si { - color: #a5d6ff; -} -.highlight .sx { - color: #d14; -} -.highlight .sr { - color: #009926; -} -.highlight .s1 { - color: #d14; -} -.highlight .ss { - color: #990073; -} -.highlight .s, .highlight .sa, .highlight .dl { - color: #a5d6ff; -} -.highlight .na { - color: #c9d1d9; -} -.highlight .bp { - color: #999999; -} -.highlight .nb { - color: #c9d1d9; -} -.highlight .nc { - color: #c9d1d9; - 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, .highlight .fm { - color: #c9d1d9; - font-weight: bold; -} -.highlight .nl { - color: #990000; - font-weight: bold; -} -.highlight .nn { - color: #555555; -} -.highlight .nt { - color: #c9d1d9; -} -.highlight .vc { - color: #008080; -} -.highlight .vg { - color: #008080; -} -.highlight .vi { - color: #008080; -} -.highlight .nv, .highlight .vm { - color: #c9d1d9; -} -.highlight .ow { - color: #000000; - font-weight: bold; -} -.highlight .o { - color: #c9d1d9; - font-weight: bold; -} -.highlight .w { - color: #bbbbbb; -} -.highlight { - background-color: #f8f8f8; -} diff --git a/assets/favicons/android-icon-192x192.png b/android-chrome-192x192.png similarity index 100% rename from assets/favicons/android-icon-192x192.png rename to android-chrome-192x192.png diff --git a/assets/favicons/android-icon-512x512.png b/android-chrome-512x512.png similarity index 100% rename from assets/favicons/android-icon-512x512.png rename to android-chrome-512x512.png diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..0d09eee Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/assets/css/main.scss b/assets/css/main.scss deleted file mode 100644 index 88b03d4..0000000 --- a/assets/css/main.scss +++ /dev/null @@ -1,26 +0,0 @@ ---- -# Only the main Sass file needs front matter (the dashes are enough) ---- - -$site_color: {{ site.color }}; - -// Google font -@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i"; - -/*!* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com; -* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)*/ -// These are kept seperate as using 'all' breaks the search icon on the search boxes -@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.css"; -@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/solid.css"; -@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/brands.css"; - -//noinspection CssUnknownTarget -@import "github"; - -@import "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"; - -//noinspection CssUnknownTarget -@import "extras"; - -//noinspection CssUnknownTarget -@import "palette"; diff --git a/assets/favicons/apple-icon-180x180-precomposed.png b/assets/favicons/apple-icon-180x180-precomposed.png deleted file mode 100644 index 56053a4..0000000 Binary files a/assets/favicons/apple-icon-180x180-precomposed.png and /dev/null differ diff --git a/assets/favicons/apple-icon-180x180.png b/assets/favicons/apple-icon-180x180.png deleted file mode 100644 index fd33e6c..0000000 Binary files a/assets/favicons/apple-icon-180x180.png and /dev/null differ diff --git a/assets/favicons/browserconfig.xml b/assets/favicons/browserconfig.xml deleted file mode 100644 index 6e4e1b3..0000000 --- a/assets/favicons/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #2b5797 - - - diff --git a/assets/favicons/manifest.json b/assets/favicons/manifest.json deleted file mode 100644 index 45c596f..0000000 --- a/assets/favicons/manifest.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "App", - "icons": [ - { - "src": "\/android-icon-192x192.png", - "sizes": "192x192", - "type": "image\/png", - "density": "4.0" - }, - { - "src": "\/android-icon-512x512.png", - "sizes": "512x512", - "type": "image\/png" - } - ] -} \ No newline at end of file diff --git a/assets/favicons/ms-icon-150x150.png b/assets/favicons/ms-icon-150x150.png deleted file mode 100644 index 8009015..0000000 Binary files a/assets/favicons/ms-icon-150x150.png and /dev/null differ diff --git a/assets/favicons/site.webmanifest b/assets/favicons/site.webmanifest deleted file mode 100644 index 07f5ee9..0000000 --- a/assets/favicons/site.webmanifest +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "GeyserMC Wiki", - "short_name": "GeyserMC Wiki", - "icons": [ - { - "src": "./android-icon-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "./android-icon-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/assets/img/docker-clear.png b/assets/img/docker-clear.png deleted file mode 100644 index 2e74ec7..0000000 Binary files a/assets/img/docker-clear.png and /dev/null differ diff --git a/assets/img/docker.png b/assets/img/docker.png deleted file mode 100644 index efdd687..0000000 Binary files a/assets/img/docker.png and /dev/null differ diff --git a/assets/img/docsy-jekyll-preview.png b/assets/img/docsy-jekyll-preview.png deleted file mode 100644 index 74bd686..0000000 Binary files a/assets/img/docsy-jekyll-preview.png and /dev/null differ diff --git a/assets/img/docsy-jekyll.png b/assets/img/docsy-jekyll.png deleted file mode 100644 index e9e6128..0000000 Binary files a/assets/img/docsy-jekyll.png and /dev/null differ diff --git a/assets/img/favicon.png b/assets/img/favicon.png deleted file mode 100644 index 76d17f5..0000000 Binary files a/assets/img/favicon.png and /dev/null differ diff --git a/assets/img/logo.png b/assets/img/logo.png deleted file mode 100644 index f64fdce..0000000 Binary files a/assets/img/logo.png and /dev/null differ diff --git a/assets/img/open-source-halloween-2021.png b/assets/img/open-source-halloween-2021.png deleted file mode 100644 index b146ceb..0000000 Binary files a/assets/img/open-source-halloween-2021.png and /dev/null differ diff --git a/assets/js/main.js b/assets/js/main.js deleted file mode 100644 index 5795264..0000000 --- a/assets/js/main.js +++ /dev/null @@ -1,60 +0,0 @@ ---- -exclude_in_search: true -layout: null ---- -(function($) { - 'use strict'; - $(function() { - $('[data-toggle="tooltip"]').tooltip(); - $('[data-toggle="popover"]').popover(); - $('.popover-dismiss').popover({ - trigger: 'focus' - }) - }); - - function bottomPos(element) { - return element.offset().top + element.outerHeight(); - } - $(function() { - var promo = $(".js-td-cover"); - if (!promo.length) { - return - } - var promoOffset = bottomPos(promo); - var navbarOffset = $('.js-navbar-scroll').offset().top; - var threshold = Math.ceil($('.js-navbar-scroll').outerHeight()); - if ((promoOffset - navbarOffset) < threshold) { - $('.js-navbar-scroll').addClass('navbar-bg-onscroll'); - } - $(window).on('scroll', function() { - var navtop = $('.js-navbar-scroll').offset().top - $(window).scrollTop(); - var promoOffset = bottomPos($('.js-td-cover')); - var navbarOffset = $('.js-navbar-scroll').offset().top; - if ((promoOffset - navbarOffset) < threshold) { - $('.js-navbar-scroll').addClass('navbar-bg-onscroll'); - } else { - $('.js-navbar-scroll').removeClass('navbar-bg-onscroll'); - $('.js-navbar-scroll').addClass('navbar-bg-onscroll--fade'); - } - }); - }); -}(jQuery)); -(function($) { - 'use strict'; - var Search = { - init: function() { - $(document).ready(function() { - $(document).on('keypress', '.td-search-input', function(e) { - if (e.keyCode !== 13) { - return - } - var query = $(this).val(); - var searchPage = "{{ site.url }}{{ site.baseurl }}/search/?q=" + query; - document.location = searchPage; - return false; - }); - }); - }, - }; - Search.init(); -}(jQuery)); diff --git a/assets/js/search.js b/assets/js/search.js deleted file mode 100644 index aa19b34..0000000 --- a/assets/js/search.js +++ /dev/null @@ -1,108 +0,0 @@ ---- -layout: null -excluded_in_search: true ---- -(function () { - function getQueryVariable(variable) { - var query = window.location.search.substring(1), - vars = query.split("&"); - - for (var i = 0; i < vars.length; i++) { - var pair = vars[i].split("="); - - if (pair[0] === variable) { - return decodeURIComponent(pair[1].replace(/\+/g, '%20')).trim(); - } - } - } - - function getPreview(query, content, previewLength) { - previewLength = previewLength || (content.length * 2); - - var parts = query.split(" "), - match = content.toLowerCase().indexOf(query.toLowerCase()), - matchLength = query.length, - preview; - - // Find a relevant location in content - for (var i = 0; i < parts.length; i++) { - if (match >= 0) { - break; - } - - match = content.toLowerCase().indexOf(parts[i].toLowerCase()); - matchLength = parts[i].length; - } - - // Create preview - if (match >= 0) { - var start = match - (previewLength / 2), - end = start > 0 ? match + matchLength + (previewLength / 2) : previewLength; - - preview = content.substring(start, end).trim(); - - if (start > 0) { - preview = "..." + preview; - } - - if (end < content.length) { - preview = preview + "..."; - } - - // Highlight query parts - preview = preview.replace(new RegExp("(" + parts.join("|") + ")", "gi"), "$1"); - } else { - // Use start of content if no match found - preview = content.substring(0, previewLength).trim() + (content.length > previewLength ? "..." : ""); - } - - return preview; - } - - function displaySearchResults(results, query) { - var searchResultsEl = document.getElementById("search-results"), - searchProcessEl = document.getElementById("search-process"); - - if (results.length) { - var resultsHTML = ""; - results.forEach(function (result) { - - var item = window.data[result.ref] - if (item.title) { - contentPreview = getPreview(query, item.content, 170), - titlePreview = getPreview(query, item.title); - resultsHTML += "
  • " + titlePreview + "

    " + contentPreview + "

  • "; - } - }); - - searchResultsEl.innerHTML = resultsHTML; - searchProcessEl.innerText = "Showing"; - } else { - searchResultsEl.style.display = "none"; - searchProcessEl.innerText = "No"; - } - } - - window.index = lunr(function () { - this.field("id"); - this.field("title", {boost: 10}); - this.field("categories"); - this.field("url"); - this.field("content"); - }); - - var query = decodeURIComponent((getQueryVariable("q") || "").replace(/\+/g, "%20")), - searchQueryContainerEl = document.getElementById("search-query-container"), - searchQueryEl = document.getElementById("search-query"); - - searchQueryEl.innerText = query; - if (query != ""){ - searchQueryContainerEl.style.display = "inline"; - } - - for (var key in window.data) { - window.index.add(window.data[key]); - } - - displaySearchResults(window.index.search(query), query); // Hand the results off to be displayed -})(); diff --git a/css/darcula.css b/css/darcula.css new file mode 100644 index 0000000..0abdf4f --- /dev/null +++ b/css/darcula.css @@ -0,0 +1,147 @@ +/** + * Syntax highlighting styles + * Based on the Darcula theme for JetBrains IDEs + * https://github.com/shadowfacts/RougeDarcula + * Author: Shadowfacts + */ + .highlight { + background-color: #2B2B2B; + margin-bottom: 15px; + color: #A9B7C6; } + .highlight pre { + background-color: #2B2B2B; } + .highlight pre code { + background-color: #2B2B2B; } + .highlight .lineno { + color: #888888; } + .highlighter-rouge .highlight { + background: #2B2B2B; } + .highlight .c { + color: #808080; } + .highlight .err { + color: #BC3F3C; } + .highlight .k { + color: #CC7832; } + .highlight .o { + color: #A9B7C6; } + .highlight .cm { + color: #808080; } + .highlight .cp { + color: #808080; + font-style: italic; } + .highlight .c1 { + color: #808080; } + .highlight .cs { + color: #629755; + font-style: italic; } + .highlight .gd { + color: #BBBBBB; + background-color: #450505; + text-decoration: line-through; } + .highlight .gd .x { + color: #BBBBBB; + background-color: #450505; + text-decoration: line-through; } + .highlight .ge { + font-style: italic; } + .highlight .gr { + color: #BC3F3C; } + .highlight .gh { + color: #999; } + .highlight .gi { + background-color: #364135; } + .highlight .gi .x { + background-color: #364135; } + .highlight .go { + color: #A9B7C6; } + .highlight .gp { + color: #007F00; } + .highlight .gs { + font-weight: bold; } + .highlight .gu { + color: #aaa; } + .highlight .gt { + color: #a00; } + .highlight .kc { + color: #CC7832; } + .highlight .kd { + color: #CC7832; } + .highlight .kn { + color: #CC7832; } + .highlight .kp { + color: #CC7832; + font-weight: bold; } + .highlight .kr { + color: #CC7832; } + .highlight .kt { + color: #CC7832; } + .highlight .m { + color: #6897BB; } + .highlight .s { + color: #6A8759; } + .highlight .n { + color: #A9B7C6; } + .highlight .na { + color: #A9B7C6; } + .highlight .nb { + color: #CC7832; } + .highlight .nc { + color: #A9B7C6; } + .highlight .no { + color: #9876AA; } + .highlight .ni { + color: #9876AA; } + .highlight .ne { + color: #A9B7C6; } + .highlight .nf { + color: #A9B7C6; } + .highlight .nn { + color: #A9B7C6; } + .highlight .nt { + color: #E8BF6A; } + .highlight .nv { + color: #A9B7C6; } + .highlight .ow { + color: #A9B7C6; } + .highlight .mf { + color: #6897BB; } + .highlight .mh { + color: #6897BB; } + .highlight .mi { + color: #6897BB; } + .highlight .mo { + color: #6897BB; } + .highlight .sb { + color: #d14; } + .highlight .sc { + color: #6A8759; } + .highlight .sd { + color: #6A8759; } + .highlight .s2 { + color: #6A8759; } + .highlight .se { + color: #CC7832; } + .highlight .sh { + color: #6A8759; } + .highlight .si { + color: #6A8759; } + .highlight .sx { + color: #6A8759; } + .highlight .sr { + background-color: #364135; } + .highlight .s1 { + color: #6A8759; } + .highlight .ss { + color: #6A8759; } + .highlight .bp { + color: #CC7832; } + .highlight .vc { + color: #A9B7C6; } + .highlight .vg { + color: #A9B7C6; } + .highlight .vi { + color: #A9B7C6; } + .highlight .il { + color: #6897BB; } + .highlight .p { + color: #A9B7C6; } \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..5475ba8 --- /dev/null +++ b/css/style.css @@ -0,0 +1,57 @@ +:root { + --bs-body-font-family: 'Montserrat', sans-serif; +} + +body { + display: flex; + min-height: 100vh; + flex-direction: column; + padding-top: 3.75rem; +} + +.sticky-top { + top: 3.75rem; +} + +.sidebar { + max-height: calc(100vh - 3.75rem); + overflow-y: auto; +} + +.sidebar a { + text-decoration: none; + --bs-link-color-rgb: var(--bs-body-color); +} + +.sidebar a:hover { + --bs-link-color-rgb: var(--bs-link-hover-color-rgb); +} + +#page-content { + flex-grow: 1; +} + +h1[id]::before, h2[id]::before, h3[id]::before { + content: ''; + display: block; + position: relative; + width: 0; + height: 3.75rem; + margin-top: -3.75rem; +} + +h1 { + margin-bottom: 2rem; + padding-bottom: 0.5rem; + border-bottom: 1px solid var(--bs-secondary-color); +} + +div.highlight { + margin: 1rem; + padding: 0.5rem; + border-radius: 5px; +} + +.highlight pre { + margin: 0; +} diff --git a/assets/favicons/favicon-16x16.png b/favicon-16x16.png similarity index 100% rename from assets/favicons/favicon-16x16.png rename to favicon-16x16.png diff --git a/assets/favicons/favicon-32x32.png b/favicon-32x32.png similarity index 100% rename from assets/favicons/favicon-32x32.png rename to favicon-32x32.png diff --git a/assets/favicons/favicon.ico b/favicon.ico similarity index 100% rename from assets/favicons/favicon.ico rename to favicon.ico diff --git a/js/page-nav.js b/js/page-nav.js new file mode 100644 index 0000000..0bb9b2c --- /dev/null +++ b/js/page-nav.js @@ -0,0 +1,26 @@ +(function () { + const toc = document.querySelector('#page-nav') + + // Select each header + const sections = document.querySelectorAll('main h1') + sections.forEach((section, id) => { + // Create the header link + toc.innerHTML += '' + + // Create the sub links container + const children = document.createElement('nav') + children.className = 'md-nav' + children.innerHTML = '' + + // Select all the sub headers and add them to the sub links container + let contenders = section.nextElementSibling + while (contenders && contenders.tagName !== 'H1') { + if (contenders.tagName === 'H2' || contenders.tagName === 'H3') { + const content = '
  • ' + contenders.textContent + '
  • ' + children.firstElementChild.innerHTML += content + } + contenders = contenders.nextElementSibling + } + document.querySelector('#link_' + section.id).appendChild(children) + }) +})() diff --git a/js/search.js b/js/search.js new file mode 100644 index 0000000..6c6a759 --- /dev/null +++ b/js/search.js @@ -0,0 +1,102 @@ +(function () { + function getQueryVariable (variable) { + const query = window.location.search.substring(1) + const vars = query.split('&') + + for (let i = 0; i < vars.length; i++) { + const pair = vars[i].split('=') + + if (pair[0] === variable) { + return decodeURIComponent(pair[1].replace(/\+/g, '%20')).trim() + } + } + } + + function getPreview (query, content, previewLength) { + previewLength = previewLength || (content.length * 2) + + const parts = query.split(' ') + let match = content.toLowerCase().indexOf(query.toLowerCase()) + let matchLength = query.length + let preview + + // Find a relevant location in content + for (let i = 0; i < parts.length; i++) { + if (match >= 0) { + break + } + + match = content.toLowerCase().indexOf(parts[i].toLowerCase()) + matchLength = parts[i].length + } + + // Create preview + if (match >= 0) { + const start = match - (previewLength / 2) + const end = start > 0 ? match + matchLength + (previewLength / 2) : previewLength + + preview = content.substring(start, end).trim() + + if (start > 0) { + preview = '...' + preview + } + + if (end < content.length) { + preview = preview + '...' + } + + // Highlight query parts + preview = preview.replace(new RegExp('(' + parts.join('|') + ')', 'gi'), '$1') + } else { + // Use start of content if no match found + preview = content.substring(0, previewLength).trim() + (content.length > previewLength ? '...' : '') + } + + return preview + } + + function displaySearchResults (results, query) { + const searchResultsEl = document.getElementById('search-results') + const searchProcessEl = document.getElementById('search-process') + + if (results.length) { + let resultsHTML = '' + results.forEach(function (result) { + const item = window.data[result.ref] + if (item.title) { + const contentPreview = getPreview(query, item.content, 170) + const titlePreview = getPreview(query, item.title) + resultsHTML += "
  • " + titlePreview + '

    ' + contentPreview + '

  • ' + } + }) + + searchResultsEl.innerHTML = resultsHTML + searchProcessEl.innerText = 'Showing' + } else { + searchResultsEl.style.display = 'none' + searchProcessEl.innerText = 'No' + } + } + + window.index = lunr(function () { + this.field('id') + this.field('title', { boost: 10 }) + this.field('url') + this.field('content') + }) + + const query = decodeURIComponent((getQueryVariable('q') || '').replace(/\+/g, '%20')) + const searchQueryContainerEl = document.getElementById('search-query-container') + const searchQueryEl = document.getElementById('search-query') + + searchQueryEl.innerText = query + if (query !== '') { + searchQueryContainerEl.style.display = 'inline' + } + + for (const key in window.data) { + window.index.add(window.data[key]) + } + + displaySearchResults(window.index.search(query), query) // Hand the results off to be displayed +})() diff --git a/pages/feed.xml b/pages/feed.xml deleted file mode 100644 index a3819fc..0000000 --- a/pages/feed.xml +++ /dev/null @@ -1,31 +0,0 @@ ---- -layout: null -permalink: /feed.xml ---- - - - - {{ site.title | xml_escape }} - {{ site.description | xml_escape }} - {{ site.url }}{{ site.baseurl }}/ - - {{ site.time | date_to_rfc822 }} - {{ site.time | date_to_rfc822 }} - Jekyll v{{ jekyll.version }} - {% for post in site.posts limit:10 %} - - {{ post.title | xml_escape }} - {{ post.content | xml_escape }} - {{ post.date | date_to_rfc822 }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {% for tag in post.tags %} - {{ tag | xml_escape }} - {% endfor %} - {% for cat in post.categories %} - {{ cat | xml_escape }} - {% endfor %} - - {% endfor %} - - diff --git a/pages/index.md b/pages/index.md index 285f38b..f40eecd 100644 --- a/pages/index.md +++ b/pages/index.md @@ -1,10 +1,9 @@ --- -layout: page permalink: / --- -
    - geyser logo +
    + geyser logo

    diff --git a/pages/search.html b/pages/search.html index 4796e72..684fdae 100644 --- a/pages/search.html +++ b/pages/search.html @@ -1,12 +1,17 @@ --- title: Search -sitemap: false permalink: /search/ -not_editable: true excluded_in_search: true +layout: page --- - + +

    Loading results

    @@ -22,36 +27,7 @@ excluded_in_search: true "{{ post.url | slugify }}": { "id": "{{ post.url | slugify }}", "title": "{{ post.title | xml_escape }}", - "categories": "{{ post.categories | join: ", " | xml_escape }}", - "url": " {{ post.url | xml_escape }}", - "content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }} - } - {% assign added = true %} - {% endunless %} - {% endfor %} - {% for post in site.posts %} - {% unless post.excluded_in_search %} - {% if added %},{% endif %} - {% assign added = false %} - "{{ post.url | slugify }}": { - "id": "{{ post.url | slugify }}", - "title": "{{ post.title | xml_escape }}", - "categories": "{{ post.categories | join: ", " | xml_escape }}", - "url": " {{ post.url | xml_escape }}", - "content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }} - } - {% assign added = true %} - {% endunless %} - {% endfor %} - {% for post in site.pages %} - {% unless post.excluded_in_search %} - {% if added %},{% endif %} - {% assign added = false %} - "{{ post.url | slugify }}": { - "id": "{{ post.url | slugify }}", - "title": "{{ post.title | xml_escape }}", - "categories": "{{ post.categories | join: ", " | xml_escape }}", - "url": " {{ post.url | xml_escape }}", + "url": "{{ post.url | xml_escape | relative_url }}", "content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }} } {% assign added = true %} @@ -62,4 +38,4 @@ excluded_in_search: true - + diff --git a/pages/sitemap.xml b/pages/sitemap.xml deleted file mode 100644 index cc31e63..0000000 --- a/pages/sitemap.xml +++ /dev/null @@ -1,19 +0,0 @@ ---- -layout: null -permalink: /sitemap.xml ---- - - - - - / - {{ "now" | date: "%Y-%m-%d" }} - daily - -{% for section in site.data.toc %} - {{ site.baseurl }}{{ section.url }} - {{ "now" | date: "%Y-%m-%d" }} - daily - -{% endfor %} - diff --git a/pages/tags.html b/pages/tags.html deleted file mode 100644 index 597e1d1..0000000 --- a/pages/tags.html +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Tags Index -permalink: /tags/ ---- - -

    Tags Index

    -{% capture site_tags %}{% for tag in site.tags %}{% if tag %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endif %}{% endfor %}{% endcapture %}{% assign docs_tags = "" %}{% for doc in site.docs %}{% assign ttags = doc.tags | join:',' | append:',' %}{% assign docs_tags = docs_tags | append:ttags %}{% endfor %} -{% assign all_tags = site_tags | append:docs_tags %}{% assign tags_list = all_tags | split:',' | uniq | sort %} - -{% for tag in tags_list %}{% if tag %}

    {{ tag }}

    -
    - {% for post in site.tags[tag] %}
    - {{- post.title -}} - -
    {%- endfor -%} -{% for doc in site.docs %}{% if doc.tags contains tag %} -
    - {{ doc.title }} - -
    {% endif %}{% endfor %} -
    {% endif %}{%- endfor -%} diff --git a/assets/favicons/safari-pinned-tab.svg b/safari-pinned-tab.svg similarity index 100% rename from assets/favicons/safari-pinned-tab.svg rename to safari-pinned-tab.svg