Files
lit.ruv.wtf/website/styles.css
Litruv 4be791f90e Redesign: Replace site with interactive terminal interface
- New xterm.js-based terminal with retro CRT aesthetics
- Matrix chat integration with real-time messaging
- Bluesky social media integration
- Interactive commands (help, about, chat, bluesky, privacy, etc.)
- Responsive design with mobile support
- Privacy policy command
- Quick navigation links (Docs, GitHub, Bluesky)
- Preserved all image assets (blocks, items, particles, icons)
- Updated README and package.json with new features
2026-03-04 23:15:44 +11:00

223 lines
3.6 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Courier New', Courier, monospace;
background: #000;
color: #0f0;
overflow: hidden;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 95vw;
max-width: 1400px;
height: 90vh;
background: #001800;
border: 3px solid #0f0;
border-radius: 8px;
box-shadow:
0 0 20px rgba(0, 255, 0, 0.3),
inset 0 0 50px rgba(0, 255, 0, 0.05);
display: flex;
flex-direction: column;
overflow: hidden;
}
.terminal-header {
background: #002200;
border-bottom: 2px solid #0f0;
padding: 8px 16px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
font-weight: bold;
text-shadow: 0 0 5px #0f0;
}
.header-left {
display: flex;
align-items: center;
gap: 20px;
}
.header-links {
display: flex;
gap: 12px;
font-size: 12px;
font-weight: normal;
}
.header-link {
color: #0f0;
text-decoration: none;
padding: 4px 8px;
border: 1px solid #0f0;
border-radius: 3px;
transition: all 0.2s;
text-shadow: 0 0 5px #0f0;
}
.header-link:hover {
background: #0f0;
color: #001800;
box-shadow: 0 0 10px #0f0;
}
.terminal-title {
letter-spacing: 2px;
}
.system-time {
font-size: 12px;
opacity: 0.8;
}
#terminal {
flex: 1;
padding: 5px 10px;
overflow: hidden;
}
.xterm {
height: 100%;
padding: 0;
}
.xterm-viewport {
background: transparent !important;
}
.xterm-screen {
cursor: text;
}
.status-bar {
background: #002200;
border-top: 2px solid #0f0;
padding: 6px 16px;
display: flex;
justify-content: space-between;
font-size: 12px;
text-shadow: 0 0 3px #0f0;
}
.status-left {
font-weight: bold;
}
.status-right {
opacity: 0.8;
}
/* CRT screen effect */
.container::before {
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
z-index: 2;
background-size: 100% 2px, 3px 100%;
pointer-events: none;
}
/* Subtle screen flicker */
@keyframes flicker {
0% { opacity: 0.98; }
50% { opacity: 1; }
100% { opacity: 0.98; }
}
.container {
animation: flicker 1s infinite;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
width: 98vw;
height: 95vh;
border-radius: 4px;
}
.terminal-header {
padding: 6px 12px;
font-size: 12px;
}
.header-links {
gap: 8px;
font-size: 10px;
}
.header-link {
padding: 3px 6px;
}
.system-time {
font-size: 10px;
}
.status-bar {
padding: 4px 12px;
font-size: 10px;
}
}
@media (max-width: 480px) {
.terminal-title {
letter-spacing: 1px;
font-size: 10px;
}
.header-left {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.header-links {
gap: 6px;
font-size: 9px;
}
.header-link {
padding: 2px 4px;
}
}
.status-right {
display: none;
}
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #001800;
}
::-webkit-scrollbar-thumb {
background: #0f0;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #0c0;
}