feat: add editorial registration and authentication
This commit is contained in:
1 parent
7acaacb92e
commit
9b22752ef2
20 files changed
+1728
-20
No files matched your search
@@ -138,3 +138,141 @@ a {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.public-account-page {
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
padding: clamp(1.25rem, 3vw, 2.75rem);
|
||||
}
|
||||
|
||||
.account-panel {
|
||||
width: min(100%, 37rem);
|
||||
align-self: center;
|
||||
padding-block: clamp(4rem, 10vh, 7rem);
|
||||
}
|
||||
|
||||
.account-panel-wide {
|
||||
width: min(100%, 48rem);
|
||||
}
|
||||
|
||||
.account-panel h1 {
|
||||
max-width: 12ch;
|
||||
margin: 0;
|
||||
font-size: clamp(2.6rem, 6vw, 5.5rem);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.06em;
|
||||
line-height: 0.92;
|
||||
}
|
||||
|
||||
.account-panel .lede {
|
||||
margin-top: 1.75rem;
|
||||
}
|
||||
|
||||
.account-form {
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
margin-top: 2.5rem;
|
||||
}
|
||||
|
||||
.account-form label,
|
||||
.acknowledgements legend {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 650;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.account-form input:not([type="checkbox"]) {
|
||||
width: 100%;
|
||||
min-height: 3.1rem;
|
||||
border: 1px solid var(--ink);
|
||||
border-radius: 0;
|
||||
background: var(--paper);
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
font-weight: 400;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.acknowledgements {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin: 0;
|
||||
padding: 1.25rem 0;
|
||||
border: 0;
|
||||
border-top: 1px solid var(--line);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.acknowledgements legend {
|
||||
padding: 0;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.checkbox-label {
|
||||
grid-template-columns: 1rem minmax(0, 1fr);
|
||||
align-items: start;
|
||||
font-weight: 400 !important;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.checkbox-label input {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin: 0.12rem 0 0;
|
||||
accent-color: var(--ink);
|
||||
}
|
||||
|
||||
.checkbox-label a,
|
||||
.account-links a,
|
||||
.public-footer a,
|
||||
.legal-link {
|
||||
text-underline-offset: 0.17em;
|
||||
}
|
||||
|
||||
.field-error {
|
||||
margin: -0.25rem 0 0;
|
||||
color: #9d0e0e;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.form-note {
|
||||
max-width: 44rem;
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.account-links,
|
||||
.public-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem 1.25rem;
|
||||
margin-top: 1rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.public-footer {
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media (max-width: 40rem) {
|
||||
.form-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user