new site
This commit is contained in:
1 parent
f533ff8e36
commit
585951c8ce
1380 files changed
+1540268
No files matched your search
@@ -0,0 +1,247 @@
|
||||
/* Card Layout Fixes v3 - CRITICAL FIX FOR DIRECTORY PAGES - Force Update 2025-08-08 */
|
||||
|
||||
/* CRITICAL: Force all article cards to display properly */
|
||||
body .articles-grid .article-card,
|
||||
body .articles-grid > .article-card,
|
||||
body .articles-grid a.article-card,
|
||||
.article-card {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
min-height: 420px !important;
|
||||
height: 100% !important;
|
||||
background: var(--light-bg) !important;
|
||||
border: 2px solid rgba(255,107,53,0.3) !important;
|
||||
border-radius: 12px !important;
|
||||
overflow: hidden !important;
|
||||
transition: all 0.3s ease !important;
|
||||
text-decoration: none !important;
|
||||
position: relative !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
/* CRITICAL: Force grid to display properly */
|
||||
body .articles-grid,
|
||||
body .container .articles-grid,
|
||||
main .articles-grid,
|
||||
.articles-grid {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
|
||||
gap: 2rem !important;
|
||||
padding: 3rem 0 !important;
|
||||
width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
/* Ensure cards stretch to fill grid cells */
|
||||
.articles-grid > .article-card {
|
||||
width: 100% !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* CRITICAL: Force image section to display */
|
||||
body .article-card .article-card-image,
|
||||
.article-card-image {
|
||||
width: 100% !important;
|
||||
height: 200px !important;
|
||||
min-height: 200px !important;
|
||||
max-height: 200px !important;
|
||||
background: linear-gradient(135deg, #FF6B35 0%, #FF8A50 100%) !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
/* CRITICAL: Force content wrapper to display */
|
||||
body .article-card .article-card-content,
|
||||
.article-card-content {
|
||||
padding: 1.8rem !important;
|
||||
flex: 1 !important;
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
/* Category section */
|
||||
.article-card-category {
|
||||
color: var(--primary-color) !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 600 !important;
|
||||
text-transform: uppercase !important;
|
||||
letter-spacing: 1px !important;
|
||||
margin-bottom: 0.75rem !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 0.5rem !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
/* Title - prevent overflow */
|
||||
.article-card h3 {
|
||||
color: var(--white) !important;
|
||||
font-size: 1.35rem !important;
|
||||
margin-bottom: 1rem !important;
|
||||
line-height: 1.4 !important;
|
||||
font-weight: 600 !important;
|
||||
flex-shrink: 0 !important;
|
||||
overflow: hidden !important;
|
||||
display: -webkit-box !important;
|
||||
-webkit-line-clamp: 2 !important;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
|
||||
/* Excerpt - flexible with line clamping */
|
||||
.article-card-excerpt {
|
||||
color: var(--text-color) !important;
|
||||
font-size: 0.95rem !important;
|
||||
line-height: 1.6 !important;
|
||||
margin-bottom: 1.5rem !important;
|
||||
flex: 1 !important;
|
||||
overflow: hidden !important;
|
||||
display: -webkit-box !important;
|
||||
-webkit-line-clamp: 3 !important;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
|
||||
/* Meta section - always at bottom */
|
||||
.article-card-meta {
|
||||
display: flex !important;
|
||||
justify-content: space-between !important;
|
||||
align-items: center !important;
|
||||
color: var(--text-color) !important;
|
||||
font-size: 0.875rem !important;
|
||||
border-top: 1px solid rgba(255,107,53,0.2) !important;
|
||||
padding-top: 1rem !important;
|
||||
margin-top: auto !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
/* Icon styling */
|
||||
.article-card-icon {
|
||||
font-size: 3.5rem !important;
|
||||
color: white !important;
|
||||
z-index: 1 !important;
|
||||
text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
|
||||
}
|
||||
|
||||
/* Hover effects */
|
||||
.article-card:hover {
|
||||
transform: translateY(-8px) !important;
|
||||
border-color: var(--primary-color) !important;
|
||||
box-shadow: 0 15px 40px rgba(255,107,53,0.4) !important;
|
||||
}
|
||||
|
||||
/* Read more arrow animation */
|
||||
.article-card-readmore {
|
||||
color: var(--primary-color) !important;
|
||||
font-weight: 600 !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 0.5rem !important;
|
||||
transition: all 0.3s ease !important;
|
||||
}
|
||||
|
||||
.article-card-readmore::after {
|
||||
content: '→' !important;
|
||||
transition: transform 0.3s ease !important;
|
||||
}
|
||||
|
||||
.article-card:hover .article-card-readmore::after {
|
||||
transform: translateX(5px) !important;
|
||||
}
|
||||
|
||||
/* Category badge styling */
|
||||
.category-badge {
|
||||
background: rgba(255,107,53,0.2) !important;
|
||||
padding: 0.25rem 0.75rem !important;
|
||||
border-radius: 15px !important;
|
||||
font-size: 0.75rem !important;
|
||||
border: 1px solid rgba(255,107,53,0.3) !important;
|
||||
}
|
||||
|
||||
/* Featured cards section */
|
||||
.featured-articles .articles-grid {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Category sections */
|
||||
.category-section {
|
||||
margin-bottom: 4rem !important;
|
||||
}
|
||||
|
||||
.category-section .articles-grid {
|
||||
padding-top: 2rem !important;
|
||||
}
|
||||
|
||||
/* Responsive adjustments */
|
||||
@media (max-width: 768px) {
|
||||
.articles-grid {
|
||||
grid-template-columns: 1fr !important;
|
||||
gap: 1.5rem !important;
|
||||
}
|
||||
|
||||
.article-card {
|
||||
min-height: 380px !important;
|
||||
}
|
||||
|
||||
.article-card h3 {
|
||||
font-size: 1.2rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Ensure all cards have consistent structure */
|
||||
.article-card > * {
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
/* Fix for cut-off content */
|
||||
.article-card p {
|
||||
margin: 0 0 1rem 0 !important;
|
||||
}
|
||||
|
||||
/* Ensure proper link behavior */
|
||||
a.article-card,
|
||||
a.article-card:visited,
|
||||
a.article-card:hover,
|
||||
a.article-card:active {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/* Animation for card entrance */
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.article-card {
|
||||
animation: fadeInUp 0.5s ease-out !important;
|
||||
animation-fill-mode: both !important;
|
||||
}
|
||||
|
||||
/* Stagger animation for cards */
|
||||
.article-card:nth-child(1) { animation-delay: 0.1s !important; }
|
||||
.article-card:nth-child(2) { animation-delay: 0.15s !important; }
|
||||
.article-card:nth-child(3) { animation-delay: 0.2s !important; }
|
||||
.article-card:nth-child(4) { animation-delay: 0.25s !important; }
|
||||
.article-card:nth-child(5) { animation-delay: 0.3s !important; }
|
||||
.article-card:nth-child(6) { animation-delay: 0.35s !important; }
|
||||
|
||||
/* Prevent layout shift during load */
|
||||
.articles-grid::before {
|
||||
content: '';
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Ensure smooth scrolling */
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
body .articles-grid .article-card,body .articles-grid > .article-card,body .articles-grid a.article-card,.article-card{display:flex !important;flex-direction:column !important;min-height:420px !important;height:100% !important;background:var(--light-bg) !important;border:2px solid rgba(255,107,53,0.3) !important;border-radius:12px !important;overflow:hidden !important;transition:all 0.3s ease !important;text-decoration:none !important;position:relative !important;box-sizing:border-box !important}body .articles-grid,body .container .articles-grid,main .articles-grid,.articles-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(350px,1fr)) !important;gap:2rem !important;padding:3rem 0 !important;width:100% !important;box-sizing:border-box !important}.articles-grid > .article-card{width:100% !important;margin:0 !important}body .article-card .article-card-image,.article-card-image{width:100% !important;height:200px !important;min-height:200px !important;max-height:200px !important;background:linear-gradient(135deg,#FF6B35 0%,#FF8A50 100%) !important;display:flex !important;align-items:center !important;justify-content:center !important;position:relative !important;overflow:hidden !important;flex-shrink:0 !important}body .article-card .article-card-content,.article-card-content{padding:1.8rem !important;flex:1 !important;display:flex !important;flex-direction:column !important;box-sizing:border-box !important}.article-card-category{color:var(--primary-color) !important;font-size:0.875rem !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:1px !important;margin-bottom:0.75rem !important;display:flex !important;align-items:center !important;gap:0.5rem !important;flex-shrink:0 !important}.article-card h3{color:var(--white) !important;font-size:1.35rem !important;margin-bottom:1rem !important;line-height:1.4 !important;font-weight:600 !important;flex-shrink:0 !important;overflow:hidden !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important}.article-card-excerpt{color:var(--text-color) !important;font-size:0.95rem !important;line-height:1.6 !important;margin-bottom:1.5rem !important;flex:1 !important;overflow:hidden !important;display:-webkit-box !important;-webkit-line-clamp:3 !important;-webkit-box-orient:vertical !important}.article-card-meta{display:flex !important;justify-content:space-between !important;align-items:center !important;color:var(--text-color) !important;font-size:0.875rem !important;border-top:1px solid rgba(255,107,53,0.2) !important;padding-top:1rem !important;margin-top:auto !important;flex-shrink:0 !important}.article-card-icon{font-size:3.5rem !important;color:white !important;z-index:1 !important;text-shadow:0 2px 10px rgba(0,0,0,0.3) !important}.article-card:hover{transform:translateY(-8px) !important;border-color:var(--primary-color) !important;box-shadow:0 15px 40px rgba(255,107,53,0.4) !important}.article-card-readmore{color:var(--primary-color) !important;font-weight:600 !important;display:flex !important;align-items:center !important;gap:0.5rem !important;transition:all 0.3s ease !important}.article-card-readmore::after{content:'→' !important;transition:transform 0.3s ease !important}.article-card:hover .article-card-readmore::after{transform:translateX(5px) !important}.category-badge{background:rgba(255,107,53,0.2) !important;padding:0.25rem 0.75rem !important;border-radius:15px !important;font-size:0.75rem !important;border:1px solid rgba(255,107,53,0.3) !important}.featured-articles .articles-grid{margin-bottom:0 !important}.category-section{margin-bottom:4rem !important}.category-section .articles-grid{padding-top:2rem !important}@media (max-width:768px){.articles-grid{grid-template-columns:1fr !important;gap:1.5rem !important}.article-card{min-height:380px !important}.article-card h3{font-size:1.2rem !important}}.article-card > *{box-sizing:border-box !important}.article-card p{margin:0 0 1rem 0 !important}a.article-card,a.article-card:visited,a.article-card:hover,a.article-card:active{color:inherit !important;text-decoration:none !important}@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.article-card{animation:fadeInUp 0.5s ease-out !important;animation-fill-mode:both !important}.article-card:nth-child(1){animation-delay:0.1s !important}.article-card:nth-child(2){animation-delay:0.15s !important}.article-card:nth-child(3){animation-delay:0.2s !important}.article-card:nth-child(4){animation-delay:0.25s !important}.article-card:nth-child(5){animation-delay:0.3s !important}.article-card:nth-child(6){animation-delay:0.35s !important}.articles-grid::before{content:'';display:none}html{scroll-behavior:smooth}
|
||||
@@ -0,0 +1,57 @@
|
||||
/* Directory Page Specific Styles */
|
||||
.articles-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
||||
gap: 2rem;
|
||||
padding: 3rem 0;
|
||||
}
|
||||
|
||||
/* Ensure article cards work properly in grid */
|
||||
.articles-grid > .article-card {
|
||||
width: 100% !important;
|
||||
margin: 0 !important;
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
}
|
||||
|
||||
/* Additional safety styles for article cards */
|
||||
.article-card * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Prevent any link style overrides */
|
||||
a.article-card {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
a.article-card:hover {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/* Ensure proper flex layout for all child elements */
|
||||
.article-card > .article-card-image {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.article-card > .article-card-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* For responsive design */
|
||||
@media (max-width: 768px) {
|
||||
.articles-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 769px) and (max-width: 1024px) {
|
||||
.articles-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
}
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
.articles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem;padding:3rem 0}.articles-grid > .article-card{width:100% !important;margin:0 !important;display:flex !important;flex-direction:column !important}.article-card *{box-sizing:border-box}a.article-card{color:inherit !important;text-decoration:none !important;display:flex !important}a.article-card:hover{color:inherit !important;text-decoration:none !important}.article-card > .article-card-image{flex-shrink:0}.article-card > .article-card-content{flex:1;display:flex;flex-direction:column}@media (max-width:768px){.articles-grid{grid-template-columns:1fr;gap:1.5rem}}@media (min-width:769px) and (max-width:1024px){.articles-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}
|
||||
Vendored
+1125
File diff suppressed because it is too large.
Load diff
+1184
File diff suppressed because it is too large.
Load diff
Vendored
+1
@@ -0,0 +1 @@
|
||||
:root{--primary-color:#FF6B35;--secondary-color:#FF8A50;--accent-color:#FFA726;--text-color:#E0E0E0;--bg-dark:#1a1a1a;--bg-darker:#0f0f0f;--light-bg:#2a2a2a;--white:#FFFFFF;--shadow:0 2px 10px rgba(255,107,53,0.2);--transition:all 0.3s ease}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.6;color:var(--text-color);background-color:var(--bg-dark)}.container{max-width:1200px;margin:0 auto;padding:0 20px}h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.2;margin-bottom:1rem;color:var(--white)}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.5rem}p{margin-bottom:1rem}a{color:var(--primary-color);text-decoration:none;transition:var(--transition)}a:hover{color:var(--secondary-color)}.article-content a{color:var(--primary-color);text-decoration:underline;text-decoration-color:rgba(255,107,53,0.4);text-underline-offset:2px;transition:var(--transition)}.article-content a:hover{color:#FFB74D;text-decoration-color:#FFB74D}.article-content a[target="_blank"]::after{content:" ↗";font-size:0.8em;vertical-align:super;color:var(--primary-color);transition:color 0.3s ease}.article-content a[target="_blank"]:hover::after{color:#FFB74D}.site-header{background-color:var(--bg-darker);box-shadow:var(--shadow);position:sticky;top:0;z-index:1000;border-bottom:2px solid var(--primary-color)}.navbar{padding:1rem 0}.navbar .container{display:flex;justify-content:space-between;align-items:center}.logo{font-size:1.8rem;font-weight:700;color:var(--primary-color)}.logo-text{background:linear-gradient(135deg,var(--primary-color) 0%,var(--secondary-color) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;filter:brightness(1.2)}.nav-toggle{display:none;flex-direction:column;background:none;border:none;cursor:pointer;padding:0.5rem}.nav-toggle span{width:25px;height:3px;background-color:var(--primary-color);margin:3px 0;transition:var(--transition)}.nav-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}.nav-toggle.active span:nth-child(2){opacity:0}.nav-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(7px,-6px)}.nav-list{display:flex;list-style:none;gap:2rem}.nav-list a{font-weight:500;padding:0.5rem 1rem;border-radius:5px;transition:var(--transition);color:var(--text-color)}.nav-list a:hover{background-color:var(--primary-color);color:var(--white)}.hero{background:linear-gradient(135deg,var(--bg-darker) 0%,var(--bg-dark) 50%,var(--light-bg) 100%);color:var(--white);padding:4rem 0;position:relative;overflow:hidden;border-bottom:3px solid var(--primary-color)}.hero-content{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;position:relative;z-index:2}.hero h1{font-size:3rem;margin-bottom:1.5rem}.hero p{font-size:1.2rem;margin-bottom:2rem;opacity:0.9}.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap;justify-content:flex-start}@media (max-width:768px){.hero-buttons{justify-content:center}}.hero-animation{height:400px;position:relative;overflow:hidden;contain:layout style paint}#d3-animation{width:100%;height:100%;overflow:hidden;position:relative}.btn{display:inline-block;padding:0.8rem 2rem;border-radius:5px;font-weight:600;transition:var(--transition);cursor:pointer;border:none;text-align:center}.btn-primary{background-color:var(--primary-color);color:var(--white)}.btn-primary:hover{background-color:var(--secondary-color);transform:translateY(-2px);box-shadow:0 5px 15px rgba(255,107,53,0.4)}.btn-secondary{background-color:transparent;color:var(--primary-color);border:2px solid var(--primary-color)}.btn-secondary:hover{background-color:var(--primary-color);color:var(--white)}.section{padding:4rem 0;background-color:var(--bg-dark)}.section-title{text-align:center;margin-bottom:3rem}.section-title h2{color:var(--primary-color);margin-bottom:1rem}.section-title p{font-size:1.1rem;color:var(--text-color);max-width:600px;margin:0 auto}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.card{background-color:var(--light-bg);border-radius:10px;box-shadow:var(--shadow);padding:2rem;transition:var(--transition);border:1px solid rgba(255,107,53,0.2)}.card:hover{transform:translateY(-5px);box-shadow:0 5px 20px rgba(255,107,53,0.3);border-color:var(--primary-color)}.article-card{background:var(--light-bg);border:2px solid rgba(255,107,53,0.3);border-radius:12px;overflow:hidden;transition:all 0.3s ease;text-decoration:none;display:flex !important;flex-direction:column !important;position:relative;color:var(--text-color) !important;min-height:420px;height:100%;box-sizing:border-box}.article-card:hover{transform:translateY(-8px);border-color:var(--primary-color);box-shadow:0 15px 40px rgba(255,107,53,0.4);color:inherit;text-decoration:none}.article-card:visited{color:inherit}.article-card-image{width:100%;height:200px;background:linear-gradient(135deg,#FF6B35 0%,#FF8ALine truncated
|
||||
Reference in new issue
Block a user