mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
64 lines
1.1 KiB
CSS
64 lines
1.1 KiB
CSS
.grid-container {
|
|
justify-self: center;
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 2fr);
|
|
gap: 10px;
|
|
max-width: 95%;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
|
|
.card-comanda {
|
|
width:200px;
|
|
max-width: 200px;
|
|
gap: 3px;
|
|
background: var(--main-gradient);
|
|
border-radius: 5px;
|
|
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
|
|
text-align: center;
|
|
line-height: 20px;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
transition: transform 0.2s ease-in ;
|
|
}
|
|
|
|
p {
|
|
color: rgb(194, 201, 207);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.card-comanda:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
.grid-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.card-comanda {
|
|
width: 31%;
|
|
gap: 3px;
|
|
flex-wrap: wrap;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.card-comanda:hover {
|
|
transform: scale(1);
|
|
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
}
|
|
|
|
|