Changed rem to px aside from font-size

Good code practice
This commit is contained in:
2024-06-04 22:34:51 +02:00
parent 4f96fb5824
commit d0450ca673
9 changed files with 49 additions and 49 deletions

View File

@ -19,18 +19,18 @@
flex-direction: column;
.content-elements {
margin: 5rem 0;
margin: 80px 0;
width: inherit;
display: flex;
flex-direction: column;
gap: 1.5rem;
gap: 24px;
.login-form {
width: inherit;
form {
display: grid;
gap: 1rem;
gap: 15px;
width: inherit;
.form-field {
@ -38,19 +38,19 @@
flex-direction: column;
background-color: rgba($white, 0.5);
border-radius: 3px;
min-width: 25rem;
min-width: 400px;
margin: 0 auto;
label {
color: $black;
background-color: rgba($white, 0.5);
padding: 0.25rem;
padding: 4px;
font-size: 0.875rem;
border-radius: 3px 3px 0 0;
}
input {
padding: 0.3rem 0.25rem;
padding: 4px;
font-size: 0.875rem;
&:focus-visible {
@ -64,11 +64,11 @@
.row-buttons {
display: flex;
justify-content: center;
gap: 0.5rem;
gap: 8px;
.button {
padding: 0.6rem 0;
min-width: 6.25rem;
padding: 10px 0;
min-width: 100px;
font-size: 0.65rem;
border-radius: 5px;
@ -81,7 +81,7 @@
}
.main-title {
margin-top: 7rem;
margin-top: 115px;
text-align: center;
font-size: 3rem;
text-shadow:

View File

@ -24,7 +24,7 @@ h1, h2, h3, h4, h5, h6 {
}
p, span, li, a, button, label {
font-family: Arial, sans-serif;
font-family: Helvetica, Arial, sans-serif;
color: $white;
}