/* Flexbox utilities */ | |
.flex { | |
display: flex; | |
} | |
.flex-row { | |
flex-direction: row; | |
} | |
.flex-column { | |
flex-direction: column; | |
} | |
.justify-center { | |
justify-content: center; | |
} | |
.align-center { | |
align-items: center; | |
} | |
/* Grid utilities */ | |
.grid { | |
display: grid; | |
} | |
.grid-cols { | |
grid-template-columns: repeat(1, minmax(0, 1fr)); | |
} | |
@media (min-width: 640px) { | |
.grid-cols { | |
grid-template-columns: repeat(2, minmax(0, 1fr)); | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-cols { | |
grid-template-columns: repeat(3, minmax(0, 1fr)); | |
} | |
} | |
.grid-cols-1 { | |
grid-template-columns: repeat(1, minmax(0, 1fr)); | |
} | |
.grid-cols-2 { | |
grid-template-columns: repeat(2, minmax(0, 1fr)); | |
} | |
.grid-cols-3 { | |
grid-template-columns: repeat(3, minmax(0, 1fr)); | |
} | |
.grid-cols-4 { | |
grid-template-columns: repeat(4, minmax(0, 1fr)); | |
} | |
/* Gap utilities */ | |
.gap-0 { | |
gap: 0; | |
} | |
.gap-1 { | |
gap: 0.25rem; | |
} | |
.gap-2 { | |
gap: 0.5rem; | |
} | |
.gap-3 { | |
gap: 0.75rem; | |
} | |
.gap-4 { | |
gap: 1rem; | |
} | |
/* Responsive container class */ | |
.container { | |
width: 100%; | |
max-width: 1280px; | |
margin: 0 auto; | |
padding: 2rem; | |
} | |
.btn-error { | |
background-color: #c10c0c; | |
border-color: #c10c0c; | |
} | |
.btn-error:hover { | |
background-color: #a80c0c; | |
border-color: #a80c0c; | |
} | |
.btn-warning { | |
background-color: #c1a10c; | |
border-color: #c1a10c; | |
} | |
.btn-warning:hover { | |
background-color: #a88c0c; | |
border-color: #a88c0c; | |
} | |
.btn-success { | |
background-color: #0cc14e; | |
border-color: #0cc14e; | |
} | |
.btn-success:hover { | |
background-color: #0ca83d; | |
border-color: #0ca83d; | |
} | |
#user-prompt { | |
width: 100%; | |
height: 100px; | |
} | |