/* Retro Apple System 6 inspired styles */ html { scroll-behavior: smooth; } code { font-family: 'Monaco', 'Consolas', 'Courier New', monospace; background: #f0f0f0; padding: 2px 4px; border-radius: 3px; font-size: 0.9em; } .code { font-family: 'Monaco', 'Consolas', 'Courier New', monospace; background: #f0f0f0; padding: 2px 4px; border-radius: 3px; } /* Window styling */ .window { background: #c0c0c0; border: 2px outset #c0c0c0; padding: 0; margin: 0; } .title-bar { background: linear-gradient(to right, #0080ff, #0050b3); height: 20px; display: flex; align-items: center; justify-content: space-between; padding: 0 3px; position: relative; } .title { color: white; font-weight: bold; font-size: 9pt; margin: 0 auto; text-align: center; flex-grow: 1; } .close, .resize { width: 16px; height: 14px; border: 1px outset #c0c0c0; background: #c0c0c0; cursor: pointer; flex-shrink: 0; } .close { background: #ff4444; border: 1px outset #ff4444; } .resize { background: #c0c0c0; position: relative; } .resize::after { content: ''; position: absolute; bottom: 1px; right: 1px; width: 6px; height: 6px; border-right: 1px solid #808080; border-bottom: 1px solid #808080; } .separator { height: 2px; background: #808080; border-bottom: 1px solid #ffffff; } .window-pane { padding: 8px; background: #c0c0c0; } /* Dialog styling */ .standard-dialog, .alert-dialog { background: #c0c0c0; border: 2px outset #c0c0c0; padding: 0; margin: 0; width: 100%; } .alert-dialog { max-width: 400px; } .alert-dialog .heading { font-weight: bold; font-size: 11pt; margin: 0; } .alert-dialog .desc { font-size: 9pt; margin: 4px 0; } .heading { font-weight: bold; font-size: 11pt; margin: 0; padding: 8px; text-align: center; } .desc { font-size: 9pt; margin: 4px 8px; text-align: center; } /* Button styling */ .btn { background: #c0c0c0; border: 2px outset #c0c0c0; padding: 2px 8px; font-size: 9pt; cursor: pointer; height: 20px; min-width: 59px; display: inline-block; text-align: center; line-height: 14px; } .btn:active, .btn.active { border: 2px inset #c0c0c0; padding: 3px 7px 1px 9px; background: #c0c0c0; } .btn:disabled { color: #808080; cursor: not-allowed; border: 2px outset #c0c0c0; padding: 2px 8px; } .btn-default { border: 2px outset #c0c0c0; font-weight: bold; } /* Input styling */ input[type="text"], input[type="password"], input[type="email"], input[type="search"] { background: white; border: 2px inset #c0c0c0; padding: 2px 3px; font-size: 9pt; height: 16px; border-radius: 0; } input[type="radio"] { width: 10px; height: 10px; border: 1px outset #c0c0c0; background: #c0c0c0; cursor: pointer; position: relative; appearance: none; } input[type="radio"]:checked::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; background: #000000; border-radius: 50%; } input[type="checkbox"] { width: 10px; height: 10px; border: 1px outset #c0c0c0; background: #c0c0c0; cursor: pointer; position: relative; appearance: none; } input[type="checkbox"]:checked::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 8px; font-weight: bold; } select { background: white; border: 2px inset #c0c0c0; padding: 1px 3px; font-size: 9pt; height: 20px; border-radius: 0; cursor: pointer; } select:focus { outline: none; border: 2px inset #c0c0c0; } /* Menu styling */ .menu-bar { background: #c0c0c0; padding: 0; margin: 0; list-style: none; display: flex; border: 1px outset #c0c0c0; position: relative; } .menu-bar > li { position: relative; padding: 3px 12px; font-size: 9pt; cursor: pointer; user-select: none; } .menu-bar > li[aria-haspopup="false"] { cursor: default; } .menu-bar > li[aria-haspopup="false"]:hover { background: transparent; } .menu-bar > li:hover { background: #0080ff; color: white; } .menu { display: none; position: absolute; top: 100%; left: 0; background: #c0c0c0; border: 2px outset #c0c0c0; padding: 2px; margin: 0; list-style: none; min-width: 180px; z-index: 1000; } .menu-bar > li:focus > .menu, .menu-bar > li:hover > .menu { display: block; } .menu > li { position: relative; padding: 2px 8px; font-size: 9pt; cursor: pointer; user-select: none; } .menu > li > a { display: block; color: inherit; text-decoration: none; cursor: pointer; } .menu > li:hover { background: #0080ff; color: white; } .menu > li.divider { height: 1px; background: #808080; padding: 0; margin: 2px 0; } .menu > li.divider:hover { background: #808080; } /* Sidebar menu items */ .menu-items { list-style: none; padding: 4px 0; margin: 0; font-size: 9pt; } .menu-items > li { margin: 2px 0; } .menu-items a { color: inherit; text-decoration: none; display: block; padding: 2px 4px; } .menu-items a:hover { background: #0080ff; color: white; } .menu-items ul { list-style: none; padding-left: 16px; margin: 2px 0; font-size: 8pt; } .nav-link { color: inherit; text-decoration: none; display: block; padding: 1px 4px; } .nav-link:hover { background: #0080ff; color: white; } /* Content styling */ h2.subheading { font-size: 14pt; font-weight: bold; margin: 16px 0 8px 0; padding-bottom: 4px; border-bottom: 1px solid #808080; } h3.subheading { font-size: 11pt; font-weight: bold; margin: 12px 0 6px 0; } .component { margin-bottom: 24px; } blockquote { border-left: 4px solid #808080; margin: 8px 0; padding: 4px 8px; font-style: italic; background: #f8f8f8; } blockquote footer { margin-top: 4px; font-style: normal; } .example { background: #f0f0f0; border: 1px solid #d0d0d0; padding: 12px; margin: 8px 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } /* Form elements */ .field-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; } .field-row label { font-size: 9pt; min-width: 60px; } /* Layout */ main { overflow-x: auto; } /* Responsive adjustments */ @media (max-width: 768px) { .window { margin-bottom: 16px; } .example { flex-direction: column; align-items: flex-start; } }