Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
metalfeanor committed Apr 10, 2021
1 parent 450d23a commit 92ecd2a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 19 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<body>
<div class="topnav" id="myTopnav">
<div class="header-logo">
<img alt="logo" src="Logo.png" width="auto" height="auto" />
<img alt="logo" src="Logo.png" />
</div>
<div class="main-navbar">
<a href="#" class="active"><span>Accueil</span></a>
Expand Down
66 changes: 48 additions & 18 deletions modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
/* Landing Page */

body {
margin: 0;
display: flex;
flex-direction: column;
/*background-image: url("background.png");*/
Expand All @@ -33,13 +32,14 @@ img {
.topnav {
overflow: hidden;
margin: 3.5%;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
align-items: center;
}
.header-logo {
float: left;
}
.main-navbar {
float: right;
}
.topnav a {
float: left;
display: block;
Expand Down Expand Up @@ -68,7 +68,7 @@ img {
display: none;
}

@media screen and (max-width: 768px) {
@media screen and (max-width: 540px) {
.topnav a {
display: none;
}
Expand All @@ -79,8 +79,17 @@ img {
}

@media screen and (max-width: 768px) {
.topnav a {
display: none;
}
.topnav a.icon {
float: right;
display: block;
}
.topnav.responsive {
position: relative;
flex-flow: column wrap;
align-items: initial;
}
.topnav.responsive .icon {
position: absolute;
Expand All @@ -94,17 +103,6 @@ img {
}
}

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

main {
font-size: 130%;
font-weight: bolder;
Expand Down Expand Up @@ -241,7 +239,7 @@ input[data-error]::after {
flex-flow: wrap;
align-items: center;
padding: 20%;
height: 96vh;
height: 90vh;
}

/* Error Message */
Expand Down Expand Up @@ -369,6 +367,9 @@ input[data-error]::after {
border: 0;
align-self: flex-end;
}
.btn-close:hover {
background: #3876ac;
}
/* custom select styles */
.custom-select {
position: relative;
Expand Down Expand Up @@ -440,6 +441,28 @@ input[data-error]::after {
font-weight: normal;
font-size: 16px;
}
@media screen and (max-width: 540px) {
.content {
margin: 20% auto;
}
label {
margin-bottom: 7px;
margin-top: 5px;
font-size: 14px;
}
.text-control {
height: 30px;
}
.modal-body {
margin: auto;
}
.text-label {
font-size: 14px;
}
.btn-submit {
padding: 6px 50px;
}
}
.hero-section {
min-height: 93vh;
border-radius: 10px;
Expand Down Expand Up @@ -514,6 +537,12 @@ footer {
padding-right: 2vw;
margin: 0 20px;
}
@media screen and (max-width: 1000px) {
.hero-headline {
font-size: 4.5rem;
}
}

@media screen and (max-width: 800px) {
.hero-section {
display: block;
Expand All @@ -523,6 +552,7 @@ footer {
background: #fff;
color: #000;
padding: 20px;
min-width: 100%;
}
.hero-content::after {
content: unset;
Expand All @@ -531,7 +561,7 @@ footer {
display: none;
}
.hero-headline {
font-size: 4.5rem;
font-size: 3.5rem;
white-space: normal;
}
.hero-text {
Expand Down

0 comments on commit 92ecd2a

Please sign in to comment.