Files
asciidisco.com/css/components/terminal.css
2023-08-01 13:49:46 +02:00

49 lines
1.1 KiB
CSS

@keyframes blink-animation {
to { opacity: 0 }
}
header {margin-top: 10vh}
header > pre {
padding: 0.25rem 1rem;
font-size: 1rem;
font-weight: normal;
line-height: 1.2rem;
cursor: text;
box-shadow: 0 10px 60px rgba(200, 200, 200, 0.2)}
.terminal {
box-sizing: border-box;
position: relative;
max-width: 900px;
margin: 0 auto;
padding: 3rem 0 0.7rem 0}
.terminal:before {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1.8rem;
background: #ccc;
background-image: linear-gradient(top, #ddd, #aaa);
color: #3a3a53;
font-family: 'Lucida Grande', sans-serif;
font-size: 0.75rem;
line-height: 1.8rem;
text-align: center;
text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.4);
border: 1px solid hsla(0, 0%, 43%, 0.3);
content: '01100001 01110011 01100011 01101001 01101001 01100100 01101001 01110011 01100011 01101111'}
.terminal-wrapper {max-width: 100%}
.active-prompt {
display: inline-block;
width: 0.8em;
height: 1.3em;
margin: 0.3em 0.3em -0.2em;
animation: blink-animation .8s steps(8, start) infinite}