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

Lineamientos de codigo #80

Open
wants to merge 5 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
64 changes: 64 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>First Instagram Feed</title>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
</head>
<body>
<div>
<div class="Container">
<div class="post">
<div class="header-container">
<div class="header-izquierda">
<div class="profile-pic">
<i class="fa-brands fa-html5"></i>
</div>
<div class="texto-down">
<h2><strong>html5</strong></h2>
<h3>alejosanch97</h3>
</div>
</div>
<div class="header-derecha">
<button class="boton-menu">
<i class="fa-solid fa-ellipsis-vertical"></i>
</button>
</div>
</div>

<img src="https://i.imgur.com/ay1Qj7u.jpeg/400/200"></IMg>

<div class="Botones">
<div class="izquierda">
<button class="boton-ig me-gusta">
<i class="fa-regular fa-heart"></i>
</button>
<button class="boton-ig comentarios">
<i class="fa-regular fa-comment"></i>
</button>
<button class="boton-ig compartir">
<i class="fa-regular fa-paper-plane"></i>
</button>
</div>
<div class="bookmark">
<button class="boton-ig guardar-coleccion">
<i class="fa-regular fa-bookmark"></i>
</button>
</div>
</div>
<div>
<p>Liked by<strong>4GeeksAcademy</strong>,<strong>html5</strong>,<strong>Web</strong> and <strong>1.000 others</strong></p>
</div>
<div>
<p>This is the first photo of the feed, Its my dog Apolo having fun in his school <strong>#dog #having fun</strong></p>
<br>
</div>
</div>
</div>
</div>

</body>
</html>
124 changes: 124 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
body{
background: white;
margin: 0;
}

header h1{
margin: 0;
text-align: center;
}

div.Container{
width:400px;
margin: auto;
}

div.post{
background: #191717;
margin-top:40px;
margin-bottom: 50px;
}

/* header orden */
div.header-container{
display: flex;
background: #191717;
}

div.header-izquierda{
display: flex;
background: #191717;
flex-direction: row;

}

.texto-down {
display: flex;
flex-direction: column;
}

.boton-menu{
position: absolute;
right: 14.9cm;
background-color: transparent;
border: none;
padding: 20px;
cursor: pointer;
font-size: 30px;
color: white;
}

.boton-menu:active{
color:aquamarine;
}

.profile-pic{
font-size: 30px;
color: white;
padding: 20px;
}

h2 {
font-size: 25px;
margin: 0;
color: white;
text-align: start;
margin-bottom: 1px;
margin-top: 6px;

}

h3 {
font-size: 20px;
margin: 0;
color: white;
text-align: start;
}



/* parte media */

div.post img{
width:100%;
height: 280px;
}

/* parte baja */
.Botones {
display: flex;
padding: 5px;
}

.boton-ig {
background-color: transparent;
border: none;
padding: 0 1px;
cursor: pointer;

}

.boton-ig i {
font-family: FontAwesome;
font-size: 30px;
margin-right: 5px;
color: white;
border: 2px
}

.boton-ig i:active{
color: red;
}

.bookmark{
position: absolute;
right: 15.2cm;
}

p {
text-align: left;
margin-left: 0.3cm;
color: white;
padding: 5px;
}