shell_styler/css/main.css
Candifloss b16764daa0 Add: CSS tweaks
- Add blinking cursor after prompt string
- Add thin scrollbar to sidebar
2025-08-20 21:14:12 +05:30

109 lines
2.0 KiB
CSS

@charset "UTF-8";
.sidebar {
width: 300px;
height: calc(100vh - 60px);
background: #121212;
padding: 1.5rem;
position: fixed;
left: 0;
top: 0;
overflow-y: auto;
color: #e0e0e0;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #0c7a57 transparent;
}
.sidebar h2 {
font-size: 1.1rem;
text-transform: uppercase;
letter-spacing: 1px;
color: #888;
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@keyframes cursor-blink {
50% {
opacity: 0;
}
}
.preview {
margin-left: 300px;
padding: 2rem;
min-height: calc(100vh - 60px);
width: 100%;
background: #2d2d2d;
padding-bottom: calc(60px + 2rem);
}
.preview .terminal-preview {
font-family: monospace;
color: #e0e0e0;
background: #1a1a1a;
font-size: 14px;
height: 4rem;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.preview .terminal-preview::after {
content: "█";
color: #0c7a57;
display: inline-block;
margin-left: 2px;
animation: cursor-blink 1s step-start infinite;
}
.footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 60px;
background: #121212;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer .logo {
font-size: 1.2rem;
font-weight: 600;
color: #0c7a57;
}
.footer .copy-btn {
background: #0c7a57;
color: white;
border: none;
padding: 0.5rem 1.2rem;
border-radius: 4px;
cursor: pointer;
font-weight: 500;
transition: all 0.2s ease;
}
.footer .copy-btn:hover {
background: rgb(15.6537313433, 159.1462686567, 113.4895522388);
}
.footer .copy-btn:active {
transform: scale(0.98);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
background: #1a1a1a;
color: #e0e0e0;
}
.container {
display: flex;
min-height: 100vh;
padding-bottom: 60px;
}