169 lines
2.8 KiB
CSS
169 lines
2.8 KiB
CSS
.landing {
|
|
max-width: 720px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.landing-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.landing-logo {
|
|
max-height: 120px;
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.landing-title {
|
|
margin: 0;
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.landing-welcome {
|
|
padding: 1rem 1.25rem;
|
|
border: 1px solid var(--color-surface, #eee);
|
|
border-radius: var(--radius-md, 6px);
|
|
background: var(--color-surface, #fafafa);
|
|
}
|
|
|
|
.landing-login-btn {
|
|
align-self: center;
|
|
}
|
|
|
|
.landing-blog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.landing-blog-item {
|
|
border-top: 1px solid var(--color-surface, #eee);
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.landing-blog-title {
|
|
margin: 0 0 0.25rem 0;
|
|
}
|
|
|
|
.landing-blog-date {
|
|
display: block;
|
|
color: var(--color-text-muted, #888);
|
|
font-size: 0.85rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.landing-blog-body {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.landing-blog-empty {
|
|
text-align: center;
|
|
color: var(--color-text-muted, #888);
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
}
|
|
|
|
.modal {
|
|
background: var(--color-bg, #fff);
|
|
color: var(--color-text, #222);
|
|
padding: 1.5rem;
|
|
border-radius: var(--radius-lg, 8px);
|
|
width: min(420px, 92vw);
|
|
position: relative;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.75rem;
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.field input {
|
|
padding: 0.5rem;
|
|
border: 1px solid var(--color-surface, #ccc);
|
|
border-radius: var(--radius-sm, 4px);
|
|
}
|
|
|
|
.field-error {
|
|
color: var(--color-danger, #c00);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.server-error {
|
|
margin-top: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: var(--radius-sm, 4px);
|
|
background: rgba(204, 0, 0, 0.08);
|
|
color: var(--color-danger, #c00);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.server-error-warn {
|
|
background: rgba(204, 153, 0, 0.12);
|
|
color: var(--color-warning, #b80);
|
|
}
|
|
|
|
.server-error-hint {
|
|
display: inline-block;
|
|
margin-left: 0.5rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.primary {
|
|
width: 100%;
|
|
padding: 0.6rem 1rem;
|
|
background: var(--color-primary, #06c);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: var(--radius-md, 4px);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.primary[disabled] {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.modal-link-row {
|
|
margin-top: 0.75rem;
|
|
font-size: 0.9rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.link {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--color-primary, #06c);
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
padding: 0;
|
|
font: inherit;
|
|
} |