/* Default Light Mode (CSS Variables) */ :root { --bg-color: #EEEEEE; --text-color: #333; --sidebar-bg: #EEEEEE; --border-color: #ccc; --link-color: #007bff; } /* Dark Mode Styles */ .dark-mode { --bg-color: #20B026; --text-color: #f0f0f0; --sidebar-bg: #20B026; --border-color: #555; --link-color: #f0f0f0; } body { font-family: 'Inconsolata', monospace; font-size: 13px; margin: 0; padding: 0; background-color: var(--bg-color); color: var(--text-color); } .container { display: flex; height: 100vh; gap: 2px; } .left-panel { width: 20%; background-color: var(--sidebar-bg); border-color: var(--border-color); padding: 1em; border-right: 2px double #ccc; } .right-panel { width: 20%; background-color: var(--sidebar-bg); border-color: var(--border-color); padding: 1em; border-left: 2px double #ccc; overflow-y: auto; /* Allow scrolling for long content */ font-family: 'Inconsolata', monospace; /* Match the font for the rest of the website */ } /* Mobile styles */ @media (max-width: 768px) { .container { flex-direction: column; /* Stack elements vertically if needed */ } .left-panel { width: 100%; /* Take full width on mobile */ border: none; /* Remove borders for cleaner design */ display: flex; margin-top: 2em; padding: 0em; line-height: 1; font-size: 13px; flex-direction: column; justify-content: center; align-items: center; text-align: center; } main, .right-panel { display: none; /* Hide main content and right panel */ } } @media (max-width: 768px) { .left-panel ul li { cursor: pointer; /* Add a pointer cursor for mobile links */ } } /* Default styles (desktop) */ p { max-width: none; /* No restriction on line length by default */ } /* Mobile-specific styles */ @media (max-width: 768px) { .content-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-color); color: var(--text-color); display: none; flex-direction: column; justify-content: left; align-items: left; padding: 20px; box-sizing: border-box; text-align: left; overflow-y: auto; /* Enable scrolling */ z-index: 1000; } .content-overlay.active { display: flex; } } a { color: var(--link-color); } a:hover { text-decoration: underline; } aside pre { margin: 0 0 1em 0; /* Margin below the ASCII art */ font-family: monospace; /* Monospace font for ASCII art */ } aside p { margin: 0 0 1em 0; /* Margin below the paragraph */ } .sidebar-title { text-decoration: underline; } aside ul { list-style: none; padding: 0; } aside ul li { cursor: pointer; /* Add cursor pointer */ } @media (min-width: 769px) { aside.left-panel ul li:hover { text-decoration: underline; cursor: pointer; /* Add a pointer cursor for better usability */ } } main { width: 60%; background-color: var(--bg-color); /* Use variable */ color: var(--text-color); /* Use variable */ margin: 0; padding: 0; } .main-text { font-family: 'Inconsolata', monospace; font-size: 13px; color: var(--text-color); /* Fix: Use CSS variable */ margin: 0; padding: 1em; } .main-text a { text-decoration: underline; } .main-text a:hover { text-decoration: none; } .main-parapgraph { font-family: 'Inconsolata', monospace; font-size: 13px; color: #333; margin: 0; padding: 1em; } #message-board { font-family: 'Inconsolata', monospace; font-size: 13px; color: var(--text-color); /* Use variable */ } #message-board div { margin-bottom: 0.5em; margin-top: 1em; } .message { background-color: var(--bg-color); /* Use dark mode background */ color: var(--text-color); /* Use dark mode text */ padding: 0em; margin-bottom: 3em; } .message-title { font-size: 11px; font-weight: normal; color: var(--text-color); /* Use variable */ text-decoration: none; margin-bottom: 0.5em; display: inline-block; } .message p { font-size: 11px; margin: 0; /* Ensure no additional margin for paragraphs */ } .message-container .timestamp { font-size: 11px; color: var(--text-color); /* Use dark mode text */ text-align: left; display: block; text-decoration: none; } .timestamp:hover { color: var(--link-color); text-decoration: underline; } /* Dark Mode Toggle Button */ .dark-mode-toggle { background: none; border: none; position: fixed; top: 10px; right: 10px; font-size: 20px; cursor: pointer; outline:none; } .dark-mode-toggle:hover { background: none; }