Aesthetic adjustments throughout

This commit is contained in:
Nathan Schneider
2025-07-20 00:06:09 -06:00
parent 57cd3fe19b
commit 0bf0e02f40
8 changed files with 237 additions and 156 deletions

View File

@@ -23,6 +23,7 @@ body {
color: var(--text-primary);
background: var(--background);
font-weight: 400;
font-size: 20px;
}
.container {
@@ -397,6 +398,7 @@ a:hover {
.intro-section {
margin: 3rem 0;
text-align: center;
font-size: 1.2rem;
}
.intro-section h2 {
@@ -423,20 +425,14 @@ a:hover {
}
.intro-section ul li {
background: var(--e2c-yellow);
color: var(--text-primary);
padding: 16px 20px;
border-radius: 12px;
font-weight: 500;
background: var(--text-primary);
color: white;
padding: 24px 28px;
border-radius: 4px;
font-weight: 600;
text-align: center;
line-height: 1.4;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
}
.intro-section ul li:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
font-size: 1.1rem;
}
.cards-grid {
@@ -603,9 +599,10 @@ a:hover {
object-fit: contain;
border-radius: 8px;
margin-bottom: 16px;
background: rgba(255, 255, 255, 0.9);
background: white;
padding: 8px;
border: 1px solid var(--border);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
/* Case study detail page logo */
@@ -615,10 +612,153 @@ a:hover {
object-fit: contain;
border-radius: 16px;
margin-bottom: 24px;
background: rgba(255, 255, 255, 0.9);
background: white;
padding: 16px;
border: 1px solid var(--border);
box-shadow: 0 4px 12px var(--shadow);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
/* Case study logo overlay (used on both homepage and listing pages) */
.case-logo-overlay, .featured-case-logo-overlay {
position: absolute;
bottom: 16px;
right: 16px;
width: 72px;
height: 72px;
object-fit: contain;
background: white;
border-radius: 12px;
padding: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
/* Content page styling for better readability */
.article-header {
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border);
}
.article-content {
margin-bottom: 2rem;
}
/* Improved readability for content pages */
@media (min-width: 769px) {
.article-content {
max-width: 700px;
margin: 0 auto 2rem auto;
color: var(--text-primary);
line-height: 1.8;
}
.article-content p {
color: var(--text-primary);
margin-bottom: 1.5rem;
}
}
/* Bullet point positioning */
.article-content ul {
list-style-position: outside;
margin-left: 0;
padding-left: 1.5rem;
}
.article-content ol {
list-style-position: outside;
margin-left: 0;
padding-left: 1.5rem;
}
.article-content h2,
.article-content h3,
.article-content h4 {
margin-top: 2rem;
margin-bottom: 1rem;
color: var(--text-primary);
}
.article-banner {
position: relative;
margin-bottom: 2rem;
border-radius: 16px;
overflow: hidden;
aspect-ratio: 16/9;
max-height: 300px;
}
.case-detail-banner {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.case-detail-logo-overlay {
position: absolute;
bottom: 20px;
right: 20px;
width: 96px;
height: 96px;
object-fit: contain;
background: white;
border-radius: 16px;
padding: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.lead {
font-size: 1.25rem;
color: var(--text-secondary);
margin-bottom: 1.5rem;
line-height: 1.6;
}
/* Tags and button layout for content pages */
.tags-and-button {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin: 0.5rem 0;
gap: 1rem;
}
.tags {
flex: 1;
}
.tag {
display: inline-block;
background: #e9ecef;
color: #495057;
padding: 0.25rem 0.5rem;
margin: 0.25rem 0.25rem 0 0;
border-radius: 0.25rem;
font-size: 0.875rem;
text-decoration: none;
transition: all 0.2s ease;
}
.tag:hover {
background: var(--e2c-yellow);
color: var(--text-primary);
transform: translateY(-1px);
}
.article-external-button {
flex-shrink: 0;
}
@media (max-width: 768px) {
.tags-and-button {
flex-direction: column;
gap: 0.5rem;
}
.article-external-button {
align-self: flex-start;
}
}
@media (max-width: 768px) {
@@ -755,14 +895,17 @@ a:hover {
.e2c-contact-form .form-group {
margin-bottom: 1.5rem;
position: relative;
}
.e2c-contact-form label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
margin-bottom: 0.75rem;
font-weight: 600;
color: var(--text-primary);
font-size: 14px;
font-size: 16px;
position: relative;
z-index: 1;
}
.e2c-contact-form input[type="text"],
@@ -775,10 +918,12 @@ a:hover {
border: 1px solid var(--border);
border-radius: 8px;
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 14px;
font-size: 16px;
background: var(--background);
color: var(--text-primary);
transition: all 0.2s ease;
position: relative;
z-index: 0;
}
.e2c-contact-form input:focus,
@@ -859,10 +1004,43 @@ h2 {
opacity: 1 !important;
}
/* Hide Action Network form titles */
#can-form-area-e2c-website-newsletter-form h2,
#can-form-area-e2c-website-join-form h2,
#can-form-area-e2c-website-story-form h2,
/* Minimal Action Network improvements - accept what we can achieve */
[id*="can-form-area"] h2 {
display: none !important;
}
/* Larger labels and fix Email label positioning with maximum specificity */
div[id*="can-form-area"] label,
div#can-form-area-e2c-website-join-form label,
div#can-form-area-e2c-website-story-form label {
font-size: 18px !important;
font-weight: 500 !important;
display: block !important;
margin-bottom: 8px !important;
margin-top: 12px !important;
position: relative !important;
z-index: 999999 !important;
background: white !important;
padding: 4px 0 !important;
color: #2C3E50 !important;
line-height: 1.3 !important;
}
/* Force proper spacing for form inputs */
div[id*="can-form-area"] input,
div[id*="can-form-area"] select,
div[id*="can-form-area"] textarea {
margin-top: 0 !important;
margin-bottom: 16px !important;
position: relative !important;
z-index: 1 !important;
}
/* Fix checkbox positioning */
div[id*="can-form-area"] input[type="checkbox"],
div[id*="can-form-area"] input[type="radio"] {
width: auto !important;
display: inline-block !important;
margin-right: 6px !important;
vertical-align: top !important;
}