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

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

Schoolwiki സംരംഭത്തിൽ നിന്ന്
No edit summary
No edit summary
 
(ഒരേ ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 13 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* Container */
.district-container {
.district-container {
  width: 94%;
   background: linear-gradient(135deg, #f0f7ff, #ffffff);
  margin: 15px auto;
  border: 3px solid #ccc;        /* blue border */
  padding: 20px;
   border-radius: 12px;               /* rounded corners */
   background: linear-gradient(135deg, #f0f7ff, #e6ecff);
   box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* subtle shadow */
   border-radius: 12px;
   padding: 20px;                    /* spacing inside */
   box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  background-color: #ffffff;        /* white background */
   border: 3px solid #ccc;
  margin: 10px auto;                 /* center horizontally */
   text-align: center;
   max-width: 1200px;
  width: 96%;
}
}


/* Section title (full width) */
.district-title {
.district-title {
   font-size: 1.4rem;
  text-align: center;
  color: #004EC3;
   font-size: 1.5rem;
   font-weight: bold;
   font-weight: bold;
  color: #004EC3;
   margin: 20px 0 15px 0;
   margin: 20px 0 10px 0;
   border-bottom: 2px solid #81bffc; /* subtle underline */
   width: 100%;
   padding-bottom: 5px;
   text-align: center;
}
}


/* Flex container for items */
.district-items p {
.district-items {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   justify-content: center;
   gap: 12px;
   gap: 12px; /* handles spacing, no need for margins */
   margin: 0; /* remove default paragraph spacing */
  margin-bottom: 20px;
}
}


/* Each item as clickable card */
.district-items p a {
.district-items a {
   flex: 1 1 calc(12% - 10px); /* 4 per row */
   flex: 1 1 auto;
   box-sizing: border-box;
   min-width: 140px;
  max-width: 220px;
   background: #ffffff;
   background: #ffffff;
   border: 2px solid #0073e6;
   border: 2px solid #0073e6;
   border-radius: 8px;
   border-radius: 8px;
   padding: 10px;
   padding: 5px 8px;
  color: #004EC3;
  font-size: 1rem;
   text-align: center;
   text-align: center;
   text-decoration: none;
   text-decoration: none;
   box-shadow: 2px 2px 6px rgba(0,0,0,0.08);
   color: #004EC3;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
   transition: all 0.25s ease;
   transition: all 0.25s ease;
}
}


/* Hover effect – invert colors */
.district-items p a:hover {
.district-items a:hover {
   background: #81bffc;
   background: #81bffc;
   color: #ffffff;
   color: #ffffff;
   transform: translateY(-2px);
   transform: translateY(-2px);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
   border-color: #004ec3;
   border-color: #004ec3;
   font-weight: bold;
   font-weight: bold;
}
/* Small subtext inside cards */
.district-items a small {
  display: block;
  font-size: 0.85rem;
  margin-top: 4px;
  color: #555;
}
}


/* Responsive */
/* Responsive */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .district-items a {
   .district-items p a {
     min-width: 45%;
     flex: 1 1 calc(45% - 12px);
    font-size: 0.95rem;
   }
   }
}
}


@media (max-width: 480px) {
@media (max-width: 480px) {
   .district-items a {
   .district-items p a {
     min-width: 100%;
     flex: 1 1 100%;
    font-size: 0.9rem;
   }
   }
}
}

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

.district-container {
  background: linear-gradient(135deg, #f0f7ff, #ffffff);
  border: 3px solid #ccc;        /* blue border */
  border-radius: 12px;               /* rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* subtle shadow */
  padding: 20px;                     /* spacing inside */
  background-color: #ffffff;         /* white background */
  margin: 10px auto;                 /* center horizontally */
  max-width: 1200px;
  width: 96%;
}

.district-title {
  text-align: center;
  color: #004EC3;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 20px 0 15px 0;
  border-bottom: 2px solid #81bffc; /* subtle underline */
  padding-bottom: 5px;
}

.district-items p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0; /* remove default paragraph spacing */
}

.district-items p a {
  flex: 1 1 calc(12% - 10px); /* 4 per row */
  box-sizing: border-box;
  background: #ffffff;
  border: 2px solid #0073e6;
  border-radius: 8px;
  padding: 5px 8px;
  text-align: center;
  text-decoration: none;
  color: #004EC3;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease;
}

.district-items p a:hover {
  background: #81bffc;
  color: #ffffff;
  transform: translateY(-2px);
  border-color: #004ec3;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .district-items p a {
    flex: 1 1 calc(45% - 12px);
  }
}

@media (max-width: 480px) {
  .district-items p a {
    flex: 1 1 100%;
  }
}
"https://schoolwiki.in/index.php?title=ഫലകം:Listofdistricts2/styles.css&oldid=2866172" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്