Add hero for Gradient in Background

This commit is contained in:
2026-05-04 18:34:37 +02:00
parent b9cbdc7392
commit 5b8d6d3e2e
2 changed files with 20 additions and 15 deletions
+14 -13
View File
@@ -32,20 +32,21 @@ limitations under the License.
</ul> </ul>
</nav> </nav>
<header> <div class="hero">
<h1>seekra</h1> <header>
<p> <h1>seekra</h1>
Built to search. <p>
</p> Built to search.
</header> </p>
</header>
<form id="search-form"> <form id="search-form">
<div class="search-wrapper"> <div class="search-wrapper">
<input type="search" name="search" placeholder="Search..." required /> <input type="search" name="search" placeholder="Search..." required />
<button type="submit">Search</button> <button type="submit">Search</button>
</div> </div>
</form> </form>
</div>
<footer> <footer>
<p>&copy; 2026 seekra.</p> <p>&copy; 2026 seekra.</p>
</footer> </footer>
+6 -2
View File
@@ -2,6 +2,12 @@ body {
margin: 0; margin: 0;
background-color: #ffffff; background-color: #ffffff;
} }
.hero {
background:
radial-gradient(ellipse at 40% 60%, rgba(255,255,255,0.55) 0%, transparent 75%),
linear-gradient(160deg, #c8d8f0, #7aa0d8, #5077C7, #dce8f8);
padding-bottom: 40px;
}
header { header {
text-align: center; text-align: center;
@@ -59,8 +65,6 @@ form {
background: #374FA5; background: #374FA5;
} }
footer{ footer{
text-align: center; text-align: center;
margin-top: 20px; margin-top: 20px;