forked from fenjalien/obsidian-typst
-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
92 lines (73 loc) · 1.25 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
/* styles */
textarea {
width: 100%;
resize: vertical;
}
.setting-item:has(textarea),
.font-settings,
.package-settings {
flex-direction: column;
gap: 0.5em;
align-items: stretch;
}
.is-disabled {
display: none;
}
.add-fonts-div {
display: flex;
gap: 0.5em;
}
.font-input {
flex-grow: 1;
}
.font-tags-div {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
}
.font-tag {
background-color: var(--interactive-normal); /* #363636 */
border-radius: 20px;
padding: 0.5em 0.6em 0.5em 1em;
}
.tag-btn {
margin-left: 0.6em;
padding: 0.4em;
}
.font-tag-text {
font-size: var(--font-ui-small);
}
button,
.tag-btn {
cursor: pointer;
}
.tag-btn:hover {
color: var(--interactive-accent);
}
.typst-doc {
vertical-align: bottom;
}
typst-renderer {
display: inline-block;
}
.package-settings {
gap: 0;
}
.package-settings .setting-item-description {
margin: 0.5em 0;
}
.package-item {
display: flex;
border-bottom: 1px solid var(--background-modifier-border);
gap: 0.5em;
align-items: center;
font-size: var(--font-ui-small);
}
.package-version {
margin-left: auto;
}
.delete-pkg-btn {
margin-top: 1.5em;
width: max-content;
margin-left: auto;
}