-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
75 lines (63 loc) · 1.5 KB
/
index.html
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
<html>
<head>
<style>
.console {
font-family: Menlo;
height: 500px;
background-color: rgb(40,40,40);
color: white;
border-radius: 4px;
overflow: hidden;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
.console .log {
flex: 1;
width: 100%;
overflow-y: scroll;
display: flex;
flex-direction: column-reverse;
padding: 0.5em;
box-sizing: border-box;
}
.console .log .logline {
box-sizing: border-box;
font-size: 14px;
min-height: 18px;
width: 100%;
}
.console .prompt {
height: 33px;
background: #5d38e8;
width: 100%;
padding: 0.5em;
box-sizing: border-box;
}
.console .prompt:focus {
outline: none;
box-shadow: none;
}
.console .log::-webkit-scrollbar {
width: 18px;
padding: 2px;
}
/* Track */
.console .log::-webkit-scrollbar-track {
background: transparent;
}
/* Handle */
.console .log::-webkit-scrollbar-thumb {
background: #5d38e8;
}
/* Handle on hover */
.console .log::-webkit-scrollbar-thumb:hover {
background: #555;
}
</style>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<script src="./index.js"></script>
</head>
<body>
</body>
</html>