Skip to content

Fixed top bar in lemmy by freakrho

Screenshot of Fixed top bar in lemmy

Details

Authorfreakrho

LicenseNo License

Categoryprogramming.dev

Created

Updated

Size589 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Makes the top bar fixed so it's always visible when scrolling

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Fixed top bar in lemmy
@version      20230712.20.34
@namespace    userstyles.world/user/freakrho
@description  Makes the top bar fixed so it's always visible when scrolling
@author       freakrho
@license      No License
==/UserStyle== */

@-moz-document domain("programming.dev") {
#navbar {
    position: fixed;
    z-index: 100;
    background-color: #222222;
    left: 0;
    right: 0;
}

.home,
.person-settings,
.person-profile,
.communities,
.create-post,
.post,
.community,
.inbox
{
    top: 40px;
    margin-bottom: 40px;
    position: relative;
}
}

Reviews

No reviews yet.