-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
200 lines (166 loc) · 3.62 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #1d1f21;
color: #559fff;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
height: 100vh;
font-family: monospace;
}
#terminal {
background-color: #000;
border-radius: 8px;
padding: 10px;
width: 95%;
height: 90%;
max-height: 600px;
overflow-y: auto;
border: 2px solid #559fff;
display: flex;
flex-direction: column;
flex-grow: 1; /* Allow terminal to take up available space */
}
iframe {
border-radius: 8px; /* Match terminal's border radius */
flex: 1;
}
#output {
display: flex;
flex-direction: column;
color: #559fff;
white-space: pre-wrap;
}
/* Flex container to make ascii-art and system-info responsive */
#ascii-system-container {
display: flex;
flex-wrap: wrap; /* Allows wrapping for smaller screens */
justify-content: space-between;
gap: 10px; /* Spacing between the two sections */
}
#ascii-art, #system-info {
flex: 1;
/* min-width: 300px; Ensures elements wrap when screen size is smaller */
}
/* Input section */
#input {
display: flex;
align-items: center;
margin-top: 10px;
}
#prompt {
margin-right: 5px;
}
#command {
background-color: transparent;
border: none; color: #fff;
font-family: monospace;
width: 100%;
outline: none;
caret-color: #559fff;
}
pre code {
color: #a0ecff; /* Default color for code blocks */
font-style: bold;
font-weight: 600;
}
pre code .token.comment {
color: #666; /* Comment color */
}
pre code .token.keyword {
color: #ff79c6; /* Keyword color */
}
pre code .token.string {
color: #f1fa8c; /* String color */
}
pre code .token.function {
color: #8be9fd; /* Function name color */
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: #559fff;
}
::-webkit-scrollbar-track {
background-color: #1d1f21;
}
/* Media query to switch to row layout on larger screens */
@media (min-width: 768px) {
#ascii-system-container {
flex-direction: row; /* Display side-by-side on wide screens */
}
}
/* Styles for colored command output */
.command {
color: #8be9fd; /* Color for commands like ls, cd, cat, etc. */
}
.error {
color: #ff5555; /* Color for error messages */
}
.directory {
color: #50fa7b; /* Color for directory names */
}
.file {
color: #f1fa8c; /* Color for file names */
}
.info {
color: #ffb86c; /* Color for system info labels */
}
.prompt {
color: #ff79c6; /* Color for the prompt hint */
}
/* Footer button styles */
#footer-buttons {
display: flex;
justify-content: center;
padding-top: 8px;
padding-bottom: 21px; /* Add some padding at the bottom for spacing */
}
#footer-buttons button {
background-color: #1d1f21;
border: 1px solid #559fff;
color: #559fff;
padding: 2px 5px;
margin: 0 10px;
font-family: monospace;
font-size: 8px;
border-radius: 5px;
cursor: pointer;
}
#footer-buttons button:hover {
background-color: #559fff;
color: #1d1f21;
}
/* Ensure buttons are responsive */
@media (max-width: 768px) {
#footer-buttons button {
font-size: 12px;
padding: 5px;
}
}
/* Add CSS for blog content styling */
img {
border-radius: 8px;
margin: 10px 0;
}
h1, h2, h3, h4, h5, h6 {
color: #559fff;
}
blockquote {
border-left: 2px solid #559fff;
padding-left: 10px;
margin: 10px 0;
color: #c4e0ff;
font-style: italic;
}
footer {
color: #aaa;
font-size: 0.9em;
}