Skip to content

jxduran Lemmy Alexandrite header by jxduran

Details

Authorjxduran

LicenseNo License

Categorya.lemdro.id

Created

Updated

Size955 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Fixes the header's spacing and height for Lemmy's Alexandrite interface

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           a.lemdro.id - Nov 2023
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         jonxduran
==/UserStyle== */
@-moz-document domain("a.lemdro.id") {

	body, #app-root {
		font-family: inherit;
	}
	h1 {
		font-size: inherit;
	}
	.inline-link, .has-inline-links a {
		font-weight: 400 !important;
	}
	
	@media (max-width: 1079px) {
		header > *.px-3 {
			padding-left: 0 !important;
			padding-right: 0 !important;
		}
		header > .branding {
			flex-basis: unset !important;
		}
		header > .branding > h1 > a {
			font-size: var(--sx-font-size-4);
		}
		header > .header-end .sx-badge-gray {
			display: none;
		}
		header > .header-end button {
			padding-left: 6px !important;
			padding-right: 6px !important;
		}
	}

	@media (max-width: 767px) {
		header > .branding > h1 {
			display: none;
		}
		header > .header-center .search-normal {
			width: 160px;
		}
	}
}

Reviews

No reviews yet.