oazaSrdceWeb / css / login.css
login.css
Raw
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #a5d2fc;
}
.container {
  max-width: 800px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 35%;
}

img {
  width: 150px;
  height: 130px;
  margin: 0 auto;
  display: block;
}
.formParts {
  margin-bottom: 8px;
}
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border-radius: 25px;
  border: 1px solid #ced4da;
  font-size: 16px;
  width: 95%;
}
button[type="submit"] {
  width: 30%;
  padding: 10px;
  border-radius: 25px;
  border: none;
  background-color: #0071bc;
  color: white;
  font-size: 16px;
  margin-right: 25px;
  margin-top: 10px;
}
button[type="submit"]:hover {
  background-color: rgb(41, 123, 210);
}
.alert {
  border-radius: 25px;
}
/* Tablet  */
@media (min-width: 577px) and (max-width: 920px) {
  .container {
    width: 40%;
  }
  .formParts button {
    min-width: 50%;
  }
}

/* Mobilní styl */
@media (max-width: 576px) {
  .container {
    width: 90%;
  }
  .formParts button {
    min-width: 70%;
  }
}