- Revised the README.md to simplify the description of Nexumi. - Updated layout.tsx to reflect the change in the bot's description. - Modified German and English localization files to remove "self-hosted" from the bot's description and terms of service.
328 lines
4.8 KiB
CSS
328 lines
4.8 KiB
CSS
:root {
|
|
--background: #f8f8fb;
|
|
--foreground: #111116;
|
|
--card: #ffffff;
|
|
--muted: #f1f1f5;
|
|
--muted-foreground: #6b7280;
|
|
--primary: #6366f1;
|
|
--primary-foreground: #ffffff;
|
|
--secondary: #f1f1f5;
|
|
--secondary-foreground: #111116;
|
|
--border: #e4e4ea;
|
|
--radius: 0.625rem;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: #0a0a0d;
|
|
--foreground: #e6e6ea;
|
|
--card: #131318;
|
|
--muted: #1b1b22;
|
|
--muted-foreground: #9a9aa5;
|
|
--secondary: #1b1b22;
|
|
--secondary-foreground: #e6e6ea;
|
|
--border: #23232b;
|
|
}
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.shell {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding-left: 1.5rem;
|
|
padding-right: 1.5rem;
|
|
}
|
|
|
|
.border-b {
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.border-t {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
header .bar {
|
|
display: flex;
|
|
height: 3.5rem;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.brand img {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
height: 2.25rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
border-radius: calc(var(--radius) - 2px);
|
|
padding: 0 0.75rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.btn-lg {
|
|
height: 2.75rem;
|
|
padding: 0 1.25rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: var(--primary-foreground);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
filter: brightness(0.95);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--secondary);
|
|
color: var(--secondary-foreground);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
border-color: var(--border);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
}
|
|
|
|
.btn-ghost:hover,
|
|
.btn-outline:hover,
|
|
.btn-secondary:hover {
|
|
background: var(--muted);
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
padding-top: 4rem;
|
|
padding-bottom: 4rem;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.hero {
|
|
padding-top: 5rem;
|
|
padding-bottom: 5rem;
|
|
}
|
|
}
|
|
|
|
.hero-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.hero-brand img {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0;
|
|
font-size: 2.25rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.hero h1 {
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
|
|
.hero p {
|
|
margin: 0;
|
|
max-width: 42rem;
|
|
font-size: 1.125rem;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.stats {
|
|
display: grid;
|
|
gap: 1rem;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.stats {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
|
|
.card-label {
|
|
margin: 0 0 0.5rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.card-value {
|
|
margin: 0;
|
|
font-size: 1.875rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.features {
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.features > .intro h2 {
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.features > .intro p {
|
|
margin: 0.5rem 0 0;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.group h3 {
|
|
margin: 0;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.module-title {
|
|
margin: 0 0 0.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.module-desc {
|
|
margin: 0;
|
|
font-size: 0.875rem;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
footer .bar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
font-size: 0.875rem;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
footer .bar {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
footer nav {
|
|
gap: 1rem;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: var(--foreground);
|
|
}
|