<html lang="en">
<head>
<title>My Blog</title>
<link href="main.css" rel="stylesheet">
<style>@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700); body { margin: 0; color: #555; font-family: 'Montserrat', sans-serif; } #header { display: flex; background-color: #1abc9c; height: 60px; } #header a { color: white; text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; } #header-title { display: block; float: left; font-size: 14px; font-weight: bold; } #header a:hover {color: #222; } #header-nav { margin: 0; padding: 0; display: flex; } #header-nav li { display: inline; padding: 10px; font-size: 12px; } #content { margin-left: 20px; margin-right: 20px; } .container { width: 100%; display: flex; margin-left: 20px;
justify-content: space-between; align-items: center;} #footer { background-color: #2f2f2f; padding: 6px 0; } #footer h4 { color: white; text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; } #footer p { color: white; } a { color: #1abc9c; text-decoration: none; font-size: 12px; } a:hover { color: #F6A623; } .column { display: inline-block; vertical-align: top; } .post { max-width: 800px; margin: 0 auto; padding: 60px 0; } .post-author > img { width: 50px; height: 50px; vertical-align: middle; border-radius: 25px; margin-right: 12px; } .post-author > span { margin-left: 16px; } .post-date { color: #D2D2D2; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; } h1, h2, h3, h4 { color: #333; } p { line-height: 1.5; } .post, .about { max-width: 800px; margin: 0 auto; padding: 30px 0; } .about-author img{ width: 200px; border-radius: 50%; } .post-container:nth-child(even) { background-color: #f2f2f2; }
</style>
</head>
<body>
<!-- Static navbar --> <div id="header"> <div class="container"> <a id="header-title" href="index.html">My Blog</a> <ul id="header-nav"> <li><a href="about.html">About</a></li> <li><a href="mailto:me@me.com">Contact</a></li> </ul> </div> </div> <!-- +++++ posts +++++ --> <div id="content"> <!-- +++++ regular post +++++ --> <div class="post-container"> <div class="post"> <div class="post-author"> <img src="https://images.getmimo.com/images/1ef81a60-b9a9-4d78-884d-be1445c03649"> Alex </div> <p class="post-date">Today</p> <h4 class="post-title">Is my child a prodigy?</h4> <div class="post-content"> <p>If somebody would have told me a week ago that my child would be able to make a <strong>website</strong>, I would not have believed her.</p> <p>Just a few days later, she came across Mimo and started to work on a <em>real</em> blog.</p> </div> </div> </div> <!-- /container --> </div><!-- /content --> <!-- +++++ footer section +++++ --> <div id="footer"> <div class="container"> <div class="column"> <h4>My Links</h4> <p> <a href="#">Twitter</a><br> <a href="#">Facebook</a> </p> </div><!-- /column --> </div><!-- /container --> </div><!-- /footer -->
</body>
</html>
]]>