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

projet 2 HTML CSS #22

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
etape 1 à 5
anaelpenchenat committed Jan 23, 2024

Verified

This commit was signed with the committer’s verified signature.
zajca Martin Zajíc
commit 3a7153f0dfac398a02052f7ecbd0da69f62d5e2c
35 changes: 31 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ a {
color: var(--main-bg-color)
}

/*** Header ***/
/********* Header *********/

nav {
display: flex;
@@ -96,7 +96,7 @@ nav {
height: 19px;
border-top: 2px solid transparent;
}
/*** Attention border top bleu en dessous sur la vers. mobile ****/
/*************** Attention border top bleu en dessous sur la vers. mobile ****************/
.linka:hover {
color: #0065FC;
border-top:2px solid #0065FC;
@@ -107,7 +107,14 @@ nav {
border-top:2px solid #0065FC;
}

/******* barre de recherche Marseille, Paris ******/
/********** Search Main ***********/

.search-main {
display: flex;
flex-direction: column;
}

/******************** barre de recherche Marseille, Paris ***********************/
.recherche-container {
display: flex
;
@@ -147,10 +154,11 @@ nav {
padding: 0;
}

/****** Filtres ******/
/******************* Filtres **********************/

.filtre-container {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 15px;
height: 50px;
@@ -173,7 +181,26 @@ nav {
background-color: #DEEBFF;
}

/************* Info *****************/

.infogrames {
display: flex;
align-items: center;
gap: 6px;
}

.fa-info {
display: flex;
justify-content: center;
align-items: center;
border: 2px solid #D9D9D9;
border-radius: 100%;
width: 24px;
height: 24px;
}

/****** Hebergements And Populaires ***********/

.hebergements-and-populaires {
display: flex;
justify-content: space-between;
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -29,15 +29,15 @@
</header>
<main>
<div>
<section>
<section class="search-main">
<div>
<h1>Trouvez votre hébergement pour des vacances de rêve</h1>
<p>En plein centre-ville ou en pleine nature</p>
</div>
<div class="recherche-container">
<div class="recherche-container">
<button class="rechercheA"><i class="fa-solid fa-location-dot"></i></button>
<input type="text" name="marseille" id="rechercheB" placeholder="Marseille, Paris">
<button class="rechercheC">Rechercher</button>
<button class="rechercheC">Rechercher</button>
<!-- <div style="display: flex;">
<div style="background-color: red; margin: 0; padding: 0">AAA</div>
<div style="background-color: blue; margin: 0; padding: 0">BBB</div>
@@ -53,6 +53,10 @@ <h2>Filtre</h2>
<button><i class="fa-solid fa-fire"></i>Nos pépites</button>
</div>
</div>
<div class="infogrames">
<i class="fa-solid fa-info"></i>
<p>Plus de 500 logements sont disponibles dans cette ville</p>
</div>
</section>
</div>
<div class="hebergements-and-populaires">