Skip to content

Commit

Permalink
OpenClassrooms-Student-Center#1 - fixing label for and adjust burger …
Browse files Browse the repository at this point in the history
…menu
  • Loading branch information
jrosefab committed May 24, 2021
1 parent 414ac06 commit a678a36
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
12 changes: 6 additions & 6 deletions starterOnly/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h1 class="hero-headline">
>
<div
class="formData">
<label>Prénom</label><br>
<label for="first">Prénom</label><br>
<input
class="text-control"
type="text"
Expand All @@ -75,7 +75,7 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>Nom</label><br>
<label for="last">Nom</label><br>
<input
class="text-control"
type="text"
Expand All @@ -85,7 +85,7 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>E-mail</label><br>
<label for="email">E-mail</label><br>
<input
class="text-control"
type="email"
Expand All @@ -95,7 +95,7 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>Date de naissance</label><br>
<label for="birthdate">Date de naissance</label><br>
<input
class="text-control"
type="date"
Expand All @@ -105,10 +105,10 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>À combien de tournois GameOn avez-vous déjà participé ?</label><br>
<label for="quantity">À combien de tournois GameOn avez-vous déjà participé ?</label><br>
<input type="number" class="text-control" id="quantity" name="quantity" min="0" max="99">
</div>
<p class="text-label">Quelles villes ?</p>
<label for="location1" class="text-label">Quelles villes ?</label>
<div
class="formData">
<input
Expand Down
30 changes: 16 additions & 14 deletions starterOnly/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ img {
margin: 3.5%;
}
.header-logo {
float: left;
float: left;
}
.main-navbar {
float: right;
float: right;
}
.topnav a {
float: left;
Expand All @@ -52,7 +52,8 @@ img {
font-family: Roboto, sans-serif;
}

.topnav a:hover {
.topnav a:hover,
.topnav .icon:hover {
background-color: #ff0000;
color: #ffffff;
border-radius: 15px;
Expand All @@ -69,15 +70,19 @@ img {
}

@media screen and (max-width: 768px) {
.topnav a {display: none;}
.topnav a {
display: none;
}
.topnav a.icon {
float: right;
display: block;
}
}

@media screen and (max-width: 768px) {
.topnav.responsive {position: relative;}
.topnav.responsive {
position: relative;
}
.topnav.responsive .icon {
position: absolute;
right: 0;
Expand All @@ -90,16 +95,16 @@ img {
}
}



@media screen and (max-width: 540px) {
.topnav a {display: none;}
@media screen and (max-width: 540px) {
.topnav a {
display: none;
}
.topnav a.icon {
float: right;
color: #ff0000;
display: block;
margin-top: -15px;
}
}
}

main {
font-size: 130%;
Expand All @@ -111,8 +116,6 @@ main {
margin: 1px 20px 15px;
border-radius: 2rem;
text-align: justify;


}

.modal-btn {
Expand Down Expand Up @@ -526,4 +529,3 @@ footer {
opacity: 1;
}
}

0 comments on commit a678a36

Please sign in to comment.