Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f8c4e6bdc | ||
|
|
db81998d57 | ||
|
|
30c69ad7fc | ||
|
|
36271d15f5 | ||
|
|
0ce3ef6bd8 | ||
|
|
e675044d29 | ||
|
|
a59342a068 | ||
|
|
b7e170c5cf | ||
|
|
cf6c261061 | ||
|
|
6de27253e7 | ||
|
|
61ae48d92a | ||
|
|
2d4e1e1ed1 | ||
|
|
918d04fa43 | ||
|
|
126f71694f | ||
|
|
8193f6071e | ||
|
|
903ad6596c | ||
|
|
90ab9d28b9 | ||
|
|
d90b7e5b3e | ||
|
|
af81ee840f | ||
|
|
cb140fc5e6 | ||
|
|
1c6bd0d9e2 | ||
|
|
8f02ec7714 | ||
|
|
ef464c868e | ||
|
|
85e1ba131e | ||
|
|
1ae32a42cb | ||
|
|
6f5e6f4391 | ||
|
|
bc0c83c0c4 | ||
|
|
cff0e2a387 | ||
|
|
844812b4f4 | ||
|
|
5fd703674b | ||
|
|
a3e2b33c5e | ||
|
|
6be43f77a5 | ||
|
|
075fad74cb | ||
|
|
7d212bc310 | ||
|
|
96149caa54 | ||
|
|
b939edc600 | ||
|
|
3d44327497 | ||
|
|
b0b2698d35 | ||
|
|
6e83c1acd5 | ||
|
|
66949b5c4c | ||
|
|
959d5fe1f9 | ||
|
|
7a7c8022ad | ||
|
|
33c6dbd1be | ||
|
|
d27cc9c132 | ||
|
|
922440cd55 | ||
|
|
9ffaf41d20 | ||
|
|
ded2d87b2b | ||
|
|
97f0f35498 | ||
|
|
621529aaf2 | ||
|
|
ef5018ee6f | ||
|
|
12ae094b8a | ||
|
|
93022d6432 | ||
|
|
1e6bcecb5a | ||
|
|
784efffcd1 | ||
|
|
b82680b103 | ||
|
|
7b6b45055c | ||
|
|
02342c919a | ||
|
|
5b203f46c4 | ||
|
|
ff56bc2bd6 | ||
|
|
4efb8638c4 | ||
|
|
536e89d174 | ||
|
|
1a85a28685 | ||
|
|
be3c046acf | ||
|
|
573f286971 | ||
|
|
70462d0e16 | ||
|
|
9dce68d58a | ||
|
|
4c3ada478a | ||
|
|
438710da82 | ||
|
|
4f76c2546a | ||
|
|
14e3fa2b28 |
@@ -1,68 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Bug Report"
|
|
||||||
about: "Is something not working as expected?"
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Before opening a new issue please:
|
|
||||||
|
|
||||||
- Verify you have the latest versions of Jekyll and Minimal Mistakes
|
|
||||||
installed by running `bundle update`.
|
|
||||||
- Thoroughly read the theme's documentation at
|
|
||||||
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
|
||||||
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
|
||||||
for solutions and to avoid duplication.
|
|
||||||
- Ask for help at http://talk.jekyllrb.com/
|
|
||||||
|
|
||||||
If none of the above solved your problem, you can continue below.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Environment
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Please include theme version, Jekyll version, public git repository, whether
|
|
||||||
you are hosting with GitHub Pages, and the operating system you tested with.
|
|
||||||
|
|
||||||
Issues without a link to a public repository or ZIP file will likely go ignored.
|
|
||||||
Being able to see your actual files is necessary to troubleshoot, as most
|
|
||||||
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.yml
|
|
||||||
file, or problematic site content.
|
|
||||||
-->
|
|
||||||
|
|
||||||
- Minimal Mistakes version:
|
|
||||||
- Ruby gem or remote theme version:
|
|
||||||
- Jekyll version:
|
|
||||||
- Git repository URL:
|
|
||||||
- Hosted on GitHub Pages (if yes provide URL to site):
|
|
||||||
- Operating system:
|
|
||||||
|
|
||||||
## Expected behavior
|
|
||||||
|
|
||||||
<!--
|
|
||||||
What is it you expected to happen? This should be a description of how the
|
|
||||||
functionality you tried to use is supposed to work.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Steps to reproduce the behavior
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Describe the steps you took for this problem to come up. Such as: you installed
|
|
||||||
the theme, customized _config.yml, added your own posts, and started up a
|
|
||||||
Jekyll server locally.
|
|
||||||
|
|
||||||
If an error occurred on GitHub Pages when pushing, please test a local version
|
|
||||||
following these setup instructions:
|
|
||||||
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
|
|
||||||
|
|
||||||
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
|
|
||||||
and include this output in the filed issue.
|
|
||||||
|
|
||||||
Screenshots can also be included if they help illustrate a behavior.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Other
|
|
||||||
|
|
||||||
<!--
|
|
||||||
NOTE: Please provide a code repository, gist, code snippet, sample files,
|
|
||||||
screenshots, or anything else you think will aid in reproducing the issue.
|
|
||||||
-->
|
|
||||||
@@ -19,7 +19,7 @@ body:
|
|||||||
- type: textarea
|
- type: textarea
|
||||||
id: environment
|
id: environment
|
||||||
attributes:
|
attributes:
|
||||||
label: What happened?
|
label: Theme version and system environment
|
||||||
description: |
|
description: |
|
||||||
Please include theme version, Jekyll version, public git repository, whether
|
Please include theme version, Jekyll version, public git repository, whether
|
||||||
you are hosting with GitHub Pages, and the operating system you tested with.
|
you are hosting with GitHub Pages, and the operating system you tested with.
|
||||||
@@ -33,8 +33,21 @@ body:
|
|||||||
- Ruby gem or remote theme version:
|
- Ruby gem or remote theme version:
|
||||||
- Jekyll version:
|
- Jekyll version:
|
||||||
- Git repository URL:
|
- Git repository URL:
|
||||||
- Hosted on GitHub Pages (if yes provide URL to site):
|
- URL to the page with the problem:
|
||||||
- Operating system:
|
- Operating system:
|
||||||
|
- Browser version:
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: what-happened
|
||||||
|
attributes:
|
||||||
|
label: What happened?
|
||||||
|
description: |
|
||||||
|
Describe the problem **in detail**. For example:
|
||||||
|
|
||||||
|
- What is missing?
|
||||||
|
- What error do you see? Attach the error log if available.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
@@ -78,4 +91,4 @@ body:
|
|||||||
Please provide a code repository, gist, code snippet, sample files,
|
Please provide a code repository, gist, code snippet, sample files,
|
||||||
screenshots, or anything else you think will aid in reproducing the issue.
|
screenshots, or anything else you think will aid in reproducing the issue.
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Documentation"
|
|
||||||
about: "Found a typo or something that needs clarification?"
|
|
||||||
---
|
|
||||||
|
|
||||||
<!-- Thanks for taking the time to open an issue and help make the docs better -->
|
|
||||||
|
|
||||||
## Motivation
|
|
||||||
|
|
||||||
<!-- Why should we update our docs? -->
|
|
||||||
|
|
||||||
<!-- What should we do instead? -->
|
|
||||||
|
|
||||||
## Suggestion
|
|
||||||
|
|
||||||
<!-- What should we do instead? -->
|
|
||||||
@@ -17,6 +17,9 @@ jobs:
|
|||||||
- uses: actions-ecosystem/action-add-labels@v1
|
- uses: actions-ecosystem/action-add-labels@v1
|
||||||
with:
|
with:
|
||||||
labels: 'Type: Invalid'
|
labels: 'Type: Invalid'
|
||||||
|
- uses: actions-ecosystem/action-add-labels@v1
|
||||||
|
with:
|
||||||
|
labels: 'Type: Spam'
|
||||||
- uses: superbrothers/close-pull-request@v3
|
- uses: superbrothers/close-pull-request@v3
|
||||||
with:
|
with:
|
||||||
# Optional. Post an issue comment just before closing a pull request.
|
# Optional. Post an issue comment just before closing a pull request.
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
name: build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
workflow_dispatch: {}
|
||||||
|
repository_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
if: github.repository == 'mmistakes/minimal-mistakes'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: '3.2'
|
||||||
|
- name: Setup cache for Bundler
|
||||||
|
id: cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
docs/Gemfile.lock
|
||||||
|
docs/vendor/bundle
|
||||||
|
key: ${{ runner.os }}-bundler-${{ hashFiles('docs/Gemfile') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-bundler-
|
||||||
|
|
||||||
|
- name: Install - Bundler
|
||||||
|
env:
|
||||||
|
MAKE: make -j2
|
||||||
|
working-directory: docs/
|
||||||
|
run: |
|
||||||
|
bundle config set path vendor/bundle
|
||||||
|
bundle install --jobs=4 --retry=3
|
||||||
|
bundle clean
|
||||||
|
|
||||||
|
- name: Update Algolia index
|
||||||
|
working-directory: docs/
|
||||||
|
run: bundle exec jekyll algolia push
|
||||||
|
env:
|
||||||
|
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
|
||||||
|
continue-on-error: true
|
||||||
@@ -1,5 +1,84 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Hide page__footer-follow if there are no links nor atom feed. (#5279)
|
||||||
|
- Add HTML escaping for some titles, labels and metada that was missing. (#5276)
|
||||||
|
- Add optional `footer.since` for copyright time range. (#5275)
|
||||||
|
|
||||||
|
## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add a "Share on Bluesky" button (#5179)
|
||||||
|
- Add preset variables for modern font stack (#5033)
|
||||||
|
- Update X share button to match brand color (#5245)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix wrong icon and color for X share button.
|
||||||
|
|
||||||
|
## [4.27.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
|
||||||
|
- Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
|
||||||
|
- Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
||||||
|
- Remove unnecessary "type" attribute (#4956)
|
||||||
|
- The "if" means the default is never used (#4955)
|
||||||
|
- For pages without a title, show the site title only once (#4959)
|
||||||
|
- Use `documents-collection.html` partial in `home` layout.
|
||||||
|
- Add Bulgarian translation. [#5003](https://github.com/mmistakes/minimal-mistakes/pull/5003)
|
||||||
|
- Add provider and comments info to `single.html` layout for non-production. (#5068)
|
||||||
|
- Tweak contrast skin $primary-color to adhere to WCAG guidelines. (#5126)
|
||||||
|
- Update social share buttons to reflect Twitter rebranding to X (#5210)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
|
||||||
|
- Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
|
||||||
|
- Fix reset stylesheet overruling `$doc-font-size`. [#4983](https://github.com/mmistakes/minimal-mistakes/issues/4983)
|
||||||
|
- Fix JavaScript null error on home and splash layouts. [#4938](https://github.com/mmistakes/minimal-mistakes/issues/4938), [#4939](https://github.com/mmistakes/minimal-mistakes/pull/4939)
|
||||||
|
- Fix bad <figure> HTML if "alt" contains quotes.
|
||||||
|
- Fix extra newline generated in `_includes/post_pagination.html`.
|
||||||
|
- Hide hidden links & remove the overlay when one is clicked. [#5042](https://github.com/mmistakes/minimal-mistakes/pull/5042)
|
||||||
|
- Fix typo in "Configuration" (#5106)
|
||||||
|
- bundle exec jekyll serve will fail if more than once (#5193)
|
||||||
|
|
||||||
|
### Documentation & Maintenance
|
||||||
|
|
||||||
|
- Automatically update Algolia search index with GitHub Actions.
|
||||||
|
|
||||||
|
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Czech localization. [#4866](https://github.com/mmistakes/minimal-mistakes/pull/4866)
|
||||||
|
- Allow overriding HTML `lang` attribute on a per-page basis. [#4862](https://github.com/mmistakes/minimal-mistakes/pull/4862)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Figure helper breaks when using code markup in caption with `popup=true`. [#4841](https://github.com/mmistakes/minimal-mistakes/issues/4841)
|
||||||
|
|
||||||
|
## [4.26.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Disable copy button on invalid syntax highlighting blocks to avoid positioning issues.
|
||||||
|
- Fix typo for `fa-dribbble` in `_utilities.scss`.
|
||||||
|
- Restrict "auto scroll sticky ToC to content" feature to Chromium browsers for now. [#4826](https://github.com/mmistakes/minimal-mistakes/issues/4826)
|
||||||
|
|
||||||
|
### Documentation & Maintenance
|
||||||
|
|
||||||
|
- Rewrite social icons SCSS with a loop.
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Change the icon of a copy button into a tick for 1.5 seconds on successful copy.
|
||||||
|
|
||||||
## [4.26.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.0)
|
## [4.26.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.0)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
|
|||||||
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
||||||
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), [utterances](https://utteranc.es/), and [giscus](https://giscus.app/)).
|
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), [utterances](https://utteranc.es/), and [giscus](https://giscus.app/)).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), Ukrainian (Українська) and Vietnamese.
|
- UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), Ukrainian (Українська) and Vietnamese.
|
||||||
|
|
||||||
## Skins (color variations)
|
## Skins (color variations)
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ To install:
|
|||||||
bundle
|
bundle
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Dev note: The version number is currently hard-coded in these files:
|
Dev note: The version number is currently hard-coded in these files:
|
||||||
|
|||||||
@@ -107,7 +107,10 @@ file "docs/_docs/18-history.md" => "CHANGELOG.md" do |t|
|
|||||||
f.puts ""
|
f.puts ""
|
||||||
f.puts "{% raw %}"
|
f.puts "{% raw %}"
|
||||||
# Remove H1
|
# Remove H1
|
||||||
changelog = File.read(t.prerequisites.first).gsub(/^# [^\n]*$/m, "").strip
|
changelog = File.read(t.prerequisites.first)
|
||||||
|
.gsub(/^# [^\n]*$/m, "")
|
||||||
|
.gsub(/\(#(\d+)\)$/m, "[#\\1](https://github.com/mmistakes/minimal-mistakes/issues/\\1)")
|
||||||
|
.strip
|
||||||
f.write changelog
|
f.write changelog
|
||||||
f.puts ""
|
f.puts ""
|
||||||
f.puts "{% endraw %}"
|
f.puts "{% endraw %}"
|
||||||
@@ -202,3 +205,7 @@ file "docs/_pages/home.md" => "package.json" do |t|
|
|||||||
content = content.gsub(/(\breleases\/tag\/|Latest release v)[\d.]+/, '\1' + package_json["version"])
|
content = content.gsub(/(\breleases\/tag\/|Latest release v)[\d.]+/, '\1' + package_json["version"])
|
||||||
File.write(t.name, content)
|
File.write(t.name, content)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :gem do
|
||||||
|
sh 'gem build minimal-mistakes-jekyll.gemspec'
|
||||||
|
end
|
||||||
|
|||||||
+5
-2
@@ -16,6 +16,7 @@ minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt"
|
|||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en-US"
|
locale : "en-US"
|
||||||
|
rtl : # true, false (default) # turns direction of the page into right to left for RTL languages
|
||||||
title : "Site Title"
|
title : "Site Title"
|
||||||
title_separator : "-"
|
title_separator : "-"
|
||||||
subtitle : # site tagline that appears below site title in masthead
|
subtitle : # site tagline that appears below site title in masthead
|
||||||
@@ -27,7 +28,7 @@ repository : # GitHub username/repo-name e.g. "mmistakes/minimal-m
|
|||||||
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
||||||
logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
|
logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
|
||||||
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
|
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
|
||||||
# breadcrumbs : false # true, false (default)
|
breadcrumbs : # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
enable_copy_code_button : # true, false (default)
|
enable_copy_code_button : # true, false (default)
|
||||||
copyright : # "copyright" name, defaults to site.title
|
copyright : # "copyright" name, defaults to site.title
|
||||||
@@ -104,7 +105,7 @@ social:
|
|||||||
|
|
||||||
# Analytics
|
# Analytics
|
||||||
analytics:
|
analytics:
|
||||||
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
|
provider : # false (default), "google", "google-universal", "google-gtag", "custom"
|
||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
anonymize_ip : # true, false (default)
|
anonymize_ip : # true, false (default)
|
||||||
@@ -158,6 +159,7 @@ footer:
|
|||||||
- label: "Instagram"
|
- label: "Instagram"
|
||||||
icon: "fab fa-fw fa-instagram"
|
icon: "fab fa-fw fa-instagram"
|
||||||
# url:
|
# url:
|
||||||
|
since: "2013"
|
||||||
|
|
||||||
|
|
||||||
# Reading Files
|
# Reading Files
|
||||||
@@ -183,6 +185,7 @@ exclude:
|
|||||||
- gulpfile.js
|
- gulpfile.js
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- log
|
- log
|
||||||
|
- minimal-mistakes-jekyll.gemspec
|
||||||
- node_modules
|
- node_modules
|
||||||
- package.json
|
- package.json
|
||||||
- package-lock.json
|
- package-lock.json
|
||||||
|
|||||||
+115
-9
@@ -1070,17 +1070,17 @@ da-DK:
|
|||||||
# Polish
|
# Polish
|
||||||
# ------
|
# ------
|
||||||
pl: &DEFAULT_PL
|
pl: &DEFAULT_PL
|
||||||
skip_links :
|
skip_links : "Pomiń linki"
|
||||||
skip_primary_nav :
|
skip_primary_nav : "Przejdź do nawigacji"
|
||||||
skip_content :
|
skip_content : "Przejdź do treści"
|
||||||
skip_footer :
|
skip_footer : "Przejdź do stopki"
|
||||||
page : "Strona"
|
page : "Strona"
|
||||||
pagination_previous : "Poprzednia"
|
pagination_previous : "Poprzednia"
|
||||||
pagination_next : "Następna"
|
pagination_next : "Następna"
|
||||||
breadcrumb_home_label : "Strona główna"
|
breadcrumb_home_label : "Strona główna"
|
||||||
breadcrumb_separator : "/"
|
breadcrumb_separator : "/"
|
||||||
menu_label : "Przełącz menu"
|
menu_label : "Przełącz menu"
|
||||||
search_label :
|
search_label : "Przełącz wyszukiwanie"
|
||||||
toc_label : "Spis treści"
|
toc_label : "Spis treści"
|
||||||
ext_link_label : "Link bezpośredni"
|
ext_link_label : "Link bezpośredni"
|
||||||
less_than : "mniej niż"
|
less_than : "mniej niż"
|
||||||
@@ -1101,7 +1101,7 @@ pl: &DEFAULT_PL
|
|||||||
email_label : "Email"
|
email_label : "Email"
|
||||||
recent_posts : "Najnowsze wpisy"
|
recent_posts : "Najnowsze wpisy"
|
||||||
undefined_wpm : "Parametr words_per_minute nie został zdefiniowany w _config.yml."
|
undefined_wpm : "Parametr words_per_minute nie został zdefiniowany w _config.yml."
|
||||||
comment_form_info : "Twój adres email nie będzie udostępiony. Wymagane pola są oznaczone"
|
comment_form_info : "Twój adres email nie będzie udostępiony. Wymagane pola są oznaczone."
|
||||||
comment_form_comment_label : "Skomentuj"
|
comment_form_comment_label : "Skomentuj"
|
||||||
comment_form_md_info : "Markdown jest wspierany"
|
comment_form_md_info : "Markdown jest wspierany"
|
||||||
comment_form_name_label : "Imię"
|
comment_form_name_label : "Imię"
|
||||||
@@ -1400,7 +1400,7 @@ fa: &DEFAULT_FA
|
|||||||
toc_label : "در این صفحه"
|
toc_label : "در این صفحه"
|
||||||
ext_link_label : "لینک مستقیم"
|
ext_link_label : "لینک مستقیم"
|
||||||
less_than : " "
|
less_than : " "
|
||||||
minute_read : "(طول مطالعه (دقیقه"
|
minute_read : "دقیقه، طول مطالعه"
|
||||||
share_on_label : "اشتراک گذاری در"
|
share_on_label : "اشتراک گذاری در"
|
||||||
meta_label :
|
meta_label :
|
||||||
tags_label : "تگ ها: "
|
tags_label : "تگ ها: "
|
||||||
@@ -1427,9 +1427,9 @@ fa: &DEFAULT_FA
|
|||||||
comment_btn_submitted : "ارسال شد"
|
comment_btn_submitted : "ارسال شد"
|
||||||
comment_success_msg : ".باتشکر از ارسال دیدگاه! پس از تأیید، این دیدگاه در سایت نشان داده خواهد شد"
|
comment_success_msg : ".باتشکر از ارسال دیدگاه! پس از تأیید، این دیدگاه در سایت نشان داده خواهد شد"
|
||||||
comment_error_msg : ".متاسفانه در ارسال شما خطایی بود. لطفا مطمئن شوید تمام فیلدهای مورد نیاز تکمیل شده و دوباره امتحان کنید"
|
comment_error_msg : ".متاسفانه در ارسال شما خطایی بود. لطفا مطمئن شوید تمام فیلدهای مورد نیاز تکمیل شده و دوباره امتحان کنید"
|
||||||
loading_label : "...بارگذاری"
|
loading_label : "بارگذاری..."
|
||||||
search_label_text :
|
search_label_text :
|
||||||
search_placeholder_text : "...عبارت جستجوی خود را وارد کنید"
|
search_placeholder_text : "عبارت جستجوی خود را وارد کنید..."
|
||||||
search_algolia_no_results :
|
search_algolia_no_results :
|
||||||
results_found : "نتایج"
|
results_found : "نتایج"
|
||||||
back_to_top : "بازگشت به بالا"
|
back_to_top : "بازگشت به بالا"
|
||||||
@@ -2074,6 +2074,112 @@ uk: &DEFAULT_UK
|
|||||||
uk-UA:
|
uk-UA:
|
||||||
<<: *DEFAULT_UK
|
<<: *DEFAULT_UK
|
||||||
|
|
||||||
|
# Czech / čeština
|
||||||
|
# -----------------
|
||||||
|
cs: &DEFAULT_CS
|
||||||
|
skip_links : "Rychlé odkazy"
|
||||||
|
skip_primary_nav : "Přejít na hlavní navigace"
|
||||||
|
skip_content : "Přejít na obsah"
|
||||||
|
skip_footer : "Přejít na zápatí"
|
||||||
|
page : "Stránka"
|
||||||
|
pagination_previous : "Předchozí"
|
||||||
|
pagination_next : "Další"
|
||||||
|
breadcrumb_home_label : "Domů"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label : "Přepnout zobrazení menu"
|
||||||
|
search_label : "Přepnout zobrazení vyhledávání"
|
||||||
|
toc_label : "Na této stránce"
|
||||||
|
ext_link_label : "Přímý odkaz"
|
||||||
|
less_than : "méně než"
|
||||||
|
minute_read : "minut"
|
||||||
|
share_on_label : "Sdílet"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Štítky:"
|
||||||
|
categories_label : "Rubriky:"
|
||||||
|
date_label : "Aktualizováno:"
|
||||||
|
comments_label : "Okomentovat"
|
||||||
|
comments_title : "Komentáře"
|
||||||
|
more_label : "Zjistit více"
|
||||||
|
related_label : "Může se vám také líbit"
|
||||||
|
follow_label : "Sledovat:"
|
||||||
|
feed_label : "Zdroj"
|
||||||
|
powered_by : "Používáme"
|
||||||
|
website_label : "Web"
|
||||||
|
email_label : "E-mail"
|
||||||
|
recent_posts : "Nejnovější příspěvky"
|
||||||
|
undefined_wpm : "V souboru _config.yml chybí parametr words_per_minute"
|
||||||
|
comment_form_info : "Vaše e-mailová adresa nebude zveřejněna. Povinná pole jsou označena"
|
||||||
|
comment_form_comment_label : "Komentář"
|
||||||
|
comment_form_md_info : "Podporuje markdown."
|
||||||
|
comment_form_name_label : "Jméno"
|
||||||
|
comment_form_email_label : "E-mailová adresa"
|
||||||
|
comment_form_website_label : "Web (volitelné)"
|
||||||
|
comment_btn_submit : "Odeslat komentář"
|
||||||
|
comment_btn_submitted : "Odesláno"
|
||||||
|
comment_success_msg : "Děkujeme za komentář. Na stránce se objeví jakmile projde schválením."
|
||||||
|
comment_error_msg : "Odeslání se nezdařilo. Zkontrolujte, že jste vyplnili všechna povinná pole a zkuste to znovu."
|
||||||
|
loading_label : "Načítání..."
|
||||||
|
search_label_text : "Zadejte vyhledávání..."
|
||||||
|
search_placeholder_text : "Zadejte vyhledávání..."
|
||||||
|
search_algolia_no_results : "Žádné výsledky"
|
||||||
|
results_found : "Nalezené výsledky"
|
||||||
|
back_to_top : "Na začátek stránky"
|
||||||
|
cs-CZ:
|
||||||
|
<<: *DEFAULT_CS
|
||||||
|
|
||||||
|
# Bulgarian
|
||||||
|
# -----------------
|
||||||
|
bg: &DEFAULT_BG
|
||||||
|
skip_links : "Пропуснете връзките"
|
||||||
|
skip_primary_nav : "Преминете към основната навигация"
|
||||||
|
skip_content : "Преминете към съдържанието"
|
||||||
|
skip_footer : "Преминете към долния колонтитул"
|
||||||
|
page : "Страница"
|
||||||
|
pagination_previous : "Предишна"
|
||||||
|
pagination_next : "Следваща"
|
||||||
|
breadcrumb_home_label : "Начало"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label : "Превключване на меню"
|
||||||
|
search_label : "Превключване на търсене"
|
||||||
|
toc_label : "На тази страница"
|
||||||
|
ext_link_label : "Пряка връзка"
|
||||||
|
less_than : "по-малко от"
|
||||||
|
minute_read : "минута четене"
|
||||||
|
share_on_label : "Споделете"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Етикети:"
|
||||||
|
categories_label : "Категории:"
|
||||||
|
date_label : "Обновено:"
|
||||||
|
comments_label : "Оставете коментар"
|
||||||
|
comments_title : "Коментари"
|
||||||
|
more_label : "Научете повече"
|
||||||
|
related_label : "Може да са ви интересни"
|
||||||
|
follow_label : "Последвайте:"
|
||||||
|
feed_label : "Емисия"
|
||||||
|
powered_by : "Осъществено чрез"
|
||||||
|
website_label : "Уебсайт"
|
||||||
|
email_label : "Е-поща"
|
||||||
|
recent_posts : "Последни публикации"
|
||||||
|
undefined_wpm : "Недефиниран параметър words_per_minute в _config.yml"
|
||||||
|
comment_form_info : "Вашият адрес за е-поща няма да бъде публикуван. Задължителните полета са обозначени"
|
||||||
|
comment_form_comment_label : "Коментар"
|
||||||
|
comment_form_md_info : "Поддържа се Маркдаун."
|
||||||
|
comment_form_name_label : "Име"
|
||||||
|
comment_form_email_label : "Адрес за е-поща"
|
||||||
|
comment_form_website_label : "Уебсайт (по желание)"
|
||||||
|
comment_btn_submit : "Изпращане на коментар"
|
||||||
|
comment_btn_submitted : "Изпратено"
|
||||||
|
comment_success_msg : "Благодарности за коментара! Ще се покаже на сайта, след като бъде одобрен."
|
||||||
|
comment_error_msg : "Съжаляваме, възникна грешка с изпращането. Моля, уверете се, че всички задължителни полета са попълнени и опитайте отново."
|
||||||
|
loading_label : "Зареждане..."
|
||||||
|
search_label_text : "Въведете термин за търсене..."
|
||||||
|
search_placeholder_text : "Въведете термин за търсене..."
|
||||||
|
search_algolia_no_results : "Няма резултати"
|
||||||
|
results_found : "Намерени резултати"
|
||||||
|
back_to_top : "Обратно към началото"
|
||||||
|
bg-BG:
|
||||||
|
<<: *DEFAULT_BG
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="{{ include.type | default: 'list' }}__item">
|
<div class="{{ include.type | default: 'list' }}__item">
|
||||||
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
|
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"{% if post.locale %} lang="{{ post.locale }}"{% endif %}>
|
||||||
{% if include.type == "grid" and teaser %}
|
{% if include.type == "grid" and teaser %}
|
||||||
<div class="archive__item-teaser">
|
<div class="archive__item-teaser">
|
||||||
<img src="{{ teaser | relative_url }}" alt="">
|
<img src="{{ teaser | relative_url }}" alt="">
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if forloop.last %}
|
{% if forloop.last %}
|
||||||
<li class="current">{{ page.title }}</li>
|
<li class="current"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign i = i | plus: 1 %}
|
{% assign i = i | plus: 1 %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.26.0 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
|
||||||
Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
Free for personal and commercial use under the MIT license
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
-->
|
-->
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.26.0 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
|
||||||
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
|
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
||||||
* Free for personal and commercial use under the MIT license
|
* Free for personal and commercial use under the MIT license
|
||||||
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% assign entries = site[include.collection] | where_exp: "post", "post.hidden != true" %}
|
{% assign entries = include.entries | default: site[include.collection] | where_exp: "post", "post.hidden != true" %}
|
||||||
|
|
||||||
{% if include.sort_by %}
|
{% if include.sort_by %}
|
||||||
{% assign entries = entries | sort: include.sort_by %}
|
{% assign entries = entries | sort: include.sort_by %}
|
||||||
@@ -9,5 +9,5 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- for post in entries -%}
|
{%- for post in entries -%}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html type=include.type %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
<figure class="{{ include.class }}">
|
<figure class="{{ include.class }}">
|
||||||
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup" title="{% if include.caption %}{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}{% endif %}">{%- endif -%}
|
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup"{% if include.caption %} title="{{ include.caption | markdownify | strip_html }}"{% endif %}>{%- endif -%}
|
||||||
<img src="{{ include.image_path | relative_url }}"
|
<img src="{{ include.image_path | relative_url }}"
|
||||||
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
alt="{% if include.alt %}{{ include.alt | escape_once }}{% endif %}">
|
||||||
{%- if include.popup -%}</a>{%- endif -%}
|
{%- if include.popup -%}</a>{%- endif -%}
|
||||||
{%- if include.caption -%}
|
{%- if include.caption -%}
|
||||||
<figcaption>
|
<figcaption>
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
{% unless site.atom_feed.hide %}
|
||||||
|
{% assign show_atom = true %}
|
||||||
|
{% endunless %}
|
||||||
|
{% if site.footer.links or show_atom %}
|
||||||
<div class="page__footer-follow">
|
<div class="page__footer-follow">
|
||||||
<ul class="social-icons">
|
<ul class="social-icons">
|
||||||
{% if site.data.ui-text[site.locale].follow_label %}
|
{% if site.data.ui-text[site.locale].follow_label %}
|
||||||
@@ -7,7 +11,7 @@
|
|||||||
{% if site.footer.links %}
|
{% if site.footer.links %}
|
||||||
{% for link in site.footer.links %}
|
{% for link in site.footer.links %}
|
||||||
{% if link.label and link.url %}
|
{% if link.label and link.url %}
|
||||||
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label | escape_once | strip }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -17,5 +21,6 @@
|
|||||||
{% endunless %}
|
{% endunless %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|
<div class="page__footer-copyright">© {% assign site_time = site.time | date: '%Y' %}{% if site.footer.since and site_time != site.footer.since %}{{ site.footer.since }} - {% endif %}{{ site_time }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title | escape_once | strip }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@
|
|||||||
{%- comment %} https://docs.google.com/presentation/d/1rmxwWa9P6_xHqonmh5ONXRS-jPc5XKbnv99Rjkhe04s/present {% endcomment -%}
|
{%- comment %} https://docs.google.com/presentation/d/1rmxwWa9P6_xHqonmh5ONXRS-jPc5XKbnv99Rjkhe04s/present {% endcomment -%}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
|
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
|
||||||
{% if site.enable_copy_code_button -%}
|
{% if site.enable_copy_code_button -%}
|
||||||
window.enable_copy_code_button = true;
|
window.enable_copy_code_button = true;
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
<a class="site-title" href="{{ '/' | relative_url }}">
|
<a class="site-title" href="{{ '/' | relative_url }}">
|
||||||
{{ site.masthead_title | default: site.title }}
|
{{ site.masthead_title | default: site.title | escape_once | strip }}
|
||||||
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
|
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle | escape_once | strip }}</span>{% endif %}
|
||||||
</a>
|
</a>
|
||||||
<ul class="visible-links">
|
<ul class="visible-links">
|
||||||
{%- for link in site.data.navigation.main -%}
|
{%- for link in site.data.navigation.main -%}
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
{% if page.previous or page.next %}
|
{% if page.previous or page.next %}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
{% if page.previous %}
|
{% if page.previous %}
|
||||||
<a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
<a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.next %}
|
{% if page.next %}
|
||||||
<a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
<a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
+8
-4
@@ -2,7 +2,11 @@
|
|||||||
{%- assign title_separator = site.title_separator | default: '-' -%}
|
{%- assign title_separator = site.title_separator | default: '-' -%}
|
||||||
|
|
||||||
{%- assign page_title = page.title | default: site.title | replace: '|', '|' -%}
|
{%- assign page_title = page.title | default: site.title | replace: '|', '|' -%}
|
||||||
{%- assign seo_title = page_title | append: " " | append: title_separator | append: " " | append: site.title | replace: '|', '|' -%}
|
{%- if page_title contains site.title -%}
|
||||||
|
{%- assign seo_title = page_title | replace: '|', '|' -%}
|
||||||
|
{%- else -%}
|
||||||
|
{%- assign seo_title = page_title | append: " " | append: title_separator | append: " " | append: site.title | replace: '|', '|' -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
{%- assign page_title = page_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
{%- assign page_title = page_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||||
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||||
@@ -35,15 +39,15 @@
|
|||||||
<meta name="description" content="{{ seo_description }}">
|
<meta name="description" content="{{ seo_description }}">
|
||||||
|
|
||||||
{% if author.name %}
|
{% if author.name %}
|
||||||
<meta name="author" content="{{ author.name | default: author }}">
|
<meta name="author" content="{{ author.name | default: author | escape_once | strip }}">
|
||||||
{% if og_type == "article" %}
|
{% if og_type == "article" %}
|
||||||
<meta property="article:author" content="{{ author.name | default: author }}">
|
<meta property="article:author" content="{{ author.name | default: author | escape_once | strip }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<meta property="og:type" content="{{ og_type }}">
|
<meta property="og:type" content="{{ og_type }}">
|
||||||
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
||||||
<meta property="og:site_name" content="{{ site.title }}">
|
<meta property="og:site_name" content="{{ site.title | escape_once | strip }}">
|
||||||
<meta property="og:title" content="{{ page_title }}">
|
<meta property="og:title" content="{{ page_title }}">
|
||||||
<meta property="og:url" content="{{ canonical_url }}">
|
<meta property="og:url" content="{{ canonical_url }}">
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,19 @@
|
|||||||
<section class="page__share">
|
<section class="page__share">
|
||||||
{% if site.data.ui-text[site.locale].share_on_label %}
|
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
||||||
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
<a href="https://x.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--x" aria-label="Share on X" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} X">
|
||||||
|
<i class="fab fa-fw fa-x-twitter" aria-hidden="true"></i><span> X</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" aria-label="Share on Facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook">
|
||||||
|
<i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" aria-label="Share on LinkedIn" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn">
|
||||||
|
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://bsky.app/intent/compose?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--bluesky" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Bluesky">
|
||||||
|
<i class="fab fa-fw fa-bluesky" aria-hidden="true"></i><span> Bluesky</span>
|
||||||
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ author_profile: false
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{% for post in page.posts %}
|
{% for post in page.posts %}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ layout: default
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
{% include copyright.html %}
|
{% include copyright.html %}
|
||||||
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
<html lang="{{ site.locale | replace: "_", "-" | default: "en" }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
{% include head/custom.html %}
|
{% include head/custom.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}" dir="{% if site.rtl %}rtl{% else %}ltr{% endif %}">
|
||||||
{% include_cached skip-links.html %}
|
{% include_cached skip-links.html %}
|
||||||
{% include_cached masthead.html %}
|
{% include_cached masthead.html %}
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -14,9 +14,7 @@ layout: archive
|
|||||||
|
|
||||||
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
<div class="entries-{{ entries_layout }}">
|
<div class="entries-{{ entries_layout }}">
|
||||||
{% for post in posts %}
|
{% include documents-collection.html entries=posts type=entries_layout %}
|
||||||
{% include archive-single.html type=entries_layout %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include paginator.html %}
|
{% include paginator.html %}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ layout: default
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|||||||
+10
-3
@@ -21,7 +21,7 @@ layout: default
|
|||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
|
||||||
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
|
<article class="page" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
|
||||||
{% if page.title %}<meta itemprop="headline" content="{{ page.title | replace: '|', '|' | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.title %}<meta itemprop="headline" content="{{ page.title | replace: '|', '|' | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
||||||
@@ -65,8 +65,15 @@ layout: default
|
|||||||
{% include post_pagination.html %}
|
{% include post_pagination.html %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
|
{% if site.comments.provider and page.comments %}
|
||||||
{% include comments.html %}
|
{% if jekyll.environment == 'production' %}
|
||||||
|
{% include comments.html %}
|
||||||
|
{% else %}
|
||||||
|
<p>
|
||||||
|
Comments are configured with provider: <strong>{{ site.comments.provider }}</strong>,
|
||||||
|
but are disabled in non-production environments.
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ layout: default
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
|
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
|
||||||
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
||||||
|
|||||||
@@ -7,14 +7,14 @@
|
|||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
padding-right: $right-sidebar-width-narrow;
|
padding-inline-end: $right-sidebar-width-narrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: calc(100% - #{$right-sidebar-width});
|
width: calc(100% - #{$right-sidebar-width});
|
||||||
padding-right: $right-sidebar-width;
|
padding-inline-end: $right-sidebar-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -53,10 +53,7 @@
|
|||||||
a[rel="permalink"]::before {
|
a[rel="permalink"]::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a + a {
|
a + a {
|
||||||
@@ -98,14 +95,14 @@
|
|||||||
.archive__item-caption {
|
.archive__item-caption {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: $caption-font-family;
|
font-family: $caption-font-family;
|
||||||
font-size: $type-size-8;
|
font-size: $type-size-8;
|
||||||
background: #000;
|
background: #000;
|
||||||
text-align: right;
|
text-align: end;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
border-radius: $border-radius 0 0 0;
|
border-radius: $border-radius 0 0 0;
|
||||||
@@ -140,11 +137,11 @@
|
|||||||
/* extend grid elements to the right */
|
/* extend grid elements to the right */
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
margin-right: -1 * $right-sidebar-width-narrow;
|
margin-inline-end: -1 * $right-sidebar-width-narrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
margin-right: -1 * $right-sidebar-width;
|
margin-inline-end: -1 * $right-sidebar-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -153,23 +150,22 @@
|
|||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: span(5 of 10);
|
width: span(5 of 10);
|
||||||
|
|
||||||
&:nth-child(2n + 1) {
|
&:nth-child(2n + 1) {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2n + 2) {
|
&:nth-child(2n + 2) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(of 10);
|
margin-inline-start: gutter(of 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
@include breakpoint($medium) {
|
||||||
margin-left: 0; /* override margin*/
|
margin-inline: 0; /* override margin*/
|
||||||
margin-right: 0; /* override margin*/
|
|
||||||
width: span(3 of 12);
|
width: span(3 of 12);
|
||||||
|
|
||||||
&:nth-child(2n + 1) {
|
&:nth-child(2n + 1) {
|
||||||
@@ -182,17 +178,17 @@
|
|||||||
|
|
||||||
&:nth-child(4n + 2) {
|
&:nth-child(4n + 2) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(1 of 12);
|
margin-inline-start: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(4n + 3) {
|
&:nth-child(4n + 3) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(1 of 12);
|
margin-inline-start: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(4n + 4) {
|
&:nth-child(4n + 4) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(1 of 12);
|
margin-inline-start: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -254,23 +250,23 @@
|
|||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
width: span(4 of 12);
|
width: span(4 of 12);
|
||||||
|
|
||||||
&:nth-child(3n + 1) {
|
&:nth-child(3n + 1) {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(3n + 2) {
|
&:nth-child(3n + 2) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(of 12);
|
margin-inline-start: gutter(of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(3n + 3) {
|
&:nth-child(3n + 3) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(of 12);
|
margin-inline-start: gutter(of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature__item-teaser {
|
.feature__item-teaser {
|
||||||
@@ -280,114 +276,89 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-body {
|
.archive__item-body {
|
||||||
padding-left: gutter(1 of 12);
|
padding-inline: gutter(1 of 12);
|
||||||
padding-right: gutter(1 of 12);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a.btn::before {
|
a.btn::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&--left {
|
&--left, &--right {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
margin-inline: 0;
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
.archive__item {
|
a.btn::before {
|
||||||
float: left;
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a.btn::before {
|
&--left {
|
||||||
content: '';
|
float: inline-start;
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
.archive__item {
|
||||||
top: 0;
|
float: inline-start;
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: span(5 of 12);
|
width: span(5 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-body {
|
.archive__item-body {
|
||||||
float: right;
|
float: inline-end;
|
||||||
padding-left: gutter(0.5 of 12);
|
|
||||||
padding-right: gutter(1 of 12);
|
|
||||||
width: span(7 of 12);
|
width: span(7 of 12);
|
||||||
|
padding-inline-start: gutter(0.5 of 12);
|
||||||
|
padding-inline-end: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&--right {
|
&--right {
|
||||||
position: relative;
|
float: inline-end;
|
||||||
float: left;
|
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
|
||||||
clear: both;
|
|
||||||
font-size: 1.125em;
|
|
||||||
|
|
||||||
.archive__item {
|
.archive__item {
|
||||||
float: left;
|
float: inline-end;
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.btn::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
text-align: right;
|
text-align: end;
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: span(5 of 12);
|
width: span(5 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-body {
|
.archive__item-body {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: span(7 of 12);
|
width: span(7 of 12);
|
||||||
padding-left: gutter(0.5 of 12);
|
padding-inline-start: gutter(1 of 12);
|
||||||
padding-right: gutter(1 of 12);
|
padding-inline-end: gutter(0.5 of 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&--center {
|
&--center {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
.archive__item {
|
.archive__item {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -398,10 +369,7 @@
|
|||||||
a.btn::before {
|
a.btn::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
@@ -442,14 +410,14 @@
|
|||||||
Wide Pages
|
Wide Pages
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.wide {
|
.wide {
|
||||||
.archive {
|
.archive {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ html {
|
|||||||
/* sticky footer fix */
|
/* sticky footer fix */
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -107,18 +109,18 @@ abbr[data-original-title] {
|
|||||||
/* blockquotes */
|
/* blockquotes */
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 2em 1em 2em 0;
|
margin-block: 2em;
|
||||||
padding-left: 1em;
|
margin-inline-end: 1em;
|
||||||
padding-right: 1em;
|
padding-inline: 1em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
border-left: 0.25em solid $primary-color;
|
border-inline-start: 0.25em solid $primary-color;
|
||||||
|
|
||||||
cite {
|
cite {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
content: "\2014";
|
content: "\2014";
|
||||||
padding-right: 5px;
|
padding-inline-end: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,11 +21,11 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
margin-right: 0.5em;
|
margin-inline-end: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon + .hidden {
|
.icon + .hidden {
|
||||||
margin-left: -0.5em; /* override for hidden text*/
|
margin-inline-start: -0.5em; /* override for hidden text*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* button colors */
|
/* button colors */
|
||||||
@@ -37,9 +37,13 @@
|
|||||||
(warning, $warning-color),
|
(warning, $warning-color),
|
||||||
(danger, $danger-color),
|
(danger, $danger-color),
|
||||||
(info, $info-color),
|
(info, $info-color),
|
||||||
|
/* brands */
|
||||||
|
(bluesky, $bluesky-color),
|
||||||
(facebook, $facebook-color),
|
(facebook, $facebook-color),
|
||||||
|
(linkedin, $linkedin-color),
|
||||||
|
(mastodon, $mastodon-color),
|
||||||
(twitter, $twitter-color),
|
(twitter, $twitter-color),
|
||||||
(linkedin, $linkedin-color);
|
(x, $x-color);
|
||||||
|
|
||||||
@each $buttoncolor, $color in $buttoncolors {
|
@each $buttoncolor, $color in $buttoncolors {
|
||||||
&--#{$buttoncolor} {
|
&--#{$buttoncolor} {
|
||||||
@@ -94,4 +98,4 @@
|
|||||||
&--small {
|
&--small {
|
||||||
font-size: $type-size-7;
|
font-size: $type-size-7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.26.0 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
|
||||||
* Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
|
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
||||||
* Free for personal and commercial use under the MIT license
|
* Free for personal and commercial use under the MIT license
|
||||||
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -4,9 +4,8 @@
|
|||||||
|
|
||||||
.page__footer {
|
.page__footer {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
color: $muted-text-color;
|
color: $muted-text-color;
|
||||||
@@ -18,8 +17,7 @@
|
|||||||
|
|
||||||
footer {
|
footer {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 0 1em 2em;
|
padding: 0 1em 2em;
|
||||||
@@ -67,13 +65,13 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
li + li:before {
|
li + li::before {
|
||||||
content: "";
|
content: "";
|
||||||
padding-right: 5px;
|
padding-inline-end: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
padding-right: 10px;
|
padding-inline-end: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
form {
|
form {
|
||||||
margin: 0 0 5px 0;
|
margin-bottom: 5px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background-color: $form-background-color;
|
background-color: $form-background-color;
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ form {
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 5px * 2;
|
margin-bottom: 5px * 2;
|
||||||
*margin-left: -7px;
|
margin-inline-start: -7px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
border: 0;
|
border: 0;
|
||||||
@@ -45,7 +45,6 @@ button,
|
|||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
*vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
@@ -102,7 +101,6 @@ input[type="radio"] {
|
|||||||
height: auto;
|
height: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 3px 0;
|
margin: 3px 0;
|
||||||
*margin-top: 0;
|
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@@ -114,8 +112,6 @@ input[type="checkbox"],
|
|||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
*width: 13px;
|
|
||||||
*height: 13px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="image"] {
|
input[type="image"] {
|
||||||
@@ -138,12 +134,6 @@ input[type="submit"] {
|
|||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
*overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
select,
|
|
||||||
input[type="file"] {
|
|
||||||
*margin-top: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
@@ -173,14 +163,14 @@ input[type="hidden"] {
|
|||||||
|
|
||||||
.radio,
|
.radio,
|
||||||
.checkbox {
|
.checkbox {
|
||||||
padding-left: 18px;
|
padding-inline-start: 18px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio input[type="radio"],
|
.radio input[type="radio"],
|
||||||
.checkbox input[type="checkbox"] {
|
.checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: -18px;
|
margin-inline-start: -18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio.inline,
|
.radio.inline,
|
||||||
@@ -193,7 +183,7 @@ input[type="hidden"] {
|
|||||||
|
|
||||||
.radio.inline + .radio.inline,
|
.radio.inline + .radio.inline,
|
||||||
.checkbox.inline + .checkbox.inline {
|
.checkbox.inline + .checkbox.inline {
|
||||||
margin-left: 10px;
|
margin-inline-start: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -248,7 +238,7 @@ select:focus {
|
|||||||
.help-inline {
|
.help-inline {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding-left: 5px;
|
padding-inline-start: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -279,16 +269,16 @@ select:focus {
|
|||||||
.form-inline .radio,
|
.form-inline .radio,
|
||||||
.form-inline .checkbox,
|
.form-inline .checkbox,
|
||||||
.form-inline .radio {
|
.form-inline .radio {
|
||||||
padding-left: 0;
|
padding-inline-start: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-inline .radio input[type="radio"],
|
.form-inline .radio input[type="radio"],
|
||||||
.form-inline .checkbox input[type="checkbox"] {
|
.form-inline .checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
margin-right: 3px;
|
margin-inline-end: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -303,8 +293,7 @@ select:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.form-search .search-query {
|
.form-search .search-query {
|
||||||
padding-left: 14px;
|
padding-inline: 14px;
|
||||||
padding-right: 14px;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
}
|
}
|
||||||
@@ -316,23 +305,23 @@ select:focus {
|
|||||||
.form-search .radio,
|
.form-search .radio,
|
||||||
.form-search .checkbox,
|
.form-search .checkbox,
|
||||||
.form-inline .radio {
|
.form-inline .radio {
|
||||||
padding-left: 0;
|
padding-inline-start: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-search .radio input[type="radio"],
|
.form-search .radio input[type="radio"],
|
||||||
.form-search .checkbox input[type="checkbox"] {
|
.form-search .checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
margin-right: 3px;
|
margin-inline-end: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
.form--loading
|
.form--loading
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.form--loading:before {
|
.form--loading::before {
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -340,10 +329,10 @@ select:focus {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form:before {
|
.form::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(255, 255, 255, 0.7);
|
background-color: rgba(255, 255, 255, 0.7);
|
||||||
@@ -354,6 +343,6 @@ select:focus {
|
|||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
inset-inline-start: 50%;
|
||||||
z-index: 11;
|
z-index: 11;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,7 @@
|
|||||||
|
|
||||||
&__inner-wrap {
|
&__inner-wrap {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
@@ -59,17 +58,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.masthead__menu {
|
.masthead__menu {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
||||||
.site-nav {
|
.site-nav {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +85,7 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
&--lg {
|
&--lg {
|
||||||
padding-right: 2em;
|
padding-inline-end: 2em;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding-left: 1em;
|
padding-inline: 1em;
|
||||||
padding-right: 1em;
|
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
animation: $intro-transition;
|
animation: $intro-transition;
|
||||||
@@ -28,7 +27,7 @@
|
|||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -52,7 +51,7 @@
|
|||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -66,8 +65,8 @@
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: -1px;
|
margin-inline-start: -1px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -101,18 +100,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
border-top-left-radius: $border-radius;
|
border-start-start-radius: $border-radius;
|
||||||
border-bottom-left-radius: $border-radius;
|
border-end-start-radius: $border-radius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
a {
|
a {
|
||||||
border-top-right-radius: $border-radius;
|
border-start-end-radius: $border-radius;
|
||||||
border-bottom-right-radius: $border-radius;
|
border-end-end-radius: $border-radius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -121,7 +120,7 @@
|
|||||||
&--pager {
|
&--pager {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 1em 2em;
|
padding: 1em 2em;
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
@@ -137,14 +136,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-top-right-radius: 0;
|
border-start-end-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-end-end-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-left: -1px;
|
margin-inline-start: -1px;
|
||||||
border-top-left-radius: 0;
|
border-start-start-radius: 0;
|
||||||
border-bottom-left-radius: 0;
|
border-end-start-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
@@ -192,12 +191,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.site-logo {
|
&.site-logo {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
margin-right: 0.5rem;
|
margin-inline-end: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.site-title {
|
&.site-title {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -240,7 +239,7 @@
|
|||||||
&:before {
|
&:before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
@@ -262,7 +261,7 @@
|
|||||||
.hidden-links {
|
.hidden-links {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
@@ -287,11 +286,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -11px;
|
top: -11px;
|
||||||
right: 10px;
|
inset-inline-end: 10px;
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -300,11 +299,11 @@
|
|||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10px;
|
top: -10px;
|
||||||
right: 10px;
|
inset-inline-end: 10px;
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -361,11 +360,11 @@
|
|||||||
transition: 0.2s ease-out;
|
transition: 0.2s ease-out;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:before,
|
&::before,
|
||||||
&:after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1em;
|
inset-inline-end: 1em;
|
||||||
top: 1.25em;
|
top: 1.25em;
|
||||||
width: 0.75em;
|
width: 0.75em;
|
||||||
height: 0.125em;
|
height: 0.125em;
|
||||||
@@ -446,9 +445,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
margin-left: -0.5em;
|
margin-inline-start: -0.5em;
|
||||||
padding-left: 0.5em;
|
padding-inline: 0.5em;
|
||||||
padding-right: 0.5em;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -516,8 +514,8 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
border-top-left-radius: $border-radius;
|
border-start-start-radius: $border-radius;
|
||||||
border-top-right-radius: $border-radius;
|
border-start-end-radius: $border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scrollspy marks toc items as .active when they are in focus
|
// Scrollspy marks toc items as .active when they are in focus
|
||||||
@@ -551,23 +549,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
li ul > li a {
|
li ul > li a {
|
||||||
padding-left: 1.25rem;
|
padding-inline-start: 1.25rem;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul > li a {
|
li ul li ul > li a {
|
||||||
padding-left: 1.75rem;
|
padding-inline-start: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul li ul > li a {
|
li ul li ul li ul > li a {
|
||||||
padding-left: 2.25rem;
|
padding-inline-start: 2.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul li ul li ul > li a {
|
li ul li ul li ul li ul > li a {
|
||||||
padding-left: 2.75rem;
|
padding-inline-start: 2.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul li ul li ul li ul > li a {
|
li ul li ul li ul li ul li ul > li a {
|
||||||
padding-left: 3.25rem
|
padding-inline-start: 3.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@at-root #{selector-unify(&, "blockquote")} {
|
@at-root #{selector-unify(&, "blockquote")} {
|
||||||
border-left-color: mix(#000, $notice-color, 10%);
|
border-inline-start-color: mix(#000, $notice-color, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|||||||
@@ -4,10 +4,8 @@
|
|||||||
|
|
||||||
#main {
|
#main {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
padding-inline: 1em;
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
animation: $intro-transition;
|
animation: $intro-transition;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@@ -37,21 +35,20 @@ body {
|
|||||||
|
|
||||||
.page {
|
.page {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
padding-right: $right-sidebar-width-narrow;
|
padding-inline-end: $right-sidebar-width-narrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: calc(100% - #{$right-sidebar-width});
|
width: calc(100% - #{$right-sidebar-width});
|
||||||
padding-right: $right-sidebar-width;
|
padding-inline-end: $right-sidebar-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page__inner-wrap {
|
.page__inner-wrap {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
||||||
@@ -59,9 +56,8 @@ body {
|
|||||||
.page__meta,
|
.page__meta,
|
||||||
.page__share {
|
.page__share {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
@@ -96,7 +92,7 @@ body {
|
|||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
.header-link {
|
.header-link {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 0.5em;
|
inset-inline-start: 0.5em;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
@@ -160,7 +156,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin-left: 1em;
|
margin-inline-start: 1em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
}
|
}
|
||||||
@@ -172,7 +168,7 @@ body {
|
|||||||
/* blockquote citations */
|
/* blockquote citations */
|
||||||
blockquote + .small {
|
blockquote + .small {
|
||||||
margin-top: -1.5em;
|
margin-top: -1.5em;
|
||||||
padding-left: 1.25rem;
|
padding-inline-start: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -203,8 +199,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
padding-left: 1em;
|
padding-inline: 1em;
|
||||||
padding-right: 1em;
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $x-large;
|
||||||
@@ -242,14 +237,14 @@ body {
|
|||||||
.page__hero-caption {
|
.page__hero-caption {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: $caption-font-family;
|
font-family: $caption-font-family;
|
||||||
font-size: $type-size-7;
|
font-size: $type-size-7;
|
||||||
background: #000;
|
background: #000;
|
||||||
text-align: right;
|
text-align: end;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
border-radius: $border-radius 0 0 0;
|
border-radius: $border-radius 0 0 0;
|
||||||
@@ -320,8 +315,7 @@ body {
|
|||||||
|
|
||||||
.page__meta-sep::before {
|
.page__meta-sep::before {
|
||||||
content: "\2022";
|
content: "\2022";
|
||||||
padding-left: 0.5em;
|
padding-inline: 0.5em;
|
||||||
padding-right: 0.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -334,13 +328,13 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
margin-right: 10px;
|
margin-inline-end: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.page__taxonomy-item {
|
.page__taxonomy-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 5px;
|
margin-inline-end: 5px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -417,7 +411,7 @@ body {
|
|||||||
color: $muted-text-color;
|
color: $muted-text-color;
|
||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-align: right;
|
text-align: end;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -426,9 +420,8 @@ body {
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.page__comments {
|
.page__comments {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
@@ -470,7 +463,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.comment__avatar-wrapper {
|
.comment__avatar-wrapper {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
|
||||||
@@ -494,7 +487,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.comment__content-wrapper {
|
.comment__content-wrapper {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - 60px);
|
width: calc(100% - 60px);
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
@@ -525,13 +518,13 @@ body {
|
|||||||
|
|
||||||
.page__related {
|
.page__related {
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
border-top: 1px solid $border-color;
|
border-top: 1px solid $border-color;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -556,23 +549,13 @@ body {
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.wide {
|
.wide {
|
||||||
.page {
|
.page, .page__related {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__related {
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,18 +8,18 @@ html {
|
|||||||
/* apply a natural box layout model to all elements */
|
/* apply a natural box layout model to all elements */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: $background-color;
|
background-color: $background-color;
|
||||||
font-size: 16px;
|
font-size: $doc-font-size;
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
@include breakpoint($medium) {
|
||||||
font-size: 18px;
|
font-size: $doc-font-size-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
font-size: 20px;
|
font-size: $doc-font-size-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
font-size: 22px;
|
font-size: $doc-font-size-x-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
@@ -64,8 +64,6 @@ audio,
|
|||||||
canvas,
|
canvas,
|
||||||
video {
|
video {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
*display: inline;
|
|
||||||
*zoom: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevents modern browsers from displaying 'audio' without controls */
|
/* Prevents modern browsers from displaying 'audio' without controls */
|
||||||
@@ -142,7 +140,6 @@ textarea {
|
|||||||
|
|
||||||
button,
|
button,
|
||||||
input {
|
input {
|
||||||
*overflow: visible; /* inner spacing ie IE6/7*/
|
|
||||||
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -184,4 +181,4 @@ input[type="search"]::-webkit-search-cancel-button {
|
|||||||
textarea {
|
textarea {
|
||||||
overflow: auto; /* remove vertical scrollbar in IE6-9*/
|
overflow: auto; /* remove vertical scrollbar in IE6-9*/
|
||||||
vertical-align: top; /* readability and alignment cross-browser*/
|
vertical-align: top; /* readability and alignment cross-browser*/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,8 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search__toggle {
|
.search__toggle {
|
||||||
margin-left: 1rem;
|
margin-inline: 1rem;
|
||||||
margin-right: 1rem;
|
|
||||||
height: $nav-toggle-height;
|
height: $nav-toggle-height;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
@@ -38,10 +37,8 @@
|
|||||||
|
|
||||||
&__inner-wrap {
|
&__inner-wrap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
padding-inline: 1em;
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
animation: $intro-transition;
|
animation: $intro-transition;
|
||||||
-webkit-animation-delay: 0.15s;
|
-webkit-animation-delay: 0.15s;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: calc(#{$right-sidebar-width-narrow} - 1em);
|
width: calc(#{$right-sidebar-width-narrow} - 1em);
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
-webkit-transition: opacity 0.2s ease-in-out;
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
@@ -77,10 +77,10 @@
|
|||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
width: $right-sidebar-width-narrow;
|
width: $right-sidebar-width-narrow;
|
||||||
margin-right: -1 * $right-sidebar-width-narrow;
|
margin-inline-end: -1 * $right-sidebar-width-narrow;
|
||||||
padding-left: 1em;
|
padding-inline-start: 1em;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
&.sticky {
|
&.sticky {
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 2em;
|
top: 2em;
|
||||||
float: right;
|
float: inline-end;
|
||||||
|
|
||||||
.toc {
|
.toc {
|
||||||
.toc__menu {
|
.toc__menu {
|
||||||
@@ -101,19 +101,19 @@
|
|||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: $right-sidebar-width;
|
width: $right-sidebar-width;
|
||||||
margin-right: -1 * $right-sidebar-width;
|
margin-inline-end: -1 * $right-sidebar-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.splash .sidebar__right {
|
.splash .sidebar__right {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: right;
|
float: inline-end;
|
||||||
margin-right: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
margin-right: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -147,15 +147,13 @@
|
|||||||
.author__content {
|
.author__content {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
padding-left: 15px;
|
padding-inline: 15px 25px;
|
||||||
padding-right: 25px;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-left: 0;
|
padding-inline: 0;
|
||||||
padding-right: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -202,7 +200,7 @@
|
|||||||
|
|
||||||
.author__urls {
|
.author__urls {
|
||||||
span.label {
|
span.label {
|
||||||
padding-left: 5px;
|
padding-inline-start: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -219,7 +217,7 @@
|
|||||||
content: '';
|
content: '';
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@@ -241,7 +239,7 @@
|
|||||||
.author__urls {
|
.author__urls {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
@@ -265,12 +263,12 @@
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
display: block;
|
display: block;
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -11px;
|
top: -11px;
|
||||||
left: calc(50% - 10px);
|
inset-inline-start: calc(50% - 10px);
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -287,7 +285,7 @@
|
|||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10px;
|
top: -10px;
|
||||||
left: calc(50% - 10px);
|
inset-inline-start: calc(50% - 10px);
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -311,9 +309,8 @@
|
|||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
padding-right: 5px;
|
padding-block: 2px;
|
||||||
padding-top: 2px;
|
padding-inline-end: 5px;
|
||||||
padding-bottom: 2px;
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -334,10 +331,10 @@
|
|||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
position: initial;
|
position: initial;
|
||||||
top: initial;
|
top: initial;
|
||||||
right: initial;
|
inset-inline-end: initial;
|
||||||
width: initial;
|
width: initial;
|
||||||
margin-right: initial;
|
margin-inline-end: initial;
|
||||||
padding-left: initial;
|
padding-inline-start: initial;
|
||||||
z-index: initial;
|
z-index: initial;
|
||||||
|
|
||||||
&.sticky {
|
&.sticky {
|
||||||
@@ -347,7 +344,6 @@
|
|||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: initial;
|
width: initial;
|
||||||
margin-right: initial;
|
margin-inline-end: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,11 @@ figure.highlight {
|
|||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
|
[dir=rtl] & {
|
||||||
|
direction: ltr;
|
||||||
|
text-align: start;
|
||||||
|
}
|
||||||
|
|
||||||
> pre,
|
> pre,
|
||||||
pre.highlight {
|
pre.highlight {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -33,17 +38,17 @@ figure.highlight {
|
|||||||
/* line numbers*/
|
/* line numbers*/
|
||||||
&.gutter,
|
&.gutter,
|
||||||
&.rouge-gutter {
|
&.rouge-gutter {
|
||||||
padding-right: 1em;
|
padding-inline-end: 1em;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
color: $base04;
|
color: $base04;
|
||||||
border-right: 1px solid $base04;
|
border-inline-end: 1px solid $base04;
|
||||||
text-align: right;
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* code */
|
/* code */
|
||||||
&.code,
|
&.code,
|
||||||
&.rouge-code {
|
&.rouge-code {
|
||||||
padding-left: 1em;
|
padding-inline-start: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -321,4 +326,4 @@ figure.highlight {
|
|||||||
th, td {
|
th, td {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ thead {
|
|||||||
th {
|
th {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: left;
|
text-align: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
@@ -36,4 +36,4 @@ tr,
|
|||||||
td,
|
td,
|
||||||
th {
|
th {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,20 +83,11 @@ body:hover .visually-hidden button {
|
|||||||
Type
|
Type
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.text-left {
|
$text-alignments: left, right, start, end, center, justify;
|
||||||
text-align: left;
|
@each $alignment in $text-alignments {
|
||||||
}
|
.text-#{$alignment} {
|
||||||
|
text-align: $alignment;
|
||||||
.text-center {
|
}
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-justify {
|
|
||||||
text-align: justify;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-nowrap {
|
.text-nowrap {
|
||||||
@@ -108,20 +99,20 @@ body:hover .visually-hidden button {
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.task-list {
|
.task-list {
|
||||||
padding:0;
|
padding: 0;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-item-checkbox {
|
.task-list-item-checkbox {
|
||||||
margin-right: 0.5em;
|
margin-inline-end: 0.5em;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list .task-list {
|
.task-list .task-list {
|
||||||
margin-left: 1em;
|
margin-inline-start: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -135,8 +126,7 @@ body:hover .visually-hidden button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -148,8 +138,7 @@ body:hover .visually-hidden button {
|
|||||||
|
|
||||||
.align-left {
|
.align-left {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -161,8 +150,7 @@ body:hover .visually-hidden button {
|
|||||||
|
|
||||||
.align-right {
|
.align-right {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: right;
|
float: right;
|
||||||
@@ -174,15 +162,14 @@ body:hover .visually-hidden button {
|
|||||||
|
|
||||||
.align-center {
|
.align-center {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* file page content container */
|
/* file page content container */
|
||||||
|
|
||||||
.full {
|
.full {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
margin-right: -1 * span(2.5 of 12) !important;
|
margin-inline-end: -1 * span(2.5 of 12) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -211,118 +198,36 @@ body:hover .visually-hidden button {
|
|||||||
color: $text-color;
|
color: $text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-behance,
|
@each $color, $icons in (
|
||||||
.fa-behance-square {
|
$behance-color: ".fa-behance, .fa-behance-square",
|
||||||
color: $behance-color;
|
$bitbucket-color: ".fa-bitbucket",
|
||||||
}
|
$dribbble-color: ".fa-dribbble, .fa-dribbble-square",
|
||||||
|
$facebook-color: ".fa-facebook, .fa-facebook-square, .fa-facebook-f",
|
||||||
.fa-bitbucket {
|
$flickr-color: ".fa-flickr",
|
||||||
color: $bitbucket-color;
|
$foursquare-color: ".fa-foursquare",
|
||||||
}
|
$github-color: ".fa-github, .fa-github-alt, .fa-github-square",
|
||||||
|
$gitlab-color: ".fa-gitlab",
|
||||||
.fa-dribbble,
|
$instagram-color: ".fa-instagram",
|
||||||
.fa-dribble-square {
|
$keybase-color: ".fa-keybase",
|
||||||
color: $dribbble-color;
|
$lastfm-color: ".fa-lastfm, .fa-lastfm-square",
|
||||||
}
|
$linkedin-color: ".fa-linkedin, .fa-linkedin-in",
|
||||||
|
$mastodon-color: ".fa-mastodon, .fa-mastodon-square",
|
||||||
.fa-facebook,
|
$pinterest-color: ".fa-pinterest, .fa-pinterest-p, .fa-pinterest-square",
|
||||||
.fa-facebook-square,
|
$reddit-color: ".fa-reddit",
|
||||||
.fa-facebook-f {
|
$rss-color: ".fa-rss, .fa-rss-square",
|
||||||
color: $facebook-color;
|
$soundcloud-color: ".fa-soundcloud",
|
||||||
}
|
$stackoverflow-color: ".fa-stack-exchange, .fa-stack-overflow",
|
||||||
|
$tumblr-color: ".fa-tumblr, .fa-tumblr-square",
|
||||||
.fa-flickr {
|
$twitter-color: ".fa-twitter, .fa-twitter-square",
|
||||||
color: $flickr-color;
|
$x-color: ".fa-x-twitter, .fa-square-x-twitter",
|
||||||
}
|
$vimeo-color: ".fa-vimeo, .fa-vimeo-square, .fa-vimeo-v",
|
||||||
|
$vine-color: ".fa-vine",
|
||||||
.fa-foursquare {
|
$xing-color: ".fa-xing, .fa-xing-square",
|
||||||
color: $foursquare-color;
|
$youtube-color: ".fa-youtube",
|
||||||
}
|
) {
|
||||||
|
#{$icons} {
|
||||||
.fa-github,
|
color: $color;
|
||||||
.fa-github-alt,
|
}
|
||||||
.fa-github-square {
|
|
||||||
color: $github-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-gitlab {
|
|
||||||
color: $gitlab-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-instagram {
|
|
||||||
color: $instagram-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-keybase {
|
|
||||||
color: $keybase-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-lastfm,
|
|
||||||
.fa-lastfm-square {
|
|
||||||
color: $lastfm-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-linkedin,
|
|
||||||
.fa-linkedin-in {
|
|
||||||
color: $linkedin-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-mastodon,
|
|
||||||
.fa-mastodon-square {
|
|
||||||
color: $mastodon-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-pinterest,
|
|
||||||
.fa-pinterest-p,
|
|
||||||
.fa-pinterest-square {
|
|
||||||
color: $pinterest-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-reddit {
|
|
||||||
color: $reddit-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-rss,
|
|
||||||
.fa-rss-square {
|
|
||||||
color: $rss-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-soundcloud {
|
|
||||||
color: $soundcloud-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-stack-exchange,
|
|
||||||
.fa-stack-overflow {
|
|
||||||
color: $stackoverflow-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-tumblr,
|
|
||||||
.fa-tumblr-square {
|
|
||||||
color: $tumblr-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-twitter,
|
|
||||||
.fa-twitter-square {
|
|
||||||
color: $twitter-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-vimeo,
|
|
||||||
.fa-vimeo-square,
|
|
||||||
.fa-vimeo-v {
|
|
||||||
color: $vimeo-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-vine {
|
|
||||||
color: $vine-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-youtube {
|
|
||||||
color: $youtube-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-xing,
|
|
||||||
.fa-xing-square {
|
|
||||||
color: $xing-color;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -339,11 +244,11 @@ body:hover .visually-hidden button {
|
|||||||
-webkit-transition: 0.3s;
|
-webkit-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
|
|
||||||
&:before,
|
&::before,
|
||||||
&:after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: $navicon-width;
|
width: $navicon-width;
|
||||||
height: $navicon-height;
|
height: $navicon-height;
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
@@ -391,7 +296,7 @@ body:hover .visually-hidden button {
|
|||||||
content: '';
|
content: '';
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@@ -465,11 +370,11 @@ body:hover .visually-hidden button {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
@@ -486,8 +391,8 @@ body:hover .visually-hidden button {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
inset-inline-start: 50%;
|
||||||
margin-left: -150px;
|
margin-inline-start: -150px;
|
||||||
margin-top: -150px;
|
margin-top: -150px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
@@ -578,7 +483,7 @@ a.reversefootnote {
|
|||||||
embed {
|
embed {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@@ -608,35 +513,49 @@ a.reversefootnote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
&.highlight .clipboard-copy-button {
|
||||||
|
color: #ffffca;
|
||||||
|
}
|
||||||
|
|
||||||
.clipboard-copy-button {
|
.clipboard-copy-button {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0.6em;
|
top: 0.6em;
|
||||||
right: 0.5em;
|
inset-inline-end: 0.5em;
|
||||||
|
width: 1.8em;
|
||||||
|
height: 1.5em;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
border-radius: 0.1em;
|
border-radius: 0.1em;
|
||||||
padding: 0.2em 0.5em;
|
padding: 0.2em 0.5em;
|
||||||
color: white;
|
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
transition: color 0.25s linear -0.25s, opacity 0.25s linear;
|
transition: color 0.25s linear -0.25s, opacity 0.25s linear;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #ffffca;
|
|
||||||
}
|
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
inset: 0;
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
position: absolute;
|
||||||
|
top: 0.25em;
|
||||||
|
inset-inline-end: 0.25em;
|
||||||
|
&.copied {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.copied i {
|
||||||
|
opacity: 0;
|
||||||
|
&.copied {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@at-root {
|
@at-root {
|
||||||
.no-copy & {
|
.no-copy & {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -6,29 +6,65 @@
|
|||||||
Typography
|
Typography
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$doc-font-size: 16 !default;
|
$doc-font-size: 16px !default;
|
||||||
|
$doc-font-size-medium: $doc-font-size * 1.125 !default;
|
||||||
|
$doc-font-size-large: $doc-font-size * 1.25 !default;
|
||||||
|
$doc-font-size-x-large: $doc-font-size * 1.375 !default;
|
||||||
|
|
||||||
/* paragraph indention */
|
/* paragraph indention */
|
||||||
$paragraph-indent: false !default; // true, false (default)
|
$paragraph-indent: false !default; // true, false (default)
|
||||||
$indent-var: 1.3em !default;
|
$indent-var: 1.3em !default;
|
||||||
|
|
||||||
/* system typefaces */
|
/* Modern font stack */
|
||||||
$serif: Georgia, Times, serif !default;
|
/* https://github.com/system-fonts/modern-font-stacks */
|
||||||
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI",
|
|
||||||
"Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
|
|
||||||
$monospace: Monaco, Consolas, "Lucida Console", monospace !default;
|
|
||||||
|
|
||||||
/* sans serif typefaces */
|
/* Sans serif - modern font stack */
|
||||||
$sans-serif-narrow: $sans-serif !default;
|
$system-ui: system-ui, sans-serif;
|
||||||
|
$humanist: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
||||||
|
$geometric-humanist: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
|
||||||
|
$classical-humanist: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
|
||||||
|
$neo-grotesque: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
||||||
|
$industrial: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
|
||||||
|
$rounded-sans: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
|
||||||
|
|
||||||
|
/* sans serif typefaces - defined in Minimal Mistakes */
|
||||||
$helvetica: Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
$helvetica: Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
||||||
|
|
||||||
/* serif typefaces */
|
/* Serif - modern font stack */
|
||||||
|
$transitional: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
|
||||||
|
$old-style: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;;
|
||||||
|
$monospace-slab-serif: 'Nimbus Mono PS', 'Courier New', monospace;
|
||||||
|
$slab-serif: Rockwell, 'Rockwell Nova', 'Roboto Slab', 'DejaVu Serif', 'Sitka Small', serif;
|
||||||
|
$antique: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
|
||||||
|
$didone: Didot, 'Bodoni MT', 'Noto Serif Display', 'URW Palladio L', P052, Sylfaen, serif;
|
||||||
|
|
||||||
|
/* serif typefaces - defined in Minimal Mistakes */
|
||||||
$georgia: Georgia, serif !default;
|
$georgia: Georgia, serif !default;
|
||||||
$times: Times, serif !default;
|
$times: Times, serif !default;
|
||||||
$bodoni: "Bodoni MT", serif !default;
|
$bodoni: "Bodoni MT", serif !default;
|
||||||
$calisto: "Calisto MT", serif !default;
|
$calisto: "Calisto MT", serif !default;
|
||||||
$garamond: Garamond, serif !default;
|
$garamond: Garamond, serif !default;
|
||||||
|
|
||||||
|
/* Monospace - modern font stack */
|
||||||
|
$monospace-code: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
||||||
|
|
||||||
|
/* Handwritten - modern font stack */
|
||||||
|
$handwritten: 'Segoe Print', 'Bradley Hand', Chilanka, TSCu_Comic, casual, cursive;
|
||||||
|
|
||||||
|
/* Defaults used in Minimal mistakes */
|
||||||
|
$default-sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
|
||||||
|
$default-serif: Georgia, Times, serif;
|
||||||
|
$default-monospace: Monaco, Consolas, "Lucida Console", monospace;
|
||||||
|
|
||||||
|
/* Emoji native from modern font stack - add to the end of the font-face for native emojis */
|
||||||
|
$emoji-native: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
|
|
||||||
|
/* system typefaces */
|
||||||
|
$serif: $default-serif !default;
|
||||||
|
$sans-serif: $default-sans-serif !default;
|
||||||
|
$sans-serif-narrow: $sans-serif !default;
|
||||||
|
$monospace: $default-monospace !default;
|
||||||
|
|
||||||
$global-font-family: $sans-serif !default;
|
$global-font-family: $sans-serif !default;
|
||||||
$header-font-family: $sans-serif !default;
|
$header-font-family: $sans-serif !default;
|
||||||
$caption-font-family: $serif !default;
|
$caption-font-family: $serif !default;
|
||||||
@@ -87,6 +123,7 @@ $yiq-debug: false !default;
|
|||||||
/* brands */
|
/* brands */
|
||||||
$behance-color: #1769ff !default;
|
$behance-color: #1769ff !default;
|
||||||
$bitbucket-color: #205081 !default;
|
$bitbucket-color: #205081 !default;
|
||||||
|
$bluesky-color: #1083fe !default;
|
||||||
$dribbble-color: #ea4c89 !default;
|
$dribbble-color: #ea4c89 !default;
|
||||||
$facebook-color: #3b5998 !default;
|
$facebook-color: #3b5998 !default;
|
||||||
$flickr-color: #ff0084 !default;
|
$flickr-color: #ff0084 !default;
|
||||||
@@ -105,6 +142,7 @@ $soundcloud-color: #ff3300 !default;
|
|||||||
$stackoverflow-color: #fe7a15 !default;
|
$stackoverflow-color: #fe7a15 !default;
|
||||||
$tumblr-color: #32506d !default;
|
$tumblr-color: #32506d !default;
|
||||||
$twitter-color: #55acee !default;
|
$twitter-color: #55acee !default;
|
||||||
|
$x-color: #0f1419 !default;
|
||||||
$vimeo-color: #1ab7ea !default;
|
$vimeo-color: #1ab7ea !default;
|
||||||
$vine-color: #00bf8f !default;
|
$vine-color: #00bf8f !default;
|
||||||
$youtube-color: #bb0000 !default;
|
$youtube-color: #bb0000 !default;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
/* Colors */
|
/* Colors */
|
||||||
$text-color: #000 !default;
|
$text-color: #000 !default;
|
||||||
$muted-text-color: $text-color !default;
|
$muted-text-color: $text-color !default;
|
||||||
$primary-color: #ff0000 !default;
|
$primary-color: #b60000 !default;
|
||||||
$border-color: mix(#fff, $text-color, 75%) !default;
|
$border-color: mix(#fff, $text-color, 75%) !default;
|
||||||
$footer-background-color: #000 !default;
|
$footer-background-color: #000 !default;
|
||||||
$link-color: #0000ff !default;
|
$link-color: #0000ff !default;
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ search: false
|
|||||||
@charset "utf-8";
|
@charset "utf-8";
|
||||||
|
|
||||||
@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
|
@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
|
||||||
@import "minimal-mistakes"; // main partials
|
@import "minimal-mistakes"; // main partials
|
||||||
|
|||||||
+39
-19
@@ -61,7 +61,7 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Auto scroll sticky ToC with content
|
// Auto scroll sticky ToC with content
|
||||||
document.addEventListener("gumshoeActivate", function (event) {
|
const scrollTocToContent = function (event) {
|
||||||
var target = event.target;
|
var target = event.target;
|
||||||
var scrollOptions = { behavior: "auto", block: "nearest", inline: "start" };
|
var scrollOptions = { behavior: "auto", block: "nearest", inline: "start" };
|
||||||
|
|
||||||
@@ -75,7 +75,12 @@ $(document).ready(function () {
|
|||||||
} else {
|
} else {
|
||||||
target.scrollIntoView(scrollOptions);
|
target.scrollIntoView(scrollOptions);
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
|
|
||||||
|
// Has issues on Firefox, whitelist Chrome for now
|
||||||
|
if (!!window.chrome) {
|
||||||
|
document.addEventListener("gumshoeActivate", scrollTocToContent);
|
||||||
|
}
|
||||||
|
|
||||||
// add lightbox class to all image links
|
// add lightbox class to all image links
|
||||||
$(
|
$(
|
||||||
@@ -118,21 +123,25 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Add anchors for headings
|
// Add anchors for headings
|
||||||
document
|
(function () {
|
||||||
.querySelector(".page__content")
|
var pageContentElement = document.querySelector(".page__content");
|
||||||
.querySelectorAll("h1, h2, h3, h4, h5, h6")
|
if (!pageContentElement) return;
|
||||||
.forEach(function (element) {
|
|
||||||
var id = element.getAttribute("id");
|
pageContentElement
|
||||||
if (id) {
|
.querySelectorAll("h1, h2, h3, h4, h5, h6")
|
||||||
var anchor = document.createElement("a");
|
.forEach(function (element) {
|
||||||
anchor.className = "header-link";
|
var id = element.getAttribute("id");
|
||||||
anchor.href = "#" + id;
|
if (id) {
|
||||||
anchor.innerHTML =
|
var anchor = document.createElement("a");
|
||||||
'<span class="sr-only">Permalink</span><i class="fas fa-link"></i>';
|
anchor.className = "header-link";
|
||||||
anchor.title = "Permalink";
|
anchor.href = "#" + id;
|
||||||
element.appendChild(anchor);
|
anchor.innerHTML =
|
||||||
}
|
'<span class="sr-only">Permalink</span><i class="fas fa-link"></i>';
|
||||||
});
|
anchor.title = "Permalink";
|
||||||
|
element.appendChild(anchor);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
|
||||||
// Add copy button for <pre> blocks
|
// Add copy button for <pre> blocks
|
||||||
var copyText = function (text) {
|
var copyText = function (text) {
|
||||||
@@ -190,12 +199,23 @@ $(document).ready(function () {
|
|||||||
var result = copyText(codeBlock.innerText);
|
var result = copyText(codeBlock.innerText);
|
||||||
// Restore the focus to the button
|
// Restore the focus to the button
|
||||||
thisButton.focus();
|
thisButton.focus();
|
||||||
|
if (result) {
|
||||||
|
if (thisButton.interval !== null) {
|
||||||
|
clearInterval(thisButton.interval);
|
||||||
|
}
|
||||||
|
thisButton.classList.add('copied');
|
||||||
|
thisButton.interval = setTimeout(function () {
|
||||||
|
thisButton.classList.remove('copied');
|
||||||
|
clearInterval(thisButton.interval);
|
||||||
|
thisButton.interval = null;
|
||||||
|
}, 1500);
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (window.enable_copy_code_button) {
|
if (window.enable_copy_code_button) {
|
||||||
document
|
document
|
||||||
.querySelectorAll(".page__content pre > code")
|
.querySelectorAll(".page__content pre.highlight > code")
|
||||||
.forEach(function (element, index, parentList) {
|
.forEach(function (element, index, parentList) {
|
||||||
// Locate the <pre> element
|
// Locate the <pre> element
|
||||||
var container = element.parentElement;
|
var container = element.parentElement;
|
||||||
@@ -206,7 +226,7 @@ $(document).ready(function () {
|
|||||||
var copyButton = document.createElement("button");
|
var copyButton = document.createElement("button");
|
||||||
copyButton.title = "Copy to clipboard";
|
copyButton.title = "Copy to clipboard";
|
||||||
copyButton.className = "clipboard-copy-button";
|
copyButton.className = "clipboard-copy-button";
|
||||||
copyButton.innerHTML = '<span class="sr-only">Copy code</span><i class="far fa-copy"></i>';
|
copyButton.innerHTML = '<span class="sr-only">Copy code</span><i class="far fa-fw fa-copy"></i><i class="fas fa-fw fa-check copied"></i>';
|
||||||
copyButton.addEventListener("click", copyButtonEventListener);
|
copyButton.addEventListener("click", copyButtonEventListener);
|
||||||
container.prepend(copyButton);
|
container.prepend(copyButton);
|
||||||
});
|
});
|
||||||
|
|||||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5
-1
@@ -103,7 +103,11 @@ $(function() {
|
|||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
});
|
});
|
||||||
|
|
||||||
$hlinks.on('mouseleave', function() {
|
$hlinks.on("click", function () {
|
||||||
|
// Hide the hidden links & remove the overlay when one is clicked.
|
||||||
|
$hlinks.addClass("hidden");
|
||||||
|
$btn.removeClass("close");
|
||||||
|
}).on('mouseleave', function() {
|
||||||
// Mouse has left, start the timer
|
// Mouse has left, start the timer
|
||||||
timer = setTimeout(function() {
|
timer = setTimeout(function() {
|
||||||
$hlinks.addClass('hidden');
|
$hlinks.addClass('hidden');
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem "github-pages", group: :jekyll_plugins
|
gem "github-pages", group: :jekyll_plugins
|
||||||
|
gem "minimal-mistakes-jekyll", path: ".."
|
||||||
|
gem "rake"
|
||||||
|
|
||||||
gem "tzinfo-data"
|
gem "tzinfo-data"
|
||||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
task :default => %i[build]
|
||||||
|
|
||||||
|
task :build do
|
||||||
|
sh 'jekyll build --profile --trace --config _config.yml,_config.dev.yml'
|
||||||
|
end
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
# Develop override settings
|
# Develop override settings
|
||||||
|
|
||||||
|
theme: minimal-mistakes-jekyll
|
||||||
|
remote_theme: null
|
||||||
url: http://localhost:4000
|
url: http://localhost:4000
|
||||||
|
|
||||||
analytics:
|
analytics:
|
||||||
@@ -10,4 +12,4 @@ comments:
|
|||||||
shortname : "mmistakes-dev"
|
shortname : "mmistakes-dev"
|
||||||
|
|
||||||
sass:
|
sass:
|
||||||
style: expanded
|
style: expanded
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ footer:
|
|||||||
- label: "Instagram"
|
- label: "Instagram"
|
||||||
icon: "fab fa-fw fa-instagram"
|
icon: "fab fa-fw fa-instagram"
|
||||||
url: "https://instagram.com/mmistakes"
|
url: "https://instagram.com/mmistakes"
|
||||||
|
since: "2013"
|
||||||
|
|
||||||
|
|
||||||
# Reading Files
|
# Reading Files
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# for use with in-page templates
|
# for use with in-page templates
|
||||||
---
|
---
|
||||||
version: 4.26.0
|
version: 4.27.1
|
||||||
|
|||||||
@@ -215,6 +215,12 @@ By default your site title is used in the masthead. You can override this text b
|
|||||||
masthead_title: "My Custom Title"
|
masthead_title: "My Custom Title"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Site RTL direction
|
||||||
|
|
||||||
|
`site.rtl` is used to turn the direction of the page into right to left. This option can be used for RTL languages (like Arabic, Persian, etc)
|
||||||
|
|
||||||
|
_Example:_ `rtl: true` sets the direction of the page to right to left. By default this option is `rtl: false`.
|
||||||
|
|
||||||
### Breadcrumb navigation (beta)
|
### Breadcrumb navigation (beta)
|
||||||
|
|
||||||
Enable breadcrumb links to help visitors better navigate deep sites. Because of the fragile method of implementing them they don't always produce accurate links reliably. For best results:
|
Enable breadcrumb links to help visitors better navigate deep sites. Because of the fragile method of implementing them they don't always produce accurate links reliably. For best results:
|
||||||
@@ -956,6 +962,15 @@ footer:
|
|||||||
|
|
||||||
To change "Follow:" text that precedes footer links, edit the `follow_label` key in `_data/ui-text.yml`.
|
To change "Follow:" text that precedes footer links, edit the `follow_label` key in `_data/ui-text.yml`.
|
||||||
|
|
||||||
|
The copyright notice in the footer shows the year the site has been generated. This can be overridden with `time` in `_config.yml`. If `footer.since` is added and the value is not equal to the current year or the optional value of `time`, then a time range will be shown.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
footer:
|
||||||
|
since: "2013"
|
||||||
|
```
|
||||||
|
|
||||||
|
The above will result for example in `© 2013 - 2025 Minimal ...`. Note that `time` and `footer.since` also support values other than year numbers.
|
||||||
|
|
||||||
## Reading files
|
## Reading files
|
||||||
|
|
||||||
Nothing out of the ordinary here. `include` and `exclude` may be the only things you need to alter.
|
Nothing out of the ordinary here. `include` and `exclude` may be the only things you need to alter.
|
||||||
@@ -1226,7 +1241,7 @@ If you care at all about performance (and really who doesn't) compressing the HT
|
|||||||
|
|
||||||
If you're hosting with GitHub Pages there aren't many options afforded to you for optimizing the HTML Jekyll generates. Thankfully there is some Liquid wizardry you can use to strip whitespace and comments to reduce file size.
|
If you're hosting with GitHub Pages there aren't many options afforded to you for optimizing the HTML Jekyll generates. Thankfully there is some Liquid wizardry you can use to strip whitespace and comments to reduce file size.
|
||||||
|
|
||||||
There's a variety of configurations and caveats to using the `compress` layout, so be sure to read through the [documentation](http://jch.penibelst.de/) if you decide to make change the defaults set in the theme's `_config.yml`.
|
There's a variety of configurations and caveats to using the `compress` layout, so be sure to read through the [documentation](http://jch.penibelst.de/) if you decide to change the defaults set in the theme's `_config.yml`.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
compress_html:
|
compress_html:
|
||||||
|
|||||||
@@ -11,8 +11,10 @@ The English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com
|
|||||||
|
|
||||||
- Arabic (عربي)
|
- Arabic (عربي)
|
||||||
- Brazilian Portuguese (Português brasileiro)
|
- Brazilian Portuguese (Português brasileiro)
|
||||||
|
- Bulgarian
|
||||||
- Catalan
|
- Catalan
|
||||||
- Chinese
|
- Chinese
|
||||||
|
- Czech
|
||||||
- Danish
|
- Danish
|
||||||
- Dutch
|
- Dutch
|
||||||
- Finnish
|
- Finnish
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ permalink: "/docs/history/"
|
|||||||
excerpt: Change log of enhancements and bug fixes made to the theme.
|
excerpt: Change log of enhancements and bug fixes made to the theme.
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
last_modified_at: '2024-05-05T19:50:49+08:00'
|
last_modified_at: '2025-07-11T09:48:51+08:00'
|
||||||
toc: false
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -17,6 +17,85 @@ toc: false
|
|||||||
{% raw %}
|
{% raw %}
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Hide page__footer-follow if there are no links nor atom feed. [#5279](https://github.com/mmistakes/minimal-mistakes/issues/5279)
|
||||||
|
- Add HTML escaping for some titles, labels and metada that was missing. [#5276](https://github.com/mmistakes/minimal-mistakes/issues/5276)
|
||||||
|
- Add optional `footer.since` for copyright time range. [#5275](https://github.com/mmistakes/minimal-mistakes/issues/5275)
|
||||||
|
|
||||||
|
## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add a "Share on Bluesky" button [#5179](https://github.com/mmistakes/minimal-mistakes/issues/5179)
|
||||||
|
- Add preset variables for modern font stack [#5033](https://github.com/mmistakes/minimal-mistakes/issues/5033)
|
||||||
|
- Update X share button to match brand color [#5245](https://github.com/mmistakes/minimal-mistakes/issues/5245)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix wrong icon and color for X share button.
|
||||||
|
|
||||||
|
## [4.27.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
|
||||||
|
- Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
|
||||||
|
- Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
||||||
|
- Remove unnecessary "type" attribute [#4956](https://github.com/mmistakes/minimal-mistakes/issues/4956)
|
||||||
|
- The "if" means the default is never used [#4955](https://github.com/mmistakes/minimal-mistakes/issues/4955)
|
||||||
|
- For pages without a title, show the site title only once [#4959](https://github.com/mmistakes/minimal-mistakes/issues/4959)
|
||||||
|
- Use `documents-collection.html` partial in `home` layout.
|
||||||
|
- Add Bulgarian translation. [#5003](https://github.com/mmistakes/minimal-mistakes/pull/5003)
|
||||||
|
- Add provider and comments info to `single.html` layout for non-production. [#5068](https://github.com/mmistakes/minimal-mistakes/issues/5068)
|
||||||
|
- Tweak contrast skin $primary-color to adhere to WCAG guidelines. [#5126](https://github.com/mmistakes/minimal-mistakes/issues/5126)
|
||||||
|
- Update social share buttons to reflect Twitter rebranding to X [#5210](https://github.com/mmistakes/minimal-mistakes/issues/5210)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
|
||||||
|
- Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
|
||||||
|
- Fix reset stylesheet overruling `$doc-font-size`. [#4983](https://github.com/mmistakes/minimal-mistakes/issues/4983)
|
||||||
|
- Fix JavaScript null error on home and splash layouts. [#4938](https://github.com/mmistakes/minimal-mistakes/issues/4938), [#4939](https://github.com/mmistakes/minimal-mistakes/pull/4939)
|
||||||
|
- Fix bad <figure> HTML if "alt" contains quotes.
|
||||||
|
- Fix extra newline generated in `_includes/post_pagination.html`.
|
||||||
|
- Hide hidden links & remove the overlay when one is clicked. [#5042](https://github.com/mmistakes/minimal-mistakes/pull/5042)
|
||||||
|
- Fix typo in "Configuration" [#5106](https://github.com/mmistakes/minimal-mistakes/issues/5106)
|
||||||
|
- bundle exec jekyll serve will fail if more than once [#5193](https://github.com/mmistakes/minimal-mistakes/issues/5193)
|
||||||
|
|
||||||
|
### Documentation & Maintenance
|
||||||
|
|
||||||
|
- Automatically update Algolia search index with GitHub Actions.
|
||||||
|
|
||||||
|
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Czech localization. [#4866](https://github.com/mmistakes/minimal-mistakes/pull/4866)
|
||||||
|
- Allow overriding HTML `lang` attribute on a per-page basis. [#4862](https://github.com/mmistakes/minimal-mistakes/pull/4862)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Figure helper breaks when using code markup in caption with `popup=true`. [#4841](https://github.com/mmistakes/minimal-mistakes/issues/4841)
|
||||||
|
|
||||||
|
## [4.26.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Disable copy button on invalid syntax highlighting blocks to avoid positioning issues.
|
||||||
|
- Fix typo for `fa-dribbble` in `_utilities.scss`.
|
||||||
|
- Restrict "auto scroll sticky ToC to content" feature to Chromium browsers for now. [#4826](https://github.com/mmistakes/minimal-mistakes/issues/4826)
|
||||||
|
|
||||||
|
### Documentation & Maintenance
|
||||||
|
|
||||||
|
- Rewrite social icons SCSS with a loop.
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Change the icon of a copy button into a tick for 1.5 seconds on successful copy.
|
||||||
|
|
||||||
|
## [4.26.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.0)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix an unclosed `<p>` tag in `page__hero.html`, near `page.header.actions`.
|
- Fix an unclosed `<p>` tag in `page__hero.html`, near `page.header.actions`.
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|||||||
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
||||||
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), [giscus](https://giscus.app/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), [giscus](https://giscus.app/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
|
- UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
|
||||||
|
|
||||||
## Demo Pages
|
## Demo Pages
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ header:
|
|||||||
url: "/docs/quick-start-guide/"
|
url: "/docs/quick-start-guide/"
|
||||||
excerpt: >
|
excerpt: >
|
||||||
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
|
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
|
||||||
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.0">Latest release v4.26.0</a></small>
|
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1">Latest release v4.27.1</a></small>
|
||||||
feature_row:
|
feature_row:
|
||||||
- image_path: /assets/images/mm-customizable-feature.png
|
- image_path: /assets/images/mm-customizable-feature.png
|
||||||
alt: "customizable"
|
alt: "customizable"
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
title: "Edge Case: Invalid syntax highlight languages"
|
||||||
|
categories:
|
||||||
|
- Edge Case
|
||||||
|
tags:
|
||||||
|
- content
|
||||||
|
- css
|
||||||
|
- edge case
|
||||||
|
---
|
||||||
|
|
||||||
|
Good highlighting:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
str = ARGV.first
|
||||||
|
if str
|
||||||
|
str = str.b[/\A_(.*)_\z/, 1]
|
||||||
|
if str and Gem::Version.correct?(str)
|
||||||
|
version = str
|
||||||
|
ARGV.shift
|
||||||
|
end
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
|
Good (but dumb) highlighting:
|
||||||
|
|
||||||
|
```
|
||||||
|
str = ARGV.first
|
||||||
|
if str
|
||||||
|
str = str.b[/\A_(.*)_\z/, 1]
|
||||||
|
if str and Gem::Version.correct?(str)
|
||||||
|
version = str
|
||||||
|
ARGV.shift
|
||||||
|
end
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
|
Bad highlighting:
|
||||||
|
|
||||||
|
```invalid
|
||||||
|
str = ARGV.first
|
||||||
|
if str
|
||||||
|
str = str.b[/\A_(.*)_\z/, 1]
|
||||||
|
if str and Gem::Version.correct?(str)
|
||||||
|
version = str
|
||||||
|
ARGV.shift
|
||||||
|
end
|
||||||
|
end
|
||||||
|
```
|
||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "4.26.0",
|
"version": "4.26.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "4.26.0",
|
"version": "4.26.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"uglify-js": "^3.17.4"
|
"uglify-js": "^3.17.4"
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "4.26.0",
|
"version": "4.27.1",
|
||||||
"description": "Minimal Mistakes 2 column Jekyll theme.",
|
"description": "Minimal Mistakes 2 column Jekyll theme.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ footer:
|
|||||||
- label: "Instagram"
|
- label: "Instagram"
|
||||||
icon: "fab fa-fw fa-instagram"
|
icon: "fab fa-fw fa-instagram"
|
||||||
url: "https://instagram.com/"
|
url: "https://instagram.com/"
|
||||||
|
since: "2013"
|
||||||
|
|
||||||
|
|
||||||
# Reading Files
|
# Reading Files
|
||||||
|
|||||||
Reference in New Issue
Block a user