Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 5b4024a1 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

Merge branch '38-fix-responsive-style-of-header-to-mobile' into 'master'

Resolve "fix responsive style of header to mobile"

Closes #38

See merge request !24
parents cedc8eec 2fa7dc11
No related branches found
No related tags found
1 merge request!24Resolve "fix responsive style of header to mobile"
Pipeline #2988 passed
......@@ -76,6 +76,7 @@ p {
z-index: 1;
}
/************ Header style ***********/
header {
height: 500px;
clip-path: polygon(
......@@ -84,6 +85,13 @@ header {
100% calc(100% - 6vw),0 100%)
}
.hero__subtitle {
width: 90%;
text-align: center;
margin: auto;
padding-bottom: 20px;
}
/************ main elements style***********/
.section-promises {
padding: 4rem 0;
......
......@@ -10,7 +10,7 @@ function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
return (
<header className={styles.heroBanner}>
<div className="container">
<div className="sections container">
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<Link className="button button--warning button--lg" to="https://youtu.be/gOCOai6wX_w">
......
......@@ -13,13 +13,7 @@
display: flex;
align-items: center;
justify-content: center;
background-color: var(--ifm-color-light-green);
}
@media screen and (max-width: 966px) {
.heroBanner {
padding: 2rem;
}
background-color: var(--ifm-color-light-green);
}
.container {
......@@ -28,3 +22,18 @@
align-items: center;
justify-content: center;
}
@media screen and (max-width: 966px) {
.heroBanner {
padding: 2rem;
}
}
@media screen and (max-width: 767px) {
header {
height: 100%;
}
.heroBanner {
padding: 1rem;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment