Skip to content

Instantly share code, notes, and snippets.

@kepano
kepano / tab-stacks.css
Last active October 14, 2022 18:48
Style Settings snippet for Obsidian Tab Stacks (1.0+)
View tab-stacks.css
/* @settings
name: Tab stacks
id: tab-stacks
settings:
-
id: tab-stacked-pane-width
title: Stacked width
type: variable-number
description: Width of a stacked tab in pixels
@kepano
kepano / minimal-dev.css
Last active December 28, 2022 02:46
Minimal Line Width Dev Snippet
View minimal-dev.css
.mod-root .view-header:after {
display:flex;
align-items:flex-end;
content:"\00a0pane\00a0";
font-size:12px;
color:gray;
font-family:var(--font-monospace);
width:100%;
max-width:100%;
height:100vh;
@kepano
kepano / labeled-nav.css
Last active November 14, 2021 21:31
obsidian-labeled-nav
View labeled-nav.css
.mod-left-split > .workspace-tabs:nth-child(3) .workspace-tab-header-container {
height: auto;
}
.mod-left-split > .workspace-tabs:nth-child(3) .workspace-tab-container-inner {
flex-direction:column;
padding:8px 8px 6px 8px;
}
.mod-left-split > .workspace-tabs:nth-child(3) .workspace-tab-header {
padding:0;
margin-bottom:2px;
@kepano
kepano / obsidian-web-clipper.js
Last active February 3, 2023 00:39
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
View obsidian-web-clipper.js
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@kepano
kepano / minimal-folding.css
Last active February 4, 2022 14:04
Relationship lines and folding for Minimal Theme
View minimal-folding.css
/* TOC
Relationship lines in Preview
Relationship lines in Edit mode
Folding padding adjustment
Folding icons in Preview
Folding icons in Edit mode
*/
@kepano
kepano / clean-google-docs.css
Last active June 9, 2019 23:21 — forked from devonzuegel/clean-google-docs.css
Custom styles for Stylus Chrome extension
View clean-google-docs.css
.docs-material #docs-header .docs-titlebar-buttons,
.docs-material .goog-toolbar-button,
.docs-material .goog-toolbar-combo-button,
.docs-material .goog-toolbar-menu-button,
.docs-navigation-tab-button,
#docs-toolbar-wrapper,
#docs-editor,
#docs-chrome {
box-shadow:none;
background-color: #fafafa !important;