Hide Coral floating notification controls
Some checks are pending
Build / build (push) Waiting to run
Some checks are pending
Build / build (push) Waiting to run
This commit is contained in:
parent
598f793284
commit
a3366a6513
8 changed files with 53 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -50,6 +50,17 @@ npm run build --prefix sites/research
|
||||||
|
|
||||||
Deployment is via Forgejo + Dokploy. See [DEPLOYMENT.md](./DEPLOYMENT.md).
|
Deployment is via Forgejo + Dokploy. See [DEPLOYMENT.md](./DEPLOYMENT.md).
|
||||||
|
|
||||||
|
## Coral Comments
|
||||||
|
|
||||||
|
Post pages embed Coral with `customCSSURL: "/coral-transparent.css"`. Each
|
||||||
|
site keeps its own copy at `sites/<name>/public/coral-transparent.css`.
|
||||||
|
|
||||||
|
That CSS is the durable customization point for Coral UI changes: it is served
|
||||||
|
by the blog site and loaded by Coral at runtime, so it survives Coral container
|
||||||
|
rebuilds and image upgrades. It currently makes the embed background
|
||||||
|
transparent, hides the redundant single "Comments" tab, and suppresses Coral's
|
||||||
|
fixed-position floating notification bell so it cannot drift over article text.
|
||||||
|
|
||||||
## Obsidian Content Bridge
|
## Obsidian Content Bridge
|
||||||
|
|
||||||
The seven blog content folders are synced from the public Obsidian vault. See
|
The seven blog content folders are synced from the public Obsidian vault. See
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#coral [class*="FloatingNotificationButton-root"],
|
||||||
|
#coral [class*="MobileNotificationButton-"],
|
||||||
|
#coral [class*="TabBar-notificationsTab"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#coral [class*="FloatingNotificationButton-root"],
|
||||||
|
#coral [class*="MobileNotificationButton-"],
|
||||||
|
#coral [class*="TabBar-notificationsTab"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#coral [class*="FloatingNotificationButton-root"],
|
||||||
|
#coral [class*="MobileNotificationButton-"],
|
||||||
|
#coral [class*="TabBar-notificationsTab"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#coral [class*="FloatingNotificationButton-root"],
|
||||||
|
#coral [class*="MobileNotificationButton-"],
|
||||||
|
#coral [class*="TabBar-notificationsTab"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#coral [class*="FloatingNotificationButton-root"],
|
||||||
|
#coral [class*="MobileNotificationButton-"],
|
||||||
|
#coral [class*="TabBar-notificationsTab"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#coral [class*="FloatingNotificationButton-root"],
|
||||||
|
#coral [class*="MobileNotificationButton-"],
|
||||||
|
#coral [class*="TabBar-notificationsTab"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
#coral:has(nav[aria-label="Main Tablist"]:not(:has([role="tab"] ~ [role="tab"])):not(:has(button ~ button)):not(:has(a ~ a)):not(:has(li ~ li))) [class*="App-tabContent"] {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#coral [class*="FloatingNotificationButton-root"],
|
||||||
|
#coral [class*="MobileNotificationButton-"],
|
||||||
|
#coral [class*="TabBar-notificationsTab"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue