Spaces:
Running
Running
| /* -------- Base -------- */ | |
| :root{ | |
| --bg: #0b0f17; | |
| --surface: #121826; | |
| --card: #172033; | |
| --text: #e6ecff; | |
| --muted: #91a0c7; | |
| --accent: #5aa9ff; | |
| --accent-2: #7cf3c5; | |
| --ring: rgba(122, 174, 255, .45); | |
| --shadow: 0 10px 30px rgba(0,0,0,.35); | |
| } | |
| body.light-theme{ | |
| --bg: #f7f9fe; | |
| --surface: #ffffff; | |
| --card: #ffffff; | |
| --text: #0f1530; | |
| --muted: #5a6382; | |
| --accent: #2b6bff; | |
| --accent-2: #0bb98f; | |
| --ring: rgba(43,107,255,.25); | |
| --shadow: 0 8px 24px rgba(16,24,40,.08); | |
| } | |
| *{box-sizing:border-box} | |
| html,body{height:100%} | |
| body{ | |
| margin:0; | |
| font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; | |
| background: var(--bg); | |
| color: var(--text); | |
| line-height:1.35; | |
| } | |
| /* -------- Background flourish -------- */ | |
| .bg{ | |
| position:fixed; inset:0; pointer-events:none; | |
| background: | |
| radial-gradient(1200px 600px at 10% -20%, rgba(90,169,255,.15), transparent 60%), | |
| radial-gradient(900px 600px at 110% 120%, rgba(124,243,197,.12), transparent 55%); | |
| filter: blur(0.3px); | |
| z-index:0; | |
| } | |
| /* -------- Header -------- */ | |
| .topbar{ | |
| position:sticky; top:0; z-index:5; | |
| display:flex; justify-content:space-between; align-items:center; | |
| padding:16px clamp(16px, 4vw, 28px); | |
| background: linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,0)); | |
| backdrop-filter: blur(6px); | |
| } | |
| .greeting{font-weight:700; font-size: clamp(20px, 2vw, 24px);} | |
| .datetime{color:var(--muted); font-size:14px; margin-top:4px} | |
| .topbar .right{display:flex; gap:10px} | |
| .icon-btn{ | |
| display:inline-grid; place-items:center; | |
| width:36px; height:36px; border-radius:10px; | |
| border:1px solid transparent; | |
| background:var(--surface); | |
| color:var(--text); | |
| box-shadow: var(--shadow); | |
| cursor:pointer; | |
| } | |
| .icon-btn:hover{border-color:var(--ring)} | |
| .icon-btn i{font-size:16px} | |
| /* -------- Search -------- */ | |
| .search{padding:8px clamp(16px, 4vw, 28px) 0} | |
| .search-bar{ | |
| display:flex; align-items:center; gap:10px; | |
| background:var(--surface); | |
| border:1px solid transparent; | |
| border-radius:14px; padding:12px 14px; | |
| box-shadow: var(--shadow); | |
| } | |
| .search-bar:focus-within{border-color:var(--ring)} | |
| .search-bar i{opacity:.9} | |
| .search-bar input{ | |
| flex:1; background:transparent; border:none; outline:none; | |
| color:var(--text); font-size:16px; | |
| } | |
| .search-bar select{ | |
| background:var(--card); color:var(--text); | |
| border:1px solid transparent; border-radius:10px; | |
| padding:8px 10px; font-size:14px; | |
| } | |
| /* -------- Layout -------- */ | |
| .container{padding:18px clamp(16px, 4vw, 28px) 36px; position:relative; z-index:1} | |
| .grid{ | |
| display:grid; | |
| grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); | |
| gap:16px; | |
| } | |
| /* -------- Cards -------- */ | |
| .card{ | |
| background: var(--card); | |
| border: 1px solid rgba(255,255,255,.06); | |
| border-radius:16px; | |
| padding:14px; | |
| box-shadow: var(--shadow); | |
| transition: transform .15s ease, border-color .15s ease; | |
| } | |
| .card:hover{ transform: translateY(-2px) } | |
| .card-header{ | |
| display:flex; justify-content:space-between; align-items:center; | |
| margin-bottom:10px; | |
| } | |
| .card-header h2{ | |
| margin:0; font-size:16px; font-weight:700; display:flex; align-items:center; gap:10px; | |
| } | |
| .card-header h2 i{color:var(--accent)} | |
| .card ul{list-style:none; padding:0; margin:0} | |
| .card li{padding:0} | |
| .card a{ | |
| display:flex; align-items:center; gap:10px; | |
| padding:10px; border-radius:10px; | |
| color:var(--text); text-decoration:none; | |
| border:1px solid transparent; | |
| } | |
| .card a i{width:18px; text-align:center; color:var(--accent-2)} | |
| .card a:hover{ background:rgba(90,169,255,.10); border-color:var(--ring) } | |
| /* -------- Notes panel (optional) -------- */ | |
| .notes{ | |
| position:fixed; right:16px; bottom:16px; | |
| width:min(520px, 92vw); max-height:70vh; | |
| background:var(--surface); | |
| border:1px solid rgba(255,255,255,.08); | |
| border-radius:14px; box-shadow: var(--shadow); | |
| transform: translateY(calc(100% + 24px)); | |
| transition: transform .2s ease; | |
| overflow:hidden; z-index:10; | |
| } | |
| .notes.active{ transform: translateY(0) } | |
| .notes-header{ | |
| display:flex; align-items:center; justify-content:space-between; | |
| padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08) | |
| } | |
| .notes textarea{ | |
| width:100%; min-height:200px; resize:vertical; | |
| background:transparent; color:var(--text); | |
| border:none; outline:none; padding:12px; | |
| } | |
| /* -------- Responsive -------- */ | |
| @media (max-width: 520px){ | |
| .search-bar select{display:none} | |
| .grid{grid-template-columns:1fr} | |
| } | |