Here’s a modernized and cleaned-up version of your code with improvements to make it visually appealing, centered, and easy on the eyes with a very dark theme. I removed styles that were repetitive and redundant while also modernizing the design. The layout is now fully responsive, and everything is centered vertically and horizontally.
html Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home</title>
<style>
/* GENERAL STYLES */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: #121417;
color: #abb0b6;
font-family: "Arial", sans-serif;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
}
a {
text-decoration: none;
color: #71aaf2;
}
a:hover {
color: #a5d8ff;
}
/* CONTAINER (CENTERING CONTENT) */
.container {
display: flex;
flex-direction: column;
align-items: center;
gap: 40px;
text-align: center;
width: 100%;
max-width: 900px;
}
/* SEARCH FORM */
.search-form {
display: flex;
align-items: center;
background: #1d2228;
border-radius: 6px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
overflow: hidden;
width: 100%;
max-width: 600px;
}
.search-form input[type="text"] {
flex: 1;
border: none;
padding: 12px 16px;
font-size: 16px;
color: #abb0b6;
background: #16191d;
}
.search-form input[type="text"]::placeholder {
color: #6c757d;
}
.search-form input[type="text"]:focus {
outline: none;
}
.search-form input[type="submit"] {
border: none;
padding: 12px 24px;
font-size: 16px;
color: #ffffff;
background: #0078d4;
cursor: pointer;
transition: background 0.3s ease;
}
.search-form input[type="submit"]:hover {
background: #005f9c;
}
/* FAVORITE LINKS SECTION */
.favorites {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
width: 100%;
}
.list {
background: #1d2228;
padding: 16px;
border-radius: 6px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
text-align: left;
}
.list h3 {
margin-bottom: 12px;
font-size: 18px;
color: #82cfff;
}
.list ul {
list-style: none;
}
.list li {
margin: 8px 0;
}
</style>
</head>
<body>
<div class="container">
<!-- SEARCH FORM -->
<form action="http://www.google.com/search" method="get" class="search-form">
<input type="text" name="q" placeholder="Search Google...">
<input type="submit" value="Search">
</form>
<!-- FAVORITES SECTION -->
<div class="favorites">
<div class="list">
<h3>$ coding</h3>
<ul>
<li><a href="http://www.youtube.com">Youtube</a></li>
<li><a href="https://www.deviantart.com/search/deviations?q=linux+screenshot&order=most-recent">Linux Screenshots</a></li>
<li><a href="https://www.reddit.com/r/unixporn">Unixporn</a></li>
<li><a href="http://tacojones.byethost15.com/">Taco Jones</a></li>
<li><a href="http://www.amazon.com">Amazon</a></li>
</ul>
</div>
<div class="list">
<h3>$ resources</h3>
<ul>
<li><a href="https://m4uhd.tv/all/all/all/english?rate=view_day&sort=desc">m4uhd.tv</a></li>
<li><a href="https://onionplay.se/movies/">Onionplay</a></li>
<li><a href="https://tools.usps.com/go/TrackConfirmAction">USPS</a></li>
<li><a href="http://alpha.wallhaven.cc/">Wallhaven</a></li>
</ul>
</div>
<div class="list">
<h3>$ misc</h3>
<ul>
<li><a href="https://1337x.to">1337x.to</a></li>
<li><a href="https://www.gamivo.com/">Gamivo</a></li>
<li><a href="https://fitgirl-repacks.site/">Fitgirl Repacks</a></li>
<li><a href="https://www.gog.com/games?price=discounted&sort=bestselling&page=1">GOG Discounts</a></li>
<li><a href="https://steamdb.info/sales/?displayOnly=Game&category=999">SteamDB Linux</a></li>
</ul>
</div>
<div class="list">
<h3>$ AI</h3>
<ul>
<li><a href="https://www.bing.com/images/create?FORM=GDPCLS">Bing</a></li>
<li><a href="https://imagine.meta.com">Meta</a></li>
<li><a href="https://ideogram.ai">Ideogram</a></li>
<li><a href="https://civitai.com/images/4230658">CivitAI</a></li>
<li><a href="https://chatgpt.com">ChatGPT</a></li>
<li><a href="https://codepen.io">Codepen</a></li>
<li><a href="https://fyrean.itch.io/bgbye-background-remover">Background Remover</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
Key Updates:
Design and Layout:
Entire content vertically and horizontally centered using Flexbox.
Added responsive grid for the "favorites" lists using grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)).
Modern Dark Theme:
Used a very dark background (#121417) paired with easy-on-the-eyes text colors (#abb0b6) and accent links (#71aaf2).
Added box shadows and border-radius to sections for a more modern look.
Cleaned-Up Styling:
Removed duplicate or unused classes.
Simplified CSS while making it more reusable.
This results in a clean and responsive web page.