From b002969806a87181b500db4ed16f9dad591db374 Mon Sep 17 00:00:00 2001 From: flavien Date: Mon, 20 May 2019 12:58:04 +0200 Subject: [PATCH] added css --- WEB/ressources/tableauBord.css | 128 +++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 WEB/ressources/tableauBord.css diff --git a/WEB/ressources/tableauBord.css b/WEB/ressources/tableauBord.css new file mode 100644 index 0000000..081f4c0 --- /dev/null +++ b/WEB/ressources/tableauBord.css @@ -0,0 +1,128 @@ +*{ + 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%; +} \ No newline at end of file