Files
hugo/assets/css/styles.css
T
Bjørn Erik Pedersen 0c2fa2460f Squashed 'docs/' changes from 42914c50e..80dd7b067
80dd7b067 theme: Fix border class in render-codeblock template
0d3fde6c9 content: Fix typo
23a4adb29 content: More site => project changes
9243e9f6b content: Rename site configuration to project configuration (phase 2)
330aa2249 content: Miscellaneous edits
25ce893be content: Clarify sort order with PAGE.Rotate
b398506dc content: Various dimension improvements
c54573d13 content: Use singular form in method section descriptions
d9a95fe54 content: Improve description of PAGE.Rotate
154f30600 content: Fix link
c71bd2776 content: Address Markdown linting error
72c88e68e content: Improve pages related to content dimensions
b85afa645 content: Fix formatting
7aaca8947 content: More site-to-project changes
8e1579030 content: Update quick start guide
f7ba1fde2 content: Make new-in into a note
8b9d51584 theme: Address TailwindCSS warnings
3a4c2a25c theme: Address Hugo v0.156.0 deprecations
4f1a2bd7b content: Improve glossary entries
21bcd23a6 content: Update glossary entry
c72ef1116 content: Update quick start guide
c0737ffab content: Add typography plugin to TailwindCSS example
80bcb868e content: Remove Site.AllPages from examples
2b9ba5831 content: Replace Page.Sites and Site.Sites with hugo.Sites
2cdcc2556 content: Remove outdated badges
5a4beb530 content: Replace Site.Data with hugo.Data
de4651b5d content: Update glossary entry
2302825a7 content: Add hugo.Data and note other deprecations
bac5da4b5 content: Add hugo.Sites and update the other Sites methods
0f7d99153 content: Add Site.IsDefault
f888f33bb content: Update glossary entries
65311c2de content: Include the "build" subcommand where appropriate
4991320d2 content: Standard shell language code in info strings
b16d9f162 theme: Style todo lists
f121450c6 content: Update version references
5a81dd8c2 content: Update CLI documentation
f3ae0ce86 content: Rename site configuration to project configuration (phase 1)
9c8327119 content: Miscellaneous edits
fbff91e22 Update HUGO_VERSION to 0.156.0
2ec625ae8 content: Restore snap installation instructions
fc8c246b8 content: Clarify module initialization

git-subtree-dir: docs
git-subtree-split: 80dd7b067c31c28b13c51f3ac4636890509a4bb7
2026-02-24 21:38:42 +01:00

144 lines
3.6 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 (min-width: theme('--breakpoint-md')) {
.px-main {
padding-left: max(env(safe-area-inset-left), 2rem);
padding-right: max(env(safe-area-inset-right), 2rem);
}
}
@media (min-width: theme('--breakpoint-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;
}