* { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #1e1e2e; color: #ff66ff; } .container { margin: 0 auto; padding: 0 20px; overflow: hidden; } header { background-color: #14141f; color: #ff66ff; padding: 10px 0; border-bottom: 1px solid grey; } #logo { float: left; font-size: 1.5em; } nav { float: right; } .nav-links { list-style-type: none; margin: 0; padding: 0; } .nav-links li { display: inline-block; margin-left: 20px; } .nav-links li a { color: #fff; text-decoration: none; padding: 10px 15px; display: inline-block; transition: background-color 0.3s; } .nav-links li a:hover { background-color: #555; } .content { padding: 50px 0; } form { padding: 50px 0; text-align: center; } form label { padding: 15px; } form input { margin-bottom: 15px; } .login-form { padding: 50px 0; text-align: center; } .login-form label { padding: 15px; } .login-form input { margin-bottom: 15px; } .user-form, .employee-form { padding: 80px; width: 100%; } .user-form input { width: 100%; } .employee-form input { width: 100%; } table { width: 100%; } table, th, td { border: 1px solid grey; border-collapse: collapse; } td, th { padding: 5px 15px; } input[type=submit] { padding: 5px 20px; } input[type=text], input[type=password], input[type=email] { background-color: inherit; color: inherit; border: none; border-bottom: 2px solid #555; padding: 5px; } input[type=text]:focus, input[type=password]:focus, input[type=email]:focus { outline: none; } .btn { cursor: pointer; } .btn-edit img { position: fixed; right: 30px; width: 30px; height: 30px; } .btn img:hover { background-color: #555; } .btn-delete img { width: 20px; height: 20px; margin-top: 5px; } .btn-delete img:hover { background-color: #555; } .toggle img { background-color: inherit; width: 60px; height: 30px; cursor: pointer; } .toggle img:hover { background-color: #555; } .dropbtn { background-color: #3498DB; color: white; padding: 16px; font-size: 16px; border: none; cursor: pointer; } .dropbtn:hover, .dropbtn:focus { background-color: #2980B9; } .dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; background-color: #f1f1f1; min-width: 160px; overflow: auto; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } .dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; } .dropdown a:hover { background-color: #ddd; } .show { display: block; }