Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lem-project/lem-project.github.io
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: lem-project/lem-project.github.io
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: change-theme
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 14, 2023

  1. Copy the full SHA
    e7b87c9 View commit details
Showing with 155 additions and 0 deletions.
  1. +155 −0 themes/hugo-geekdoc/static/custom.css
155 changes: 155 additions & 0 deletions themes/hugo-geekdoc/static/custom.css
Original file line number Diff line number Diff line change
@@ -6,3 +6,158 @@
.gdoc-footer {
background-color: #2B3868;
}

/* Global customization */

:root {
--code-max-height: 60rem;
}

/* Light mode theming */
:root,
:root[color-theme="light"] {
--header-background: #4ec58a;
--header-font-color: #ffffff;

--body-background: #ffffff;
--body-font-color: #343a40;

--mark-color: #ffab00;

--button-background: #62cb97;
--button-border-color: #4ec58a;

--link-color: #518169;
--link-color-visited: #c54e8a;

--code-background: #f5f6f8;
--code-accent-color: #e3e7eb;
--code-accent-color-lite: #eff1f3;
--code-font-color: #5f5f5f;

--code-copy-background: #f5f6f8;
--code-copy-font-color: #6b7784;
--code-copy-border-color: #adb4bc;
--code-copy-success-color: #00c853;

--accent-color: #e9ecef;
--accent-color-lite: #f8f9fa;

--control-icons: #b2bac1;

--footer-background: #112b3c;
--footer-font-color: #ffffff;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
@media (prefers-color-scheme: light) {
:root {
--header-background: #4ec58a;
--header-font-color: #ffffff;

--body-background: #ffffff;
--body-font-color: #343a40;

--mark-color: #ffab00;

--button-background: #62cb97;
--button-border-color: #4ec58a;

--link-color: #518169;
--link-color-visited: #c54e8a;

--code-background: #f5f6f8;
--code-accent-color: #e3e7eb;
--code-accent-color-lite: #eff1f3;
--code-font-color: #5f5f5f;

--code-copy-background: #f5f6f8;
--code-copy-font-color: #6b7784;
--code-copy-border-color: #adb4bc;
--code-copy-success-color: #00c853;

--accent-color: #e9ecef;
--accent-color-lite: #f8f9fa;

--control-icons: #b2bac1;

--footer-background: #112b3c;
--footer-font-color: #ffffff;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
}

/* Dark mode theming */
:root[color-theme="dark"] {
--header-background: #4ec58a;
--header-font-color: #ffffff;

--body-background: #343a40;
--body-font-color: #ced3d8;

--mark-color: #ffab00;

--button-background: #62cb97;
--button-border-color: #4ec58a;

--link-color: #7ac29e;
--link-color-visited: #c27a9e;

--code-background: #2f353a;
--code-accent-color: #262b2f;
--code-accent-color-lite: #2b3035;
--code-font-color: #b9b9b9;

--code-copy-background: #343a40;
--code-copy-font-color: #6b7784;
--code-copy-border-color: #6b7784;
--code-copy-success-color: #37905c;

--accent-color: #2b3035;
--accent-color-lite: #2f353a;

--control-icons: #b2bac1;

--footer-background: #112b3c;
--footer-font-color: #ffffff;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
@media (prefers-color-scheme: dark) {
:root {
--header-background: #4ec58a;
--header-font-color: #ffffff;

--body-background: #343a40;
--body-font-color: #ced3d8;

--mark-color: #ffab00;

--button-background: #62cb97;
--button-border-color: #4ec58a;

--link-color: #7ac29e;
--link-color-visited: #c27a9e;

--code-background: #2f353a;
--code-accent-color: #262b2f;
--code-accent-color-lite: #2b3035;
--code-font-color: #b9b9b9;

--code-copy-background: #343a40;
--code-copy-font-color: #6b7784;
--code-copy-border-color: #6b7784;
--code-copy-success-color: #37905c;

--accent-color: #2b3035;
--accent-color-lite: #2f353a;

--control-icons: #b2bac1;

--footer-background: #112b3c;
--footer-font-color: #ffffff;
--footer-link-color: #ffcc5c;
--footer-link-color-visited: #ffcc5c;
}
}