Made the site more beautiful

This commit is contained in:
greg 2025-04-24 00:06:52 +02:00
parent 5df2b895cc
commit e7d123b5de
2 changed files with 84 additions and 81 deletions

View File

@ -10,21 +10,16 @@
<body> <body>
<header class="hero"> <header class="hero">
<div class="container"> <div class="container">
<h1>ReflectOnAI</h1> <h1 class="headline">ReflectOnAI</h1>
<p class="subtitle">Unlock insights. Amplify your mind.</p> <p class="subtitle">A space to reflect on the use of AI: the good, the bad, and the ugly.</p>
<a href="#features" class="cta-btn">Learn More</a> <a href="#reflect" class="cta-btn">Start Reflecting</a>
</div> </div>
</header> </header>
<section id="features" class="features"> <main id="reflect" class="main-message">
<div class="container"> <div class="container">
<h2>Why ReflectOnAI?</h2> <p class="main-text">Pause and consider how AI shapes our world.<br>ReflectOnAI is a minimalist space for thoughtful discussion and self-inquiry.</p>
<div class="features-list">
<div class="feature">
<p>This site should trigger us to reflect on the use of AI. The good, the bad and the ugly.</p>
</div> </div>
</div> </main>
</div>
</section>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
<p>&copy; 2025 ReflectOnAI. All rights reserved.</p> <p>&copy; 2025 ReflectOnAI. All rights reserved.</p>

View File

@ -2,28 +2,40 @@
body { body {
margin: 0; margin: 0;
font-family: 'Segoe UI', Arial, sans-serif; font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
background: linear-gradient(120deg, #f0f4ff 0%, #e7eafc 100%); background: #f8f5f2;
color: #222; color: #3d3630;
min-height: 100vh;
letter-spacing: 0.01em;
-webkit-font-smoothing: antialiased;
} }
.container { .container {
width: 90%; width: 94%;
max-width: 1100px; max-width: 700px;
margin: 0 auto; margin: 0 auto;
padding: 0 1rem;
} }
.hero { .hero {
background: linear-gradient(120deg, #6a82fb 0%, #fc5c7d 100%); background: #fff7f0;
color: #fff; color: #3d3630;
padding: 80px 0 60px 0; padding: 80px 0 40px 0;
text-align: center; text-align: center;
box-shadow: 0 4px 24px rgba(100, 100, 255, 0.08); box-shadow: 0 2px 12px rgba(230, 180, 140, 0.05);
animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
} }
.hero h1 { .headline {
font-size: 3rem; font-size: 2.5rem;
margin-bottom: 0.5rem; margin-bottom: 0.7rem;
letter-spacing: 2px; font-weight: 700;
letter-spacing: 1px;
}
.subtitle {
font-size: 1.25rem;
margin-bottom: 2rem;
color: #b96c4a;
opacity: 0.92;
} }
.subtitle { .subtitle {
font-size: 1.35rem; font-size: 1.35rem;
@ -31,78 +43,74 @@ body {
opacity: 0.95; opacity: 0.95;
} }
.cta-btn { .cta-btn {
background: #fff; display: inline-block;
color: #6a82fb; background: #f6a97c;
padding: 0.9em 2.2em;
border-radius: 30px;
font-weight: bold;
text-decoration: none;
font-size: 1.1rem;
box-shadow: 0 2px 12px rgba(100, 100, 255, 0.09);
transition: background 0.2s, color 0.2s;
}
.cta-btn:hover {
background: #fc5c7d;
color: #fff; color: #fff;
padding: 0.85em 2em;
border-radius: 28px;
font-weight: 600;
text-decoration: none;
font-size: 1.08rem;
box-shadow: 0 2px 10px rgba(230, 180, 140, 0.11);
transition: background 0.2s, color 0.2s, transform 0.18s;
margin-top: 0.5rem;
border: none;
cursor: pointer;
outline: none;
touch-action: manipulation;
}
.cta-btn:hover, .cta-btn:focus {
background: #e07a5f;
color: #fff;
transform: translateY(-2px) scale(1.03);
} }
.features { .main-message {
padding: 60px 0 40px 0;
background: #fff; background: #fff;
} padding: 36px 0 32px 0;
.features h2 {
text-align: center;
font-size: 2.2rem;
margin-bottom: 2.5rem;
color: #6a82fb;
}
.features-list {
display: flex; display: flex;
flex-wrap: wrap; align-items: center;
gap: 2.5rem;
justify-content: center; justify-content: center;
min-height: 120px;
animation: fadeIn 1.5s cubic-bezier(.4,0,.2,1) 0.3s both;
} }
.feature { .main-text {
background: #f0f4ff; font-size: 1.17rem;
border-radius: 18px; color: #6d4c41;
box-shadow: 0 2px 10px rgba(100, 100, 255, 0.07);
padding: 2.2rem 1.8rem;
flex: 1 1 260px;
max-width: 320px;
min-width: 220px;
text-align: center; text-align: center;
} line-height: 1.7;
.feature h3 { max-width: 540px;
color: #fc5c7d; margin: 0 auto;
margin-bottom: 0.7rem;
font-size: 1.25rem;
} }
.footer { .footer {
background: #6a82fb; background: #f8f5f2;
color: #fff; color: #b96c4a;
padding: 32px 0 18px 0; padding: 28px 0 16px 0;
text-align: center; text-align: center;
font-size: 1rem; font-size: 1rem;
margin-top: 40px; margin-top: 36px;
} border-top: 1px solid #f6a97c33;
.footer .socials a {
color: #fff;
text-decoration: underline;
margin: 0 8px;
opacity: 0.85;
transition: opacity 0.2s;
}
.footer .socials a:hover {
opacity: 1;
} }
@media (max-width: 800px) { @media (max-width: 700px) {
.features-list { .container {
flex-direction: column; max-width: 98vw;
align-items: center; padding: 0 4vw;
} }
.feature { .headline {
max-width: 90vw; font-size: 1.7rem;
}
.main-text {
font-size: 1rem;
}
.cta-btn {
font-size: 1rem;
padding: 0.75em 1.5em;
} }
} }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: none; }
}