"ഫലകം:AuthorCard/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
(ചെ.)No edit summary |
(ചെ.)No edit summary |
||
| വരി 35: | വരി 35: | ||
line-height: 1.3; | line-height: 1.3; | ||
} | } | ||
.author | .author-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | ||
17:34, 9 ജൂലൈ 2026-നു നിലവിലുണ്ടായിരുന്ന രൂപം
.author-card {
display: flex;
flex-direction: column;
height: 100%;
padding: 15px;
text-align: center;
border: 1px solid #ddd;
border-radius: 8px;
background: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,.08);
overflow: hidden;
transition: box-shadow .2s ease;
}
.author-card-photo {
margin-bottom: 10px;
}
.author-card-photo img {
max-width: 100%;
height: auto;
border: 1px solid #ddd;
}
.author-card-name {
margin: 5px 0 10px;
font-size: 1.3rem;
line-height: 1.3;
}
.author-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin-top: 20px;
}
.author-card-bio {
font-size: 0.9rem;
color: #666;
line-height: 1.5;
height: 6em;
margin-bottom: 12px;
overflow: hidden;
}
.author-card-profile {
margin-top: 10px;
font-size: 0.9rem;
}
.author-card-profile a {
font-weight: 600;
}
.author-card {
transition: box-shadow .2s ease;
}
.author-card:hover {
box-shadow: 0 4px 12px rgba(0,0,0,.12);
}