Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codespace curly invention wj75qp7qp7vh99qj #85

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Instagram Post</title>
</head>
<body>
<div id="post">
<div id="headings">
<div id="row">
<i class="fa-brands fa-html5"></i>
<div class="titles">
<h1>HTML5</h1>
<h2>Rigoberto</h2>
</div>
</div>
<i class="icons fa-solid fa-ellipsis-vertical"></i>
</div>
<img src="https://picsum.photos/500/500" alt="">
<div id="buttons">
<div class="fa-heartplanecomment">
<i class="fa-regular fa-heart" style="padding: 2.5px;"></i>
<i class="fa-solid fa-paper-plane" style="padding: 2.5px;"></i>
<i class="fa-regular fa-comment" style="padding: 2.5px;"></i>
</div>
<div class="fa-mark">
<i class="fa-regular fa-bookmark"></i>
</div>
</div>
<div id="text">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Provident eos tempore pariatur qui! Ex quis quaerat ea debitis excepturi facere ad, in voluptates. Magnam quia dolorem fuga est ipsam fugit.</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla quod natus labore maiores laboriosam esse voluptate sequi pariatur distinctio saepe! Voluptas eos, nam error architecto iusto sapiente, veniam nisi iure ea necessitatibus quis dolorem dolores assumenda excepturi.</p>
</div>
</div>
<script src="https://kit.fontawesome.com/278f6ce3ad.js" crossorigin="anonymous"></script>
</body>
</html>
64 changes: 64 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
* {
color: black;
font-family: Arial, Helvetica, sans-serif;
box-sizing: border-box;
}

#headings {
display: flex;
justify-content: space-between;
max-width: 100%;
}

#post {
max-width: 90%;
margin: 0 auto;
}

#row {
display: flex;
align-items: center;
}

.titles {
margin-left: 10px;
}

.icons {
font-size: 3.5rem;
}

.fa-ellipsis-vertical {
font-size: 1.3rem;
}

.fa-html5 {
font-size: 3rem;
}

h1 {
font-size: 1.5rem;
}

h2 {
font-size: 0.75rem;
}

#buttons {
display: flex;
justify-content: space-between;
margin: 0.8rem auto;
max-width: 100%;
padding-bottom: 1rem;
}

#text {
margin: 0.8rem;
max-width: 100%;
}

.fa-heartplanecomment, .fa-mark {
display: flex;
align-items: center;
align-content: space-between;
}