Skip to content

neovim.io Docs by kbtz

Details

Authorkbtz

LicenseNo License

Categoryneovim.io

Created

Updated

Size796 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

centered text, floating table of contents

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         neovim.io Docs
@version      20230817.22.42
@namespace    userstyles.world/user/kbtz
@description  centered text, floating table of contents
@author       kbtz
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://neovim.io/doc/") {
.container.golden-grid {
    display: block;
    text-align: center;
    width: 100%;
}

.container.golden-grid .col-wide {
    
    margin: 0 auto;
    z-index: 100;
    display: inline-block;
    text-align: left;
}

.container.golden-grid .toc {
    position: absolute;
    top: 3rem;
    right: 0;
    height: 6rem;
    text-align: left;
    padding: 0 1em;
    
}

.container.golden-grid .toc:hover {
    z-index: 999999;
    height: unset; 
    overflow-x: scroll;
    background: rgba(0,0,0,.6);
}

}

Reviews

No reviews yet.