"ഫലകം:AuthorCard/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
(ചെ.)No edit summary |
(ചെ.)No edit summary |
||
| വരി 1: | വരി 1: | ||
.author-card { | .author-card { | ||
display: flex; | |||
flex-direction: column; | |||
height: 100%; | |||
padding: 15px; | padding: 15px; | ||
| വരി 15: | വരി 15: | ||
overflow: hidden; | overflow: hidden; | ||
transition: box-shadow .2s ease; | |||
} | } | ||
| വരി 33: | വരി 35: | ||
line-height: 1.3; | line-height: 1.3; | ||
} | } | ||
.author-articles-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | |||
gap: 20px; | |||
margin-top: 20px; | |||
} | |||
.author-card-bio { | .author-card-bio { | ||
17:15, 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-articles-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);
}