ഫലകം:AuthorProfile/styles.css
അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
.author-profile-main {
display: flex;
gap: 20px;
align-items: flex-start;
max-width: 700px;
margin: 0 auto 20px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
background: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,.08);
}
.author-profile-photo {
flex: 0 0 200px;
}
.author-profile-photo img {
max-width: 200px;
height: auto;
border-radius: 6px;
}
/* ==========================================================================
AUTHOR PROFILE SOCIAL MEDIA SHARING — VERSION 1.1
========================================================================== */
.author-share-section {
max-width: 700px;
margin: 24px auto 30px;
padding: 16px 20px;
border-top: 1px solid #e2e8f0;
border-bottom: 1px solid #e2e8f0;
}
.author-share-heading {
margin-bottom: 14px;
font-size: 1.05rem;
font-weight: 600;
color: #2d3748;
}
.author-share-buttons {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}
.author-share-buttons .article-share-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 9px 12px;
border: 1px solid #d8dee8;
border-radius: 9px;
background: #ffffff;
color: #2d3748;
font-size: 0.9rem;
line-height: 1.4;
cursor: pointer;
transition: background-color 0.2s ease, border-color 0.2s ease;
}
.author-share-buttons .article-share-button:hover {
background: #f7f9fc;
border-color: #aeb9c8;
}
.author-share-buttons .article-share-button:focus {
outline: 2px solid #3182ce;
outline-offset: 2px;
}
.author-share-buttons .share-icon {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.author-share-buttons .share-icon img {
width: 19px;
height: 19px;
object-fit: contain;
}
/* X remains hidden pending rich-preview verification */
.author-share-buttons .share-x {
display: none !important;
}
/* Mobile layout */
@media (max-width: 768px) {
.author-share-section {
margin: 20px auto 24px;
padding: 14px 12px;
}
.author-share-buttons {
gap: 13px;
}
.author-share-buttons .article-share-button {
padding: 10px 12px;
}
}
.author-profile-bio {
flex: 1;
line-height: 1.7;
}
.author-profile-link {
margin-top: 15px;
font-weight: 600;
}
.author-profile-clear {
clear: both;
}
@media (max-width: 768px) {
.author-profile-main {
flex-direction: column;
}
.author-profile-photo {
text-align: center;
}
.author-profile-photo img {
max-width: 180px;
}
}
.author-articles-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin-top: 20px;
}