Compare commits
3
Commits
3154e3de44
...
b2daed8e99
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2daed8e99 | ||
|
|
076bd6c545 | ||
|
|
a42897de9f |
@@ -336,8 +336,8 @@ pub fn login_component() -> Html {
|
|||||||
value={(*username).clone()}
|
value={(*username).clone()}
|
||||||
oninput={Callback::from(move |e: InputEvent| {
|
oninput={Callback::from(move |e: InputEvent| {
|
||||||
let input: web_sys::HtmlInputElement = e.target_unchecked_into();
|
let input: web_sys::HtmlInputElement = e.target_unchecked_into();
|
||||||
username.set(input.value());
|
username.set(input.value());
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
.headline {
|
.headline {
|
||||||
font-size: 30px;
|
font-size: 40px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: #570000;
|
||||||
|
margin-top: 150px;
|
||||||
}
|
}
|
||||||
@@ -43,18 +43,29 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-width: 30%;
|
max-width: 40%;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
margin-top: 32px;
|
margin-top: 96px;
|
||||||
background-color:#7c7c7c;
|
background-color:#a0a0a0;
|
||||||
padding: 16px;
|
padding-bottom: 96px;
|
||||||
|
padding-left: 32px;
|
||||||
|
padding-right: 32px;
|
||||||
|
padding-top: 96px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
gap: 16px;
|
gap: 8px;
|
||||||
|
border-color: #000000;
|
||||||
|
border-style: double;
|
||||||
|
box-shadow: 20px 20px 10px;
|
||||||
|
box-shadow: rgb(43, 43, 43);
|
||||||
|
|
||||||
input, button {
|
input, button {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
box-shadow: #6d6d6d;
|
||||||
|
box-shadow: 6px 6px 8px
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user