Skip to content

PHP.net left+sticky menu by igorsantos07

Screenshot of PHP.net left+sticky menu

Details

Authorigorsantos07

LicenseCC-BY-NC-4.0

Categoryphp.net

Created

Updated

Size603 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Move the menu to the left-side, making it sticky on scroll.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           PHP.net left+sticky menu
@namespace      userstyles.world/user/igorsantos07
@author         igorsantos07
@description    Move the menu to the left-side, making it sticky on scroll.
@version        1.0.1
@license        CC-BY-NC-4.0
==/UserStyle== */
@-moz-document domain("php.net") {
    @media (min-width: 768px) {
        #layout-content:not(:only-child) {
            float: right !important;
        }
        aside.layout-menu {
            position: sticky;
            top: 3.25rem;
            overflow-y: auto;
            max-height: 100vh;
        }
    }
}

Reviews

No reviews yet.