- Style all button and inputs on admin pages with Roboto Mono font (and sans-serif as a fallback) with 1em font size; - Remove unneeded transition effect property declaration on text hover, as the regular declaration is applied when switching from hover state to regular state. - Add NPC dedicated stylesheet in which specific NPC style has been added; - Use an icon where the picture of a NPC is not available (like when adding a new one) and provide the NPC picture as the picture instead of the edition page itself; - Move NPC's JavaScript in a dedicated file, improve its code and fix its access to DOM elements.
34 lines
541 B
CSS
34 lines
541 B
CSS
form {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
input {
|
|
font-size: 1em;
|
|
margin: 1em;
|
|
padding: 0.25em;
|
|
}
|
|
|
|
.invalid_password {
|
|
color: var(--adming-yellow-color);
|
|
font-size: 1.125em;
|
|
margin-bottom: 0.25em;
|
|
margin-top: 0.25em;
|
|
text-align: center;
|
|
}
|
|
|
|
.login_title {
|
|
font-size: 2em;
|
|
margin: 0.75em;
|
|
text-align: center;
|
|
}
|
|
|
|
.password_field {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|