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
60 changes: 60 additions & 0 deletions 7-layouts/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Layout</title>
<meta name="robots" content="index">
<meta name="description" content="This page have the litle description about some Murakami´s books">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="alternate" hreflang="es" href="https://pushdev.co/">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>Studios Ghibli's movies</header>
<section class="banner">
<h1>STUDIOS GHIBLI</h1>
<p class="paragraph">The studio makes meaningful, family friendly, truthful films, a feat requiring tact a
hard look at how the world works.
</p>
</section>
<main>
<article class="movies">
<section class="description_movie">
<img src="https://images-na.ssl-images-amazon.com/images/I/61pbjgSYRjL.jpg" alt="Princess Mononoke">
<h2>Princess Mononoke</h2>
</section>
</article>
<article class="movies">
<section class="description_movie">
<img src="https://66.media.tumblr.com/04661eda6509a2fc9cced9da9293e562/tumblr_inline_ogfr9kKTjq1r53gbi_1280.jpg" alt="Spirited away">
<h2>Spirited Away</h2>
</section>
</article>
<article class="movies">
<section class="description_movie">
<img src="https://pics.filmaffinity.com/Ponyo_en_el_acantilado-309484645-large.jpg" alt="Ponyo">
<h2>Ponyo</h2>
</section>
</article>
<article class="movies">
<section class="description_movie">
<img src="https://escenainterior.files.wordpress.com/2015/06/arrietty.jpg?w=640" alt="Arriety">
<h2>Arriety</h2>
</section>
</article>
<article class="movies">
<section class="description_movie">
<img src="https://m.media-amazon.com/images/M/MV5BZDg0MWNmNjktMGEwZC00ZDlmLWI1MTUtMDBmNjQzMWM2NjBjXkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_.jpg" alt="Whisper of the heart">
<h2>Wishper of the heart</h2>
</section>
</article>
<article class="movies">
<section class="description_movie">
<img src="https://images-na.ssl-images-amazon.com/images/I/81ZndHfZDTL.jpg" alt="How's moving the castle">
<h2>How's moving castle</h2>
</section>
</article>
</main>
</body>
</html>
82 changes: 82 additions & 0 deletions 7-layouts/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
@media screen and (max-width: 500px){
h2 {
font-size: 130%;
width: 50%;
}

.movies {
padding: 5px;
width: 50%;
}
}

@media screen and (max-width: 1024px) and (min-width: 501px){
h2, .movies {
width: 30%;
}

.paragraph {
font-size: 150%;
}
}

.banner {
background-image: url(https://studioghiblimovies.com/wp-content/uploads/2018/11/164644889-ponyo-wallpapers-1024x554.jpg);
display: flex;
flex-flow: wrap row;
justify-content: center;
padding: 5%;
}

body, h2 {
background-color:#BCD470;
}

.description_movie {
display: flex;
height: 80%;
}

header {
background-color:#333332;
position: sticky;
top: 3%;
}

header, h1, .paragraph {
color: white;
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: x-large;
}

h1 {
margin-right: 35px;
}

h2 {
align-self: flex-end;
font-family: Georgia, 'Times New Roman', Times, serif;
position: absolute;
opacity: 0.7;
}

img {
height: 100%;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this property working?

    height: 100%;

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That property prevent that the images that have a big height size have the same size without write the quantities

width: 100%;
}

main {
display: flex;
flex-flow: wrap row;
justify-content: center;
margin-top: 2%;
}

.movies {
padding-left: 15px;
padding-right: 10px;
}

.paragraph {
width: 65%;
}