-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgit_publish2.css
More file actions
99 lines (90 loc) · 2.66 KB
/
Copy pathgit_publish2.css
File metadata and controls
99 lines (90 loc) · 2.66 KB
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
92
93
94
95
96
97
98
99
/* =======================
1) Header Git Links
======================= */
#header-git-links.header-git-links {
text-align: right;
margin: 1em 0;
}
#header-git-links a {
margin-left: 1em;
text-decoration: none;
font-weight: 500;
padding: 4px 6px;
border-radius: 4px;
color: var(--text-accent, #66c0ff);
transition: background 0.2s, color 0.2s;
}
#header-git-links a:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--text-on-accent, #fff);
}
/* =======================
2) Footer Action Block
======================= */
#footer-action-block {
margin: 1em 0; /* a bit of space above/below */
}
.footer-divider {
margin-bottom: 1em;
border: 0;
border-top: 1px solid var(--background-modifier-border, #aaa);
/* Or use Obsidian’s native var if you want */
}
.footer-action-container h4 {
margin: 0.5em 0; /* spacing for the heading */
font-size: 1.1em;
}
/* The row of button-like links */
.footer-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin: 0.5em 0;
}
/* Each button link */
.footer-buttons .btn {
display: inline-flex;
align-items: center;
padding: 6px 10px;
border-radius: 4px;
background: var(--interactive-normal, #eee);
color: var(--text-normal, #333);
text-decoration: none;
font-weight: 600;
transition: background 0.2s, color 0.2s;
}
.footer-buttons .btn:hover {
background: var(--interactive-accent-hover, #ddd);
color: var(--text-on-accent, #000);
}
/* Icons via title attributes */
.footer-buttons .btn[title="git-hub-edit-note"]::before {
content: url('data:image/svg+xml,...SOME_PENCIL_ICON...');
margin-right: 4px;
}
.footer-buttons .btn[title="git-hub-copy-note"]::before {
content: url('data:image/svg+xml,...SOME_COPY_ICON...');
margin-right: 4px;
}
.footer-buttons .btn[title="git-hub-download-vault"]::before {
content: url('data:image/svg+xml,...SOME_DOWNLOAD_ICON...');
margin-right: 4px;
}
.footer-buttons .btn[title="git-hub-open-dev"]::before {
content: url('data:image/svg+xml,...SOME_GITHUB_DEV_ICON...');
margin-right: 4px;
}
/* etc. for raw, download, dev icons... */
/* =======================
3) Right Column Button
======================= */
#right-col-edit-btn.right-column-edit-button {
margin-bottom: 1em;
/* maybe text-align: right if you want it on the right side? */
}
#right-col-edit-btn .btn {
/* same button style as above or you can customize */
background: var(--interactive-normal, #eee);
color: var(--text-normal, #333);
font-weight: 600;
}