body{ z-index: 1; background-color: #e5e5e5; margin: 20px; text-align: center; } #lien-client{ text-decoration: none; display: block; width: 10%; color: #454444; margin: 10px auto; border: 4px solid #4e4d4d; padding: 10px 10px; border-radius: 30px; transition: 0.25s; } #lien-client:hover{ width: 20%; border-color: #ac2a8d; background-color: #dddddd; } nav{ width: 80%; margin-left: 10%; background-color: #84878C; /*couleur nav entière*/ border-radius: 20px; } nav > ul{ margin-left: auto; margin-right: auto; padding: 0px; width: 60%; } nav > ul::after{ content: ""; display: block; clear: both; } nav > ul > li{ width: 25%; float: left; position: relative; text-align: center; } nav> ul > li > a{ font-size: 100%; padding-top: 10px; padding-bottom: 10px; color: #eee; } nav li{ list-style-type: none; } nav a{ display: inline-block; text-decoration: none; } #table-search{ display: none; } .table-title td{ color: #ac2a8d; font-weight: bold; } table{ width: 80%; border-radius: 5px; margin-left: 10%; background-color: #84878C; color: #fff; border: 1px solid #84878C; } td { border: 1px solid #84878C; background-color: #e5e5e5; border-radius: 5px; color: #84878C; width: 7%; } th{ width: 100%; } .menu:hover{ background-color: #59184E; transition: .5s; border-radius: 10px; } .menu:hover > a{ color: #fff; /*texte quand on passe la souris un bouton du menu*/ font-weight: bold; } .logo{ display: block; } .champ{ background-color: inherit; position: relative; text-align: center; color: #454444; display: block; margin: 10px auto; border: 4px solid #4e4d4d; padding: 20px 40px; width: 40%; border-radius: 80px; transition: 0.25s; } .champ:focus, .champ:hover{ border-color: #ac2a8d; background-color: #dddddd; } .champ input{ border: none; outline: none; font-size: 3em; color: #aaa; width: 100%; text-align: inherit; background-color: inherit; } .submit{ background-color: inherit; position: relative; text-align: center; color: #454444; display: block; margin: 10px auto; border: 4px solid #4e4d4d; padding: 10px 10px; width: 200px; border-radius: 30px; transition: 0.25s; } .submit:hover{ width: 250px; background-color: #82E6AC; border-color: #2ecc71; } .switch { position: relative; display: inline-block; width: 60px; height: 34px; } /* Hide default HTML checkbox */ .switch input { opacity: 0; width: 0; height: 0; } /* The slider */ .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: crimson; border-radius: 34px; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; border-radius: 50%; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; } input:checked + .slider { background-color:#2ecc71; } input:focus + .slider { box-shadow: 0 0 1px #2ecc71; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(26px); }