teleop / style.css
ebubar's picture
Update style.css
738ecf0 verified
Raw History Blame Contribute Delete
2.49 kB
:root {
--bg: #0f0f12;
--card-bg: #1a1a1f;
--primary: #4f46e5;
--accent: #00d4ff;
--text: #ffffff;
--text-muted: #a1a1aa;
--border: #27272a;
}
body {
background-color: var(--bg);
color: var(--text);
font-family: 'Segoe UI', Roboto, sans-serif;
margin: 0;
line-height: 1.6;
padding-bottom: 50px;
}
.container { max-width: 800px; margin: 0 auto; padding: 20px; }
/* TYPOGRAPHY */
h1 { font-size: 2.5rem; margin-bottom: 10px; background: linear-gradient(to right, #fff, #a5b4fc); -webkit-background-clip: text; color: transparent; text-align: center; }
.subtitle { font-size: 1.2rem; color: var(--text-muted); text-align: center; margin-bottom: 40px; }
h2 { border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-top: 40px; color: var(--accent); }
strong { color: white; }
/* FEATURES GRID */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card-bg); padding: 20px; border-radius: 12px; border: 1px solid var(--border); transition: transform 0.2s; }
.card:hover { transform: translateY(-3px); border-color: var(--primary); }
.icon { font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; }
.card h3 { margin: 0 0 10px 0; font-size: 1.1rem; }
.card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
/* TABLE */
.table-container { overflow-x: auto; background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; }
tr:last-child td { border-bottom: none; }
.key-badge { background: #333; padding: 4px 8px; border-radius: 6px; font-family: monospace; font-weight: bold; border: 1px solid #555; box-shadow: 0 2px 0 #222; font-size: 0.9rem; white-space: nowrap; }
/* CODE BLOCK */
.code-block { position: relative; background: #000; padding: 20px; border-radius: 8px; border: 1px solid #333; margin-top: 15px; }
pre { margin: 0; overflow-x: auto; }
code { font-family: 'Consolas', monospace; color: #a5b4fc; }
.copy-btn { position: absolute; top: 10px; right: 10px; background: #333; border: none; color: white; padding: 5px 12px; border-radius: 4px; cursor: pointer; font-size: 0.8rem; }
.copy-btn:hover { background: var(--primary); }