parent
c98d70f312
commit
3ac02bd614
@ -0,0 +1,51 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #f8f9fa;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
aside {
|
||||
background-color: #f8f9fa;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #343a40;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>My Personal Blog</title>
|
||||
<link rel="stylesheet" href="blog.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>My Personal Blog - My Journey in Tech</h1>
|
||||
</header>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#">Home</a></li>
|
||||
<li><a href="#">About Me</a></li>
|
||||
<li><a href="#">Projects</a></li>
|
||||
<li><a href="#">Blog</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div style="display: flex;">
|
||||
<main style="flex: 70%;">
|
||||
<article>
|
||||
<h2>My journey in a tech</h2>
|
||||
<p>05 July 2023 | Posted by: Mehmet Koyuncuoglu</p>
|
||||
<p>Helo everyone, I am Mehmet Koyuncuoglu and I've started this joruney 5 years ago by learning code myself on udemy.</p>
|
||||
<a href="#">Continue reading...</a>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<aside style="flex: 30%;">
|
||||
<h3>Popular Posts</h3>
|
||||
<h3>About Me</h3>
|
||||
<!-- Your short bio -->
|
||||
<h3>Contact Info</h3>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<p>Copyright © 2023</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,57 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #f8f9fa;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: #007bff;
|
||||
color: #ffffff;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.content-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr;
|
||||
gap: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
aside {
|
||||
background-color: #f8f9fa;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #343a40;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>My Personal Blog</title>
|
||||
<link rel="stylesheet" href="blog.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>My Personal Blog - My Journey in Tech</h1>
|
||||
</header>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#">Home</a></li>
|
||||
<li><a href="#">About Me</a></li>
|
||||
<li><a href="#">Projects</a></li>
|
||||
<li><a href="#">Blog</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="content-grid">
|
||||
<main>
|
||||
<article>
|
||||
<h2>My journey in a tech</h2>
|
||||
<p>05 July 2023 | Posted by: Mehmet Koyuncuoglu</p>
|
||||
<p>Helo everyone, I am Mehmet Koyuncuoglu and I've started this joruney 5 years ago by learning code myself on udemy.</p>
|
||||
<a href="#">Continue reading...</a>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
|
||||
<aside>
|
||||
<h3>Popular Posts</h3>
|
||||
|
||||
<h3>About Me</h3>
|
||||
|
||||
<h3>Contact Info</h3>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<p>Copyright © 2023</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue