push sana

This commit is contained in:
Sana EL HIRI 2021-10-20 12:29:09 +02:00
parent 0b77dedc1c
commit ad34def515
5 changed files with 75 additions and 19 deletions

View File

@ -5,15 +5,13 @@
@font-face { @font-face {
font-family: "OpenSans"; font-family: "OpenSans";
src: url("../fonts/OpenSans-Regular.ttf") format("truetype"), src: url("../fonts/OpenSans-SemiBold.ttf") format("truetype");
url("../fonts/OpenSans-SemiBold.ttf") format("truetype");
} }
body{ body{
font-family: "Montserrat"; font-family: "Montserrat";
color: #fff; color: #fff;
background-color: #031010; background-color: #031010;
color: #fff;
text-align: center; text-align: center;
} }
@ -35,12 +33,17 @@ nav{
justify-content: center; justify-content: center;
} }
.SearchBar{ .searchBar{
width: 784px; margin-top: 20px;
height: 46px;
} }
input{
width: 784px;
height: 30px;
background-color: #fff;
border-radius: 25px;
padding-left: 10px;
text-align: start;
}
ul{ ul{
display: flex; display: flex;
flex-flow: wrap row ; flex-flow: wrap row ;
@ -63,14 +66,39 @@ a{
.navSearch{ .navSearch{
} }
.banner{
width: auto;
height: 600px;
background-image:url(../images/ban.png);
background-size: 100% 100%;
margin-bottom: 100px;
}
h1{ h1{
font-size: 48px; font-size: 48px;
color: #fff;
} }
h2{ .container{
display: flex;
flex-flow: wrap column ;
justify-content: center;
}
.presentation{
margin: 100px;
font-size: 20px;
color: #F5ED17;
width: 1050px;
}
h2{
font-size: 30px;
color:#F5ED17 ;
}
.etendre{
color: #F5ED17;
} }
.card{ .card{
@ -89,17 +117,39 @@ h2{
} }
h3{ h3{
font-size: 18px;
} }
p{ p{
font-family: "OpenSans";
font-size: 15px;
} }
.boutons{ .boutons{
display: flex;
flex-flow: row wrap;
justify-content: center;
}
.allButtons{
margin-right: 10px;
border-radius: 50%;
width: 50PX;
height: 50PX;
border: none;
background-color: #FF2606 ;
color: #fff;
font-weight: bold;
font-size: 13px;
} }
.allButtons:hover{
background-color: #fff ;
color: black;
cursor: pointer;
}
footer{ footer{
width: auto; width: auto;

View File

@ -18,8 +18,9 @@
<li><a href="planetes.html">Planètes</a></li> <li><a href="planetes.html">Planètes</a></li>
</ul> </ul>
</nav> </nav>
<input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for names.."> <div class="searchBar">
<input type="text" id="myInput" placeholder="Search for names..">
</div>
</header> </header>
<h1>Films</h1> <h1>Films</h1>

View File

@ -18,7 +18,8 @@
</ul> </ul>
</nav> </nav>
</header> </header>
<div class="banner"></div>
<h1>Star Wars Chewbacca</h1>
<div class="presentation"> <div class="presentation">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore<br> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore<br>
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip<br> et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip<br>

View File

@ -18,7 +18,9 @@
<li><a href="planetes.html">Planètes</a></li> <li><a href="planetes.html">Planètes</a></li>
</ul> </ul>
</nav> </nav>
<input type="text" id="myInput" placeholder="Search for names.." class="SearchBar"> <div class="searchBar">
<input type="text" id="myInput" placeholder="Search for names..">
</div>
</header> </header>
<section id="container" class="container"> <section id="container" class="container">

View File

@ -19,7 +19,9 @@
</ul> </ul>
</nav> </nav>
<input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for names.." class="SearchBar"> <div class="searchBar">
<input type="text" id="myInput" placeholder="Search for names..">
</div>
</header> </header>
<h1>Planètes</h1> <h1>Planètes</h1>
<section class="container" id="container"> <!-- class Css--> <section class="container" id="container"> <!-- class Css-->