2
0

login.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. html{
  2. height:100vh;
  3. overflow:hidden;
  4. }
  5. body,main{
  6. box-sizing:border-box;
  7. }
  8. main{
  9. display:flex;
  10. align-items:center;
  11. justify-content:center;
  12. flex-direction:column
  13. }
  14. .login{
  15. text-align: center;
  16. width: 100%;
  17. margin-left: auto;
  18. margin-right: auto;
  19. }
  20. input, input[type="email"], input[type="date"] {
  21. text-align: center;
  22. }
  23. ::-webkit-input-placeholder {
  24. text-align: center;
  25. }
  26. :-moz-placeholder {
  27. text-align: center;
  28. }
  29. @media screen and (min-height: 239px) {
  30. .login{
  31. max-width: 235px;
  32. }
  33. }
  34. @media screen and (min-height: 309px) {
  35. .login{
  36. max-width: 290px;
  37. }
  38. }
  39. @media screen and (min-height: 349px) {
  40. .login{
  41. margin-top: 2%;
  42. max-width: 340px;
  43. }
  44. }
  45. @media screen and (min-height: 539px) {
  46. .login{
  47. margin-top: 10%;
  48. max-width: 520px;
  49. }
  50. }
  51. @media screen and (min-height: 839px) {
  52. .login{
  53. margin-top: 12%;
  54. max-width: 600px;
  55. }
  56. }
  57. img{
  58. width:100%;
  59. }
  60. .alertLogin{
  61. text-align: center;
  62. min-width:90%;
  63. }
  64. form{
  65. width:100%;
  66. display:flex;
  67. flex-direction:column;
  68. gap:1rem;
  69. margin:auto;
  70. }
  71. form > div {
  72. display:flex;
  73. flex-direction:column;
  74. align-items:center;
  75. }
  76. label{
  77. color: #56baed;
  78. font-family: "Poppins", sans-serif;
  79. font-size:1rem;
  80. }
  81. input{
  82. padding: 10px;
  83. background-color: white;
  84. border: 1px solid #56baed;
  85. color: #0d0d0d;
  86. border-radius:5px;
  87. transition: border-bottom 0.5s;
  88. min-width:90%;
  89. box-sizing:border-box;
  90. height: 3.2rem;
  91. text-align:center;
  92. }
  93. input:focus-visible{
  94. outline:none;
  95. border-bottom:3px solid #56baed;
  96. }
  97. button{
  98. min-height: 3.2rem;
  99. margin-top:1rem;
  100. min-width:90%;
  101. padding: 10px;
  102. background-color: #56baed;
  103. border: none;
  104. color: white;
  105. text-align: center;
  106. text-decoration: none;
  107. display: inline-block;
  108. text-transform: uppercase;
  109. -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  110. box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  111. -webkit-border-radius: 5px;
  112. border-radius: 5px;
  113. -webkit-transition: all 0.3s ease-in-out;
  114. -moz-transition: all 0.3s ease-in-out;
  115. -ms-transition: all 0.3s ease-in-out;
  116. -o-transition: all 0.3s ease-in-out;
  117. transition: all 0.3s ease-in-out;
  118. cursor:pointer;
  119. }
  120. button:hover{
  121. background-color: #39ace7;
  122. }
  123. input::-webkit-date-and-time-value {
  124. text-align: center;
  125. }