forked from bilalaniq/CTF-Scheduler---Electron-App
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterminal.css
More file actions
87 lines (74 loc) · 1.82 KB
/
Copy pathterminal.css
File metadata and controls
87 lines (74 loc) · 1.82 KB
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
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background-color: #2c2c2c;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background-color: #FFA500; /* Soft Orange color */
border-radius: 10px;
border: 3px solid #121212;
transition: box-shadow 0.3s ease-in-out, transform 0.2s ease;
}
/* Hover state for glowing effect */
::-webkit-scrollbar-thumb:hover {
background-color: #FFA500; /* Same color, you can modify it */
box-shadow: 0 0 10px 4px #FFA500, 0 0 20px 6px rgba(255, 165, 0, 0.8), 0 0 30px 8px rgba(255, 165, 0, 0.6);
transform: scale(1.1); /* Optional: add a slight scale effect for extra emphasis */
}
/* Global styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Courier New", Courier, monospace;
}
/* Terminal container */
.terminal-container {
width: 100vw; /* Full width of the viewport */
height: 100vh; /* Full height of the viewport */
margin: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #000;
overflow: hidden;
}
/* Terminal Body */
.terminal-body {
width: 100%;
height: 100%;
padding: 20px;
background-color: #111;
color: #00ff00;
display: flex;
flex-direction: column;
justify-content: flex-start;
overflow-y: auto;
}
#output {
white-space: pre-wrap;
word-wrap: break-word;
flex-grow: 1; /* Makes output take up available space */
}
#input-line {
display: flex;
align-items: center;
padding-top: 10px;
}
#input-line .prompt {
color: #00ff00;
margin-right: 5px;
}
/* Input box styling */
#input {
background: transparent;
color: #00ff00;
border: none;
outline: none;
width: 100%;
font-size: 1rem;
font-family: "Courier New", Courier, monospace;
}