feat: "Improved" design, more asking for donations

This commit is contained in:
Kumi 2025-07-01 12:18:38 +02:00
parent 29750553c8
commit 9929763761
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 308 additions and 72 deletions

View file

@ -33,6 +33,12 @@
</div>
</div>
</section>
<div class="announcement-bar">
This service is operated by Private.coffee, an Austrian non-profit
organization dedicated to providing free and open-source services.
<a href="https://private.coffee/membership.html">Your donations help us
keep the lights on!</a>
</div>
<section id="about">
<div class="container">
<h2>Get Started with Overpass</h2>

View file

@ -1,137 +1,367 @@
body {
font-family: 'Roboto', sans-serif;
color: #333;
margin: 0;
padding: 0;
/* Base styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: #333;
line-height: 1.6;
margin: 0;
padding: 0;
}
/* Announcement bar */
.announcement-bar {
background-color: #2E7D32;
color: white;
text-align: center;
padding: 10px 20px;
font-size: 0.9rem;
}
.announcement-bar a {
color: white;
text-decoration: underline;
font-weight: bold;
}
.announcement-bar a:hover {
text-decoration: none;
}
/* Header */
header {
background: #4CAF50;
padding: 20px 0;
color: white;
background: #4CAF50;
padding: 20px 0;
color: white;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo {
font-size: 1.5rem;
font-size: 1.8rem;
font-weight: 700;
}
header .logo span {
font-size: 0.7em;
font-weight: 400;
opacity: 0.9;
}
header nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
header nav ul li {
margin: 0 10px;
margin: 0 10px;
}
header nav ul li a {
color: white;
text-decoration: none;
color: white;
text-decoration: none;
padding: 5px 10px;
border-radius: 3px;
transition: background-color 0.3s ease;
}
header nav ul li a:hover {
background-color: rgba(255, 255, 255, 0.2);
}
header nav ul li a.active {
background-color: rgba(255, 255, 255, 0.3);
font-weight: 500;
}
/* Hero section */
#hero {
background: #f4f4f4;
padding: 50px 0;
text-align: center;
background: linear-gradient(to bottom, #f9f9f9, #f4f4f4);
padding: 80px 0;
text-align: center;
}
#hero .container {
max-width: 960px;
margin: 0 auto;
max-width: 960px;
margin: 0 auto;
}
#hero .hero-content h2 {
margin: 0;
font-size: 2.5rem;
margin: 0;
font-size: 2.8rem;
color: #2E7D32;
}
#hero .hero-content .tagline {
margin: 20px 0;
font-size: 1.2rem;
margin: 20px 0 30px;
font-size: 1.3rem;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
#hero .button {
background: #4CAF50;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
/* Button styles */
.button {
background: #4CAF50;
color: white;
padding: 12px 24px;
text-decoration: none;
border-radius: 5px;
display: inline-block;
font-weight: 500;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.section {
padding: 50px 0;
.button:hover {
background: #388E3C;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.button:active {
transform: translateY(0);
}
/* Container */
.container {
max-width: 960px;
margin: 0 auto;
padding: 0 20px;
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
}
/* Sections */
section {
padding: 70px 0;
}
section:nth-child(even) {
background-color: #f9f9f9;
}
/* Headings */
h2 {
text-align: center;
margin-bottom: 20px;
text-align: center;
margin-bottom: 40px;
font-size: 2.2rem;
color: #2E7D32;
position: relative;
}
h2:after {
content: '';
display: block;
width: 60px;
height: 3px;
background: #4CAF50;
margin: 15px auto 0;
}
h3 {
color: #2E7D32;
margin: 25px 0 15px;
font-size: 1.5rem;
}
/* Features section */
.features {
display: flex;
justify-content: space-around;
text-align: center;
display: flex;
justify-content: space-between;
margin: 50px 0;
}
.features .feature {
max-width: 30%;
flex: 0 0 30%;
background: white;
padding: 25px;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease;
}
.features .feature:hover {
transform: translateY(-5px);
}
.features .feature h3 {
margin-top: 0;
font-size: 1.4rem;
}
/* Call to action */
.cta {
text-align: center;
margin-top: 30px;
text-align: center;
margin-top: 50px;
}
.cta .button {
background: #4CAF50;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
display: inline-block;
margin: 5px;
margin: 10px;
}
/* Highlight box */
.highlight {
background-color: #f0f0f0;
border: 1px solid #ddd;
padding: 15px;
border-radius: 5px;
font-family: 'Courier New', Courier, monospace;
font-size: 1.1em;
text-align: center;
margin: 30px 0;
word-break: break-all;
}
/* Terms and Privacy sections */
.term-item,
.privacy-item {
margin-bottom: 40px;
background: white;
padding: 25px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.term-item h3,
.privacy-item h3 {
color: #2E7D32;
margin-top: 0;
margin-bottom: 15px;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.term-item ul,
.privacy-item ul {
padding-left: 20px;
margin: 15px 0;
}
.term-item li,
.privacy-item li {
margin-bottom: 10px;
}
/* Footer */
footer {
background: #4CAF50;
color: white;
text-align: center;
padding: 20px 0;
}
section:not(:first-child) {
border-top: 1px solid #ccc;
background: #4CAF50;
color: white;
text-align: center;
padding: 30px 0;
margin-top: 50px;
}
footer a {
color: white;
color: white;
text-decoration: underline;
}
footer a:hover {
text-decoration: none;
}
/* Links */
a {
color: #4CAF50;
color: #2E7D32;
text-decoration: underline;
transition: color 0.3s ease;
}
.highlight {
background-color: #f0f0f0;
border: 1px solid #cccccc;
padding: 10px;
border-radius: 5px;
font-family: monospace;
font-size: 1.2em;
a:hover {
color: #4CAF50;
}
/* Accessibility */
a:focus,
.button:focus {
outline: 3px solid #81C784;
outline-offset: 2px;
}
/* Responsive design */
@media (max-width: 900px) {
.features {
flex-direction: column;
align-items: center;
}
.features .feature {
max-width: 100%;
width: 100%;
margin-bottom: 30px;
}
}
@media (max-width: 768px) {
header .container {
flex-direction: column;
text-align: center;
margin: 20px 0;
}
header nav ul {
margin-top: 15px;
flex-wrap: wrap;
justify-content: center;
}
header nav ul li {
margin: 5px;
}
#hero {
padding: 50px 0;
}
#hero .hero-content h2 {
font-size: 2.2rem;
}
section {
padding: 50px 0;
}
h2 {
font-size: 1.8rem;
}
.cta .button {
display: block;
width: 100%;
margin: 10px 0;
}
}
@media (max-width: 480px) {
.announcement-bar {
padding: 10px;
font-size: 0.8rem;
}
header .logo {
font-size: 1.5rem;
}
#hero .hero-content h2 {
font-size: 1.8rem;
}
#hero .hero-content .tagline {
font-size: 1.1rem;
}
.term-item,
.privacy-item {
padding: 15px;
}
}