-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsole.css
161 lines (138 loc) · 3.6 KB
/
console.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
@font-face {
font-family: 'monospace';
src: url('/doctype/Profontwindows.ttf');
}
@font-face {
font-family: 'Determination';
src: url('/doctype/DeterminationMonoWeb.ttf');
}
a{
color: rgb(206, 206, 206);
}
a:hover{
color: rgb(255, 255, 255);
}
:root{
--term_border: lightgreen;
--term_highlight: lightgreen;
--term_bg: rgba(0, 0, 0, 0.582);
--term_fg: white;
--term_font: 'monospace';
--term_font_size: 15px;
}
#shellInput{
color: var(--term_fg);
font-family: var(--term_font);
height: var(--term_font_size);
font-size: var(--term_font_size);
width: 1ch; margin-left: -3px;
text-align:left; text-indent: 1px;
border: none; outline: none; background: none;
caret-color: var(--term_highlight);
padding-top: 0;
padding-bottom: 0;
overflow-y: auto;
overflow-wrap: break-word;
white-space: normal;
}
#shellInput:focus{ outline: none; }
#terminal-container-window {
top: 30px;
text-align: left;
position: absolute;
border: 1px solid var(--term_border);
border-radius: 2px;
background: var(--term_bg);
font-family: var(--term_font);
}
#terminal {
padding-top: 0;
overflow-y: scroll;
color: var(--term_fg);
font-size: var(--term_font_size);
padding: 10px;
box-sizing: border-box;
}
#shellParagraph{
/* overflow-y: scroll; */
padding: 0px 10px 10px 10px;
padding: 0px;
/* padding-left: 10px; */
margin: 0px;
}
#shellParagraph::selection, #shellInput::selection{
color: var(--term_bg);
background: white;
}
/* */
/* CONSOLE COLORS */
/* */
.clightgray{
color: rgb(204, 204, 204);
}
.cprefix{
color: rgb(119, 197, 109);
}
.cprefixerr{
color: rgb(197, 109, 109);
}
/* */
/* TASKBAR */
/* */
#taskbar{
font-family: 'Determination';
color:white;
line-height: 16px; width: 100vw;
position: fixed; display: flex; top: 0; left:0;
white-space:nowrap;
background-color: var(--term_bg);
padding: 3px 2px 4px 2px;
}
#fps { text-align: left; color: rgb(0, 224, 0); margin-left: 10px; }
#exit { width: 70px; text-decoration: underline; color: inherit; margin-left: 4px; }
#exit:hover { color: black; background-color: white; }
#exit::selection{ color: var(--translucent-bg); background-color: white; }
#jsclock { margin-right: 6px; width:70px; cursor: default; position: absolute; right: 0; }
#calendar {
position: absolute;
right:0;
z-index: 1;
background-color: inherit;
padding: 4px;
margin: 30px 15px 0px 0px;
display: none;
}
#calendar img{
width: 300px;
}
/* */
/* CHROME SCROLLBAR */
/* */
::-webkit-scrollbar {
width: 1.1em; /* Total width including `border-width` of scrollbar thumb */
height: 0;
}
::-webkit-scrollbar-thumb {
height: 1em;
border: 0.5em solid rgba(0, 0, 0, 0); /* Transparent border together with `background-clip: padding-box` does the trick */
background-clip: padding-box;
-webkit-border-radius: 1em;
background-color: rgba(189, 189, 189, 0.479);
-webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.025);
}
::-webkit-scrollbar-button {
width: 0;
height: 0;
display: none;
}
::-webkit-scrollbar-corner {
background-color: transparent;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(189, 189, 189, 0.788);
border: 0.4em solid rgba(0, 0, 0, 0); /* Change the border width so scrollbar gets thicker on hover */
}
::-webkit-scrollbar:hover {
width: 1.5em; /* Total width including `border-width` of scrollbar thumb */
height: 0;
}