/* Custom font - monospace nerds unite */ @font-face { font-family: GohuFont14NerdFont; src: url(../fonts/GohuFont14NerdFontMono-Regular.ttf); } * { font-family: GohuFont14NerdFont; } /* Light mode - for those who enjoy retinal damage */ :root { --bg-color: #f7f8f7; --bg-secondary: #e8eae8; --text-primary: #2a3826; --text-secondary: #62696D; --border-accent: #904b59; --border-color: #d0d3d0; --hover-color: #7d9b8f; --shadow-color: #2a382644; } /* Dark mode - for the enlightened */ [data-theme="dark"] { --bg-color: #0C1012; --bg-secondary: #1a2228; --text-primary: #59C99C; --text-secondary: #A5A9AB; --border-accent: #326B78; --border-color: #2a3a42; --hover-color: #326B78; --shadow-color: #353E4344; } body { background-color: var(--bg-color); transition: background-color 0.3s ease; /* Smooth like butter */ display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0; } [data-theme="dark"] body { background-color: #1F282E; /* Extra dark for the vampires among us */ } .search_box { display: flex; flex-direction: row; align-items: center; justify-content: center; margin: 10px auto 0; gap: 8px; width: 100%; max-width: 80rem; /* Increased from 60rem */ } .search_box form { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; padding: 0; width: 100%; max-width: 80rem; /* Increased from 60rem */ } .search_box #q, .search_box input[type="text"], .search_box input[name="q"] { padding: 12px 16px; font-size: 16px; background-color: var(--bg-color); color: var(--text-primary); border: 4px solid var(--border-accent); box-shadow: 3px 3px 1px 1px var(--shadow-color); border-radius: 8px; transition: border-color 0.3s ease, box-shadow 0.3s ease; font-family: GohuFont14NerdFont, monospace; height: auto; line-height: normal; flex: 1; min-width: 0; box-sizing: border-box; } .search_box #q:focus, .search_box input[type="text"]:focus, .search_box input[name="q"]:focus { outline: none; border-color: var(--hover-color); box-shadow: 4px 4px 2px 2px var(--shadow-color); } .search_box #clear_search, .search_box #send_search, .search_box button[type="reset"], .search_box button[type="submit"] { background-color: transparent; color: var(--text-primary); border: none; box-shadow: none; padding: 12px 16px; cursor: pointer; transition: color 0.3s ease; font-family: GohuFont14NerdFont, monospace; height: auto; width: auto; margin: 0; display: flex; align-items: center; justify-content: center; min-width: 44px; border-radius: 0; } .search_box #clear_search:hover, .search_box #send_search:hover, .search_box button[type="reset"]:hover, .search_box button[type="submit"]:hover { color: var(--hover-color); background-color: transparent; } .search_box .search-icon { width: 20px; height: 20px; stroke: currentColor; fill: none; } .search_box button { font-size: 16px; } .search_box .hide_if_nojs { display: inline-block; } .search_box .show_if_nojs { display: none; } button { background-color: var(--bg-color); font-size: 30px; color: var(--text-primary); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; height: 50px; width: 50px; margin-top: 5px; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } .reaction-btn, .share-btn { background: none !important; border: none !important; box-shadow: none !important; outline: none !important; text-shadow: none !important; border-radius: 0 !important; height: auto !important; width: auto !important; margin: 0 !important; color: var(--text-primary) !important; } [data-theme="dark"] .reaction-btn, [data-theme="dark"] .share-btn { color: #59C99C !important; } [data-theme="dark"] .reaction-btn:hover, [data-theme="dark"] .share-btn:hover { color: #326B78 !important; } input { width: 690px; height: 40px; margin: 5px; background-color: var(--bg-color); font-size: 30px; color: var(--text-primary); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; padding-left: 10px; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } input:focus, input:active { width: 690px; height: 40px; margin: 5px; background-color: var(--bg-color); color: var(--text-primary); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; outline: none; } .info { display: flex; justify-content: center; flex-direction: row; margin-left: 20px; line-height: 0; margin-top: 10px; margin-bottom: 10px; } #greeting, #time { font-size: 48px; font-weight: 200; color: var(--text-primary); transition: color 0.3s ease; } #blogMessage, #cheatsheetsMessage { font-size: 48px; font-weight: 200; color: var(--text-primary); margin: 0; text-align: center; transition: color 0.3s ease; } #blogMessage .blog-link, #cheatsheetsMessage .blog-link { color: var(--text-primary); text-decoration: none; font-size: 48px; font-weight: 200; text-indent: 1px; line-height: 1.6; transition: color 0.3s ease; } #blogMessage .blog-link:visited, #blogMessage .blog-link:link, #blogMessage .blog-link:active, #cheatsheetsMessage .blog-link:visited, #cheatsheetsMessage .blog-link:link, #cheatsheetsMessage .blog-link:active { color: var(--text-primary); text-decoration: none; } #blogMessage .blog-link:hover, #cheatsheetsMessage .blog-link:hover { color: var(--hover-color); text-decoration: underline; } @media only screen and (max-width: 400px) { input { width: 50%; height: 40px; margin: 5px; background-color: var(--bg-color); color: var(--text-primary); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; padding-left: 10px; } input:focus, input:active { width: 50%; height: 40px; margin: 5px; background-color: var(--bg-color); color: var(--text-primary); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; outline: none; } .name { font-size: 10px; position: relative; text-align: center; white-space: pre; color: var(--text-primary); transition: color 0.3s ease; } #greeting, #time { font-size: 24px; } #blogMessage { font-size: 20px; } } .list_title { font-size: 36px; border-bottom: solid 2px var(--border-accent); transition: border-color 0.3s ease; } .lists { display: flex; margin-top: 25px; flex-wrap: wrap; vertical-align: center; justify-content: center; } .name { font-size: 20px; position: relative; text-align: center; white-space: pre; color: var(--text-primary); transition: color 0.3s ease; } /* Center name header with blog-main-content on blog pages */ body:has(.blog-layout) .name { margin-left: calc(20px + 200px + 30px + 60px); /* Align with blog-main-content: layout padding + sidebar width + gap + header margin-left */ } .watch, .social, .dev, .linux, .other { display: flex; flex-direction: column; text-align: center; background-color: var(--bg-color); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; margin-top: 5px; margin-left: 10px; margin-right: 10px; margin-bottom: 5px; width: 200px; padding: 40px; transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } a { transition: color 0.3s ease; } a:visited, a:link, a:active { color: var(--text-primary); text-decoration: none; font-size: 30px; text-indent: 1px; line-height: 1.6; transition: color 0.3s ease; } a:hover { color: var(--hover-color); text-decoration: underline; } #w,#s,#d,#l,#e,#b { color: var(--text-secondary); transition: color 0.3s ease; } .gemini-link { position: fixed; top: 20px; left: 20px; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; text-decoration: none; font-size: 16px; transition: color 0.3s ease; z-index: 1000; } .gemini-link:hover { color: var(--hover-color); } .onion-link { position: fixed; top: 55px; left: 20px; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; text-decoration: none; font-size: 16px; transition: color 0.3s ease; z-index: 1000; } .onion-link:hover { color: var(--hover-color); } .theme-toggle { position: fixed; top: 20px; right: 20px; background: none; border: none; color: var(--text-primary); width: 50px; height: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: none; transition: color 0.3s ease; z-index: 1000; padding: 0; } .theme-icon { width: 24px; height: 24px; stroke: currentColor; transition: stroke 0.3s ease; } .theme-toggle:hover { color: var(--hover-color); } .theme-toggle:hover .theme-icon { stroke: var(--hover-color); } .theme-toggle:focus { outline: none; } .blog-links { margin-top: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; background-color: var(--bg-color); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; padding: 20px 40px; width: fit-content; min-width: 300px; margin-left: auto; margin-right: auto; transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } .cheatsheets-links { margin-top: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; width: fit-content; margin-left: auto; margin-right: auto; } .blog-links > a { font-size: 24px; } #recentPosts { display: flex; flex-direction: column; gap: 10px; width: 100%; } #recentPosts a { font-size: 24px; padding: 5px; } .blog-page-header { display: flex; flex-direction: column; align-items: center; margin-top: 30px; margin-bottom: 30px; margin-left: 60px; position: relative; } .blog-header-content { position: relative; width: 100%; max-width: 1100px; display: flex; align-items: center; justify-content: center; gap: 30px; min-height: 48px; padding: 0 60px; /* Add padding for absolute positioned buttons */ } .back-link { position: absolute; left: 0; top: 50%; transform: translateY(-50%); text-decoration: none; transition: filter 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 0; z-index: 1; } .back-link:hover .home-icon { filter: brightness(0) saturate(100%) invert(50%) sepia(15%) saturate(800%) hue-rotate(120deg) brightness(95%) contrast(85%); transition: filter 0.3s ease; } .home-icon { width: 42px; height: 42px; display: block; color: var(--text-primary); transition: color 0.3s ease; } [data-theme="dark"] .home-icon { color: #59C99C; filter: none !important; } [data-theme="dark"] .back-link:hover .home-icon { color: #326B78; filter: none !important; } .rss-icon-link { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--text-primary); text-decoration: none; transition: filter 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 0; z-index: 1; } .rss-icon-link:hover .rss-icon { color: var(--hover-color); transition: color 0.3s ease; } .rss-icon { width: 32px; height: 32px; display: block; color: #904b59; transition: color 0.3s ease; } [data-theme="dark"] .rss-icon { color: #9F789A; } [data-theme="dark"] .rss-icon-link:hover .rss-icon { color: #326B78; } .rss-link { font-size: 24px !important; margin-top: 10px; color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; } .rss-link:hover { color: var(--hover-color); text-decoration: underline; } .blog-page-title { font-size: 48px; color: var(--text-primary); margin: 0; line-height: 1; display: flex; align-items: center; transition: color 0.3s ease; } .blog-posts-container { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 20px; max-width: 900px; margin: 0 auto; } .blog-post { background-color: var(--bg-color); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; padding: 40px; width: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease; } .blog-post:hover { box-shadow: 7px 7px 2px 3px var(--shadow-color); } .blog-post-title { font-size: 36px; color: var(--text-primary); margin: 0 0 15px 0; border-bottom: solid 2px var(--border-accent); padding-bottom: 15px; line-height: 1.3; transition: color 0.3s ease, border-color 0.3s ease; } .analytics-section-title { font-size: 30px; color: var(--text-primary); margin: 30px 0 20px 0; line-height: 1.3; transition: color 0.3s ease; } .timezone-note { font-size: 14px; color: var(--text-secondary); font-weight: 400; } .blog-post-date { font-size: 20px; color: var(--text-secondary); margin: 0 0 20px 0; font-weight: 300; transition: color 0.3s ease; } .blog-post-excerpt { font-size: 24px; color: var(--text-primary); margin: 0 0 25px 0; font-style: italic; padding-bottom: 15px; border-bottom: 3px solid var(--border-accent); line-height: 1.6; transition: color 0.3s ease, border-color 0.3s ease; } .blog-post-content { font-size: 22px; color: var(--text-primary); line-height: 1.8; margin-top: 20px; transition: color 0.3s ease; } .blog-post-content p { margin: 0 0 20px 0; text-align: justify; text-justify: inter-word; } .blog-post-content p:last-child { margin-bottom: 0; } .blog-post-content p:first-of-type { margin-top: 0; } .blog-post-content pre { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 6px; padding: 15px; overflow-x: auto; margin: 15px 0; max-width: 100%; } .blog-post-content code { font-family: 'Courier New', Courier, monospace; font-size: 0.9em; background-color: var(--bg-secondary); padding: 2px 6px; border-radius: 4px; } .blog-post-content pre code { padding: 0; background-color: transparent; font-size: 0.85em; white-space: pre; display: block; } .blog-post-signature { text-align: center; font-size: 22px; color: var(--text-secondary); margin: 0; font-style: italic; padding: 0; border: none; flex: 1; min-width: 200px; transition: color 0.3s ease; } .reactions-share-wrapper { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 30px; margin-top: 30px; padding-top: 20px; border-top: 3px solid var(--border-accent); flex-wrap: wrap; transition: border-color 0.3s ease; } .reactions-container, .share-container { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; } .reactions-label, .share-label { font-size: 20px; color: var(--text-secondary); font-weight: 300; transition: color 0.3s ease; } .reactions-buttons, .share-buttons { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; justify-content: center; } .reaction-btn { background: none; border: none; padding: 5px 10px; color: var(--text-primary); cursor: pointer; transition: color 0.3s ease; display: flex; align-items: center; gap: 5px; box-shadow: none; outline: none; text-shadow: none; } [data-theme="dark"] .reaction-btn { color: #59C99C; } .reaction-btn:hover { color: var(--hover-color); box-shadow: none; outline: none; } [data-theme="dark"] .reaction-btn:hover { color: #326B78; } .reaction-btn:focus { outline: none; box-shadow: none; } .reaction-icon-img, .share-icon-img { width: 20px; height: 20px; display: inline-block; vertical-align: middle; transition: fill 0.3s ease, opacity 0.3s ease, color 0.3s ease; color: inherit; } .reaction-icon-img path, .reaction-icon-img g[fill="currentColor"], .reaction-icon-img g[fill="currentColor"] path, .reaction-icon-img g[fill="currentColor"] g path, .share-icon-img path, .share-icon-img polyline { fill: currentColor; stroke: currentColor; transition: fill 0.3s ease, stroke 0.3s ease; } [data-theme="dark"] .reaction-icon-img { color: #59C99C !important; } [data-theme="dark"] .reaction-icon-img g[fill="currentColor"], [data-theme="dark"] .reaction-icon-img g[fill="currentColor"] path, [data-theme="dark"] .reaction-icon-img g[fill="currentColor"] g path, [data-theme="dark"] .reaction-icon-img path, [data-theme="dark"] .share-icon-img { color: #59C99C !important; } [data-theme="dark"] .share-icon-img path, [data-theme="dark"] .share-icon-img polyline, [data-theme="dark"] .reaction-icon-img g[fill="currentColor"], [data-theme="dark"] .reaction-icon-img g[fill="currentColor"] path, [data-theme="dark"] .reaction-icon-img g[fill="currentColor"] g path, [data-theme="dark"] .reaction-icon-img path { fill: #59C99C !important; stroke: #59C99C !important; } [data-theme="dark"] .reaction-btn:hover .reaction-icon-img { color: #326B78 !important; } [data-theme="dark"] .reaction-btn:hover .reaction-icon-img g[fill="currentColor"], [data-theme="dark"] .reaction-btn:hover .reaction-icon-img g[fill="currentColor"] path, [data-theme="dark"] .reaction-btn:hover .reaction-icon-img g[fill="currentColor"] g path, [data-theme="dark"] .reaction-btn:hover .reaction-icon-img path { fill: #326B78 !important; stroke: #326B78 !important; } [data-theme="dark"] .share-btn:hover .share-icon-img { color: #326B78 !important; } [data-theme="dark"] .share-btn:hover .share-icon-img path, [data-theme="dark"] .share-btn:hover .share-icon-img polyline { fill: #326B78 !important; stroke: #326B78 !important; } .reaction-btn:hover .reaction-icon-img, .share-btn:hover .share-icon-img { opacity: 0.8; } [data-theme="dark"] .reaction-btn:hover .reaction-icon-img, [data-theme="dark"] .share-btn:hover .share-icon-img { opacity: 1; } .reaction-count { font-size: 20px; color: var(--text-secondary); font-weight: 300; transition: color 0.3s ease; } .share-btn { background: none; border: none; padding: 5px 10px; color: var(--text-primary); cursor: pointer; transition: color 0.3s ease; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; outline: none; text-shadow: none; } [data-theme="dark"] .share-btn { color: #59C99C; } .share-btn:hover { color: var(--hover-color); box-shadow: none; outline: none; } [data-theme="dark"] .share-btn:hover { color: #326B78; } .share-btn:focus { outline: none; box-shadow: none; } .error { color: var(--border-accent); font-size: 24px; text-align: center; padding: 20px; transition: color 0.3s ease; } .analytics-container { max-width: 1200px; margin: 0 auto; padding: 20px; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 20px 0; } .stat-card { background-color: var(--bg-color); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; padding: 20px; transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } .stat-value { font-size: 48px; color: var(--text-primary); font-weight: 200; transition: color 0.3s ease; } .stat-label { font-size: 20px; color: var(--text-secondary); margin-top: 10px; transition: color 0.3s ease; } .hour-chart { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 4px; margin-top: 20px; padding: 20px 10px 40px 10px; height: 300px; } .hour-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; flex: 1; max-width: calc(100% / 24); height: 260px; } .hour-visual { width: 100%; background-color: var(--text-primary); border-radius: 4px 4px 0 0; display: flex; align-items: flex-end; justify-content: center; padding: 5px 0; color: var(--bg-color); font-size: 12px; transition: background-color 0.3s ease, opacity 0.3s ease, color 0.3s ease; opacity: 0.85; flex: none; height: var(--bar-height, 0px); flex-basis: var(--bar-height, 0px); min-height: 0; } .hour-visual:hover { background-color: var(--hover-color); opacity: 1; } .hour-label { font-size: 14px; color: var(--text-secondary); writing-mode: horizontal-tb; text-align: center; margin-top: 5px; transition: color 0.3s ease; } .date-selector-wrapper { position: relative; display: flex; flex-direction: column; margin: 0; width: 200px; min-width: 200px; max-width: 200px; } .date-selector { margin: 0; padding: 10px; font-size: 20px; border: 4px solid var(--border-accent); border-radius: 8px; background-color: var(--bg-color); color: var(--text-primary); box-shadow: 5px 5px 1px 2px var(--shadow-color); cursor: pointer; width: 200px !important; min-width: 200px !important; max-width: 200px !important; box-sizing: border-box; flex-shrink: 0; position: relative; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } .date-selector:hover { border-color: var(--hover-color); width: 200px !important; } .date-selector:focus { outline: none; border-color: var(--hover-color); width: 200px !important; box-shadow: 5px 5px 1px 2px var(--shadow-color); } .date-selector:active { width: 200px !important; } .date-selector::-webkit-calendar-picker-indicator { display: none; } .date-selector::-webkit-datetime-edit { color: var(--text-primary); } .date-selector::-webkit-datetime-edit-fields-wrapper { color: var(--text-primary); } .date-selector::-webkit-datetime-edit-text { color: var(--text-secondary); } .date-selector::-webkit-datetime-edit-month-field, .date-selector::-webkit-datetime-edit-day-field, .date-selector::-webkit-datetime-edit-year-field { color: var(--text-primary); } .custom-calendar { position: absolute; top: 100%; left: 0; margin-top: 5px; background-color: var(--bg-color); border: 4px solid var(--border-accent); border-radius: 8px; box-shadow: 5px 5px 1px 2px var(--shadow-color); padding: 15px; z-index: 1000; display: none; width: 350px; box-sizing: border-box; min-width: 350px; max-width: 350px; transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } .custom-calendar.show { display: block; } .calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .calendar-nav-btn { background-color: var(--bg-color); border: 4px solid var(--border-accent); border-radius: 8px; color: var(--text-primary); font-size: 18px; padding: 5px 15px; cursor: pointer; box-shadow: 3px 3px 1px 1px var(--shadow-color); transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease; } .calendar-nav-btn:hover { border-color: var(--hover-color); color: var(--hover-color); } .calendar-month-year { font-size: 20px; color: var(--text-primary); font-weight: 200; transition: color 0.3s ease; } .calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 10px; } .calendar-weekday { text-align: center; font-size: 16px; color: var(--text-secondary); font-weight: 300; transition: color 0.3s ease; } .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; } .calendar-day { background-color: var(--bg-color); border: 2px solid var(--border-accent); border-radius: 4px; color: var(--text-primary); font-size: 16px; padding: 10px 8px; text-align: center; cursor: pointer; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; } .calendar-day:hover { background-color: var(--hover-color); border-color: var(--hover-color); color: var(--bg-color); } .calendar-day.other-month { color: var(--text-secondary); opacity: 0.5; } .calendar-day.today { border-color: var(--text-primary); border-width: 3px; font-weight: 400; } .calendar-day.selected { background-color: var(--text-primary); border-color: var(--text-primary); color: var(--bg-color); } .visitors-table { width: 100%; border-collapse: collapse; margin-top: 10px; } .visitors-table thead { background-color: var(--bg-color); border-bottom: 2px solid var(--border-accent); } .visitors-table th { padding: 12px 8px; text-align: left; color: var(--text-primary); font-weight: bold; font-size: 14px; } .visitors-table td { padding: 10px 8px; border-bottom: 1px solid var(--border-accent); color: var(--text-secondary); font-size: 13px; } .visitors-table tbody tr:hover { background-color: var(--hover-color); transition: background-color 0.2s ease; } .visitor-time { font-family: monospace; color: var(--text-primary); } .visitor-ip { font-family: monospace; color: var(--text-primary); } .visitor-location { color: var(--text-secondary); } .country-code { display: inline-block; margin-left: 6px; padding: 2px 6px; background-color: var(--border-accent); color: var(--bg-color); border-radius: 3px; font-size: 11px; font-weight: bold; } .visitor-isp { color: var(--text-secondary); font-size: 12px; } .visitor-page { font-family: monospace; color: var(--text-secondary); font-size: 12px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } [data-theme="dark"] .visitors-table thead { background-color: var(--bg-color); } [data-theme="dark"] .visitors-table tbody tr:hover { background-color: rgba(50, 107, 120, 0.2); } [data-theme="dark"] .country-code { background-color: var(--border-accent); color: var(--bg-color); } .blog-posts-stats { margin-top: 30px; } .post-stat-card { background-color: var(--bg-color); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; padding: 20px; margin-bottom: 20px; transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } .post-stat-title { font-size: 24px; color: var(--text-primary); margin: 0 0 15px 0; padding-bottom: 10px; transition: color 0.3s ease; } .post-stat-row { display: flex; gap: 20px; margin-top: 10px; flex-wrap: wrap; } .post-stat-item { display: flex; flex-direction: column; gap: 5px; } .post-stat-item-label { font-size: 16px; color: var(--text-secondary); transition: color 0.3s ease; } .post-stat-item-value { font-size: 28px; color: var(--text-primary); font-weight: 200; transition: color 0.3s ease; } .date-selector-container { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; flex-shrink: 0; margin-bottom: 20px; } .date-selectors-wrapper { display: flex; align-items: flex-end; gap: 20px; flex-wrap: nowrap; } .date-label { display: block; margin-bottom: 5px; font-size: 14px; color: var(--text-secondary); font-weight: 500; height: 20px; line-height: 20px; flex-shrink: 0; } .date-go-button-wrapper { display: flex; align-items: flex-end; height: 100%; padding-bottom: 0; } .go-button { padding: 10px; font-size: 20px; border: 4px solid var(--border-accent); border-radius: 8px; background-color: var(--bg-color); color: var(--text-primary); box-shadow: 5px 5px 1px 2px var(--shadow-color); cursor: pointer; font-weight: 500; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; font-family: inherit; box-sizing: border-box; text-align: center; display: flex; align-items: center; justify-content: center; height: 40px; width: 40px; min-width: 40px; max-width: 40px; min-height: 40px; max-height: 40px; } .go-button:hover { border-color: var(--hover-color); background-color: var(--hover-color); color: var(--bg-color); } .go-button:active { box-shadow: 3px 3px 1px 1px var(--shadow-color); transform: translate(2px, 2px); } /* Blog Layout with Sidebar */ .blog-layout { display: flex; flex-direction: row; gap: 30px; max-width: 1400px; margin: 0 auto; padding: 20px; align-items: flex-start; } .blog-sidebar { position: sticky; top: 20px; width: 200px; flex-shrink: 0; background-color: transparent; border: none; border-radius: 0; padding: 0; box-shadow: none; transition: background-color 0.3s ease, border-color 0.3s ease; } .sidebar-nav { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; padding-right: 20px; padding-bottom: 20px; padding-top: 20px; margin-top: 0; } .sidebar-post-link { color: var(--text-primary); text-decoration: none; font-size: 10px; padding: 4px 8px; border-radius: 3px; transition: background-color 0.3s ease, color 0.3s ease; display: block; line-height: 1.4; } .sidebar-post-link:hover { background-color: var(--hover-color); color: var(--bg-color); } .sidebar-post-link.active { background-color: var(--border-accent); color: var(--text-primary); font-weight: 400; padding: 4px 8px; } .blog-main-content { flex: 1; min-width: 0; display: flex; flex-direction: column; } .blog-post-container { display: flex; flex-direction: column; padding: 0; width: 100%; flex: 1; } .cheatsheet-category { margin-top: 40px !important; margin-bottom: 20px !important; font-size: 38px !important; font-weight: 600 !important; color: var(--text-primary) !important; border-bottom: solid 2px var(--border-accent) !important; padding-bottom: 10px !important; text-align: center !important; width: 100% !important; } .blog-post-preview { background-color: var(--bg-color); box-shadow: 5px 5px 1px 2px var(--shadow-color); border-radius: 8px; border: var(--border-accent) solid 4px; padding: 30px; width: 100%; margin-bottom: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease; } .blog-post-preview:hover { box-shadow: 7px 7px 2px 3px var(--shadow-color); transform: translateY(-2px); } .blog-post-link { color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; } .blog-post-link:hover { color: var(--hover-color); } .blog-read-more { display: inline-block; margin-top: 15px; color: var(--text-primary); text-decoration: none; font-size: 18px; font-weight: 500; transition: color 0.3s ease; } .blog-read-more:hover { color: var(--hover-color); text-decoration: underline; } /* Responsive design for mobile */ @media only screen and (max-width: 768px) { .blog-layout { flex-direction: column; padding: 10px; } .blog-sidebar { position: static; width: 100%; order: 2; } .blog-main-content { order: 1; } .sidebar-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; } } /* Error page styles */ .error-container { text-align: center; margin-top: 50px; max-width: 800px; margin-left: auto; margin-right: auto; padding: 20px; } .error-code { font-size: 4em; margin-bottom: 20px; } .error-title { margin-bottom: 30px; } .error-message { font-size: 1.2em; margin-bottom: 30px; font-style: italic; color: var(--text-secondary, #62696D); } .error-back-link { margin-top: 40px; } .error-back-link a { color: var(--text-primary); text-decoration: none; font-size: 1.2em; transition: color 0.3s ease; } .error-back-link a:hover { color: var(--hover-color); text-decoration: underline; }