login.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html {
  6. height: 100%;
  7. width: 100%;
  8. overflow: hidden;
  9. margin: 0;
  10. padding: 0;
  11. background: url(../imgs/Desert1.jpg) no-repeat 0px 0px;
  12. background-repeat: no-repeat;
  13. background-size: 100% 100%;
  14. -moz-background-size: 100% 100%;
  15. }
  16. body {
  17. display: flex;
  18. align-items: center;
  19. justify-content: center;
  20. height: 100%;
  21. }
  22. #loginDiv {
  23. width: 37%;
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. height: 380px;
  28. background-color: rgba(75, 81, 95, 0.3);
  29. box-shadow: 7px 7px 17px rgba(52, 56, 66, 0.5);
  30. border-radius: 5px;
  31. }
  32. #name_trip {
  33. margin-left: 50px;
  34. color: red;
  35. }
  36. p {
  37. margin-top: 30px;
  38. margin-left: 20px;
  39. color: azure;
  40. }
  41. #remember{
  42. margin-left: 15px;
  43. border-radius: 5px;
  44. border-style: hidden;
  45. background-color: rgba(216, 191, 216, 0.5);
  46. outline: none;
  47. padding-left: 10px;
  48. height: 20px;
  49. width: 20px;
  50. }
  51. #username{
  52. width: 200px;
  53. margin-left: 15px;
  54. border-radius: 5px;
  55. border-style: hidden;
  56. height: 30px;
  57. background-color: rgba(216, 191, 216, 0.5);
  58. outline: none;
  59. color: #f0edf3;
  60. padding-left: 10px;
  61. }
  62. #password{
  63. width: 202px;
  64. margin-left: 15px;
  65. border-radius: 5px;
  66. border-style: hidden;
  67. height: 30px;
  68. background-color: rgba(216, 191, 216, 0.5);
  69. outline: none;
  70. color: #f0edf3;
  71. padding-left: 10px;
  72. }
  73. .button {
  74. border-color: cornsilk;
  75. background-color: rgba(100, 149, 237, .7);
  76. color: aliceblue;
  77. border-style: hidden;
  78. border-radius: 5px;
  79. width: 100px;
  80. height: 31px;
  81. font-size: 16px;
  82. }
  83. #subDiv {
  84. text-align: center;
  85. margin-top: 30px;
  86. }
  87. #loginMsg{
  88. text-align: center;
  89. color: aliceblue;
  90. }
  91. #errorMsg{
  92. text-align: center;
  93. color:red;
  94. }