-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
106 lines (93 loc) · 1.88 KB
/
styles.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
/* General reset for consistent rendering */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1 {
margin: 0.5em;
}
/* Body styles */
body {
font-family: Arial, sans-serif;
background-color: #2e2e3e;
color: #f2f2f2;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden; /* Prevent scrolling */
}
/* Outer container to center the inner container */
.outer-container {
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
/* Inner container for content */
.inner-container {
width: 90%;
max-width: 800px;
height: 90%;
max-height: 600px;
background-color: #3e2e3e;
border: 2px solid #aa4b56;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Buffer (command history) */
.buffer {
flex: 1;
margin: 10px;
padding: 10px;
background-color: #2e2e3e;
overflow-y: auto;
border: 2px solid #aa4b56;
border-radius: 5px;
}
/* Command input area */
textarea {
margin: 10px;
padding: 10px;
border: 2px solid #aa4b56;
border-radius: 5px;
background-color: #3e2e34;
color: #f2f2f2;
font-size: 16px;
resize: none;
flex-shrink: 0;
baseline: 4em;
}
textarea:focus {
outline: none;
border-color: #c06070;
}
/* Prompt styles for buffer entries */
.prompt {
margin-top: 10px;
padding: 10px;
border-radius: 5px;
background-color: #4a3b3f;
color: #f2f2f2;
font-size: 14px;
white-space: pre-wrap;
overflow-wrap: break-word;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
.inner-container {
width: 95%;
height: 95%;
}
textarea {
font-size: 14px;
}
.prompt {
font-size: 12px;
}
}