"ഫലകം:FirstBoxes/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
('→Container for all first boxes: .firstboxes-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; padding: 15px; background: linear-gradient(135deg, #fefefe, #e6f0ff); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); margin: 10px auto; max-width: 1200px; text-align: center; } →Each box: .firstbox-item { display: flex; flex-direction: column; al...' താൾ സൃഷ്ടിച്ചിരിക്കുന്നു) |
No edit summary |
||
| വരി 1: | വരി 1: | ||
.firstboxes-container { | .firstboxes-container { | ||
display: flex; | display: flex; | ||
| വരി 14: | വരി 13: | ||
} | } | ||
.firstbox-item { | .firstbox-item { | ||
display: flex; | display: flex; | ||
| വരി 33: | വരി 31: | ||
} | } | ||
.firstbox-item:hover { | .firstbox-item:hover { | ||
background-color: #0073e6; | background-color: #0073e6; | ||
| വരി 46: | വരി 43: | ||
} | } | ||
.firstbox-item img { | .firstbox-item img { | ||
display: block; | display: block; | ||
| വരി 54: | വരി 50: | ||
} | } | ||
.firstbox-item small { | |||
.firstbox-item { | display: block; | ||
font-size: 0. | font-size: 0.85rem; | ||
margin-top: 4px; | |||
color: #555; | |||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.firstbox-item { | .firstbox-item { | ||
23:21, 29 സെപ്റ്റംബർ 2025-നു നിലവിലുണ്ടായിരുന്ന രൂപം
.firstboxes-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
padding: 15px;
background: linear-gradient(135deg, #fefefe, #e6f0ff);
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
margin: 10px auto;
max-width: 1200px;
text-align: center;
}
.firstbox-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-width: 100px;
max-width: 120px;
background-color: #ffffff;
border: 2px solid #0073e6;
border-radius: 10px;
padding: 10px;
color: #004EC3;
font-weight: bold;
text-decoration: none;
box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
transition: all 0.25s ease;
}
.firstbox-item:hover {
background-color: #0073e6;
color: #ffffff;
transform: translateY(-3px);
box-shadow: 3px 3px 12px rgba(0,0,0,0.15);
border-color: #004EC3;
}
.firstbox-item:hover img {
filter: brightness(0) invert(1);
}
.firstbox-item img {
display: block;
margin: 0 auto 5px auto;
max-width: 61px;
height: auto;
}
.firstbox-item small {
display: block;
font-size: 0.85rem;
margin-top: 4px;
color: #555;
}
@media (max-width: 768px) {
.firstbox-item {
min-width: 90px;
max-width: 100px;
font-size: 0.85rem;
}
}
@media (max-width: 480px) {
.firstbox-item {
min-width: 80px;
max-width: 90px;
font-size: 0.8rem;
}
}