"ഫലകം:Wikibox/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
ദൃശ്യരൂപം
No edit summary |
No edit summary |
||
| വരി 16: | വരി 16: | ||
align-items: center; | align-items: center; | ||
height: 3.5em; | height: 3.5em; | ||
background:#fff; | |||
} | } | ||
16:02, 29 സെപ്റ്റംബർ 2025-നു നിലവിലുള്ള രൂപം
.wikibox {
flex: 1 1 calc(25% - 20px); /* 4 per row on desktop */
display: flex;
align-items: center;
padding: 10px;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
background: #fff;
min-width: 220px;
box-sizing: border-box;
}
.wikibox-icon {
margin-right: 10px;
display: flex;
align-items: center;
height: 3.5em;
background:#fff;
}
.wikibox-text {
font-size: 1.1em;
}
/* Tablet */
@media (max-width: 900px) {
.wikibox {
flex: 1 1 calc(50% - 20px);
}
}
/* Mobile */
@media (max-width: 600px) {
.wikibox {
flex: 1 1 100%;
}
}