LoginStyle.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. * {
  2. box-sizing: border-box;
  3. font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  4. font-size: 16px;
  5. -webkit-font-smoothing: antialiased;
  6. -moz-osx-font-smoothing: grayscale;
  7. }
  8. body {
  9. background-color: #435165;
  10. }
  11. .login {
  12. width: 400px;
  13. background-color: #ffffff;
  14. box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  15. margin: 100px auto;
  16. }
  17. .login h1 {
  18. text-align: center;
  19. color: #5b6574;
  20. font-size: 24px;
  21. padding: 20px 0 20px 0;
  22. border-bottom: 1px solid #dee0e4;
  23. }
  24. .login form {
  25. display: flex;
  26. flex-wrap: wrap;
  27. justify-content: center;
  28. padding-top: 20px;
  29. }
  30. .login form label {
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. width: 50px;
  35. height: 50px;
  36. background-color: #3274d6;
  37. color: #ffffff;
  38. }
  39. .login form input[type="password"], .login form input[type="text"] {
  40. width: 310px;
  41. height: 50px;
  42. border: 1px solid #dee0e4;
  43. margin-bottom: 20px;
  44. padding: 0 15px;
  45. }
  46. .login form input[type="submit"] {
  47. width: 100%;
  48. padding: 15px;
  49. margin-top: 20px;
  50. background-color: #3274d6;
  51. border: 0;
  52. cursor: pointer;
  53. font-weight: bold;
  54. color: #ffffff;
  55. transition: background-color 0.2s;
  56. }
  57. .login form input[type="submit"]:hover {
  58. background-color: #2868c7;
  59. transition: background-color 0.2s;
  60. }