blob: a959e6c37148321e90f3e9bde6c8db57fc9426a2 (
plain) (
blame)
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
|
@font-face {
font-family: "Pardes Mono";
src: url("./AdwaitaMono-Regular.ttf") format("truetype");
font-display: swap;
}
:root {
color-scheme: dark;
--pardes-bg: #121212;
--pardes-fg: #cccccc;
--pardes-font-size: 18px;
--pardes-cell-width: 9.333333px;
--pardes-cell-height: 19.459459px;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
background: var(--pardes-bg);
}
.pardes {
box-sizing: border-box;
width: 100vw;
height: 100vh;
overflow: hidden;
color: var(--pardes-fg);
background: var(--pardes-bg);
font-family: "Pardes Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: var(--pardes-font-size);
font-variant-ligatures: none;
line-height: 1;
outline: none;
touch-action: none;
user-select: text;
cursor: text;
}
.pardes-row {
display: flex;
width: max-content;
height: var(--pardes-cell-height);
line-height: var(--pardes-cell-height);
white-space: pre;
}
.pardes-cell {
box-sizing: border-box;
display: inline-block;
flex: 0 0 var(--pardes-cell-width);
width: var(--pardes-cell-width);
height: var(--pardes-cell-height);
overflow: hidden;
text-align: left;
white-space: pre;
}
.pardes-cell.is-cursor {
color: var(--cell-bg) !important;
background: var(--cell-fg) !important;
}
.pardes-cell.is-cursor.is-bar {
color: var(--cell-fg) !important;
background: var(--cell-bg) !important;
box-shadow: inset 2px 0 var(--cell-fg);
}
.pardes-cell.is-blinking {
animation: pardes-blink 1s step-end infinite;
}
.pardes-probe {
position: fixed;
left: -10000px;
top: -10000px;
width: var(--pardes-cell-width);
height: var(--pardes-cell-height);
visibility: hidden;
}
@keyframes pardes-blink {
50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.pardes-cell.is-blinking { animation: none; }
}
|