changed the place of navbar in html

admin
Flavien Haas 6 years ago
parent c10f43f1e5
commit 6a038c8048

@ -1,128 +0,0 @@
*{
margin: 0;
padding: 0;
font-family: "Calibri Light";
}
h1{
font-size: 3em;
text-align: center;
text-decoration: underline;
}
#content{
min-width: 320px;
width: 100%;
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
}
#tableauBord{
margin: 2em;
padding: 1em;
width: 100%;
}
.menu {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
background-color: rgb(65, 154, 28);
}
.menuItem {
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
color: white;
width: 10%;
min-width: 5em;
font-weight: bold;
text-decoration: none;
padding: 0.8em;
border-bottom: 4px solid rgb(65, 154, 28);
font-size: 1.1em;
text-align: center;
}
.menuItem:hover{
cursor: pointer;
border-bottom: 4px solid orange;
}
#divImgProfil{
width: 100%;
display: flex;
flex-wrap: nowrap;
justify-content: center;
}
#imgProfil{
background-color: white;
margin-top: 2.5em;
width: 60%;
height: 60%;
max-width: 210px;
max-height: 210px;
border-radius: 10px;
}
#trajet{
margin-top: 2em;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
text-align: center;
width: 100%;
}
.btnTrajet{
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
text-decoration: none;
padding: 0.4em;
color: black;
background-color: lightgray;
border: 1px solid black;
}
.btnTrajet:hover{
background-color: grey;
}
#btnTrajet2{
margin-left: 10%;
}
#recap{
margin-top: 2.5em;
width: 50%;
margin-left: 50%;
transform: translate(-50%);
}
.recapLine{
margin-bottom: 1.5em;
display: flex;
flex-wrap: nowrap;
justify-content: left;
align-items: center;
width: 100%;
}
.recapIcon{
width: 50px;
height: 50px;
}
p{
margin-left: 10%;
}

@ -1,5 +1,4 @@
<?php <?php
require ('../ressources/navbarhtml.php');
require ('../connectionBD.php'); require ('../connectionBD.php');
$mail = null; $mail = null;
$db = connexionBD(); $db = connexionBD();
@ -138,6 +137,7 @@ function showVoiture(){
<title>Tableau de bord</title> <title>Tableau de bord</title>
</head> </head>
<body> <body>
<?php require ('../ressources/navbarhtml.php'); ?>
<script type="text/javascript"> <script type="text/javascript">
function ShowTab (E){ function ShowTab (E){
document.getElementById("addVoiture").style.display = (E == 1) ? 'block' : 'none'; document.getElementById("addVoiture").style.display = (E == 1) ? 'block' : 'none';

Loading…
Cancel
Save