Lithou
Lithou
  • 3
  • 10 190
Obsidian CSS Snippets for Image Types and Side Bar Quotes
Tutorial video for custom CSS snippets in Obsidian
Obsidian version used in examples: v0.9.22
Resources:
Clip Path Editor - codepen.io/stoumann/pen/abZxoOM?editors=1100
Obsidian - www.obsidian.md
Where I got my hipster based ipsum text - hipsum.co/
CSS overview of layout positions - www.w3schools.com/css/css_positioning.asp
Переглядів: 8 774

Відео

КОМЕНТАРІ

  • @SWEPONS_KARK.98
    @SWEPONS_KARK.98 2 роки тому

    Amating vid, subscribed

  • @ezzick7640
    @ezzick7640 2 роки тому

    It's awesome! Thank you a lot

  • @yosefyosef2153
    @yosefyosef2153 2 роки тому

    I am having a problem. It is only rendering the change in live mode. When I switch to read mode, the snippet does not apply. Any reason for that? I disabled all the community plugin's that I have to eliminate the possibility that it could be a confilct . Thank you, this is very helpful. I always wanted to float images In my obsidian notes :)

  • @JacksonMilesSpindle
    @JacksonMilesSpindle 2 роки тому

    has anyone figured out how to get this to work with the hover previews as well? when I hover over a link to preview the page the images no longer format with the floats.

  • @JacksonMilesSpindle
    @JacksonMilesSpindle 2 роки тому

    I couldnt get this to work until I changed the css from div to span - noticed that the img tags are contained within span instead on div in my obsidian not sure if this is a new change

  • @tiredfrog308
    @tiredfrog308 2 роки тому

    I very recently came across your post on the Obsidian forums - the one linking to this video - and I have to extend a huge thank you for putting time and effort into sharing your approach! I lean heavily into HTML and Markdown, meaning that I'm utterly clueless when it comes to CSS. Having a visual guide and an intelligent, straightforward explanation really, really helps. I'll also check out your achieved streams after this! Cheers.

  • @red-switch
    @red-switch 2 роки тому

    Thanks a lot. Coming from Emacs Org Mode, I wanted to make the headers a bit smaller and less bold, and your tutorial here helped me quite a bit.

  • @Earl_E_Burd
    @Earl_E_Burd 2 роки тому

    I'm just here for the hipster word bank

  • @sar19
    @sar19 3 роки тому

    Does this still work for images? im asking, bc i copied the code 1:1 and it does nothing

    • @osakisai675
      @osakisai675 3 роки тому

      try changing "div" to "span", that works for me

    • @billygabrielz
      @billygabrielz 3 роки тому

      @@osakisai675 I've been stressing with this for HOURS today, and your comment solved my problem immediately. THANK YOU THANK YOU THANK YOU!!!!!

    • @tiredfrog308
      @tiredfrog308 2 роки тому

      @@osakisai675 you're a certified life saver, thank you so much

  • @thebibleproof
    @thebibleproof 3 роки тому

    Down from 3 hours to 12 minutes! I just had to subscribe.

  • @spektrum_der_kissenschlacht
    @spektrum_der_kissenschlacht 3 роки тому

    Fantastic, thank you very much, just what I was looking for!

  • @LessonsinHistory
    @LessonsinHistory 3 роки тому

    Thank you for sharing - love the insight ^_^ Hope all is well and that you produce more and more!

  • @Rztaylor73
    @Rztaylor73 3 роки тому

    Wow! Just wow... I'd love to see more content related to Obsidian.

  • @CristianVasquez
    @CristianVasquez 4 роки тому

    Cool CSS wizardry!

  • @BryanJenks
    @BryanJenks 4 роки тому

    this is neat! amazing CSS hacking skills! :D

  • @GabrielRodrigues-qw1qq
    @GabrielRodrigues-qw1qq 4 роки тому

    G8! Is the a way to show an image like in the same line of the text? I've tried "display: inline". But it dont seem to be working...

  • @lithou4689
    @lithou4689 4 роки тому

    CSS for Side Bar Quotes div[src$="-sbq"] { background-color: #6096cc; position: relative; right: -20px; float: right; clip-path: polygon(0% 0%,100% 0%,100% 80%,44% 80%,20% 100%,25% 80%,0% 80%); width: 35%; margin-top: 5px; margin-left: 10px; } div[src$="-sbq"] div.markdown-embed-link { visibility: hidden; } div[src$="-sbq"] div.markdown-embed { margin-top: 0px; margin-bottom: 0px; } div[src$="-sbq"] .markdown-preview-view { padding: 3px; padding-left: 10px; padding-bottom: 40px; } div[src$="-sbq"] .markdown-preview-view p { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: larger; font-style: italic; color: black; }

  • @lithou4689
    @lithou4689 4 роки тому

    CSS for Images: div[src$="#portrait"] { position: absolute; right: 0px; top: 0px; width: 200px; clip-path: ellipse(32% 45% at 50% 50%); } div[src$="#side"] { position: relative; float: left; width: 35%; margin-top: 5px; margin-left: 10px; margin-right: 12px; }