/* Theme Name: Binary Log Pro Theme URI: https://blake-hofer.net/shop/article_detail.php?id=12&lang=en Author: Dominique Blake-Hofer Author URI: https://blake-hofer.net Description: A minimalist, technical terminal-style theme. (c) 2026 Dominique Blake-Hofer. Licensed under the GPL v2 or later. Version: 1.0.1.2 Tested up to: 6.7 Requires PHP: 7.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Copyright: (c) 2026 Dominique Blake-Hofer Tags: grid-layout, custom-menu, featured-images, translation-ready, custom-colors Text Domain: binary-log-pro */ :root { --primary-color: #0070f3; --bg-color: #f0f5ff; } /* --- THEME SCHEMES (PRO) --- */ body.theme-green { --primary-color: #7ca65c; --bg-color: #f4f7f2; } body.theme-green .site-header { background: rgba(244, 247, 242, 0.8) !important; } body.theme-dark { --primary-color: #00ff41; --bg-color: #0a0a0a; color: #e0e0e0; } body.theme-dark .site-header { background: rgba(10, 10, 10, 0.8) !important; border-bottom-color: #222; } body.theme-dark .log-entry { background: #111; border-color: #222; color: #e0e0e0; } body.theme-dark .footer-copyright-text { color: #e0e0e0; } /* --- GLOBAL STYLES --- */ h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; } body { font-family: 'Inter', sans-serif; background: var(--bg-color); margin: 0; color: #0f172a; transition: background 0.3s ease; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* --- WP REQUIRED CLASSES --- */ .sticky { background: #fdfdfd; border: 2px solid var(--primary-color); padding: 25px; border-radius: 15px; } .bypostauthor { font-weight: bold; } .wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 8px; text-align: center; } .wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 5px; } .gallery-caption { font-size: 0.8rem; font-style: italic; } .alignleft { float: left; margin: 0.5em 1em 0.5em 0; } .alignright { float: right; margin: 0.5em 0 0.5em 1em; } .aligncenter { display: block; margin-left: auto; margin-right: auto; } .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; } /* --- ACCESSIBILITY --- */ .skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color); color: white; padding: 8px; z-index: 10000; transition: top 0.2s; } .skip-link:focus { top: 0; } /* --- HEADER & NAVIGATION --- */ .site-header { padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 9999; transition: all 0.3s ease; background: rgba(240, 245, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .header-flex { display: flex; justify-content: space-between; align-items: center; } .header-left { display: flex; flex-direction: column; } .site-branding { display: flex; align-items: center; gap: 15px; } .site-title-main-link { text-decoration: none; color: inherit; margin: 0; font-size: 1.5rem; font-weight: 900; } .site-logo img { width: 45px !important; height: 45px !important; border-radius: 50% !important; object-fit: cover !important; border: 2px solid var(--primary-color) !important; display: block !important; } .main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; align-items: center; } .main-navigation li { position: relative; } .main-navigation a { text-decoration: none; color: inherit; font-family: monospace; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; padding: 10px 0; display: block; } .main-navigation a:hover { color: var(--primary-color); } /* UNTERMENÜ (50% ENGERER ABSTAND) */ .main-navigation ul ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 180px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-radius: 8px; flex-direction: column; z-index: 9999; padding: 5px 0; } .main-navigation ul ul li { width: 100%; } .main-navigation ul ul a { padding: 4px 15px !important; font-size: 0.75rem; text-transform: none; } .main-navigation li:hover > ul { display: flex; } /* --- SIDEBAR DESIGN --- */ .content-sidebar-wrapper { display: flex; gap: 50px; margin-top: 60px; align-items: flex-start; } .main-content-area { flex: 3; min-width: 0; } .widget-area { flex: 1; position: sticky; top: 120px; font-family: monospace; } .widget { margin-bottom: 50px; } .widget-title { font-size: 0.9rem; text-transform: uppercase; color: var(--primary-color); border-bottom: 2px solid var(--primary-color); padding-bottom: 8px; margin-bottom: 20px; font-weight: bold; } .widget ul { list-style: none; padding: 0; margin: 0; } .widget ul li a { text-decoration: none; color: inherit; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; display: block; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.03); transition: color 0.2s; } .widget ul li a:hover { color: var(--primary-color); } /* --- CONTENT STYLES --- */ .binary-page-header { margin-bottom: 40px; border-left: 4px solid var(--primary-color); padding-left: 20px; } .sys-path-label { font-family: monospace; font-size: 1rem; color: var(--primary-color); font-weight: bold; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; } .binary-home-title { font-size: 3.5rem; font-weight: 900; margin: 0; letter-spacing: -2px; } .main-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; margin: 60px 0; } .log-entry { background: #fff; padding: 40px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.08); transition: all 0.3s ease; text-decoration: none; color: inherit; display: block; } .log-entry:hover { transform: translateY(-10px); border-color: var(--primary-color); box-shadow: 0 15px 30px rgba(0,0,0,0.05); } /* --- FOOTER --- */ .site-footer { padding: 80px 0; border-top: 1px solid rgba(0,0,0,0.05); background: transparent; margin-top: 100px; } .footer-copyright-text { font-size: 1.1rem; font-weight: 900; margin-bottom: 8px; color: inherit; } .footer-status-info { font-family: monospace; font-size: 0.85rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; line-height: 1.6; } .footer-branding-credit { margin-top: 25px; display: block; text-decoration: none; color: inherit; font-family: monospace; font-size: 0.75rem; opacity: 0.6; font-weight: bold; } .footer-branding-credit:hover { opacity: 1; color: var(--primary-color); } /* --- SHELL & STATUS --- */ .shell-line { font-family: monospace; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; margin-top: 5px; background: rgba(0,0,0,0.05); color: var(--primary-color); } .status-badge { background: rgba(124,166,92,0.1); padding: 8px 15px; border-radius: 50px; font-family: monospace; font-size: 0.75rem; display: flex; align-items: center; gap: 8px; border: 1px solid var(--primary-color); color: var(--primary-color); } .status-dot { width: 8px; height: 8px; background: var(--primary-color); border-radius: 50%; display: inline-block; animation: pulse-primary 2s infinite; } /* --- ANIMATIONS --- */ @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } .cursor-block { display: inline-block; width: 8px; height: 16px; background: var(--primary-color); vertical-align: middle; animation: blink 1s step-end infinite; margin-left: 5px; } @keyframes pulse-primary { 0% { box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(0, 112, 243, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 112, 243, 0); } } @media (max-width: 992px) { .content-sidebar-wrapper { flex-direction: column; } .widget-area { width: 100%; position: static; margin-top: 40px; } } /* --- FULL WIDTH LAYOUT FIX (WENN SIDEBAR DEAKTIVIERT) --- */ .content-sidebar-wrapper:not(:has(.widget-area)) .main-content-area { flex: 0 0 100% !important; max-width: 1000px; margin: 0 auto; }