SNIPPET
thr19

CSS Snippets

Simple and perfect snippets.

Obsidian CSS Snippets

This repository provides a collection of CSS snippets to enhance the appearance and usability of Obsidian notes. Each snippet is designed for simplicity, visual clarity, and easy integration.

Included Snippets

  • Perfect Callout (perfect-callout/):

    • Beautifies callout blocks with modern styles and improved readability.
    • Includes example images in the examples/ folder.
  • Perfect Tables (perfect-tables/):

    • Styles standard markdown tables for a clean, professional look.
    • Features zebra striping, hover effects, and accent headers.
    • See image.png for a preview.
  • Perfect Tables Expanded (perfect-tables-expanded/):

    • Adds advanced table styles, including compact, latex-style, highlighted columns, and Dataview integration.
    • Supports icon-enhanced tables via the Iconize plugin (icons-table.css).

Installation

  1. Download or copy the desired CSS file(s) into your Obsidian vault's .obsidian/snippets folder.
  2. In Obsidian, go to Settings → Appearance → CSS Snippets.
  3. Enable the snippet(s) you want to use.

Usage

  • For advanced table styles, add the appropriate cssclasses to your note's frontmatter. See each snippet's README for details and examples.
  • For icon-enhanced tables, install the Iconize plugin and use the icons-table class.

Customization

You can edit any CSS file to match your theme or preferences. Each snippet is documented for easy modification.

License

See LICENSE for details.

Related

How to Install

  1. Download the repository ZIP below
  2. Unzip it and find the CSS snippet file
  3. Move the CSS file into your vault's .obsidian/snippets/ folder
  4. Open Obsidian → Settings → Appearance → CSS Snippets → Enable it

Stats

Stars

0

Forks

0

License

GPL-2.0

Last updated 8mo ago

Categories