male zmiany w css

This commit is contained in:
Mateusz Gruszczyński
2025-02-25 22:52:16 +01:00
parent 16c9a75253
commit d4ff3ff635
3 changed files with 49 additions and 14 deletions

View File

@ -1,19 +1,27 @@
{% extends "base.html" %}
{% block head %}
<style>
/* Poprawiona responsywność i centrowanie */
.full-height-row {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding-top: 2rem;
}
@media (max-width: 576px), (max-height: 600px) {
@media (max-width: 768px) {
.full-height-row {
min-height: auto !important;
min-height: auto;
padding-top: 1rem;
padding-bottom: 1rem;
}
}
@media (min-width: 577px) and (min-height: 600px) {
.full-height-row {
min-height: calc(100vh - 56px) !important;
}
.card {
width: 100%;
max-width: 420px;
margin: auto;
}
</style>
{% endblock %}