diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 21:18:40 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 21:18:40 +0200 |
| commit | eb8a17482fc138c861db685f9efc86871bf2d7d2 (patch) | |
| tree | a092c13a4858d434340e2c683748226b0004308e /themes/danix-xyz-hacker/assets/css/main.css | |
| parent | 1ac2e084c2a2f2fb9d04a2bfabd1e308799ee9fc (diff) | |
| download | danixxyz-eb8a17482fc138c861db685f9efc86871bf2d7d2.tar.gz danixxyz-eb8a17482fc138c861db685f9efc86871bf2d7d2.zip | |
Complete multilingual theme implementation with language-aware menus
- Refactor hugo.toml to define menus separately for each language using pageRef
- Simplify header and hamburger-menu templates to use Hugo-native language handling
- Update content structure with proper language prefix organization
- Remove JavaScript language-switcher in favor of Hugo's native approach
- Add new layout templates for /is/ section with list view
- Update HANDOFF.md with current implementation status
- Rebuild minified CSS with updated template changes
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker/assets/css/main.css')
| -rw-r--r-- | themes/danix-xyz-hacker/assets/css/main.css | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/themes/danix-xyz-hacker/assets/css/main.css b/themes/danix-xyz-hacker/assets/css/main.css index 1421443..c66092b 100644 --- a/themes/danix-xyz-hacker/assets/css/main.css +++ b/themes/danix-xyz-hacker/assets/css/main.css @@ -26,7 +26,7 @@ html.theme-light { --accent2: #10b981; --accent-glow: rgba(147, 51, 234, 0.1); --text: #1f2937; - --text-dim: #6b7280; + --text-dim: #374151; --muted: #d1d5db; } @@ -146,6 +146,54 @@ html.theme-light { } } +/* Prose overrides for light theme */ +html.theme-light .prose, +html.theme-light .prose-invert { + color: var(--text); +} + +html.theme-light .prose a, +html.theme-light .prose-invert a { + color: var(--accent); +} + +html.theme-light .prose strong, +html.theme-light .prose-invert strong { + color: var(--text); +} + +html.theme-light .prose code, +html.theme-light .prose-invert code { + color: var(--accent2); +} + +html.theme-light .prose pre, +html.theme-light .prose-invert pre { + background-color: var(--surface); + color: var(--text); +} + +html.theme-light .prose h1, +html.theme-light .prose h2, +html.theme-light .prose h3, +html.theme-light .prose h4, +html.theme-light .prose h5, +html.theme-light .prose h6, +html.theme-light .prose-invert h1, +html.theme-light .prose-invert h2, +html.theme-light .prose-invert h3, +html.theme-light .prose-invert h4, +html.theme-light .prose-invert h5, +html.theme-light .prose-invert h6 { + color: var(--text); +} + +html.theme-light .prose blockquote, +html.theme-light .prose-invert blockquote { + color: var(--text); + border-left-color: var(--accent); +} + /* Responsive utilities */ @media (max-width: 768px) { .sm\:container { |
