This repository has been archived on 2024-09-08. You can view files and clone it, but cannot push or open issues or pull requests.
iwakura-keycloak/themes/lain/login/resources/css/styles.css
2024-08-09 19:50:42 +00:00

102 lines
1.9 KiB
CSS

@keyframes fadeIn {
to {
opacity: 1;
}
}
.nwrap {
white-space: nowrap;
overflow: hidden;
text-align: right;
float: right;
clear: both;
}
:root {
--term-color: #4AF626;
}
@font-face {
font-family: "Hack Nerd Font";
src: url(../fonts/HNF-Reg.ttf);
}
body {
font-family: "Hack Nerd Font";
background-color: black;
color: var(--term-color);
border: 1px solid var(--term-color);
padding-left: 30px;
padding-right: 30px;
padding-bottom: 30px;
padding-top: 10px;
}
input {
border: none;
}
.kc-logo-text {
display: none;
}
body {
/*font-family: "Hack Nerd Font";
color: var(--term-color);*/
position:absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
#kc-form-login {
width: 100%;
}
#kc-login {
text-align: center;
justify-content: center;
margin: auto;
width: 100%;
font-family: "Hack Nerd Font";
transition: 0.3s;
}
input[type="submit"]:hover {
background-color: var(--term-color);
color: black;
}
#kc-page-title {
font-size: 2.5vw;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
display: block;
line-height: 1em; /* a */
max-height: 2em; /* a x number of line to show (ex : 2 line) */
}
.user-line, .pass-line, .nwrap input {
font-size: 0.9vw;
}
#kc-header-wrapper {
display:none;
}
input[type="submit"] {
transition: 0.3s;
text-align: center;
justify-content: center;
padding: 0;
border: none;
background: none;
color: var(--term-color);
}
.nwrap input {
}
label {display: inline;}
input[type="text"]:focus, input[type="text"]:active, input[type="text"], input[type="password"]:focus, input[type="password"]:active, input[type="password"] {
border:none;
outline:none;
font-family: "Hack Nerd Font";
color: var(--term-color);
background: transparent;
}
input[type="text"] {
transition: 0.3s;
}
#input-error {
display:none;
}
input[type="text"]::selection {
background: var(--term-color);
color: black;
}