/* 1. 整体容器 */ .sostron-author-box { display: flex; align-items: flex-start; background: #fdfdfd; border: 1px solid #eee; border-left: 5px solid #0056b3; padding: 20px; margin: 30px 0; border-radius: 8px; clear: both; } /* 2. 圆形头像修正 */ .author-avatar img { width: 100px !important; height: 100px !important; min-width: 100px !important; border-radius: 50% !important; object-fit: cover !important; margin-right: 20px !important; border: 2px solid #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; display: block !important; } /* 3. 文字区域 */ .author-info { flex: 1; } .author-name { margin: 0 0 5px 0 !important; font-size: 19px !important; color: #222 !important; } .author-title { font-size: 13px !important; color: #0056b3 !important; text-transform: uppercase !important; font-weight: bold !important; margin-bottom: 8px !important; } .author-description { font-size: 14px !important; line-height: 1.5 !important; color: #444 !important; margin-bottom: 12px !important; } /* 4. 领英图标专项修正 - 解决变大的核心 */ .author-links a { display: inline-flex !important; align-items: center !important; text-decoration: none !important; color: #0077b5 !important; font-weight: 600 !important; font-size: 14px !important; } /* 强制限制领英图片大小 */ .author-links img { width: 18px !important; /* 强制宽度 */ height: 18px !important; /* 强制高度 */ max-width: 18px !important; /* 强制最大宽度 */ margin-right: 6px !important; display: inline-block !important; padding: 0 !important; border: none !important; box-shadow: none !important; vertical-align: middle !important; } /* 移动端适配 */ @media (max-width: 600px) { .sostron-author-box { flex-direction: column; align-items: center; text-align: center; } .author-avatar img { margin-right: 0 !important; margin-bottom: 15px !important; } }
Skip to content