-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
122 lines (104 loc) · 1.9 KB
/
style.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
110
111
112
113
114
115
116
117
118
119
120
121
122
body {
padding-top: 5rem;
}
p {
margin: 0;
}
#footer {
min-width: 510px;
}
.react-terminal a {
color: white;
text-decoration: underline;
}
x-nav {
display: block;
height: 54px;
min-width: 510px;
}
x-nav a {
margin-left: 3px;
}
iframe {
display: none;
width: 100%;
border: 0;
}
.container {
padding: 0;
}
.react-terminal-wrapper {
width: 100%;
background: rgb(37, 42, 51);
color: rgb(238, 238, 238);
font-size: 18px;
font-family: "Fira Mono", Consolas, Menlo, Monaco, "Courier New", Courier, monospace;
border-radius: 4px;
padding: 75px 45px 35px;
position: relative;
box-sizing: border-box;
min-width: 510px;
}
.react-terminal {
height: 600px;
overflow: auto;
display: flex;
flex-direction: column;
min-width: 420px;
}
.react-terminal-window-buttons {
position: absolute;
top: 15px;
left: 15px;
display: flex;
flex-direction: row;
gap: 10px;
}
.react-terminal-window-buttons button {
width: 15px;
height: 15px;
border-radius: 50%;
border: 0px;
}
.react-terminal-window-buttons button.clickable {
cursor: pointer;
}
.react-terminal-window-buttons button.red-btn {
background: rgb(217, 81, 93);
}
.react-terminal-window-buttons button.yellow-btn {
background: rgb(244, 192, 37);
}
.react-terminal-window-buttons button.green-btn {
background: rgb(62, 201, 48);
}
.react-terminal-wrapper::after {
content: attr(data-terminal-name);
position: absolute;
color: rgb(162, 162, 162);
top: 5px;
left: 0px;
width: 100%;
text-align: center;
pointer-events: none;
}
.react-terminal-line {
white-space: pre;
}
.react-terminal-line::before {
content: "";
display: inline-block;
vertical-align: middle;
color: rgb(162, 162, 162);
}
@media (max-width: 992px) {
.react-terminal {
transform: scale(0.5);
transform-origin: 0 0;
width: 200%;
}
.react-terminal-wrapper {
padding: 45px 20px 15px;
height: 365px;
}
}