Files
Terminal-Website/httpdocs/public/css/styles.css
2024-01-17 15:17:06 +01:00

116 lines
1.8 KiB
CSS

* {
margin:0;
padding: 0;
overflow: hidden;
}
#main {
background: black;
width: 100%;
height: 100vh;
}
#terminal {
--padding: 30px;
width: calc(100% - (2 * var(--padding)));
height: calc(100% - (2 * var(--padding)));
padding: var(--padding);
overflow-y: auto;
}
#terminal::-webkit-scrollbar {
width: 7px;
}
#terminal::-webkit-scrollbar-thumb {
background-color: #222;
border-radius: 5px;
}
#terminal::-webkit-scrollbar-thumb:hover {
background-color: #333;
}
#terminal::-webkit-scrollbar-track {
background: none;
border-radius: 8px;
}
#terminal::-webkit-scrollbar-track:hover {
background: none;
}
.terminalLine {
display: flex;
justify-content: flex-start;
}
.pathText {
color: limegreen;
font-family: "Source Code Pro", monospace;
}
.pathColon {
color: white;
font-family: "Source Code Pro", monospace;
}
.pathPath {
color: limegreen;
font-family: "Source Code Pro", monospace;
}
.pathDollar {
color: white;
font-family: "Source Code Pro", monospace;
}
.pathBlinky {
width: 10px;
height: 20px;
background: lime;
animation: blinky infinite 1s;
}
@keyframes blinky {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.terminalInput {
margin-left: 5px;
background: none;
outline:none;
border: none;
font-size: 16px;
font-family: "Source Code Pro", monospace;
color: white;
}
.terminalInput:disabled {
margin-left: 5px;
background: none;
outline:none;
border: none;
font-size: 16px;
font-family: "Source Code Pro", monospace;
color: white;
}
.responseText {
font-size: 16px;
margin-left: 5px;
background: none;
outline:none;
border: none;
font-family: "Source Code Pro", monospace;
color: white;
}