:root { --bg-color: #ffffff; --text-color: #333333; --accent-color: #0056b3; --border-color: #e0e0e0; --hover-color: #003d82; --theme-bg: #f5f5f5; --theme-border: #ddd; --theme-hover: #e0e0e0; --date-color: #555555; } /* Dark theme variables when system prefers dark mode (auto setting) */ @media (prefers-color-scheme: dark) { :root { --bg-color: #1a1a1a; --text-color: #e0e0e0; --accent-color: #5fa9ff; --border-color: #404040; --hover-color: #8ac2ff; --theme-bg: #2d2d2d; --theme-border: #404040; --theme-hover: #3d3d3d; --date-color: #a0a0a0; } } /* Light theme variables when manually selected */ html[data-theme='light'] { --bg-color: #ffffff; --text-color: #333333; --accent-color: #0056b3; --border-color: #e0e0e0; --hover-color: #003d82; --theme-bg: #f5f5f5; --theme-border: #ddd; --theme-hover: #e0e0e0; --date-color: #555555; } /* Dark theme variables when manually selected */ html[data-theme='dark'] { --bg-color: #1a1a1a; --text-color: #e0e0e0; --accent-color: #5fa9ff; --border-color: #404040; --hover-color: #8ac2ff; --theme-bg: #2d2d2d; --theme-border: #404040; --theme-hover: #3d3d3d; --date-color: #a0a0a0; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--bg-color); margin: 0; padding: 20px; max-width: 800px; margin: 0 auto; } h1, h2, h3 { color: var(--text-color); margin-top: 1.5em; margin-bottom: 0.5em; } h1 { font-size: 2.5em; border-bottom: 2px solid var(--accent-color); padding-bottom: 0.3em; } h2 { font-size: 2em; color: var(--accent-color); } h3 { font-size: 1.5em; } a { color: var(--accent-color); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; font-weight: 500; transition: all 0.3s ease; } a:hover, a:focus { color: var(--hover-color); text-decoration-thickness: 2px; outline: none; } a:focus { outline: 2px solid var(--accent-color); outline-offset: 2px; } .section { margin-bottom: 2em; padding: 1em; border: 1px solid var(--border-color); border-radius: 5px; } .entry { margin-bottom: 1.5em; } .date { color: var(--date-color); font-style: italic; margin: 0.5em 0; } .overview { font-weight: 500; margin: 0.5em 0; } ul { margin: 0.5em 0; padding-left: 1.5em; } li { margin: 0.3em 0; } hr { border: none; border-top: 1px solid var(--border-color); margin: 2em 0; } .theme-switch { position: fixed; top: 20px; right: 20px; z-index: 1000; display: flex; gap: 10px; } .theme-switch button { background: none; border: none; font-size: 1.5em; cursor: pointer; padding: 5px; border-radius: 50%; transition: background-color 0.3s; } .theme-switch button:hover { background-color: rgba(128, 128, 128, 0.2); } /* Print styles */ @media print { .theme-switch { display: none; } body { background: white !important; color: black !important; } a { color: black !important; text-decoration: none !important; } .container-fluid { max-width: 100% !important; margin: 0 !important; padding: 0 !important; } hr { border-color: black !important; } } @media (max-width: 600px) { body { padding: 10px; } h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.2em; } }