Prototype / style.css
JaveriaZia's picture
Update style.css
5026994 verified
Raw History Blame Contribute Delete
2.15 kB
:root {
--primary: #3157a4;
--dark: #17233d;
--light: #f4f7fc;
}
body {
margin: 0;
background: var(--light);
color: #253047;
font-family: Arial, sans-serif;
}
.navbar {
background: var(--dark);
}
.hero {
padding: 55px 15px;
color: white;
background: linear-gradient(135deg, #263f78, #5479bd);
}
.hero h1 {
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 700;
}
.hero p {
max-width: 700px;
margin: 15px auto;
font-size: 1.05rem;
}
.prototype-label {
display: inline-block;
padding: 7px 14px;
border: 1px solid rgba(255,255,255,.6);
border-radius: 20px;
font-size: .85rem;
}
.panel {
padding: 25px;
background: white;
border-radius: 14px;
box-shadow: 0 4px 18px rgba(30, 50, 90, .07);
}
.panel h2 {
font-size: 1.35rem;
font-weight: 700;
margin-bottom: 12px;
}
.panel h3 {
font-size: 1.05rem;
font-weight: 700;
}
.muted {
color: #6b7485;
}
.camera-area {
position: relative;
min-height: 260px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: 10px;
background: #111827;
color: white;
}
#camera {
width: 100%;
max-height: 360px;
object-fit: cover;
display: none;
}
#cameraMessage {
padding: 20px;
text-align: center;
}
.prediction-box {
min-height: 75px;
padding: 15px;
border: 1px solid #dce4f1;
border-radius: 10px;
background: #f7f9fd;
}
.message-area {
min-height: 145px;
resize: vertical;
}
.class-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
gap: 10px;
}
.class-item {
padding: 13px 8px;
border-radius: 9px;
background: #edf2fc;
color: #29477f;
text-align: center;
font-weight: 600;
}
.workflow-step {
height: 100%;
padding: 20px 10px;
border-radius: 10px;
background: #edf2fc;
color: var(--primary);
font-size: 1.1rem;
}
.workflow-step strong {
display: inline-block;
margin-top: 8px;
color: #26334d;
font-size: .95rem;
}
footer {
color: #657087;
}
@media (max-width: 576px) {
.panel {
padding: 18px;
}
.hero {
padding: 40px 15px;
}
.navbar-text {
font-size: .8rem;
}
}