generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
55 lines (45 loc) · 1.02 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
/*
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.
*/
.box {
border: 1px solid var(--background-modifier-border);
padding: 10px;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
border-radius: var(--radius-m);
max-width: 600px;
background-color: var(--background-primary-alt)
}
.author {
color: var(--text-muted);
}
.loader {
border: 8px solid #f3f3f3;
border-top: 8px solid hsl(var(--accent-h), var(--accent-s), var(--accent-l));
border-radius: 50%;
width: 60px;
height: 60px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% {
transdform: rotate(0deg)
}
100% {
transform: rotate(360deg)
}
}
.bg {
display: flex;
justify-content: center;
width: 100%;
}
.error {
color: var(--color-red);
background-color: rgba(var(--color-red-rgb), 0.2);
padding: 1rem;
max-width: 600px;
border-radius: var(--radius-m);
}