Sha256: 7cd9b49e7f9c6adc35549cc71fab9369b12ac9878c713d4b654721b462a302b7

Contents?: true

Size: 1.85 KB

Versions: 21

Compression:

Stored size: 1.85 KB

Contents

#obsidian {
    #fileread {
        #canvas {
            --canvas-backdrop: light-dark(rgba(200, 200, 200, 0.1),
            rgba(100, 100, 100, 0.1));
            position: absolute;
            height: 10000px;
            width: 10000px;
            left: 0;
            top: 0;
            /* https://codepen.io/mapsandapps/pen/pbzooY */
            background-color: var(--bg);
            background-image: radial-gradient(rgb(108, 110, 112) 1%, transparent 0);
            background-size: 15px 15px;

            #canvas-content {
                width: 100%;
                height: 100%;
                transform-origin: center center;
                z-index: 5;
            }

            svg {
                position: absolute;
                z-index: 1;
            }

            .card {
                box-sizing: border-box;
                padding: .8rem;
                padding-bottom: 0;
                border-radius: .5rem;
                border: 2px solid var(--color-border);
                overflow: auto;

                &.group {
                    background-color: var(--canvas-backdrop);
                    overflow: visible;

                    p {
                        position: relative;
                        top: -64px;
                        left: -16px;
                        font-size: x-large;
                        font-weight: bold;
                        width: max-content;
                        padding: 4px 12px;
                        color: var(--color-text);
                        background-color: var(--bg-tinted);
                        border-radius: 0.8rem;
                        border: 2px solid var(--color-border);
                    }
                }

                &.text,
                &.file {
                    background-color: var(--bg);
                }
            }
        }
    }
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
jekyll-obsidian-1.1.8 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.7 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.6 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.5 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.4 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.3 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.2 assets/css/partials/_canvas.scss
jekyll-obsidian-1.2.0 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.1 assets/css/partials/_canvas.scss
jekyll-obsidian-1.1.0 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.10 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.9 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.8 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.7 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.6 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.5 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.4 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.3 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.2 assets/css/partials/_canvas.scss
jekyll-obsidian-1.0.1 assets/css/partials/_canvas.scss