-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (89 loc) · 2.24 KB
/
style.css
File metadata and controls
101 lines (89 loc) · 2.24 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
96
97
98
99
100
101
body {
background-color: #1a1a1a;
color: #00ff00; /* Green text for terminal feel */
font-family: 'Courier New', Courier, monospace;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
}
.game-container {
background-color: #000000;
border: 2px solid #00ff00;
box-shadow: 0 0 15px #00ff00;
padding: 20px;
width: 90%;
max-width: 800px;
display: flex;
flex-direction: column;
gap: 15px;
}
h1 {
text-align: center;
color: #00ff00;
text-shadow: 0 0 5px #00ff00;
margin-top: 0;
margin-bottom: 15px;
}
.output-log {
background-color: #0d0d0d;
border: 1px solid #006600;
height: 400px;
overflow-y: auto;
padding: 10px;
white-space: pre-wrap; /* Preserve line breaks and spaces */
font-size: 0.95em;
line-height: 1.4;
scroll-behavior: smooth; /* Smooth scrolling to new output */
}
.output-log::-webkit-scrollbar {
width: 8px;
}
.output-log::-webkit-scrollbar-track {
background: #0d0d0d;
}
.output-log::-webkit-scrollbar-thumb {
background-color: #006600;
border-radius: 4px;
}
.input-area {
display: flex;
gap: 10px;
}
#command-input {
flex-grow: 1;
background-color: #0d0d0d;
border: 1px solid #006600;
color: #00ff00;
padding: 10px;
font-size: 1em;
font-family: 'Courier New', Courier, monospace;
outline: none;
}
#command-input::placeholder {
color: #009900;
}
#submit-command {
background-color: #006600;
color: #00ff00;
border: 1px solid #00ff00;
padding: 10px 15px;
font-size: 1em;
font-family: 'Courier New', Courier, monospace;
cursor: pointer;
transition: background-color 0.2s, color 0.2s;
}
#submit-command:hover {
background-color: #00ff00;
color: #000000;
}
/* Custom text colors for output */
.text-info { color: #00ff00; } /* Default green */
.text-success { color: #00ff99; } /* Lighter green for success */
.text-warning { color: #ffff00; } /* Yellow for warnings */
.text-danger { color: #ff0000; } /* Red for errors/damage */
.text-highlight { color: #00ffff; } /* Cyan for important info */
.text-special { color: #ff00ff; } /* Magenta for unique events */