This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathstyles.css
109 lines (93 loc) · 1.62 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
body {
margin: 0;
padding: 0;
background-color: #252735;
}
.container {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
input[type="button"] {
background: transparent;
border: none;
color: #fff;
font-size: 1rem;
}
#terminal {
width: 100%;
flex: 1 0;
}
#menu {
background: #3ecf8e;
padding: 0 5%;
display: flex;
justify-content: space-between;
}
#menu input {
padding: 16px;
}
#snappy-img div {
position: "absolute";
left: 20%;
top: 0;
}
.upload-btn {
border: 1px dashed #fff;
color: white;
padding: 0 20px;
margin: 0 5px;
cursor: pointer;
}
.upload-btn p {
font-family: sans-serif;
}
.xterminal {
position: relative;
padding: 16px;
width: calc(80ch + 16px * 2);
height: 60%;
background: black;
border-radius: 7px;
display: flex;
}
.xterminal:before,
.xterminal:after {
content: "";
position: absolute;
left: -1px;
top: -1px;
border-radius: 7px;
background: linear-gradient(45deg, #fadb28, #55d1cf),
linear-gradient(45deg, #55d1cf, #b4bcf6);
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;
}
}