-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (82 loc) · 1.48 KB
/
style.css
File metadata and controls
95 lines (82 loc) · 1.48 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
88
89
90
91
92
93
94
95
body {
background-color: #0d0d0d;
color: #00ff41;
font-family: 'Courier New', Courier, monospace;
margin: 0;
padding: 10px;
display: flex;
flex-direction: column;
height: 100vh;
box-sizing: border-box;
}
.container {
display: flex;
flex-grow: 1;
gap: 10px;
margin-bottom: 10px;
}
#game-area {
flex: 3;
border: 1px solid #00ff41;
padding: 10px;
display: flex;
flex-direction: column;
}
#terminal {
flex-grow: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
justify-content: flex-end; /* Start from the bottom */
}
#terminal-output p {
margin: 2px 0;
word-wrap: break-word;
}
.prompt-line {
display: flex;
}
#prompt {
margin-right: 5px;
white-space: nowrap;
}
#terminal-input {
flex-grow: 1;
background: transparent;
border: none;
color: #00ff41;
font-family: inherit;
font-size: inherit;
}
#terminal-input:focus {
outline: none;
}
#status-panel {
flex: 1;
border: 1px solid #00ff41;
padding: 10px;
}
#chat-box {
border: 1px solid #00ff41;
padding: 10px;
height: 150px;
display: flex;
flex-direction: column;
}
#chat-messages {
flex-grow: 1;
overflow-y: auto;
}
#chat-input {
width: 100%;
background: transparent;
border: none;
border-top: 1px solid #00ff41;
color: #00ff41;
font-family: inherit;
padding: 5px 0 0 0;
margin-top: 5px;
}
#chat-input:focus {
outline: none;
}