"ഫലകം:Listofdistricts2/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
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: | 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. | 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 */ | /* Smaller text for sub-labels */ | ||