Skip to content

beehaw.org - Fixed Header (Darkly) by ThomasWelch

Details

AuthorThomasWelch

LicenseNo License

Categorybeehaw.org

Created

Updated

Size510 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A userstyle that fixes the top navbar to the window when scrolling

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           beehaw.org - Fixed Header (Darkly)
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Pins the header to keep it from scrolling
@author         Tom Welch
==/UserStyle== */

@-moz-document url-prefix("https://beehaw.org/") {
    div#app {
      margin-top: 40px;
    }

    div#app nav.navbar:nth-of-type(1) {
      position: fixed;
      top: 0;
        width: 100%;
      background-color: rgb(26,28,29) !important;
      z-index: 1000;
    }
}

Reviews

No reviews yet.