diff --git a/FAQ.md b/FAQ.md index 1b0b577..03ed40a 100644 --- a/FAQ.md +++ b/FAQ.md @@ -3,6 +3,7 @@ Here are some frequently asked questions. If you have a different question, please check if it was not already answered in the Q&A section of the [GitHub Discussions](https://github.com/alshedivat/al-folio/discussions/categories/q-a). If not, feel free to ask a new question there. + - [Frequently Asked Questions](#frequently-asked-questions) - [After I create a new repository from this template and setup the repo, I get a deployment error. Isn't the website supposed to correctly deploy automatically?](#after-i-create-a-new-repository-from-this-template-and-setup-the-repo-i-get-a-deployment-error-isnt-the-website-supposed-to-correctly-deploy-automatically) - [I am using a custom domain (e.g., foo.com). My custom domain becomes blank in the repository settings after each deployment. How do I fix that?](#i-am-using-a-custom-domain-eg-foocom-my-custom-domain-becomes-blank-in-the-repository-settings-after-each-deployment-how-do-i-fix-that) @@ -20,6 +21,7 @@ Here are some frequently asked questions. If you have a different question, plea - [How can I update Tabler Icons version on the template](#how-can-i-update-tabler-icons-version-on-the-template) - [What do all these GitHub actions/workflows mean?](#what-do-all-these-github-actionsworkflows-mean) - [How can I use Google Search Console ID on the template?](#how-can-i-use-google-search-console-id-on-the-template) + ## After I create a new repository from this template and setup the repo, I get a deployment error. Isn't the website supposed to correctly deploy automatically? diff --git a/INSTALL.md b/INSTALL.md index 5c40212..0fa2f0e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,6 +1,7 @@ # Installing and Deploying + - [Installing and Deploying](#installing-and-deploying) - [Recommended Approach](#recommended-approach) - [Local setup on Windows](#local-setup-on-windows) @@ -18,6 +19,7 @@ - [Deployment to another hosting server (non GitHub Pages)](#deployment-to-another-hosting-server-non-github-pages) - [Deployment to a separate repository (advanced users only)](#deployment-to-a-separate-repository-advanced-users-only) - [Upgrading from a previous version](#upgrading-from-a-previous-version) + ## Recommended Approach diff --git a/_posts/2015-07-15-code.md b/_posts/2015-07-15-code.md index c721ec9..5f669c0 100644 --- a/_posts/2015-07-15-code.md +++ b/_posts/2015-07-15-code.md @@ -39,7 +39,7 @@ int main(int argc, char const \*argv[]) } ``` -For displaying code in a list item, you have to be aware of the indentation, as stated in this [Stackoverflow answer](https://stackoverflow.com/questions/34987908/embed-a-code-block-in-a-list-item-with-proper-indentation-in-kramdown/38090598#38090598). You must indent your code by **(3 \* bullet_indent_level)** spaces. This is because kramdown (the markdown engine used by Jekyll) indentation for the code block in lists is determined by the column number of the first non-space character after the list item marker. For example: +For displaying code in a list item, you have to be aware of the indentation, as stated in [this FAQ](https://github.com/planetjekyll/quickrefs/blob/master/FAQ.md#q-how-can-i-get-backtick-fenced-code-blocks-eg--working-inside-lists-with-kramdown). You must indent your code by **(3 \* bullet_indent_level)** spaces. This is because kramdown (the markdown engine used by Jekyll) indentation for the code block in lists is determined by the column number of the first non-space character after the list item marker. For example: ````markdown 1. We can put fenced code blocks inside nested bullets, too. diff --git a/_sass/_distill.scss b/_sass/_distill.scss index acf5311..8e68645 100644 --- a/_sass/_distill.scss +++ b/_sass/_distill.scss @@ -132,6 +132,20 @@ d-article { d-footnote { scroll-margin-top: 66px; + color: var(--global-theme-color) !important; /* Footnote text color */ + &:hover { + color: var(--global-hover-color) !important; /* Footnote hover color */ + } + } + + /* Citations */ + d-cite a, + a.citation { + /* Target citations within d-cite and also general .citation links */ + color: var(--global-theme-color) !important; + &:hover { + color: var(--global-hover-color) !important; + } } } diff --git a/assets/js/distillpub/template.v2.js b/assets/js/distillpub/template.v2.js index c563f42..4c7667e 100644 --- a/assets/js/distillpub/template.v2.js +++ b/assets/js/distillpub/template.v2.js @@ -2136,7 +2136,7 @@ d-appendix > distill-appendix { } .citation { - color: hsla(206, 90%, 20%, 0.7); + color: var(--global-theme-color); } .citation-number { @@ -2144,7 +2144,7 @@ d-appendix > distill-appendix { white-space: nowrap; font-family: -apple-system, BlinkMacSystemFont, "Roboto", Helvetica, sans-serif; font-size: 75%; - color: hsla(206, 90%, 20%, 0.7); + color: var(--global-theme-color); display: inline-block; line-height: 1.1em; text-align: center; @@ -4277,7 +4277,7 @@ sup { } span { - color: hsla(206, 90%, 20%, 0.7); + color: var(--global-theme-color); cursor: default; } @@ -4446,14 +4446,26 @@ d-footnote-list a.footnote-backlink { top: 0; left: 0; width: 100%; - border: 1px solid rgba(0, 0, 0, 0.1); - background-color: rgba(250, 250, 250, 0.95); - box-shadow: 0 0 7px rgba(0, 0, 0, 0.1); - border-radius: 4px; - box-sizing: border-box; + /* Original styles retained and new theming variables added */ + border: 1px solid var(--global-divider-color); /* Themed border */ + background-color: var(--global-card-bg-color); /* Themed background */ + color: var(--global-text-color); /* Themed text color */ + box-shadow: 0 0 7px rgba(0, 0, 0, 0.1); /* Existing shadow */ + border-radius: 4px; /* Existing border-radius */ + box-sizing: border-box; /* Existing box-sizing */ - backdrop-filter: blur(2px); - -webkit-backdrop-filter: blur(2px); + backdrop-filter: blur(2px); /* Existing backdrop-filter */ + -webkit-backdrop-filter: blur(2px); /* Existing backdrop-filter */ +} + +.panel a { + color: var(--global-theme-color); + text-decoration: none; +} + +.panel a:hover { + color: var(--global-hover-color); + text-decoration: underline; }