-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
54 lines (49 loc) · 973 Bytes
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* https://css-tricks.com/old-timey-terminal-styling */
body {
background-color: black;
height: 100vh;
margin: 0 auto;
padding-top: 5px;
padding-left: 25px;
padding-right: 25px;
overflow: hidden;
max-width: 50em;
display: flex;
align-items: center;
}
#container {
height: min(100%, 640px);
}
pre, input {
color: #33ff33;
font: 1rem Inconsolata, monospace;
background: none;
white-space: pre-wrap;
text-shadow: 0 0 2px white;
}
body::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: repeating-linear-gradient(
0deg,
rgba(0, 0, 0, 0.15),
rgba(0, 0, 0, 0.15) 1px,
transparent 1px,
transparent 2px
);
pointer-events: none;
}
input {
display: block;
border: none;
outline: none;
text-align: left;
padding: 0px;
}
input:hover, input:active {
color: #ffb000;
}