-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
154 lines (131 loc) · 2.7 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
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
body {
margin: 0px;
}
.terminal {
height: calc(97vh - 1px);
width: 100%;
}
body {
margin: 0px;
background-size: 1500px;
background-position: center;
background-image: url(https://www.raspberrypi.com/app/uploads/2024/01/raspberry-pi-5-xray-black-jeff-geerling-1024x651.jpg);
}
nav {
display: flex;
margin: 4px;
border-radius: 5px;
background: black;
padding: 5px;
justify-content: center;
align-items: center;
}
nav button {
background: #252525;
border: white 1px;
border-radius: 5px;
margin-right: 5px;
margin-left: 5px;
color: white;
font-size: 20px;
}
nav button:disabled {
display:none;
visibility: hidden;
}
editor {
display: block;
margin-left: 1vw;
margin-right: 1vw;
margin-top: 1vh;
margin-bottom: 1vh;
height: calc(94.5vh - 31px);;
width: 98vw;
overflow: auto;
background: black;
color: white;
border-radius: 5px;
border: none;
display: flex;
}
#editor {
overflow-wrap: unset;
line-break: unset;
white-space: nowrap;
width: 95vw;
}
#editor:focus-visible {
border: none;
outline: none;
}
.editorLines {
color: White;
}
#line-numbers {
min-width: 1vw;
margin-right: 1vw;
}
line-number {
display: inline-block;
width: 2vw;
text-align: right;
margin-right: 0.5em;
}
.custom-select {
position: relative;
font-family: Arial;
}
.custom-select select {
display: none;
/*hide original SELECT element:*/
}
.select-selected {
background-color: rgb(117, 117, 117);
}
/*style the arrow inside the select element:*/
.select-selected:after {
position: absolute;
content: "";
top: 14px;
right: 10px;
width: 0;
height: 0;
border: 6px solid transparent;
border-color: #fff transparent transparent transparent;
}
/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
border-color: transparent transparent #fff transparent;
top: 7px;
}
/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
color: #ffffff;
padding: 8px 24px;
border: 1px solid transparent;
border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
cursor: pointer;
user-select: none;
}
/*style items (options):*/
.select-items {
position: absolute;
background-color: rgb(51, 51, 51);
top: 100%;
left: 0;
right: 0;
z-index: 99;
}
/*hide the items when the select box is closed:*/
.select-hide {
display: none;
}
.select-items div:hover,
.same-as-selected {
background-color: rgba(0, 0, 0, 0.1);
}
#term {
top: 6vh!important;
z-index: 1 !important;
}