ഉള്ളടക്കത്തിലേക്ക് പോവുക

"ഫലകം:Listofdistricts2/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Schoolwiki സംരംഭത്തിൽ നിന്ന്
No edit summary
No edit summary
വരി 41: വരി 41:
   text-align: center;
   text-align: center;
   box-shadow: 2px 2px 6px rgba(0,0,0,0.08);
   box-shadow: 2px 2px 6px rgba(0,0,0,0.08);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   transition: all 0.25s ease;
   cursor: pointer;
   cursor: pointer;
}
}


/* Hover effect */
/* Hover effect – invert colors */
.district-list .district-item:hover {
.district-list .district-item:hover {
  background: #0073e6;
  color: #ffffff;
   transform: translateY(-2px);
   transform: translateY(-2px);
   box-shadow: 3px 3px 10px rgba(0,0,0,0.12);
   box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
   background: #f7fbff;
   border-color: #004ec3;
}
}
/* Keep small text visible in inverted mode */
.district-list .district-item:hover small {
  color: #e6f0ff;
}


/* Smaller text for sub-labels */
/* Smaller text for sub-labels */

17:01, 29 സെപ്റ്റംബർ 2025-നു നിലവിലുണ്ടായിരുന്ന രൂപം

/* Container */
.district-list {
  width: 100%;
  margin: 10px auto;
  padding: 15px;
  background: linear-gradient(135deg, #f0f9ff, #ffffff);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  border: 3px solid #7BBCE5; 
  text-align: center;
}

/* Section title */
.district-list .district-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #004ec3;
  margin: 15px 0 10px 0;
}

/* Items container */
.district-list .district-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px 0;
}

/* Each item */
.district-list .district-item {
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 220px;
  background: #ffffff;
  border: 2px solid #0073e6;
  border-radius: 8px;
  padding: 10px;
  color: #004ec3;
  font-size: 1rem;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  cursor: pointer;
}

/* Hover effect – invert colors */
.district-list .district-item:hover {
  background: #0073e6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
  border-color: #004ec3;
}

/* Keep small text visible in inverted mode */
.district-list .district-item:hover small {
  color: #e6f0ff;
}


/* Smaller text for sub-labels */
.district-list .district-item small {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .district-list .district-item {
    min-width: 45%;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .district-list .district-item {
    min-width: 100%;
    font-size: 0.9rem;
  }
}
"https://schoolwiki.in/index.php?title=ഫലകം:Listofdistricts2/styles.css&oldid=2865450" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്