-
Notifications
You must be signed in to change notification settings - Fork 22
/
next-helvetica.css
executable file
·79 lines (68 loc) · 1.64 KB
/
next-helvetica.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
/**
* NexT for Typora
* Brought to you by Bill Chen || https://github.com/BillChen2K/typora-theme-next
*
* - Want code ligatures for JetBrains Mono?
* - Search for `font-variant-ligatures: none;` and comment that line.
**/
@import "next.css";
* {
/* Disable ligatures */
font-variant-ligatures: none;
}
/* Helvetica Neue */
@font-face {
font-family: "HelveticaN";
font-weight: 400;
font-style: normal;
src: url('next/HelveticaNeue-01.ttf') format('truetype')
}
@font-face {
font-family: "HelveticaN";
font-weight: bold;
font-style: normal;
src: url('next/HelveticaNeue-Bold-02.ttf') format('truetype')
}
@font-face {
font-family: "HelveticaN";
font-weight: 400;
font-style: italic;
src: url('next/HelveticaNeue-Italic-03.ttf') format('truetype')
}
@font-face {
font-family: "HelveticaN";
font-weight: bold;
font-style: italic;
src: url('next/HelveticaNeue-BoldItalic-04.ttf') format('truetype')
}
html,
body,
#write {
font-family: HelveticaN, "GlowSansSC", "Helvetica Neue", "pingfang sc", "microsoft yahei", sans-serif;
}
p {
color: var(--text-color);
line-height: 1.55rem;
margin: 0 0 12.5px;
}
.task-list-item input::before {
content: "";
display: inline-block;
width: 1rem;
height: 1rem;
vertical-align: middle;
text-align: center;
border: 1px solid gray;
background-color: #fdfdfd;
margin-left: -0.1rem;
margin-right: 0.1rem;
margin-top: -0.9rem;
}
.task-list-item input:checked::before {
padding-left: 0.125em;
content: '✔';
/*◘*/
font-size: 0.8125rem;
line-height: 0.9375rem;
margin-top: -0.5rem;
}