92 lines
1.7 KiB
CSS
92 lines
1.7 KiB
CSS
.sidebar {
|
|
width: 300px;
|
|
height: calc(100vh - 60px);
|
|
background: #121212;
|
|
padding: 1.5rem;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
overflow-y: auto;
|
|
color: #e0e0e0;
|
|
}
|
|
.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);
|
|
}
|
|
|
|
.preview {
|
|
margin-left: 300px;
|
|
padding: 2rem;
|
|
min-height: calc(100vh - 60px);
|
|
width: 100%;
|
|
background: #2d2d2d;
|
|
}
|
|
.preview .terminal-preview {
|
|
background: #1a1a1a;
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
font-family: "Fira Code", "Courier New", monospace;
|
|
font-size: 14px;
|
|
color: #e0e0e0;
|
|
height: 300px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.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;
|
|
}
|