"ഫലകം:Listofdistricts2/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
ദൃശ്യരൂപം
create css |
No edit summary റ്റാഗുകൾ: മൊബൈൽ സൈറ്റ് മൊബൈൽ വെബിലെ തിരുത്ത് വിപുലീകൃത മൊബൈൽ തിരുത്ത് |
||
| വരി 6: | വരി 6: | ||
background: linear-gradient(135deg, #f0f9ff, #ffffff); | background: linear-gradient(135deg, #f0f9ff, #ffffff); | ||
border-radius: 10px; | border-radius: 10px; | ||
box-shadow: | box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); | ||
border: 3px solid #7BBCE5; | |||
text-align: center; | text-align: center; | ||
} | } | ||
16:58, 29 സെപ്റ്റംബർ 2025-നു നിലവിലുണ്ടായിരുന്ന രൂപം
/* Container */
.district-list {
width: 95%;
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: transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}
/* Hover effect */
.district-list .district-item:hover {
transform: translateY(-2px);
box-shadow: 3px 3px 10px rgba(0,0,0,0.12);
background: #f7fbff;
}
/* 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;
}
}