Fix formatting issues in web scraping compliance article

- Fixed Related Articles section styling by adding related-articles-fix.css
- Fixed button text visibility by including critical-button-fix.css
- Improved article-author section layout with proper flexbox styling
- Added responsive design for mobile devices
- Enhanced visual hierarchy with card-style author section
- Included current database backup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-06-08 10:35:46 +00:00
parent f1c0e813e8
commit c50850fcca
2 changed files with 72 additions and 1 deletions

View File

@@ -72,9 +72,80 @@ $read_time = 12;
<!-- Styles -->
<link rel="stylesheet" href="../../assets/css/main.css">
<link rel="stylesheet" href="../../related-articles-fix.css">
<link rel="stylesheet" href="../../critical-button-fix.css">
<!-- Critical Button and Spacing Fix -->
<style>
/* Article Author Section Fix */
.article-author {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 2rem;
margin: 2rem 0;
padding: 1.5rem;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #179e83;
}
.author-info {
flex: 1;
}
.author-info strong {
display: block;
font-size: 1.1rem;
color: #1f2937;
margin-bottom: 0.5rem;
}
.author-info p {
color: #6b7280;
font-size: 0.9rem;
margin: 0;
line-height: 1.4;
}
.article-share {
display: flex;
align-items: center;
gap: 0.75rem;
flex-shrink: 0;
}
.article-share a,
.article-share button {
padding: 0.5rem 1rem;
border-radius: 6px;
text-decoration: none;
font-size: 0.875rem;
transition: all 0.3s ease;
border: 1px solid #e5e7eb;
background: white;
color: #374151;
cursor: pointer;
}
.article-share a:hover,
.article-share button:hover {
background: #179e83;
color: white;
border-color: #179e83;
}
@media (max-width: 768px) {
.article-author {
flex-direction: column;
gap: 1rem;
}
.article-share {
justify-content: flex-start;
}
}
/* Force button text visibility and proper spacing */
.expert-consultation-cta {
margin-bottom: 150px !important;
@@ -443,7 +514,7 @@ $read_time = 12;
</section>
<!-- Related Articles -->
<div class="article-footer">
<div class="related-articles-section">
<h2>Related Articles</h2>
<div class="articles-grid">
<article class="article-card">

View File