fix login + headerwidth

This commit is contained in:
CodeSteak 2020-01-25 22:17:16 +01:00
parent 26d05eace5
commit f53a442fa6
2 changed files with 46 additions and 37 deletions

View File

@ -1,41 +1,5 @@
@import "fonts.css";
.dropdown {
width: 15rem;
display: block;
}
.dropdown-content {
display: none;
position: absolute;
}
.dropdown .dropdown-button {
display: block;
width: 15rem;
margin-top: 0px;
margin-bottom: 0px;
}
.dropdown:hover .dropdown-content {
}
.dropdown:hover .dropdown-button {
display: inline-block;
background-color: var(--root-c-black);
width: 15rem;
margin: 0px;
}
.dropdown:hover .dropdown-content {
display: flex;
flex-direction: column;
align-items: stretch;
}
.dropdown:hover .dropdown-content>* {
margin: 0px;
min-width: 15rem;
}
:root {
font-family: "Fira Sans";
@ -862,3 +826,48 @@ fieldset label {
.no-margin {
margin: 0px;
}
/***
THE UGLY
TODO: Refactor
****/
.dropdown {
width: 12.5rem;
display: block;
}
.dropdown-content {
display: none;
position: absolute;
}
.dropdown .dropdown-button {
display: block;
width: 12.5rem;
margin-top: 0px;
margin-bottom: 0px;
}
.dropdown:hover .dropdown-content {
}
.dropdown:hover .dropdown-button {
display: inline-block;
background-color: var(--root-c-black);
width: 12.5rem;
margin: 0px;
}
.dropdown:hover .dropdown-content {
display: flex;
flex-direction: column;
align-items: stretch;
}
.dropdown:hover .dropdown-content>* {
margin: 0px;
width: 12.5rem;
}

View File

@ -18,7 +18,7 @@
<div class="s">
<label for="password">Passwort</label>
<input class="full-width" type="text" name="password" placeholder="Passwort" id="password" required>
<input class="full-width" type="password" name="password" placeholder="Passwort" id="password" required>
</div>
<div class="s">