Commit f3564fdb1b565ae801cc462fd01d17fa5b586c59
1 parent
8daade8c
Ajout des fichiers du site
Showing
17 changed files
with
593 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,117 @@ |
1 | +<?php | |
2 | + function connexion() | |
3 | + { | |
4 | + $machine='houplin.studserv.deule.net' ; | |
5 | + $user='grouille' ; | |
6 | + $pwd='postgres' ; | |
7 | + $db='projetCapteurs' ; | |
8 | + $link = pg_connect("host=$machine user=$user password=$pwd dbname=$db") or die('Erreur de Connection !<br />'.pg_last_error()) ; | |
9 | + return $link ; | |
10 | + } | |
11 | + | |
12 | + function deconnexion($db) | |
13 | + { | |
14 | + pg_close($db); | |
15 | + } | |
16 | + | |
17 | + function verifPwd($id, $pwd) | |
18 | + { | |
19 | + $db = connexion(); | |
20 | + $query = "SELECT pwd FROM membres WHERE identifiant = '$id'"; | |
21 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
22 | + $pass = pg_fetch_assoc($result); | |
23 | + deconnexion($db); | |
24 | + return(password_verify($pwd, $pass['pwd'])); | |
25 | + } | |
26 | + | |
27 | + function notAMember($id) | |
28 | + { | |
29 | + $db = connexion(); | |
30 | + $query = "SELECT * FROM membres WHERE identifiant = '$id'"; | |
31 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
32 | + if (pg_affected_rows($result)!=0){ | |
33 | + return False; | |
34 | + } | |
35 | + else{ | |
36 | + return True; | |
37 | + } | |
38 | + } | |
39 | + | |
40 | + function countMember() | |
41 | + { | |
42 | + $db = connexion(); | |
43 | + $query = "SELECT * FROM membres"; | |
44 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
45 | + return pg_affected_rows($result); | |
46 | + } | |
47 | + | |
48 | + function inscription($id, $pwd, $nom, $prenom) | |
49 | + { | |
50 | + $db = connexion(); | |
51 | + $num = countMember() +1; | |
52 | + $pwd_hache = password_hash($pwd, PASSWORD_DEFAULT); | |
53 | + $query = "INSERT INTO membres VALUES('$num', '$nom', '$prenom', '$pwd_hache', '$id')"; | |
54 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
55 | + if (pg_affected_rows($result)!=0){ | |
56 | + return True; | |
57 | + } | |
58 | + else{ | |
59 | + return False; | |
60 | + } | |
61 | + } | |
62 | + | |
63 | + function getMembreByIdPwd($id, $pwd) | |
64 | + { | |
65 | + $db = connexion(); | |
66 | + $query = "SELECT nom, prenom, pwd FROM membres WHERE identifiant = '$id'"; | |
67 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
68 | + $tab = pg_fetch_assoc($result); | |
69 | + if(password_verify($pwd, $tab['pwd'])) | |
70 | + return $tab; | |
71 | + } | |
72 | + | |
73 | + function getSensors() | |
74 | + { | |
75 | + $db = connexion(); | |
76 | + $query = "SELECT * FROM capteurs"; | |
77 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
78 | + $tab = pg_fetch_all($result); | |
79 | + return $tab; | |
80 | + } | |
81 | + | |
82 | + function upload($index,$maxsize=FALSE,$extensions=FALSE) | |
83 | + { | |
84 | + //Test1: fichier correctement uploadé | |
85 | + if (!isset($_FILES[$index]) OR $_FILES[$index]['error'] > 0) return FALSE; | |
86 | + //Test2: taille limite | |
87 | + if ($maxsize !== FALSE AND $_FILES[$index]['size'] > $maxsize) return FALSE; | |
88 | + //Test3: extension | |
89 | + $ext = substr(strrchr($_FILES[$index]['name'],'.'),1); | |
90 | + if ($extensions !== FALSE AND !in_array($ext,$extensions)) return FALSE; | |
91 | + $name = 'binaire'; | |
92 | + $extension_upload = strtolower( substr( strrchr($_FILES['fichier']['name'], '.') ,1) ); | |
93 | + $fichier = "upload/{$name}.{$extension_upload}"; | |
94 | + //$fichier = basename($_FILES[$index]['name']); | |
95 | + return move_uploaded_file($_FILES['fichier']['tmp_name'],$fichier); | |
96 | + } | |
97 | + | |
98 | + function get_num() | |
99 | + { | |
100 | + $db = connexion(); | |
101 | + $query = "SELECT num FROM verif"; | |
102 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
103 | + $tab = pg_fetch_assoc($result); | |
104 | + return $tab['num']; | |
105 | + } | |
106 | + | |
107 | + function inc_num() | |
108 | + { | |
109 | + $db = connexion(); | |
110 | + $query = "SELECT num FROM verif"; | |
111 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
112 | + $tab = pg_fetch_assoc($result); | |
113 | + $var = $tab['num']; | |
114 | + $query = "UPDATE verif SET num='$var'+1"; | |
115 | + $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); | |
116 | + } | |
117 | +?> | |
0 | 118 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,25 @@ |
1 | +<?php | |
2 | +session_start(); | |
3 | +?> | |
4 | +<!DOCTYPE html> | |
5 | + | |
6 | +<html> | |
7 | + <head> | |
8 | + <?php include("head.php"); ?> | |
9 | + </head> | |
10 | + | |
11 | + <!-- Contenu du site --> | |
12 | + <body> | |
13 | + <?php | |
14 | + include("header.php"); | |
15 | + if(isset($_SESSION['Login'], $_SESSION['Password'])) | |
16 | + { | |
17 | + include("capteurs.php"); | |
18 | + } | |
19 | + else | |
20 | + { | |
21 | + include("formConnexion.php"); | |
22 | + } | |
23 | + ?> | |
24 | + </body> | |
25 | +</html> | |
0 | 26 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,36 @@ |
1 | +#include <stdio.h> | |
2 | +#include <stdlib.h> | |
3 | +#include <wiringPi.h> | |
4 | +#include <string.h> | |
5 | + | |
6 | +void add_caract(char word[], char caract) | |
7 | +{ | |
8 | + char str[2]; | |
9 | + str[0] = caract; | |
10 | + str[1] = '\0'; | |
11 | + strcat(word, str); | |
12 | +} | |
13 | + | |
14 | +int main() | |
15 | +{ | |
16 | + FILE* fp = fopen("stock.txt", "r"); | |
17 | + char set[2]; | |
18 | + fscanf(fp, "%s", set); | |
19 | + int pin = (int)atoi(set); | |
20 | + if(pin==4) return 0; | |
21 | + if(wiringPiSetup()==-1) | |
22 | + { | |
23 | + return 0; | |
24 | + } | |
25 | + pinMode(pin,OUTPUT); | |
26 | + int i=0; | |
27 | + while(i<10) | |
28 | + { | |
29 | + digitalWrite(pin,1);//la valeur est définie à HIGH (3.3v) | |
30 | + delay(500); //on attend 500ms | |
31 | + digitalWrite(pin,0);//la valeur est définie à LOW (0V) | |
32 | + delay(500); | |
33 | + i++; | |
34 | + } | |
35 | + return 0; | |
36 | +} | ... | ... |
... | ... | @@ -0,0 +1,48 @@ |
1 | +<?php | |
2 | +$sensors = getSensors(); | |
3 | +?> | |
4 | + | |
5 | +<div class="row"> | |
6 | + <div class="col-6 col-md-6 offset-md-3 offset-3"> | |
7 | + <br/> | |
8 | + <h1 style="margin-bottom:50px; margin-top:50px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-bars"></i> Choix du capteur</h1> | |
9 | + <form action="envoiFichiers.php" method="post" enctype="multipart/form-data"> | |
10 | + <table class="table table-striped table-bordered"> | |
11 | + <tbody> | |
12 | + <tr> | |
13 | + <td>Sélection</td> | |
14 | + <td>Nom</td> | |
15 | + <td>Raspberry</td> | |
16 | + <td>Type</td> | |
17 | + </tr> | |
18 | + | |
19 | + <?php | |
20 | + foreach($sensors as $sensor){ | |
21 | + ?> | |
22 | + <tr> | |
23 | + <td><div class="form-check"><input class="form-check-input position-static" type="radio" name="sensor" id="sensor1" value="<?php echo $sensor['raspberry'];?>" aria-label="..."></div> | |
24 | + <td><?php echo $sensor['nom'];?></td> | |
25 | + <td><?php echo $sensor['raspberry'];?></td> | |
26 | + <td><?php echo $sensor['type'];?></td> | |
27 | + </tr> | |
28 | + <?php | |
29 | + } | |
30 | + ?> | |
31 | + | |
32 | + </tbody> | |
33 | + </table> | |
34 | + | |
35 | + <h1 style="margin-bottom:50px; margin-top:50px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-file-upload"></i> Uploader un fichier</h1> | |
36 | + <div class="panel panel-default"> | |
37 | + | |
38 | + <div class="form-group"> | |
39 | + <label for="exampleFormControlFile1">Charger un fichier</label> | |
40 | + <input type="file" name="fichier" class="form-control-file" id="fichier"> | |
41 | + <input type="hidden" name="MAX_FILE_SIZE" value="1048576" /> | |
42 | + </div> | |
43 | + | |
44 | + </div> | |
45 | + <input type="submit" class="btn btn-dark btn-lg btn-block"style="margin-top:50px;" value="Envoyer"/> | |
46 | + </form> | |
47 | + </div> | |
48 | +</div> | |
0 | 49 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,42 @@ |
1 | +<?php | |
2 | +session_start(); | |
3 | +require("accesBase.php") ; | |
4 | +?> | |
5 | + | |
6 | +<!DOCTYPE html> | |
7 | + | |
8 | +<html> | |
9 | + <head> | |
10 | + <?php include("head.php"); ?> | |
11 | + </head> | |
12 | + | |
13 | + <!-- Contenu du site --> | |
14 | + <body> | |
15 | + <?php include("header.php"); ?> | |
16 | + | |
17 | + <!-- Centre de la page --> | |
18 | + <div class="container-fluid"> | |
19 | + <div class="row"> | |
20 | + | |
21 | + <!-- Contenu de la page --> | |
22 | + <!-- Connexion --> | |
23 | + <div class="row syst"> | |
24 | + <div class="connect"> | |
25 | + <?php | |
26 | + if (verifPwd($_POST["id"], $_POST["pwd"])){ | |
27 | + $_SESSION['Login'] = $_POST['id']; | |
28 | + $_SESSION['Password'] = $_POST['pwd']; | |
29 | + ?><meta http-equiv="Refresh" content="0;url=accueil.php" /><?php | |
30 | + } | |
31 | + else | |
32 | + echo "---------------------erreur de mdp";?> | |
33 | + </div> | |
34 | + </div> | |
35 | + <!-- fin connexion --> | |
36 | + </div> | |
37 | + <!-- fin contenu de la page --> | |
38 | + </div> | |
39 | + </div> | |
40 | + <!-- fin centre de la page --> | |
41 | + </body> | |
42 | +</html> | ... | ... |
No preview for this file type
... | ... | @@ -0,0 +1,77 @@ |
1 | +<?php | |
2 | +session_start(); | |
3 | +?> | |
4 | +<!DOCTYPE html> | |
5 | + | |
6 | +<html> | |
7 | + <head> | |
8 | + <?php include("head.php"); ?> | |
9 | + </head> | |
10 | + | |
11 | + <!-- Contenu du site --> | |
12 | + <body> | |
13 | + <?php | |
14 | + include("header.php"); | |
15 | + $upload1 = upload('fichier',FALSE, array('c', 'txt') ); | |
16 | + ?> | |
17 | + <div class="row"> | |
18 | + <div class="col-4 col-md-4 offset-md-4 offset-4"> | |
19 | + <br/> | |
20 | + <h1 style="margin-bottom:50px; margin-top:50px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-cloud"></i> Envoi du fichier en ligne</h1> | |
21 | + <?php if($upload1){ | |
22 | + inc_num(); | |
23 | + ?> | |
24 | + <div class="alert alert-success" role="alert"> | |
25 | + Upload du fichier réussi ! | |
26 | + </div> | |
27 | + <?php | |
28 | + } | |
29 | + else {?> | |
30 | + <div class="alert alert-danger" role="alert"> | |
31 | + Erreur lors du transfert du fichier ! | |
32 | + </div><?php | |
33 | + } | |
34 | + ?> | |
35 | + <h1 style="margin-bottom:50px; margin-top:50px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-info-circle"></i> Informations complémentaires</h1> | |
36 | + <table class="table table-striped table-bordered"> | |
37 | + <tbody> | |
38 | + <tr> | |
39 | + <td>Nom du fichier</td> | |
40 | + <td><?php echo $_FILES['fichier']['name'];?></td> | |
41 | + </tr> | |
42 | + <tr> | |
43 | + <td>Type</td> | |
44 | + <td><?php echo $_FILES['fichier']['type'];?></td> | |
45 | + </tr> | |
46 | + <tr> | |
47 | + <td>Localisation</td> | |
48 | + <td><?php echo $_FILES['fichier']['tmp_name'];?></td> | |
49 | + </tr> | |
50 | + <tr> | |
51 | + <td>Erreur</td> | |
52 | + <td><?php echo $_FILES['fichier']['error'];?></td> | |
53 | + </tr> | |
54 | + <tr> | |
55 | + <td>Taille</td> | |
56 | + <td><?php echo $_FILES['fichier']['size'];?></td> | |
57 | + | |
58 | + </tr> | |
59 | + </tbody> | |
60 | + </table> | |
61 | + | |
62 | + </div> | |
63 | + </div> | |
64 | + </body> | |
65 | +</html> | |
66 | + | |
67 | +<?php | |
68 | +if ( isset($_POST['sensor']) ) { | |
69 | + $xml = "<?xml version='1.0' encoding='ISO-8859-1'?>\r\n" | |
70 | + . '<sensor>' . htmlspecialchars($_POST['sensor']) . '</sensor>' ; | |
71 | + file_put_contents('upload/sensor.xml', $xml) ; | |
72 | +} | |
73 | +if ( isset($_POST['sensor']) ) { | |
74 | + $txt = get_num(); | |
75 | + file_put_contents('upload/demande.txt', $txt); | |
76 | +} | |
77 | +?> | |
0 | 78 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,20 @@ |
1 | +<div class="row"> | |
2 | + <div class="col-4 col-md-4 offset-md-4 offset-4"> | |
3 | + <br/> | |
4 | + <h1 style="margin-bottom:50px; margin-top:50px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-user-shield"></i> Connexion</h1> | |
5 | + <form action="connecter.php" method="post"> | |
6 | + <table class="table table-striped table-bordered"> | |
7 | + <tbody> | |
8 | + <tr> | |
9 | + <td>Identifiant : </td> | |
10 | + <td><input type="text" name="id" placeholder="Entrez votre identifiant" maxlength="30" required="true" class="case" /></td> | |
11 | + </tr> | |
12 | + <tr><td>Mot de passe :</td> | |
13 | + <td><input type="password" name="pwd" placeholder="Entrez votre mot de passe" required="true" class="case" /></td> | |
14 | + </tr> | |
15 | + <tr><td></td><td><input type="submit" class="btn btn-dark" value="Se connecter"/></td></tr> | |
16 | + </tbody> | |
17 | + </table> | |
18 | + </form> | |
19 | + </div> | |
20 | +</div> | |
0 | 21 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,40 @@ |
1 | +<div class="row"> | |
2 | + <div class="col-4 col-md-4 offset-md-4 offset-4"> | |
3 | + <br/> | |
4 | + <h1 style="margin-bottom:50px; margin-top:50px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fa fa-user-circle"></i> Inscription</h1> | |
5 | + <form action="inscription.php" method="post"> | |
6 | + <table class="table table-striped table-bordered"> | |
7 | + <tbody> | |
8 | + <tr> | |
9 | + <td>Nom : </td> | |
10 | + <td><input type="text" name="nom" placeholder="Entrez votre nom" required="true" /></td> | |
11 | + </tr> | |
12 | + | |
13 | + <tr> | |
14 | + <td>Prénom : </td> | |
15 | + <td><input type="text" name="prenom" placeholder="Entrez votre prénom" required="true" /></td> | |
16 | + </tr> | |
17 | + | |
18 | + <tr> | |
19 | + <td>Identifiant: </td> | |
20 | + <td><input type="text" name="id" placeholder="Entrez votre identifiant" maxlength="30" required="true" /></td> | |
21 | + </tr> | |
22 | + | |
23 | + <tr> | |
24 | + <td>Mot de passe :</td> | |
25 | + <td><input type="password" name="pass1" placeholder="Entrez votre mot de passe" required="true" /></td> | |
26 | + </tr> | |
27 | + <tr> | |
28 | + <td>Confirmer mot de passe :</td> | |
29 | + <td><input type="password" name="pass2" placeholder="Entrez votre mot de passe" required="true" /></td> | |
30 | + </tr> | |
31 | + | |
32 | + <tr> | |
33 | + <td></td> | |
34 | + <td><input type="submit" class="btn btn-dark" value="S'inscrire"/></td> | |
35 | + </tr> | |
36 | + </tbody> | |
37 | + </table> | |
38 | + </form> | |
39 | + </div> | |
40 | +</div> | |
0 | 41 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,14 @@ |
1 | +<meta charset="utf-8"> | |
2 | +<title>Administration Réseau</title> | |
3 | + | |
4 | +<!-- font --> | |
5 | +<link href="https://fonts.googleapis.com/css?family=Raleway:300,400,500,600" rel="stylesheet"> | |
6 | + | |
7 | +<!-- css --> | |
8 | +<link rel="stylesheet" href="css/bootstrap.min.css"> | |
9 | +<link rel="stylesheet" href="css/style.css"> | |
10 | +<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"> | |
11 | +<script src="js/dropzone.js"></script> | |
12 | + | |
13 | +<!-- js --> | |
14 | +<script type="text/javascript" src="./js/bootstrap.min.js"></script> | |
0 | 15 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,26 @@ |
1 | +<!-- header --> | |
2 | +<header class="container-fluid header"> | |
3 | + <div class="container"> | |
4 | + <a href ="accueil.php" class="logo"><i class="fa fa-home"></i> Gestion des noeuds</a> | |
5 | + <div class="menu"> | |
6 | + <?php | |
7 | + if(isset($_SESSION['Login'], $_SESSION['Password'])) | |
8 | + { | |
9 | + require("accesBase.php") ; | |
10 | + $membre = getMembreByIdPwd($_SESSION['Login'], $_SESSION['Password']); | |
11 | + ?> | |
12 | + <a href="settings.php"><i class="fa fa-cog"></i> <?php echo $membre['prenom']; echo ' '; echo $membre['nom'];?></a> | |
13 | + <a href="deconnecter.php"><i class="fa fa-power-off"></i> Deconnexion</a> | |
14 | + <?php | |
15 | + } | |
16 | + else | |
17 | + { | |
18 | + ?> | |
19 | + <a href="inscrire.php"><i class="fa fa-user-circle"></i> Inscription</a> | |
20 | + <?php | |
21 | + } | |
22 | + ?> | |
23 | + </div> | |
24 | + </div> | |
25 | +</header> | |
26 | +<!-- end header --> | |
0 | 27 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,54 @@ |
1 | +<?php | |
2 | +session_start(); | |
3 | +require("accesBase.php") ; | |
4 | +?> | |
5 | + | |
6 | +<!DOCTYPE html> | |
7 | + | |
8 | +<html> | |
9 | + <head> | |
10 | + <?php include("head.php"); ?> | |
11 | + </head> | |
12 | + | |
13 | + <!-- Contenu du site --> | |
14 | + <body> | |
15 | + <?php include("header.php"); ?> | |
16 | + | |
17 | + <!-- Centre de la page --> | |
18 | + <div class="container-fluid"> | |
19 | + <div class="row"> | |
20 | + | |
21 | + <!-- Contenu de la page --> | |
22 | + <!-- Connexion --> | |
23 | + <div class="row syst"> | |
24 | + <div class="inscritpion"> | |
25 | + <?php | |
26 | + if (notAMember($_POST["id"])){ | |
27 | + if($_POST["pass1"]==$_POST["pass2"]){ | |
28 | + if(inscription($_POST["id"], $_POST["pass1"], $_POST["nom"], $_POST["prenom"])) | |
29 | + { | |
30 | + $_SESSION['Login'] = $_POST['id']; | |
31 | + $_SESSION['Password'] = $_POST['pass1']; | |
32 | + ?><meta http-equiv="Refresh" content="0;url=accueil.php" /><?php | |
33 | + } | |
34 | + else | |
35 | + echo "erreur inscri"; | |
36 | + | |
37 | + } | |
38 | + else | |
39 | + echo "erreur pwd"; | |
40 | + } | |
41 | + else{ | |
42 | + echo "erreur membre"; | |
43 | + } | |
44 | + ?> | |
45 | + </div> | |
46 | + </div> | |
47 | + <!-- fin connexion --> | |
48 | + </div> | |
49 | + <!-- fin contenu de la page --> | |
50 | + </div> | |
51 | + </div> | |
52 | + <!-- fin centre de la page --> | |
53 | + </body> | |
54 | +</html> | ... | ... |
... | ... | @@ -0,0 +1,13 @@ |
1 | +<!DOCTYPE html> | |
2 | + | |
3 | +<html> | |
4 | +<head> | |
5 | +<?php include("head.php"); ?> | |
6 | + </head> | |
7 | + | |
8 | + <!-- Contenu du site --> | |
9 | + <body> | |
10 | + <?php include("header.php"); ?> | |
11 | + <?php include("formInscription.php");?> | |
12 | + </body> | |
13 | +</html> | |
0 | 14 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,60 @@ |
1 | +@CHARSET "UTF-8"; | |
2 | + | |
3 | +body { | |
4 | + padding:0; | |
5 | + font-family: 'Raleway', sans-serif; | |
6 | + margin:0 auto; | |
7 | + width: 100%; | |
8 | + overflow-x: hidden; | |
9 | + background-color:#fafafa; | |
10 | +} | |
11 | + | |
12 | +html { | |
13 | + padding:0; | |
14 | + margin:0; | |
15 | +} | |
16 | + | |
17 | +/* Header */ | |
18 | + | |
19 | +.header { | |
20 | + background-color: #0D0D0D; | |
21 | + height:70px; | |
22 | + line-height: 70px; | |
23 | +} | |
24 | + | |
25 | +a, a:hover { | |
26 | + text-decoration: none; | |
27 | +} | |
28 | + | |
29 | +.container-fluid { | |
30 | + padding: 0; | |
31 | +} | |
32 | + | |
33 | +.menu { | |
34 | + float: right; | |
35 | +} | |
36 | + | |
37 | +.menu a { | |
38 | + color:#fff; | |
39 | + margin-right: 20px; | |
40 | +} | |
41 | + | |
42 | +.menu a:hover { | |
43 | + color:#cfcfcf; | |
44 | +} | |
45 | + | |
46 | +.logo { | |
47 | + color: #fff; | |
48 | + /*text-transform: uppercase;*/ | |
49 | + letter-spacing: 1px; | |
50 | + float:left; | |
51 | + font-family: 'Raleway', sans-serif; | |
52 | +} | |
53 | + | |
54 | +.logo:hover { | |
55 | + color:#cfcfcf | |
56 | +} | |
57 | + | |
58 | +.inscription { | |
59 | + text-align:center; | |
60 | +} | ... | ... |