forked from snaplet/postgres-wasm
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyles.css
80 lines (69 loc) · 1.27 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
body {
margin: 0;
padding: 0;
background-color: #000;
}
.container {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
display: flex;
}
#terminal {
width: 100%;
flex: 1 0;
}
.xterminal {
position: relative;
padding: 16px;
width: calc(80ch + 16px * 2);
height: 60%;
background: black;
/* linear-gradient(0deg, #000, #272727); */
border-radius: 7px;
display: flex;
}
.xterminal:before,
.xterminal:after {
content: '';
position: absolute;
left: -1px;
top: -1px;
border-radius: 7px;
background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094,
#0000ff, #00ff00, #ffff00, #ff0000);
background-size: 400%;
width: calc(100% + 2px);
height: calc(100% + 2px);
z-index: -1;
animation: steam 120s linear infinite;
}
.xterm .xterm-viewport {
overflow-y: auto;
scrollbar-color: var(--highlight) var(--dark);
scrollbar-width: thin;
}
.xterm-viewport::-webkit-scrollbar {
background-color: var(--dark);
width: 5px;
}
.xterm-viewport::-webkit-scrollbar-thumb {
background: var(--highlight);
}
@keyframes steam {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}
.xterminal:after {
filter: blur(50px);
opacity: calc(1 / 3);
}