-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
204 lines (174 loc) · 3.66 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
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
201
202
203
204
body {
background-color: #281e3f;
font-family: Menlo, Monaco, "Consolas", "Courier New", "Courier";
}
.terminal-window {
text-align: left;
width: 50%; /* Terminal takes up 50% of the width */
height: 50vh; /* Terminal takes up 40% of the viewport height */
max-height: 70vh;
border-radius: 10px;
margin: auto;
position: relative;
display: block;
top: 25vh;
transition: all 0.5s ease;
z-index: 999;
}
.terminal-window.minimized {
height: 30px;
top: calc(100vh - 38px);
width: 250px;
}
.terminal-window.fullscreen {
width: 95vw;
height: 95vh;
top: 0;
left: 0;
max-height: 100vh;
}
.terminal-window header {
background: #e0e8f0;
height: 30px;
border-radius: 8px 8px 0 0;
padding-left: 10px;
}
.terminal-window header .button {
width: 12px;
height: 12px;
margin: 10px 4px 0 0;
display: inline-block;
border-radius: 8px;
}
.terminal-window header .button.green {
background: #3bb662;
cursor: pointer;
}
.terminal-window header .button.yellow {
background: #e5c30f;
cursor: pointer;
}
.terminal-window header .button.red {
background: #e75448;
cursor: pointer;
}
.input {
display: inline-block;
vertical-align: bottom;
outline: none;
border: none;
margin: 0;
padding: 0;
min-width: 10px;
}
.input:empty::before {
content: "\200B"; /* Zero-width space */
}
.green {
color: #00ff00; /* Green color */
}
.white {
color: #ffffff; /* White color */
}
.purple {
color: #ff00ff; /* Purple color */
}
.prompt {
color: #00ccff; /* Neon blue color */
}
.tick {
color: #00ccff;
}
#terminal {
color: white;
font-family: Menlo, Monaco, "Consolas", "Courier New", "Courier";
font-size: 11pt;
background: #30353a;
padding: 10px;
box-sizing: border-box;
position: absolute;
width: 100%;
height: 100%;
top: 30px;
bottom: 0;
overflow-y: scroll;
}
/* Styles for the terminal icon */
/* Styles for the terminal icon */
.terminal-icon {
width: 80px;
height: 60px;
position: fixed;
bottom: 10px;
left: 10px;
cursor: pointer;
display: none; /* Initially hide the icon */
border: 5px solid #fff;
border-radius: 5px;
padding: 5px;
box-sizing: border-box;
background: transparent;
color: #fff;
}
.terminal-icon::before {
content: ">_";
font-size: 32px;
font-weight: bold;
line-height: 40px;
text-align: center;
display: block;
}
.terminal-icon.show {
display: block; /* Show the icon when needed */
}
#terminal p {
font-size: 20px; /* Set the desired font size */
}
/* Hide scrollbar for #terminal */
#terminal::-webkit-scrollbar {
display: none; /* For WebKit browsers */
}
#terminal {
scrollbar-width: none; /* For Firefox */
-ms-overflow-style: none; /* For Internet Explorer */
overflow-y: scroll; /* Enable vertical scrolling */
}
/* Add this style for the link */
a.external-link {
color: #FF8080; /* Green color */
text-decoration: none; /* Remove default underline */
}
a.external-link:visited {
color: #FF8080; /* Keep the same color after being visited */
}
a.external-link:hover {
color: #FF8080; /* Change color on hover for better visibility */
}
.Contact a i {
font-size: 32px; /* Change the size as needed */
color: white; /* Set the color to white */
text-decoration: none;
}
.footer {
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
text-align: center;
background: transparent; /* Transparent background */
width: 90%;
padding-top: 15px;
line-height: 8px;
color: white; /* White text */
display: none; /* Initially hidden */
}
.hidefooter {
display: block; /* Hide by default */
}
@media only screen and (max-width: 650px){
.terminal-window {
width: 95%;
height: 80vh;
top: 10vh;
}
}