-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
62 lines (56 loc) · 1.13 KB
/
Copy pathstyle.css
File metadata and controls
62 lines (56 loc) · 1.13 KB
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
:root {
--text-font-size: 14px;
--cursor-line-height: 16px;
--cursor-width: 2px;
}
/* * {
outline: 1px solid red;
} */
body {
font-family: "Bitter", Arial, sans-serif;
margin: 0;
padding: 0;
height: 100vh;
overflow: hidden;
color: #000;
background-color: #fff;
font-smooth: never;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
-webkit-font-smoothing: none;
-moz-osx-font-smoothing: grayscale;
}
body::backdrop {
background-color: rgba(255, 255, 255, 0);
}
#editor {
width: 100%;
height: 100%;
padding: 10px;
font-size: var(--text-font-size);
line-height: var(--cursor-line-height);
outline: none;
overflow: hidden;
caret-color: transparent;
position: relative;
letter-spacing: 0.03em;
}
#custom-cursor {
position: absolute;
background-color: rgb(117, 117, 117);
display: none;
pointer-events: none;
width: var(--cursor-width);
height: var(--cursor-line-height);
/* outline: 3px solid red; */
}
#placeholder {
color: gray;
pointer-events: none;
position: absolute;
top: 10px;
left: 10px;
font-size: var(--text-font-size);
letter-spacing: 0.03em;
}