add js
This commit is contained in:
19
style.css
19
style.css
@@ -1,15 +1,11 @@
|
||||
/* ------------------ */
|
||||
/* GLOBAL */
|
||||
/* ------------------ */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
/* ------------------ */
|
||||
/* NAVIGATION */
|
||||
/* ------------------ */
|
||||
nav {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@@ -25,18 +21,14 @@ nav a:hover {
|
||||
color: #007BFF;
|
||||
}
|
||||
|
||||
/* ------------------ */
|
||||
/* DASHBOARD */
|
||||
/* ------------------ */
|
||||
.dashboard {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
/* ------------------ */
|
||||
/* WIDGETS */
|
||||
/* ------------------ */
|
||||
.widget {
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
@@ -51,15 +43,8 @@ nav a:hover {
|
||||
.energie { background-color: #FFFACD; }
|
||||
.lumiere { background-color: #F5F5DC; }
|
||||
|
||||
.graphiques {
|
||||
grid-column: span 4;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.alertes {
|
||||
grid-column: span 4;
|
||||
background-color: #FFC0CB;
|
||||
}
|
||||
.graphiques { grid-column: span 4; background-color: white; }
|
||||
.alertes { grid-column: span 4; background-color: #FFC0CB; }
|
||||
|
||||
/* icones */
|
||||
.icone {
|
||||
|
||||
Reference in New Issue
Block a user