generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
55 lines (46 loc) · 935 Bytes
/
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
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
.block-language-lrc {
font-family: var(--font-monospace);
}
.lyrics-timestamp {
color: var(--text-accent);
cursor: pointer;
width: 5.5rem;
display: inline-block;
padding: 5px 0;
user-select: none;
}
.lyrics-line p {
flex: 1;
padding: 5px;
margin: 0;
}
.lyrics-timestamp::hover {
color: var(--text-accent-hover);
cursor: pointer;
}
.player-wrapper {
position: sticky;
top: 0;
}
.lyrics-line {
display: flex;
padding: 3px;
}
.lyrics-text {
display: flex;
flex-direction: column;
flex: 1;
padding: 0 0.8rem;
}
.lyrics-highlighted .lyrics-text {
background-color: var(--text-selection);
border-radius: 5px;
}
.lyrics-show-marked .lyrics-line[data-mark='false'] {
display: none;
}