🎨 Centrage du titre sur l'accueil

pull/138/head
mama 2017-12-11 14:52:47 +01:00
parent 519bbd8781
commit 9c150ada20
5 changed files with 18 additions and 27 deletions

View File

@ -1,19 +1,17 @@
#home {
}
#home #header {
display: flex;
align-items: center;
justify-content: flex-start;
}
#home #header h1 {
line-height: 1.1em
margin-top: 3em;
text-align: center;
font-size: 300%
}
#home #marianne {
width: 100px;
margin: 1em;
position: absolute;
left: 2em;
top: 2em;
width: 8em;
}
#home > #content {

View File

@ -17,13 +17,14 @@ export default class Home extends Component {
src={require('../images/marianne.svg')}
alt="Un service de l'État français"
/>
<Menu right>
<a className="menu-item" href="/">À propos</a>
<a className="menu-item" href="/about">Intégrer le module</a>
<a className="menu-item" href="/contact">Contribuer</a>
</Menu>
<h1>Simulateurs d'embauche</h1>
</div>
<Menu right>
<a className="menu-item" href="/">À propos</a>
<a className="menu-item" href="/about">Intégrer le module</a>
<a className="menu-item" href="/contact">Contribuer</a>
</Menu>
<div id="content">
<TargetSelection />
</div>

View File

@ -4,7 +4,7 @@
width: 4em;
height: 3em;
right: 2em;
top: 2em;
top: 3em;
}
/* Color/shape of burger icon bars */
@ -26,7 +26,7 @@
/* General sidebar styles */
.bm-menu {
background: #373a47;
background: white;
padding: 3em 0.6em;
font-size: 280%;
}
@ -38,7 +38,6 @@
/* Wrapper for item list */
.bm-item-list {
color: white;
padding: 0.8em;
height: auto !important;
}

View File

@ -1,6 +1,6 @@
#targetSelection {
margin: 6em auto;
font-size: 110%;
margin: 3em auto;
font-size: 120%;
max-width: 860px;
}

View File

@ -15,20 +15,13 @@ body {
margin-top: 1.5em;
}
#site-logo {
width: 60px;
position: fixed;
left: 1%;
top: 4.5%;
}
a {
color: inherit;
text-decoration: none;
}
h1 {
margin: 6% 3% 0;
margin: 0 .1em;
font-size: 250%;
font-weight: 400;
}