2023-01-03 09:29:40 +08:00
|
|
|
* {
|
2024-03-04 09:01:54 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
font-family: "Menlo", "Andale Mono", "Courier New", Monospace;
|
2023-01-03 09:29:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#terminal {
|
2024-03-04 09:01:54 +08:00
|
|
|
background-color: black;
|
|
|
|
color: green;
|
|
|
|
display: inline-block;
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
/* Copy paste! */
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2024-03-07 23:28:12 +08:00
|
|
|
--cursor-color: lightgrey;
|
2023-01-03 09:29:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Style attributes */
|
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blink {
|
|
|
|
animation: blinker 1s step-start infinite;
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.underline {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dim {
|
|
|
|
filter: brightness(50);
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.strikethrough {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
|
|
|
.double_underline {
|
|
|
|
text-decoration: underline double;
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.curly_underline {
|
|
|
|
text-decoration: underline wavy;
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.dotted_underline {
|
|
|
|
text-decoration: underline dotted;
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.dashed_underline {
|
|
|
|
text-decoration: underline dashed;
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
|
|
|
/* Cursor styles */
|
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.cursor-steady-block {
|
2024-03-07 23:28:12 +08:00
|
|
|
background-color: var(--cursor-color) !important;
|
2024-03-04 09:01:54 +08:00
|
|
|
}
|
|
|
|
.cursor-blinking-block {
|
|
|
|
animation: blinking-block 1s step-start infinite !important;
|
|
|
|
}
|
|
|
|
@keyframes blinking-block {
|
|
|
|
50% {
|
2024-03-07 23:28:12 +08:00
|
|
|
background-color: var(--cursor-color);
|
2024-03-04 09:01:54 +08:00
|
|
|
}
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.cursor-steady-underline {
|
2024-03-07 23:28:12 +08:00
|
|
|
text-decoration: underline var(--cursor-color) !important;
|
2024-03-04 09:01:54 +08:00
|
|
|
}
|
|
|
|
.cursor-blinking-underline {
|
|
|
|
animation: blinking-underline 1s step-start infinite !important;
|
|
|
|
}
|
|
|
|
@keyframes blinking-underline {
|
|
|
|
50% {
|
2024-03-07 23:28:12 +08:00
|
|
|
text-decoration: underline var(--cursor-color);
|
2024-03-04 09:01:54 +08:00
|
|
|
}
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
|
2024-03-04 09:01:54 +08:00
|
|
|
.cursor-steady-bar {
|
|
|
|
margin-left: -2px;
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
.cursor-steady-bar:before {
|
2024-03-04 09:01:54 +08:00
|
|
|
content: " ";
|
|
|
|
width: 2px;
|
2024-03-07 23:28:12 +08:00
|
|
|
background-color: var(--cursor-color) !important;
|
2024-03-04 09:01:54 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.cursor-blinking-bar {
|
|
|
|
margin-left: -2px;
|
2023-01-03 09:29:40 +08:00
|
|
|
}
|
|
|
|
.cursor-blinking-bar:before {
|
2024-03-04 09:01:54 +08:00
|
|
|
content: " ";
|
|
|
|
width: 2px;
|
2024-03-07 23:28:12 +08:00
|
|
|
background-color: var(--cursor-color) !important;
|
2024-03-04 09:01:54 +08:00
|
|
|
display: inline-block;
|
|
|
|
animation: blinker 1s step-start infinite;
|
2023-01-03 09:29:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* General animations */
|
|
|
|
|
|
|
|
@keyframes blinker {
|
2024-03-04 09:01:54 +08:00
|
|
|
50% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2023-01-03 09:29:40 +08:00
|
|
|
}
|