mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 07:48:52 +00:00
8f3c066d23
42914c50e content: Correct module mount example d7b80be5f content: Add a "vendor" glossary entry e1bd65866 content: Miscellaneous edits deb1c4b1c content: Fix formatting 7ff740aae content: Update capitalizeListTitles documentation a9f40164f content: Remove data namespace from functions b3386a13a content: Remove expired content e21f66fa5 content: Clean up deprecated service configurations 39ab42192 content: Change default value of respectDoNotTrack to true 067cbb771 Update partial-decorators.md b419af329 content: Minor edits to collections functions b12dd9366 content: Improve documentation for partial decorators 573b8610f content: Improve descriptions and signatures for collections functions 81befbae8 content: Update version references 684dbcedb Update HUGO_VERSION to 0.155.3 198e5f1df misc: Update README.md 4d20bbc04 content: Correct and improve glob patterns documentation 39d369ddc content: Update disablePathToLower documentation be2da46e9 content: Miscellaneous edits to configuration documentation 19a580828 content: Add Commentix to the list of commercial commenting systems d350725cd theme: Pin npm dependencies and adjust Netlify build commands 9b33bb5fa content: Define canonical output format and default site 84b72792e content: Document glob pattern matching logic 1839dd114 content: Create glob pattern quick reference 30f8f9ca0 content: Revise multi-dimensional content model description b7e36e479 content: Fix formatting b1722ac6b content: Indicate data types returned by the or function 1bbe3a566 content: Fix typo b7e1ac7bb content: Improve example of _redirects rendering 37c71ef80 content: Improve and/or descriptions 0226c14ed content: Updates for v0.155.0 301fa208b content: Change GitHub Pages workflow to support dot files 5d07a679c Update HUGO_VERSION to 0.155.2 adb8e8b2c theme: Pin turbo 9206cb64b Update netlify.toml 84e712633 content: Refine ToMath admonition and provide example a099af3cd content: Warn about conditional KaTeX CSS on list pages c3ca7ac4c misc: Address build warnings 80a9139f4 Update HUGO_VERSION to 0.155.0 b096f6279 content: Restore homebrew on linux instructions 05132aa29 content: Hide snap installation instructions d0e448a14 content: Refactor pages related to image processing d141bc04f content: Clarify default site redirect description 1d6a0bed5 content: Adjust paragraph order fa53534cb content: Clarify usage of quote characters in templates 1d62aa670 content: Miscellaneous edits 579c0678b content: Fix description of disableDefaultLanguageRedirect cd12583ee Update all.md 37b01c320 Update HUGO_VERSION to 0.154.5 66053b6df content: Update version references 3f6fb8737 content: Refresh deployment dependencies to latest versions c2915ee98 theme: Add a mobile menu variant 6457c3f59 Remove trailing whitespace from content/en/configuration/all.md 46c4d117a config: Mention disableDefaultDimensionRedirect 338500de0 Regen docs helper 98b9d25f3 Updates for 0.154.4 release 8306956e2 Update HUGO_VERSION to 0.154.4 af3f62992 Update HUGO_VERSION to 0.154.3 d06de65bd content: Fix typo 0d841a59e content: Fix typo ed6fa87cf content: Fix typo dcf80dbea content: Describe Markdown attribute access in render hook templates 70d3513f1 content: Update version references 7e581c529 Update netlify.toml c6a706943 content: Remove expired pages e64ee7d54 misc: Update workflows bbec5a198 Update HUGO_VERSION to 0.154.1 e8717cb72 content: Fix formatting of glossary entry 0da233817 Add a link to templates.Inner from the partial decorator glossary entry d55f7ad5e Update Inner.md b674dfd48 Some more about templates.Inner ef354e664 Remove some old new-in markers 7d1e407fd content: Misc updates for v0.154.0 43589a017 Update HUGO_VERSION to 0.154.0 46f832b9b content: Change shortcode usage note to an admonition 71ea41250 Adjust sponstors.toml a5dc99838 Update netlify.toml c3edd4d5b Update netlify.toml c1d306d6b Add Zoomment to comments management options cb222be99 Update HUGO_VERSION to 0.153.3 92ee87b4f content: Update CI/CD and version references 170bf3693 content: Note disabled extended check in v0.153.2 and later 34b5ef8b3 Update HUGO_VERSION to 0.153.2 c3c42b171 content: Add Dart Sass installation to SourceHut CI workflow 1768cc2f5 content: Fix links 63ba04562 theme: Modernize sans-serif font stack for cross-platform consistency 287da5c1c content: Update edition comparison and guidance 44b5010ca content: Update min version required for quick start ec4f60cb7 content: Update version references fafa69e7c Update HUGO_VERSION to 0.153.1 37bedd7d3 content: Fix formatting ed9056088 content: Miscellaneous edits fa4d61004 content: Miscellaneous post-release updates for v0.153.0 b99f47449 Misc v0.153.0 related edits 018c3e969 Regen docs.yml be80ec4c7 content: Document new dimensions ba397d5aa content: Miscellaneous updates for v0.153.0 59ca8fa3f Update HUGO_VERSION to 0.153.0 git-subtree-dir: docs git-subtree-split: 42914c50ee338b00d0b1cda2c3af8066cd9ad65c
144 lines
3.5 KiB
CSS
144 lines
3.5 KiB
CSS
@import "tailwindcss";
|
|
@plugin "@tailwindcss/typography";
|
|
@variant dark (&:where(.dark, .dark *));
|
|
|
|
@import "components/all.css";
|
|
|
|
/* TailwindCSS ignores files in .gitignore, so make it explicit. */
|
|
@source "hugo_stats.json";
|
|
|
|
@theme {
|
|
/* Breakpoints. */
|
|
--breakpoint-sm: 40rem;
|
|
--breakpoint-md: 48rem;
|
|
--breakpoint-lg: 68rem; /* Default 64rem; */
|
|
--breakpoint-xl: 80rem;
|
|
--breakpoint-2xl: 96rem;
|
|
|
|
/* Colors. */
|
|
--color-primary: var(--color-blue-600);
|
|
--color-dark: #000;
|
|
--color-light: var(--color-gray-50);
|
|
--color-accent: var(--color-orange-500);
|
|
--color-accent-light: var(--color-pink-500);
|
|
--color-accent-dark: var(--color-green-500);
|
|
|
|
/* https://www.tints.dev/blue/0594CB */
|
|
--color-blue-50: #e1f6fe;
|
|
--color-blue-100: #c3edfe;
|
|
--color-blue-200: #88dbfc;
|
|
--color-blue-300: #4cc9fb;
|
|
--color-blue-400: #15b9f9;
|
|
--color-blue-500: #0594cb;
|
|
--color-blue-600: #0477a4;
|
|
--color-blue-700: #035677;
|
|
--color-blue-800: #023a50;
|
|
--color-blue-900: #011d28;
|
|
--color-blue-950: #000e14;
|
|
|
|
/* https://www.tints.dev/orange/EBB951 */
|
|
--color-orange-50: #fdf8ed;
|
|
--color-orange-100: #fbf1da;
|
|
--color-orange-200: #f7e4ba;
|
|
--color-orange-300: #f3d596;
|
|
--color-orange-400: #efc976;
|
|
--color-orange-500: #ebb951;
|
|
--color-orange-600: #e5a51a;
|
|
--color-orange-700: #a97a13;
|
|
--color-orange-800: #72520d;
|
|
--color-orange-900: #372806;
|
|
--color-orange-950: #1b1403;
|
|
|
|
/* https://www.tints.dev/pink/FF4088 */
|
|
--color-pink-50: #ffebf2;
|
|
--color-pink-100: #ffdbe9;
|
|
--color-pink-200: #ffb3d0;
|
|
--color-pink-300: #ff8fba;
|
|
--color-pink-400: #ff66a1;
|
|
--color-pink-500: #ff4088;
|
|
--color-pink-600: #ff0062;
|
|
--color-pink-700: #c2004a;
|
|
--color-pink-800: #800031;
|
|
--color-pink-900: #420019;
|
|
--color-pink-950: #1f000c;
|
|
|
|
/* https://www.tints.dev/green/33BA91 */
|
|
--color-green-50: #ebfaf5;
|
|
--color-green-100: #d3f3e9;
|
|
--color-green-200: #abe8d6;
|
|
--color-green-300: #7fdcc0;
|
|
--color-green-400: #53d0aa;
|
|
--color-green-500: #33ba91;
|
|
--color-green-600: #299474;
|
|
--color-green-700: #1f7058;
|
|
--color-green-800: #154c3b;
|
|
--color-green-900: #0a241c;
|
|
--color-green-950: #051410;
|
|
|
|
/* Fonts. */
|
|
--font-sans:
|
|
"Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
|
|
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
"Segoe UI Symbol", "Noto Color Emoji";
|
|
}
|
|
|
|
html {
|
|
scroll-padding-top: 100px;
|
|
}
|
|
|
|
body {
|
|
@apply antialiased font-sans text-black dark:text-gray-100;
|
|
}
|
|
|
|
.p-safe-area-x {
|
|
padding-left: env(safe-area-inset-left);
|
|
padding-right: env(safe-area-inset-right);
|
|
}
|
|
|
|
.p-safe-area-y {
|
|
padding-top: env(safe-area-inset-top);
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
.px-main {
|
|
padding-left: max(env(safe-area-inset-left), 1rem);
|
|
padding-right: max(env(safe-area-inset-right), 1rem);
|
|
}
|
|
|
|
@media screen(md) {
|
|
.px-main {
|
|
padding-left: max(env(safe-area-inset-left), 2rem);
|
|
padding-right: max(env(safe-area-inset-right), 2rem);
|
|
}
|
|
}
|
|
|
|
@media screen(lg) {
|
|
.px-main {
|
|
padding-left: max(env(safe-area-inset-left), 3rem);
|
|
padding-right: max(env(safe-area-inset-right), 3rem);
|
|
}
|
|
}
|
|
|
|
/* Algolia DocSearch */
|
|
.algolia-docsearch-suggestion--highlight {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* Footnotes */
|
|
.footnote-backref,
|
|
.footnote-ref {
|
|
text-decoration: none;
|
|
padding-left: .0625em;
|
|
}
|
|
|
|
/* Code spans within paragraphs, tables cells, list items, etc. */
|
|
:not(pre) > code {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Utility class for tables to prevent word wrapping in the first column. */
|
|
.no-wrap-first-col td:first-child,
|
|
.no-wrap-first-col th:first-child {
|
|
white-space: nowrap;
|
|
}
|