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

210 ബൈറ്റുകൾ കൂട്ടിച്ചേർത്തിരിക്കുന്നു ,  10 ഒക്ടോബർ
തിരുത്തലിനു സംഗ്രഹമില്ല
No edit summary
No edit summary
 
(മറ്റൊരു ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 9 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 9: വരി 9:
   box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   margin: 10px auto;
   margin: 10px auto;
   width:98%;
   width: 96%;
   text-align: center;
   text-align: center;
}
}
വരി 17: വരി 17:
   flex-direction: column;
   flex-direction: column;
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: space-between;
   min-width: 100px;
   flex: 1 1 160px; /* minimum width 160px */
   width: 160px;
   max-width: 220px;
   background-color: #ffffff;
   background-color: #ffffff;
   border: 2px solid #0073e6;
   border: 2px solid #ccc;
   border-radius: 10px;
   border-radius: 10px;
   padding: 10px;
   padding: 10px;
വരി 29: വരി 29:
   box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
   box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
   transition: all 0.25s ease;
   transition: all 0.25s ease;
  font-size: 1em;
}
}


വരി 39: വരി 40:
}
}


.firstbox-item:hover img {
 
   filter: brightness(0) invert(1);
.firstbox-item:hover a {
   color: #fff;
}
}


വരി 48: വരി 50:
   max-width: 61px;
   max-width: 61px;
   height: auto;
   height: auto;
}
.firstbox-item a:hover {
  color: #fff;
  font-weight: bold;
}
}


വരി 57: വരി 64:
}
}


/* Mobile layout: 2 items per row with min-width 160px */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .firstbox-item {
   .firstbox-item {
     min-width: 90px;
     flex: 1 1 45%; /* roughly 2 items per row */
     max-width: 100px;
     min-width: 160px;
     font-size: 0.85rem;
     font-size: 0.95rem;
   }
   }
}
}
വരി 67: വരി 75:
@media (max-width: 480px) {
@media (max-width: 480px) {
   .firstbox-item {
   .firstbox-item {
     min-width: 80px;
     flex: 1 1 45%; /* still 2 items per row */
     max-width: 90px;
     min-width: 160px;
     font-size: 0.8rem;
     font-size: 0.85rem;
   }
   }
}
}
298

തിരുത്തലുകൾ

"https://schoolwiki.in/പ്രത്യേകം:മൊബൈൽവ്യത്യാസം/2865782...2878008" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്