Skip to content
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
42 changes: 42 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Galeria de Fotos</title>
<link rel="stylesheet" href="./src/css/styles.css">
</head>

<body>

<div class="contenedor">

<div class="header">
<nav><p>GALERIA DEV OFF &#60;&#47;&#62;</p></nav>
</div>

<div class="contenedor-foto">
<div><img src="./fotos/01.jpg" alt="Gatito hermoso"></div>
<div><img src="./fotos/02.jpg" alt="Pizza"></div>
<div><img src="./fotos/03.jpg" alt="Cafecitu"></div>
<div><img src="./fotos/04.jpg" alt="Arbol"></div>
<div><img src="./fotos/05.jpg" alt="Cielo rosado"></div>
<div><img src="./fotos/06.jpg" alt="Perito bebe"></div>
<div><img src="./fotos/07.jpg" alt="Torta de chocolate"></div>
<div><img src="./fotos/08.jpg" alt="Corazon lgbt"></div>
<div><img src="./fotos/09.jpg" alt="Flor y picaflor"></div>
<div><img src="./fotos/10.jpg" alt="Walle"></div>
<div><img src="./fotos/11.jpg" alt="Ensalada de frutas"></div>
<div><img src="./fotos/12.jpg" alt="Noche hermoso"></div>
</div>

<div class="footer">
Made with love by <a href="https://twitter.com/irnias">@irnias</a>
</div>

</div>

</body>

</html>
48 changes: 48 additions & 0 deletions src/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
body {
background: #F4F6F6;
margin: 0px;
padding: 0px;
}

.header p {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 22px;
font-weight: 800;
text-align: center;
padding-top: 2%;
}
.contenedor {
height: 100%;
justify-content: center;
max-width: 80%;
display: block;
background: #EAF2F8;
margin: 0 auto;
}

.contenedor-foto {
justify-content: center;
display: flex;
flex-flow: row wrap;
max-height: 70%;
}

img {
max-width: 200px;
}

img:hover{
max-width: 210px;
}

img:active{
transform: scale(2,2);
display: block;
}

.footer {
display: block;
text-align: center;
color: grey;
bottom: 0;
}