diff --git a/docs/fonts/BluuNext/LICENSE.txt b/docs/fonts/BluuNext/LICENSE.txt new file mode 100644 index 0000000..3f5652b Binary files /dev/null and b/docs/fonts/BluuNext/LICENSE.txt differ diff --git a/docs/fonts/BluuNext/bluunext-bold-webfont.woff b/docs/fonts/BluuNext/bluunext-bold-webfont.woff new file mode 100644 index 0000000..3d25c4f Binary files /dev/null and b/docs/fonts/BluuNext/bluunext-bold-webfont.woff differ diff --git a/docs/fonts/BluuNext/bluunext-bold-webfont.woff2 b/docs/fonts/BluuNext/bluunext-bold-webfont.woff2 new file mode 100644 index 0000000..2fb24a1 Binary files /dev/null and b/docs/fonts/BluuNext/bluunext-bold-webfont.woff2 differ diff --git a/docs/fonts/BluuNext/bluunext-bold.ttf b/docs/fonts/BluuNext/bluunext-bold.ttf new file mode 100644 index 0000000..a59c01d Binary files /dev/null and b/docs/fonts/BluuNext/bluunext-bold.ttf differ diff --git a/docs/hardware/optimizing-hardware.md b/docs/hardware/optimizing-hardware.md index c1aabf9..3fd5e73 100644 --- a/docs/hardware/optimizing-hardware.md +++ b/docs/hardware/optimizing-hardware.md @@ -4,4 +4,9 @@ - [Grizzly Conductonaut](https://www.thermal-grizzly.com/produkte/25-conductonaut) is a higher performant option (being liquid metal) at the risk of killing the machine if improperly applied. ## Replace the Fan (if applicable) -- See https://www.reddit.com/r/thinkpad/comments/c7zpah/x1_carbon_6th_gen_horrible_cooling_fan_design/ \ No newline at end of file + +- See https://www.reddit.com/r/thinkpad/comments/c7zpah/x1_carbon_6th_gen_horrible_cooling_fan_design/ + +## Battery Replacement + +- Depending on the battery health (cycle count, max capacity), consider getting a battery replacement. See [Lenovo Part 01AV494](https://lenovo.encompass.com/item/11537594/Lenovo/01AV494/). Avoid battery replacements from eBay as their autheticity cannot be verified. \ No newline at end of file diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index b39a902..8cefb5c 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -1,15 +1,28 @@ -/* ANCHOR Page Width */ -.md-grid { - max-width: 1500px; +/* ANCHOR Import Fonts */ +@font-face { + font-family: 'bluu'; + src: local('bluu'), + url('/fonts/BluuNext/bluunext-bold-webfont.woff2') format('woff2'), + url('/fonts/BluuNext/bluunext-bold-webfont.woff') format('woff'), + url('/fonts/BluuNext/bluunext-bold.ttf') format('truetype'); + font-weight: normal; + font-style: normal; + font-display: swap; } /* SECTION Colors */ -:root { +:root>* { --md-primary-fg-color: #282F38; --md-primary-fg-color--light: #282F38; --md-primary-fg-color--dark: #232631; } +/* ANCHOR Light Mode Colors */ +[data-md-color-scheme="default"] { + --md-typeset-a-color: #4051B5; + --md-accent-fg-color: #4051B5; +} + /* ANCHOR Dark Mode Colors */ [data-md-color-scheme="slate"] { --md-default-bg-color: rgb(26, 28, 35); @@ -20,17 +33,36 @@ --md-footer-bg-color: rgb(23, 27, 32, 0.87); --md-footer-bg-color-dark: rgb(67, 126, 199); --md-typeset-a-color: #689D6A; + --md-accent-fg-color: #689D6A; } -/* ANCHOR Light Mode Colors */ -[data-md-color-scheme="default"] { - --md-typeset-a-color: #4051B5; +/* !SECTION */ + +/* ANCHOR Define Header Font */ +h1, +h2, +h3, +.md-header__topic { + font-family: "bluu", serif; } -/* ANCHOR Button Color depends on Link Color */ +/* ANCHOR Reduce Margins */ +.md-typeset h1 { + margin: 0; +} + +.md-typeset h2 { + margin-top: 0.5em; +} + +/* !SECTION Inherit from https: //github.com/privacyguides/privacyguides.org/blob/main/docs/assets/stylesheets/extra.css */ +/* ANCHOR Button */ .md-typeset .md-button { color: var(--md-typeset-a-color); - margin-bottom: 5px; + background: none; + border: 1px solid var(--md-typeset-a-color); + border-radius: 6px; + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 3px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px -1px; } .md-typeset .md-button--primary { @@ -43,9 +75,20 @@ color: var(--md-primary-bg-color); } -/* !SECTION */ +.md-typeset .grid.cards> :is(ul, ol)>li:is(:focus-within, :hover), +.md-typeset .grid>.card:is(:focus-within, :hover) { + /* Firefox */ + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 3px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px -1px; + border-color: var(--md-accent-fg-color); +} -/* ANCHOR Custom Recommendation Cards: https://github.com/privacyguides/privacyguides.org/blob/main/docs/stylesheets/extra.css */ +.md-typeset .grid.cards>:-webkit-any(ul, ol)>li:-webkit-any(:focus-within, :hover) { + /* Webkit */ + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 3px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px -1px; + border-color: var(--md-accent-fg-color); +} + +/* ANCHOR Custom Recommendation Cards */ .md-typeset .admonition.recommendation, .md-typeset details.recommendation { border: none; @@ -67,28 +110,42 @@ .md-typeset .recommendation img[align="right"], .md-typeset svg[align="right"] { - max-width: 150px; + width: 150px; } -.md-typeset .admonition.anonyimity, -.md-typeset details.anonyimity { - border-color: rgb(43, 155, 70); +.md-typeset .admonition.downloads, +.md-typeset details.downloads { + border: none; } -.md-typeset .anonyimity>.admonition-title, -.md-typeset .anonyimity>summary { - background-color: rgba(43, 155, 70, 0.1); - border-color: rgb(43, 155, 70); +.md-typeset .downloads>.admonition-title, +.md-typeset .downloads>summary { + background-color: rgba(43, 155, 70, 0.0); + border: none; + padding-left: 0.6rem; } -.md-typeset .anonyimity>.admonition-title::before, -.md-typeset .anonyimity>summary::before { - background-color: rgb(43, 155, 70); - -webkit-mask-image: var(--md-admonition-icon--success); - mask-image: var(--md-admonition-icon--success); +.md-typeset .downloads>.admonition-title::before, +.md-typeset .downloads>.admonition-title, +.md-typeset .downloads>summary::before { + background-color: var(--md-typeset-a-color); + -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-down-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z'/%3E%3C/svg%3E"); + mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-down-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z'/%3E%3C/svg%3E"); } -/* ANCHOR Correct page icon size */ +.md-typeset .downloads>summary::after { + right: auto; +} + +/* !SECTION */ + +/* ANCHOR Correct navigation icon size */ .md-nav__link svg { - width: 22px; + width: 20px; +} + + +/* ANCHOR Un-sticky sidebar without JS */ +.no-js .md-sidebar { + align-self: auto; } \ No newline at end of file diff --git a/patches/README.md b/patches/README.md index 7f3cde8..25d0269 100644 --- a/patches/README.md +++ b/patches/README.md @@ -2,7 +2,7 @@ In the current directory are ACPI source files of patches in-use. -Please refer to [docs/2_README-Patches.md](https://github.com/tylernguyen/x1c6-hackintosh/blob/master/docs/2_README-Patches.md) for each of their specific usage and purposes. In addition, each patch have insightful comments in them, please read throughly read their source code. +Please refer to [/technical/patches/](https://tylernguyen.github.io/x1c6-hackintoshhttps://tylernguyen.github.io/x1c6-hackintosh/technical/patches/) for each of their specific usage and purposes. In addition, each patch have insightful comments in them, please read throughly read their source code. ## OpenCore Patches By default, the repo `config.plist` should have already have these patches included. These patches are mostly dependencies of various ACPI patches. They are here for reference patches.