Files
SeedPass/landing/style.css
T

613 lines
11 KiB
CSS

:root {
--bg-main: #080a0c;
--bg-secondary: #0d1114;
--text-primary: #94a3b8;
--text-bright: #cbd5e1;
--text-muted: #475569;
--accent-primary: #38bdf8;
/* Muted vibrant blue */
--accent-secondary: #0ea5e9;
/* Slate blue */
--accent-danger: #ef4444;
/* Muted red */
--accent-glow: rgba(56, 189, 248, 0.15);
--font-mono: 'JetBrains Mono', monospace;
--border-color: #1e293b;
--border-highlight: #334155;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-main);
color: var(--text-primary);
font-family: var(--font-mono);
line-height: 1.6;
font-size: 14px;
overflow-x: hidden;
position: relative;
/* Subtle radial gradient */
background-image: radial-gradient(circle at 50% 10%, #0d1218 0%, var(--bg-main) 80%);
}
a {
color: var(--accent-secondary);
text-decoration: none;
transition: all 0.2s ease;
}
a:hover {
color: var(--accent-primary);
text-shadow: 0 0 6px var(--accent-glow);
}
/* Subdued scanlines overlay */
.scanlines::before {
content: " ";
display: block;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%);
z-index: 1000;
background-size: 100% 4px;
pointer-events: none;
opacity: 0.6;
}
/* Boot Sequence */
.boot-sequence {
display: flex;
justify-content: flex-start;
align-items: flex-start;
height: 100vh;
width: 100vw;
background: var(--bg-main);
color: var(--accent-primary);
padding: 40px;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
font-size: 1.1rem;
opacity: 0.9;
}
.terminal-output {
white-space: pre-wrap;
width: 100%;
max-width: 800px;
}
/* TUI Wrapper */
.tui-wrapper {
max-width: 900px;
margin: 0 auto;
padding: 30px 20px;
min-height: 100vh;
display: flex;
flex-direction: column;
animation: fadeIn 0.8s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Nav */
.tui-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
border-bottom: 1px dotted var(--border-color);
margin-bottom: 30px;
}
.nav-brand {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-bright);
letter-spacing: -0.5px;
}
.nav-links {
list-style: none;
display: flex;
gap: 15px;
}
.nav-btn {
color: var(--text-muted);
}
.nav-btn:hover {
color: var(--text-bright);
}
/* Window */
.tui-window {
border: 1px solid var(--border-color);
background: var(--bg-secondary);
display: flex;
flex-direction: column;
flex-grow: 1;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
border-radius: 4px;
overflow: hidden;
}
.tui-window-header {
background: #0b0f13;
padding: 8px 15px;
display: flex;
justify-content: space-between;
border-bottom: 1px solid var(--border-highlight);
font-size: 0.85rem;
color: var(--text-muted);
}
.tui-window-title {
color: var(--text-primary);
}
.tui-window-controls {
letter-spacing: 2px;
}
.tui-window-body {
padding: 40px;
}
/* Sections */
.ascii-box {
margin-bottom: 50px;
}
.mt-2 {
margin-top: 2rem;
}
.section-title {
font-size: 1.1rem;
font-weight: 700;
margin-bottom: 20px;
color: var(--text-bright);
border-bottom: 1px dotted var(--border-color);
padding-bottom: 8px;
display: inline-block;
letter-spacing: 0.5px;
}
.accent {
color: var(--accent-primary);
}
.muted {
color: var(--text-muted);
}
.warning {
color: var(--accent-danger);
}
/* Intro */
.hero-title {
font-size: 2rem;
margin-bottom: 12px;
color: var(--text-bright);
letter-spacing: -1px;
}
.typewriter-text {
color: var(--text-primary);
margin-bottom: 35px;
max-width: 600px;
}
/* Glitch - Made more subtle */
.glitched {
position: relative;
display: inline-block;
}
.glitch {
position: relative;
display: inline-block;
}
.glitch::before,
.glitch::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
opacity: 0.7;
pointer-events: none;
}
.glitch::before {
left: 1px;
text-shadow: -1px 0 var(--accent-secondary);
clip: rect(24px, 550px, 90px, 0);
animation: glitch-anim-2 4s infinite linear alternate-reverse;
}
.glitch::after {
left: -1px;
text-shadow: 1px 0 var(--accent-primary);
clip: rect(85px, 550px, 140px, 0);
animation: glitch-anim 3s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
0% {
clip: rect(10px, 9999px, 86px, 0);
}
5% {
clip: rect(88px, 9999px, 12px, 0);
}
10% {
clip: rect(4px, 9999px, 82px, 0);
}
15% {
clip: rect(15px, 9999px, 5px, 0);
}
20% {
clip: rect(23px, 9999px, 98px, 0);
}
25% {
clip: rect(98px, 9999px, 63px, 0);
}
100% {
clip: rect(98px, 9999px, 63px, 0);
}
}
@keyframes glitch-anim-2 {
0% {
clip: rect(65px, 9999px, 100px, 0);
}
5% {
clip: rect(52px, 9999px, 74px, 0);
}
10% {
clip: rect(79px, 9999px, 85px, 0);
}
15% {
clip: rect(75px, 9999px, 5px, 0);
}
20% {
clip: rect(28px, 9999px, 12px, 0);
}
100% {
clip: rect(28px, 9999px, 12px, 0);
}
}
/* Data Flow Animation */
.data-flow {
margin: 30px 0;
padding: 20px;
background: #0b0f13;
border: 1px solid var(--border-color);
border-radius: 4px;
color: var(--text-primary);
}
.data-seed {
font-weight: 700;
margin-bottom: 12px;
}
.highlight {
color: var(--bg-main);
background: var(--text-primary);
padding: 2px 6px;
border-radius: 2px;
font-size: 0.9em;
}
.data-arrows {
padding-left: 15px;
line-height: 1.8;
}
.data-arrows div {
opacity: 0.7;
transition: opacity 0.3s, color 0.3s;
}
.data-arrows div:hover {
opacity: 1;
color: var(--text-bright);
}
.data-arrows i {
width: 20px;
color: var(--accent-primary);
opacity: 0.8;
}
/* Install command */
.install-section {
margin-top: 40px;
background: #0b0f13;
padding: 18px;
border-left: 2px solid var(--accent-primary);
border-radius: 0 4px 4px 0;
}
.comment {
color: var(--text-muted);
font-size: 0.85rem;
display: block;
margin-bottom: 10px;
}
.branch-toggle {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
}
.branch-btn {
border: 1px solid var(--border-highlight);
background: #080a0c;
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 0.8rem;
padding: 4px 10px;
border-radius: 3px;
cursor: pointer;
transition: all 0.2s ease;
}
.branch-btn:hover {
border-color: var(--accent-secondary);
color: var(--text-bright);
}
.branch-btn.active {
color: var(--bg-main);
background: var(--accent-primary);
border-color: var(--accent-primary);
font-weight: 700;
}
.cmd-prompt {
display: flex;
align-items: center;
gap: 12px;
background: #080a0c;
padding: 12px 15px;
border: 1px solid var(--border-color);
border-radius: 3px;
}
.prompt-symbol {
color: var(--text-muted);
}
.install-cmd {
flex-grow: 1;
color: var(--text-bright);
overflow-x: auto;
white-space: nowrap;
padding-bottom: 2px;
font-size: 0.9rem;
}
.install-cmd::-webkit-scrollbar {
height: 4px;
}
.install-cmd::-webkit-scrollbar-thumb {
background: var(--border-highlight);
border-radius: 2px;
}
.copy-btn {
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 1rem;
transition: color 0.2s;
padding: 4px;
}
.copy-btn:hover {
color: var(--text-bright);
}
.copy-feedback {
margin-top: 8px;
font-size: 0.8rem;
color: var(--accent-primary);
min-height: 1.2em;
opacity: 0.8;
}
/* Features Grid */
.grid-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 15px;
margin-top: 25px;
}
.feature-item {
border: 1px solid var(--border-color);
padding: 20px;
background: #0b0f13;
transition: background 0.2s, border-color 0.2s;
border-radius: 4px;
}
.feature-item:hover {
border-color: var(--border-highlight);
background: #0d1218;
}
.feature-item i {
font-size: 1.4rem;
color: var(--accent-primary);
margin-bottom: 15px;
opacity: 0.8;
}
.feature-item h3 {
font-size: 0.95rem;
margin-bottom: 8px;
color: var(--text-bright);
}
.feature-item p {
color: var(--text-muted);
font-size: 0.85rem;
line-height: 1.6;
}
/* Tree View */
.tree-view {
margin: 25px 0;
padding: 20px;
background: #0b0f13;
border: 1px solid var(--border-color);
border-left: 2px solid var(--text-muted);
line-height: 1.7;
border-radius: 0 4px 4px 0;
font-size: 0.9rem;
}
.tree-root i,
.tree-node i,
.tree-leaf i {
color: var(--text-muted);
margin-right: 8px;
}
.tree-branch {
padding-left: 20px;
}
.tree-leaf {
padding-left: 24px;
}
/* Info Blocks */
.info-blocks {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-top: 25px;
}
.info-block {
flex: 1;
min-width: 250px;
border: 1px dotted var(--border-color);
padding: 20px;
background: transparent;
border-radius: 4px;
}
.info-block h3 {
margin-bottom: 8px;
font-size: 0.95rem;
color: var(--text-bright);
}
.info-block p {
font-size: 0.85rem;
color: var(--text-muted);
}
/* Footer */
.tui-footer {
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1px dotted var(--border-color);
padding: 20px 0 10px;
margin-top: 40px;
font-size: 0.8rem;
}
.status-bar {
display: flex;
gap: 15px;
align-items: center;
color: var(--text-muted);
}
.status-item {
display: flex;
align-items: center;
gap: 6px;
}
.status-item i {
font-size: 0.75rem;
}
.footer-links {
display: flex;
gap: 15px;
align-items: center;
}
.separator {
color: var(--border-color);
}
@media (max-width: 768px) {
.tui-nav {
flex-direction: column;
gap: 15px;
}
.info-blocks {
flex-direction: column;
}
.tui-footer {
flex-direction: column;
gap: 15px;
}
.tui-window-body {
padding: 20px;
}
}