fix: make sure things load properly on login/signup
This commit is contained in:
parent
f760156651
commit
e52a9e997c
5 changed files with 81 additions and 61 deletions
|
|
@ -184,16 +184,15 @@ textarea:focus {
|
|||
form div {
|
||||
position: relative;
|
||||
display: flex;
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
form label {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
font-size: 30px;
|
||||
top: 0;
|
||||
font-size: large;
|
||||
margin: 10px;
|
||||
padding: 0 10px;
|
||||
background-color: var(--bg);
|
||||
-webkit-transition:
|
||||
top 0.2s ease-in-out,
|
||||
font-size 0.2s ease-in-out;
|
||||
|
|
@ -204,8 +203,10 @@ form label {
|
|||
|
||||
form input:focus ~ label,
|
||||
form input:valid ~ label {
|
||||
top: -25px;
|
||||
font-size: 20px;
|
||||
top: -1.6rem;
|
||||
font-size: small;
|
||||
border: 1px solid rgba(128, 128, 128, 0.2);
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
form input:focus {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue