"ഫലകം:പ്രധാനതാൾ-ലേഖനപെട്ടികൾ/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Schoolwiki സംരംഭത്തിൽ നിന്ന്
('.icon-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 1rem 0; } .icon-box { flex: 1 1 200px; →‎responsive: minimum 200px, expand if space: max-width: 240px; text-align: center; background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 1rem; box-shadow: 0 3px 6px rgba(0,0,0,0.1); transition: all 0.3s ease; } .icon-box:hover { background:...' താൾ സൃഷ്ടിച്ചിരിക്കുന്നു)
 
No edit summary
 
വരി 8: വരി 8:


.icon-box {
.icon-box {
   flex: 1 1 200px; /* responsive: minimum 200px, expand if space */
   flex: 1 1 240px; /* responsive: minimum 240px, expand if space */
   max-width: 240px;
   max-width: 300px;
   text-align: center;
   text-align: center;
   background: #fff;
   background: #fff;

00:08, 30 സെപ്റ്റംബർ 2025-നു നിലവിലുള്ള രൂപം

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.icon-box {
  flex: 1 1 240px; /* responsive: minimum 240px, expand if space */
  max-width: 300px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.icon-box:hover {
  background: #004ec3;
  color: #fff;
  border-color: #004ec3;
  transform: translateY(-4px);
}

.icon-box img {
  max-width: 90px;
  margin-bottom: 0.5rem;
}

.icon-text {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 0.5rem;
}

.icon-box a {
  text-decoration: none;
  color: inherit; /* ensures text inherits hover color */
}