Files
sshtermy/site/style.css
T

144 lines
10 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* sshTermy – Webseite. Farben wie die App (dunkel). */
:root {
--bg: #0d1117; --panel: #161b22; --line: #2a2e45; --fg: #c9d1d9; --dim: #8b949e;
--blue: #7aa2f7; --violet: #bb9af7; --green: #9ece6a; --yellow: #e0af68; --red: #f7768e; --cyan: #7dcfff;
--mono: "Cascadia Code", "JetBrains Mono", "DejaVu Sans Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, kbd { font-family: var(--mono); font-size: .92em; }
code { background: #1f2430; padding: .1em .35em; border-radius: 4px; }
kbd { background: #1f2430; border: 1px solid var(--line); border-bottom-width: 2px; padding: 0 .4em; border-radius: 4px; white-space: nowrap; }
header { position: sticky; top: 0; z-index: 10; background: rgba(13,17,23,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 22px; }
.logo { font-family: var(--mono); font-weight: 700; color: var(--fg); font-size: 18px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo img { display: block; border-radius: 6px; }
nav { display: flex; gap: 18px; flex: 1; overflow-x: auto; white-space: nowrap; }
nav a { color: var(--dim); font-size: 15px; }
nav a:hover { color: var(--fg); text-decoration: none; }
.lang { font-size: 14px; color: var(--dim); white-space: nowrap; }
.lang b { color: var(--fg); }
main { max-width: 1160px; margin: 0 auto; padding: 0 20px 60px; }
section { padding: 56px 0 8px; }
h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.1; margin: 0 0 14px; }
h1 .accent { background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: 32px; margin: 0 0 6px; color: #e6edf3; }
h3 { font-size: 19px; margin: 24px 0 6px; }
p.lead { font-size: 19px; color: var(--dim); max-width: 760px; margin: 0 0 8px; }
.credit { font-style: italic; color: var(--dim); margin: 0 0 22px; }
.hero { padding-top: 56px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 34px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); color: var(--fg); background: var(--panel); font-weight: 600; }
.btn:hover { text-decoration: none; border-color: var(--blue); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #0d1117; }
.btn.coffee { background: #ffdd00; border-color: #ffdd00; color: #111; }
figure { margin: 0; }
figure img { display: block; max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
figcaption { color: var(--dim); font-size: 14px; margin-top: 8px; }
.os { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.card h3 { margin-top: 0; }
.card p { margin: 8px 0; color: var(--dim); font-size: 15px; }
.cmd { position: relative; background: #0b0e14; border: 1px solid var(--line); border-radius: 8px; padding: 10px 70px 10px 12px; margin: 8px 0 12px; }
.cmd pre { margin: 0; color: var(--green); white-space: pre; overflow-x: auto; }
.copy { position: absolute; top: 6px; right: 6px; background: var(--panel); color: var(--dim); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; padding: 2px 8px; cursor: pointer; }
.copy:hover { color: var(--fg); }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 10px; background: #1f2430; color: var(--cyan); margin-left: 6px; vertical-align: middle; }
.demo > * { min-width: 0; }
.demo { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: center; margin: 34px 0; }
.demo:nth-of-type(even) { grid-template-columns: 1.6fr 1fr; }
.demo:nth-of-type(even) .text { order: 2; }
.demo .text p { color: var(--dim); }
@media (max-width: 860px) { .demo, .demo:nth-of-type(even) { grid-template-columns: 1fr; } .demo:nth-of-type(even) .text { order: 0; } }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.features .card h3 { font-size: 16px; margin: 0 0 4px; }
.features .card p { margin: 0; font-size: 14.5px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 600; }
td:first-child { white-space: nowrap; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details p, details ul { color: var(--dim); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 18px; }
footer { border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
footer .bar { height: auto; padding: 22px 20px; flex-wrap: wrap; }
/* Handbuch: Inhaltsverzeichnis links, Text rechts */
.manual { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: start; }
.manual .toc { position: sticky; top: 72px; padding-top: 40px; font-size: 14.5px; }
.manual .toc a { display: block; color: var(--dim); padding: 3px 0; }
.manual .toc a:hover { color: var(--fg); text-decoration: none; }
.manual article section { padding-top: 40px; }
.manual article p, .manual article li { color: #b8c0cc; }
.manual article h3 { color: var(--fg); }
.tip { border-left: 3px solid var(--violet); background: var(--panel); padding: 8px 14px; border-radius: 0 8px 8px 0; color: var(--dim); }
@media (max-width: 860px) { .manual { grid-template-columns: minmax(0, 1fr); } .manual .toc { position: static; padding-top: 20px; columns: 2; } }
/* Startseite: Kopf mit Installation, sechs Bereiche, Rundgang mit Reitern */
.navbtn { flex: none; }
.btn.sm { padding: 6px 14px; font-size: 14px; }
p.sub { color: var(--dim); font-size: 17px; margin: 0 0 26px; }
.small { font-size: 14px; color: var(--dim); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding-top: 64px; }
.hero h1 { color: #e6edf3; font-size: clamp(32px, 4.2vw, 52px); white-space: nowrap; }
.hero h1 br { display: block; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; margin-bottom: 24px; }
.hero .buttons { margin: 22px 0 0; }
.hero .credit { margin: 14px 0 0; font-size: 14px; }
.itabs .ibar { display: flex; gap: 4px; margin-bottom: -1px; position: relative; }
.itabs .ibar button { font: 600 14px system-ui, sans-serif; padding: 7px 16px; border: 1px solid transparent; border-radius: 8px 8px 0 0; background: none; color: var(--dim); cursor: pointer; }
.itabs .ibar button.on { background: #0b0e14; border-color: var(--line); border-bottom-color: #0b0e14; color: var(--fg); }
.itabs .cmd { border-top-left-radius: 0; margin: 0; padding-right: 96px; }
.itabs .cmd pre { white-space: pre-wrap; word-break: break-all; }
.itabs p.small { margin: 10px 0 0; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 56px; }
.promises div { border-left: 3px solid var(--blue); padding: 2px 0 2px 16px; }
.promises b { display: block; color: #e6edf3; font-size: 17px; }
.promises span { color: var(--dim); font-size: 15px; }
.ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #1f2a44; color: var(--blue); font: 700 17px var(--mono); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; }
.pillar h3 { margin: 12px 0 2px; font-size: 20px; color: #e6edf3; }
.pillar .pl { color: var(--violet); margin: 0 0 10px; font-size: 15px; }
.pillar ul { margin: 0 0 12px; padding-left: 18px; color: var(--dim); font-size: 14.5px; flex: 1; }
.pillar li { margin: 4px 0; }
.pillar .more { font-size: 14px; }
details.all { margin-top: 18px; border-style: dashed; }
details.all > summary { color: var(--fg); }
details.all h3 { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; }
details.all h3 .ic { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
.tour { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.tour ol { list-style: none; margin: 0; padding: 0; }
.tour ol button { display: block; width: 100%; text-align: left; font: 15px/1.4 system-ui, sans-serif; padding: 13px 16px; margin-bottom: 6px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--dim); cursor: pointer; }
.tour ol button:hover { color: var(--fg); }
.tour ol button.on { background: var(--panel); border-color: var(--line); color: #e6edf3; font-weight: 600; }
.tour figcaption { font-size: 15px; margin-top: 12px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.topkeys > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.topkeys > div span:last-child { color: var(--dim); text-align: right; }
.os { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.os .cmd pre { white-space: pre-wrap; word-break: break-all; }
#allkeys { margin-top: 30px; }
@media (max-width: 960px) {
.hero, .two, .tour, .os { grid-template-columns: minmax(0, 1fr); }
.pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.navbtn { display: none; }
}
@media (max-width: 640px) { .pillars, .promises { grid-template-columns: minmax(0, 1fr); } .hero h1 { white-space: normal; } .bar { gap: 14px; } }