"Built a Website With this Information"
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>STEM Research Blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
:root {
--bg: #f4f2ee;
--panel: #ffffff;
--border: #d6d3ce;
--muted: #777;
--accent: #c9c6c0;
}
* {
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
body {
margin: 0;
background: var(--bg);
color: #222;
}
a {
text-decoration: none;
color: inherit;
}
.container {
max-width: 1200px;
margin: 24px auto;
background: var(--panel);
border: 1px solid var(--border);
}
/* ================= HEADER ================= */
header {
padding: 20px;
border-bottom: 1px solid var(--border);
display: flex;
justify-content: space-between;
align-items: center;
}
header h1 {
margin: 0;
font-size: 24px;
letter-spacing: 1px;
}
nav a {
margin-left: 16px;
font-size: 14px;
color: var(--muted);
}
/* ================= SEARCH ================= */
.search-bar {
padding: 16px 20px;
border-bottom: 1px solid var(--border);
display: flex;
gap: 12px;
}
.search-bar input {
flex: 1;
padding: 10px;
border: 1px solid var(--border);
}
/* ================= MAIN GRID ================= */
.main {
display: grid;
grid-template-columns: 3fr 1fr;
gap: 24px;
padding: 24px;
}
/* ================= HERO ================= */
.hero {
border: 1px solid var(--border);
padding: 20px;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 20px;
}
.hero-img {
background: var(--accent);
height: 180px;
}
.hero h2 {
margin-top: 0;
}
/* ================= CATEGORIES ================= */
.categories {
display: flex;
gap: 8px;
margin: 20px 0;
}
.categories span {
border: 1px solid var(--border);
padding: 6px 12px;
font-size: 12px;
background: #eee;
}
/* ================= ARTICLES ================= */
.article {
display: grid;
grid-template-columns: 120px 1fr;
gap: 16px;
padding: 16px 0;
border-bottom: 1px solid var(--border);
}
.thumb {
background: var(--accent);
height: 80px;
}
.article h3 {
margin: 0 0 6px;
}
.read-more {
font-size: 13px;
color: var(--muted);
}
/* ================= SIDEBAR ================= */
.sidebar section {
border: 1px solid var(--border);
padding: 16px;
margin-bottom: 20px;
}
.sidebar h4 {
margin-top: 0;
font-size: 14px;
}
.sidebar ul {
padding-left: 16px;
margin: 0;
}
.sidebar li {
margin-bottom: 6px;
font-size: 13px;
}
.sidebar input {
width: 100%;
padding: 8px;
margin: 8px 0;
border: 1px solid var(--border);
}
.sidebar button {
width: 100%;
padding: 8px;
border: none;
background: #bbb;
cursor: pointer;
}
/* ================= AUTHORS ================= */
.authors {
border-top: 1px solid var(--border);
padding: 24px;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}
.author {
display: flex;
gap: 12px;
align-items: center;
}
.avatar {
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--accent);
}
/* ================= FOOTER ================= */
footer {
border-top: 1px solid var(--border);
text-align: center;
padding: 16px;
font-size: 12px;
color: var(--muted);
}
@media (max-width: 900px) {
.main {
grid-template-columns: 1fr;
}
.hero {
grid-template-columns: 1fr;
}
.authors {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>STEM RESEARCH BLOG</h1>
<nav>
<a href="#">Home</a>
<a href="#">Topics</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>
</header>
<div class="search-bar">
<input type="text" placeholder="Search for research..." />
</div>
<div class="main">
<!-- CONTENT -->
<div>
<div class="hero">
<div class="hero-img"></div>
<div>
<h2>Major Breakthrough: New AI Discovery</h2>
<p class="muted">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p>
<a class="read-more" href="#">Read more ›</a>
</div>
</div>
<div class="categories">
<span>Science</span>
<span>Technology</span>
<span>Engineering</span>
<span>Mathematics</span>
</div>
<div class="article">
<div class="thumb"></div>
<div>
<h3>Article Title</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<a class="read-more" href="#">Read more ›</a>
</div>
</div>
<div class="article">
<div class="thumb"></div>
<div>
<h3>Article Title</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<a class="read-more" href="#">Read more ›</a>
</div>
</div>
<div class="article">
<div class="thumb"></div>
<div>
<h3>Article Title</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<a class="read-more" href="#">Read more ›</a>
</div>
</div>
</div>
<!-- SIDEBAR -->
<aside class="sidebar">
<section>
<h4>Trending Topics</h4>
<ul>
<li>Clickable Item #1</li>
<li>Clickable Item #2</li>
<li>Clickable Item #3</li>
<li>Clickable Item #4</li>
</ul>
</section>
<section>
<h4>Newsletter Signup</h4>
<input type="email" placeholder="Enter your email..." />
<button>Subscribe</button>
</section>
<section>
<h4>Author Profiles</h4>
<p>Credentials & social links</p>
</section>
</aside>
</div>
<div class="authors">
<div class="author">
<div class="avatar"></div>
<div>
<strong>Dr. Jane Doe</strong><br />
<small>PhD, Researcher</small>
</div>
</div>
<div class="author">
<div class="avatar"></div>
<div>
<strong>Dr. Jane Doe</strong><br />
<small>PhD, Researcher</small>
</div>
</div>
</div>
<footer>
© 2024 · Privacy Policy · Contact
</footer>
</div>
</body>
</html>
This was helpful
This was not helpful
I don't know how to do it
I need more instructions
I need the prompt
1 vote
0:36
7
13 comments
Kairee OPharrow
6
"Built a Website With this Information"
The Ai.scended Masters
skool.com/the-ascended-masters
"Forge agency-level AI mastery yourself. Build diamond automation, quantum storytelling, predictable systems. Unleash your creative legacy."
Leaderboard (30-day)
Powered by