reachy-mini-basic / styles.css
haixuantao's picture
Deploy basic example from GitHub Action fb36bd8bbf0beec3970b23c9e70c4e42d89de031
5ed471e verified
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
padding: 40px 20px;
max-width: 600px;
margin: 0 auto;
background: #f5f5f5;
}
h1 {
font-size: 24px;
margin-bottom: 8px;
color: #333;
}
.subtitle {
color: #666;
margin-bottom: 32px;
font-size: 14px;
}
.card {
background: white;
border-radius: 12px;
padding: 24px;
margin-bottom: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card h2 {
font-size: 16px;
margin-bottom: 16px;
color: #333;
}
button {
width: 100%;
padding: 12px 20px;
font-size: 14px;
font-weight: 500;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s;
margin-bottom: 8px;
font-family: inherit;
}
.btn-primary {
background: #2563eb;
color: white;
}
.btn-primary:hover { background: #1d4ed8; }
.btn-primary:disabled { background: #93c5fd; cursor: not-allowed; }
.btn-success {
background: #16a34a;
color: white;
}
.btn-success:hover { background: #15803d; }
.btn-success:disabled { background: #86efac; cursor: not-allowed; }
.btn-danger {
background: #dc2626;
color: white;
}
.btn-danger:hover { background: #b91c1c; }
.btn-secondary {
background: #f3f4f6;
color: #374151;
border: 1px solid #e5e7eb;
}
.btn-secondary:hover { background: #e5e7eb; }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }
.status {
display: inline-block;
padding: 4px 12px;
border-radius: 12px;
font-size: 12px;
font-weight: 500;
margin-bottom: 16px;
}
.status-disconnected {
background: #fee2e2;
color: #dc2626;
}
.status-connected {
background: #dcfce7;
color: #16a34a;
}
#output {
background: #f9fafb;
padding: 16px;
border-radius: 8px;
font-family: 'Monaco', 'Menlo', monospace;
font-size: 12px;
line-height: 1.6;
color: #374151;
max-height: 300px;
overflow-y: auto;
margin-top: 16px;
}
.output-line {
margin-bottom: 4px;
}
.note {
background: #fef3c7;
border: 1px solid #fde047;
padding: 12px;
border-radius: 8px;
font-size: 13px;
color: #854d0e;
margin-bottom: 16px;
}