1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 01:23:14 -06:00

Update stylesheets.css

This commit is contained in:
Tyler Nguyen 2022-07-27 00:36:41 -05:00 committed by GitHub
parent a08fe76ba9
commit b628ddfc37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 90 additions and 28 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -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. - [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) ## Replace the Fan (if applicable)
- See https://www.reddit.com/r/thinkpad/comments/c7zpah/x1_carbon_6th_gen_horrible_cooling_fan_design/
- 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.

View file

@ -1,15 +1,28 @@
/* ANCHOR Page Width */ /* ANCHOR Import Fonts */
.md-grid { @font-face {
max-width: 1500px; 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 */ /* SECTION Colors */
:root { :root>* {
--md-primary-fg-color: #282F38; --md-primary-fg-color: #282F38;
--md-primary-fg-color--light: #282F38; --md-primary-fg-color--light: #282F38;
--md-primary-fg-color--dark: #232631; --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 */ /* ANCHOR Dark Mode Colors */
[data-md-color-scheme="slate"] { [data-md-color-scheme="slate"] {
--md-default-bg-color: rgb(26, 28, 35); --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: rgb(23, 27, 32, 0.87);
--md-footer-bg-color-dark: rgb(67, 126, 199); --md-footer-bg-color-dark: rgb(67, 126, 199);
--md-typeset-a-color: #689D6A; --md-typeset-a-color: #689D6A;
--md-accent-fg-color: #689D6A;
} }
/* ANCHOR Light Mode Colors */ /* !SECTION */
[data-md-color-scheme="default"] {
--md-typeset-a-color: #4051B5; /* 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 { .md-typeset .md-button {
color: var(--md-typeset-a-color); 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 { .md-typeset .md-button--primary {
@ -43,9 +75,20 @@
color: var(--md-primary-bg-color); 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 .admonition.recommendation,
.md-typeset details.recommendation { .md-typeset details.recommendation {
border: none; border: none;
@ -67,28 +110,42 @@
.md-typeset .recommendation img[align="right"], .md-typeset .recommendation img[align="right"],
.md-typeset svg[align="right"] { .md-typeset svg[align="right"] {
max-width: 150px; width: 150px;
} }
.md-typeset .admonition.anonyimity, .md-typeset .admonition.downloads,
.md-typeset details.anonyimity { .md-typeset details.downloads {
border-color: rgb(43, 155, 70); border: none;
} }
.md-typeset .anonyimity>.admonition-title, .md-typeset .downloads>.admonition-title,
.md-typeset .anonyimity>summary { .md-typeset .downloads>summary {
background-color: rgba(43, 155, 70, 0.1); background-color: rgba(43, 155, 70, 0.0);
border-color: rgb(43, 155, 70); border: none;
padding-left: 0.6rem;
} }
.md-typeset .anonyimity>.admonition-title::before, .md-typeset .downloads>.admonition-title::before,
.md-typeset .anonyimity>summary::before { .md-typeset .downloads>.admonition-title,
background-color: rgb(43, 155, 70); .md-typeset .downloads>summary::before {
-webkit-mask-image: var(--md-admonition-icon--success); background-color: var(--md-typeset-a-color);
mask-image: var(--md-admonition-icon--success); -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 { .md-nav__link svg {
width: 22px; width: 20px;
}
/* ANCHOR Un-sticky sidebar without JS */
.no-js .md-sidebar {
align-self: auto;
} }

View file

@ -2,7 +2,7 @@
In the current directory are ACPI source files of patches in-use. 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 ## 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. 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.