112 lines
No EOL
1.7 KiB
CSS
112 lines
No EOL
1.7 KiB
CSS
/* Terminal portfolio — zektyc — console Debian plein ecran */
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
background: #000;
|
|
}
|
|
|
|
body {
|
|
font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, "DejaVu Sans Mono", monospace;
|
|
color: #d8d8d8;
|
|
}
|
|
|
|
.terminal {
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.terminal-body {
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 10px 14px 18px;
|
|
font-size: 15px;
|
|
line-height: 1.45;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #2a2a2a #000;
|
|
}
|
|
|
|
.terminal-body::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
.terminal-body::-webkit-scrollbar-track {
|
|
background: #000;
|
|
}
|
|
|
|
.terminal-body::-webkit-scrollbar-thumb {
|
|
background: #2a2a2a;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.terminal-line {
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
overflow-wrap: anywhere;
|
|
min-height: 1.25em;
|
|
}
|
|
|
|
.term-line-input {
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.term-ascii {
|
|
white-space: pre;
|
|
line-height: 1.25;
|
|
color: #4af626;
|
|
}
|
|
|
|
.term-prompt {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.term-prompt .t-user {
|
|
color: #4af626;
|
|
}
|
|
|
|
.term-prompt .t-path {
|
|
color: #5387ff;
|
|
}
|
|
|
|
.term-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
caret-color: #4af626;
|
|
}
|
|
|
|
.term-input::selection {
|
|
background: rgba(84, 135, 255, 0.4);
|
|
}
|
|
|
|
.terminal-line a {
|
|
color: #5387ff;
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.terminal-line .t-dim {
|
|
color: #9a9a9a;
|
|
}
|
|
|
|
.terminal-line .t-red {
|
|
color: #ff5252;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.terminal-body {
|
|
font-size: 16px;
|
|
padding: 8px 10px 14px;
|
|
}
|
|
} |