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>
<header class="hero">
<div class="container">
<h1>ReflectOnAI</h1>
<p class="subtitle">Unlock insights. Amplify your mind.</p>
<a href="#features" class="cta-btn">Learn More</a>
<h1 class="headline">ReflectOnAI</h1>
<p class="subtitle">A space to reflect on the use of AI: the good, the bad, and the ugly.</p>
<a href="#reflect" class="cta-btn">Start Reflecting</a>
</div>
</header>
<section id="features" class="features">
<main id="reflect" class="main-message">
<div class="container">
<h2>Why ReflectOnAI?</h2>
<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>
<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>
</div>
</div>
</section>
</main>
<footer class="footer">
<div class="container">
<p>&copy; 2025 ReflectOnAI. All rights reserved.</p>

View File

@ -2,28 +2,40 @@
body {
margin: 0;
font-family: 'Segoe UI', Arial, sans-serif;
background: linear-gradient(120deg, #f0f4ff 0%, #e7eafc 100%);
color: #222;
font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
background: #f8f5f2;
color: #3d3630;
min-height: 100vh;
letter-spacing: 0.01em;
-webkit-font-smoothing: antialiased;
}
.container {
width: 90%;
max-width: 1100px;
width: 94%;
max-width: 700px;
margin: 0 auto;
padding: 0 1rem;
}
.hero {
background: linear-gradient(120deg, #6a82fb 0%, #fc5c7d 100%);
color: #fff;
padding: 80px 0 60px 0;
background: #fff7f0;
color: #3d3630;
padding: 80px 0 40px 0;
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 {
font-size: 3rem;
margin-bottom: 0.5rem;
letter-spacing: 2px;
.headline {
font-size: 2.5rem;
margin-bottom: 0.7rem;
font-weight: 700;
letter-spacing: 1px;
}
.subtitle {
font-size: 1.25rem;
margin-bottom: 2rem;
color: #b96c4a;
opacity: 0.92;
}
.subtitle {
font-size: 1.35rem;
@ -31,78 +43,74 @@ body {
opacity: 0.95;
}
.cta-btn {
background: #fff;
color: #6a82fb;
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;
display: inline-block;
background: #f6a97c;
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 {
padding: 60px 0 40px 0;
.main-message {
background: #fff;
}
.features h2 {
text-align: center;
font-size: 2.2rem;
margin-bottom: 2.5rem;
color: #6a82fb;
}
.features-list {
padding: 36px 0 32px 0;
display: flex;
flex-wrap: wrap;
gap: 2.5rem;
align-items: center;
justify-content: center;
min-height: 120px;
animation: fadeIn 1.5s cubic-bezier(.4,0,.2,1) 0.3s both;
}
.feature {
background: #f0f4ff;
border-radius: 18px;
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;
.main-text {
font-size: 1.17rem;
color: #6d4c41;
text-align: center;
}
.feature h3 {
color: #fc5c7d;
margin-bottom: 0.7rem;
font-size: 1.25rem;
line-height: 1.7;
max-width: 540px;
margin: 0 auto;
}
.footer {
background: #6a82fb;
color: #fff;
padding: 32px 0 18px 0;
background: #f8f5f2;
color: #b96c4a;
padding: 28px 0 16px 0;
text-align: center;
font-size: 1rem;
margin-top: 40px;
}
.footer .socials a {
color: #fff;
text-decoration: underline;
margin: 0 8px;
opacity: 0.85;
transition: opacity 0.2s;
}
.footer .socials a:hover {
opacity: 1;
margin-top: 36px;
border-top: 1px solid #f6a97c33;
}
@media (max-width: 800px) {
.features-list {
flex-direction: column;
align-items: center;
@media (max-width: 700px) {
.container {
max-width: 98vw;
padding: 0 4vw;
}
.feature {
max-width: 90vw;
.headline {
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; }
}