Slow overhaul of the landing page
This commit is contained in:
parent
f26bad9bac
commit
2481a71f71
13 changed files with 386 additions and 59 deletions
78
static/css/old.css
Normal file
78
static/css/old.css
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
html {
|
||||
background: linear-gradient(#1e4e9c, #9198e5);
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.container {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.coming-soon {
|
||||
text-align: center;
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2rem;
|
||||
margin: 10px 0 20px;
|
||||
}
|
||||
|
||||
.subscription {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.subscription input {
|
||||
padding: 10px;
|
||||
font-size: 1rem;
|
||||
width: calc(100% - 110px);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.subscription button {
|
||||
padding: 10px 20px;
|
||||
font-size: 1rem;
|
||||
background: #ff4500;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.subscription button:hover {
|
||||
background: #e03e00;
|
||||
}
|
||||
|
|
@ -1,78 +1,174 @@
|
|||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
html {
|
||||
background: linear-gradient(#1e4e9c, #9198e5);
|
||||
height: 100%;
|
||||
header {
|
||||
background-color: #fff;
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
font-size: 24px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
margin: 5px auto;
|
||||
}
|
||||
|
||||
header nav {
|
||||
display: flex;
|
||||
justify-content: normal;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
header nav a {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
margin-left: 20px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.hero-section-1 {
|
||||
background-image: linear-gradient(to bottom, #337cf2, #fff);
|
||||
padding: 100px 20px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.container {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
.hero-illustration {
|
||||
width: 40%;
|
||||
height: 500px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.coming-soon {
|
||||
text-align: center;
|
||||
max-width: 600px;
|
||||
.hero-illustration img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.hero-text {
|
||||
width: 60%;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-bottom: 20px;
|
||||
.hero-text h1 {
|
||||
font-size: 48px;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
margin: 10px 0;
|
||||
.hero-text p {
|
||||
font-size: 18px;
|
||||
color: #000;
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2rem;
|
||||
margin: 10px 0 20px;
|
||||
.hero-section-2 {
|
||||
background-color: #337cf2;
|
||||
padding: 100px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.subscription {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.subscription input {
|
||||
.hero-section-2 form {
|
||||
padding: 10px;
|
||||
font-size: 1rem;
|
||||
width: calc(100% - 110px);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.subscription button {
|
||||
.hero-section-2 input {
|
||||
padding: 10px;
|
||||
width: 15%;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.hero-section-2 button {
|
||||
padding: 10px 20px;
|
||||
font-size: 1rem;
|
||||
background: #ff4500;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
color: #fff;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.subscription button:hover {
|
||||
background: #e03e00;
|
||||
}
|
||||
.hero-section-3 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hero-section-3 h2 {
|
||||
margin-top: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.feature-cards {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
|
||||
margin: 20px;
|
||||
width: 30%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.feature-card h3 {
|
||||
margin-top: 0;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.feature-card ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.feature-card li {
|
||||
margin-bottom: 10px;
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.feature-card li::before {
|
||||
content: "\2022";
|
||||
font-size: 16px;
|
||||
color: #337cf2;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
clear: both;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue