mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-27 11:38:34 +01:00
Improve preset styling for Google Keeps
This commit is contained in:
parent
bd10df45ee
commit
aff14357cf
2 changed files with 5 additions and 3 deletions
|
@ -56,9 +56,11 @@ div[style*="min-width: 238px"] span[role*="heading"] {
|
||||||
openInCenter: false,
|
openInCenter: false,
|
||||||
zoomLevel: 1,
|
zoomLevel: 1,
|
||||||
forceIframe: false,
|
forceIframe: false,
|
||||||
customCss: `/* hide the menu bar and the "Keep" text */
|
customCss: `/* hide the menu bar, the "Keep" text and the Google Apps button */
|
||||||
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child,
|
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child,
|
||||||
html > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span {
|
html > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span,
|
||||||
|
html > body > div:first-child > header:first-child > div:nth-child(2) > div:first-child > div:first-child,
|
||||||
|
html > body > div:first-child > header:first-child > div:nth-child(2) > div:nth-child(3) > div:first-child > div:first-child > div:first-child {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}`
|
}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
"openInCenter": false,
|
"openInCenter": false,
|
||||||
"zoomLevel": 1,
|
"zoomLevel": 1,
|
||||||
"forceIframe": false,
|
"forceIframe": false,
|
||||||
"customCss": "/* hide the menu bar and the \"Keep\" text */\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child, \nhtml > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span { \n\tdisplay: none !important; \n}"
|
"customCss": "/* hide the menu bar, the \"Keep\" text and the Google Apps button */\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child, \nhtml > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span, \nhtml > body > div:first-child > header:first-child > div:nth-child(2) > div:first-child > div:first-child, \nhtml > body > div:first-child > header:first-child > div:nth-child(2) > div:nth-child(3) > div:first-child > div:first-child > div:first-child { \n\tdisplay: none !important; \n}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "https://calendar.google.com/calendar",
|
"url": "https://calendar.google.com/calendar",
|
||||||
|
|
Loading…
Reference in a new issue