Skip to content

Instantly share code, notes, and snippets.

@vii33
vii33 / obsidian-vii-adjustable-readable-line-length.css
Last active March 16, 2023 13:36
Changes the readable line length in Obsidian Notes. Tested in Obsidian v1.0.0
View obsidian-vii-adjustable-readable-line-length.css
/* Changes the readable line length in Obsidian Notes. Tested in Obsidian v1.0.0
See https://gist.github.com/vii33/f2c3a85b64023cefa9df6420730c7531/f4ea845b240e94c9fcd47d456340f78208dab38f
*/
body {
--file-line-width: 750px;
}
@vii33
vii33 / obsidian-vii-callouts.css
Created April 1, 2022 23:44
Obsidian Notes - Change callout color and icon (admonitions)
View obsidian-vii-callouts.css
/* Settings for all callouts / admonitions: */
.callout {
background-color: hsl(220, 16%, 16%);
}
/* Settings for individual callouts / admonitions: */
.callout[data-callout="important"] { /* same name as in callout to be changed */
--callout-color: 19, 203, 232; /* rgb only */