generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
69 lines (54 loc) · 1.29 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
/*
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.
*/
.discord-timestamps {
background-color: var(--background-modifier-hover);
}
.discord-timestamps:hover {
background-color: var(--background-modifier-active-hover);
}
.setting-error {
color: var(--text-error);
}
.timestamp-input-div {
text-align: center;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.timestamp-label {
margin: auto var(--size-4-4) auto auto;
text-align: right;
}
.timestamp-button-heading {
text-align: center;
}
.timestamp-buttons {
text-align: center;
}
body.is-mobile div.timestamp-input-div:has(>#timezone-label) {
margin-top: var(--size-4-2);
}
.timezone-options,
body.is-mobile #history {
margin-top: var(--size-4-2);
}
body.is-mobile .timestamp-buttons {
display: block;
width: 100%;
margin: var(--size-4-2) auto;
}
body.is-mobile .timestamp-button-container {
display: block;
}
body:not(.is-mobile) .timestamp-button-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin: var(--size-4-5) auto 0;
}
/* div.modal:has(.timestamp-button-container) {
padding: var(--size-4-5) var(--size-4-3);
} */