gnu-social/public/assets/css/security/security.css

82 lines
1.6 KiB
CSS
Raw Normal View History

.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(4 * var(--main-size));
justify-content: center;
align-items: center;
margin-left: 1%;
margin-right: 1%;
margin-bottom: 1%;
2020-09-05 13:08:58 +09:00
}
form {
font-size: var(--medium-size);
background-color: var(--bg2);
2020-07-26 07:55:09 +09:00
padding: calc(2 * var(--unit-size));
2020-09-05 13:08:58 +09:00
border-radius: var(--unit-size);
border: solid 2px var(--accent-low);
}
label {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
width: 100%;
}
2020-07-26 07:55:09 +09:00
button {
margin-top: var(--unit-size);
}
input[type=text],
2020-07-26 07:55:09 +09:00
input[type=password],
input[type=email] {
margin-top: calc(var(--unit-size) * 0.5);
background-color: var(--bg1);
color: var(--fg);
border-style: none;
2020-07-26 07:55:09 +09:00
padding: calc(var(--unit-size) * 0.5);
border-radius: calc(var(--unit-size) * 0.5);
2020-09-05 13:08:58 +09:00
font-size: var(--unit-size);
2020-07-26 07:55:09 +09:00
margin-bottom: var(--unit-size);
width: calc(100% - var(--unit-size));
}
.active {
color: var(--fg) !important;
font-weight: 700;
}
2020-07-26 07:55:09 +09:00
input {
filter: none;
}
2020-09-05 13:08:58 +09:00
form input[type="checkbox"] {
position: unset !important;
}
2020-09-05 13:08:58 +09:00
form button[type=submit] {
background: var(--bg1);
padding: 0.3em 1em;
color: var(--fg);
2020-09-05 13:08:58 +09:00
border-style: solid;
border-color: var(--accent);
border-radius: var(--unit-size);
border-width: 2px;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
}
2020-09-05 13:08:58 +09:00
form button[type=submit]:focus,
form button[type=submit]:hover {
border-radius: var(--unit-size);
box-shadow: 0 0 8px var(--accent);
}
#login-notes {
margin: 0;
}
#login-main {
border: 0;
}