Feat(UI): Blog with article page and Newsletter signup form.
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
background-color: #f8f9fa;
|
||||
background: var(--colour-page-background-1);
|
||||
}
|
||||
|
||||
/* Header */
|
||||
@@ -84,6 +83,38 @@ body {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
padding: 8rem 2rem 4rem;
|
||||
background: linear-gradient(45deg, var(--colour-page-background-1), var(--colour-page-background-2)); /* linear-gradient(45deg, #f8fafc, #eff6ff); */
|
||||
}
|
||||
.hero-content {
|
||||
max-width: 600px;
|
||||
}
|
||||
.hero h1 {
|
||||
line-height: 1.2;
|
||||
margin-bottom: 1.5rem;
|
||||
color: var(--colour-text);
|
||||
}
|
||||
.hero p {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 2rem;
|
||||
color: var(--colour-secondary);
|
||||
}
|
||||
section.hero .button {
|
||||
margin: 0 auto;
|
||||
margin-bottom: 2vh;
|
||||
display: block;
|
||||
background-color: var(--colour-success-title);
|
||||
color: var(--colour-text-background);
|
||||
}
|
||||
section.hero .button:hover {
|
||||
background-color: var(--colour-success-highlight);
|
||||
color: var(--colour-success-title);
|
||||
}
|
||||
|
||||
|
||||
/* Featured Post */
|
||||
.featured-post {
|
||||
background: white;
|
||||
@@ -332,6 +363,13 @@ body {
|
||||
background: #e55a2b;
|
||||
}
|
||||
|
||||
#form_newsletter input[type="email"] {
|
||||
width: 80%;
|
||||
margin: 0 10%;
|
||||
padding: 0.5vh;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background: #2d3748;
|
||||
|
||||
Reference in New Issue
Block a user