Skip to content

overframe.gg but with a smaller header by CatboyPrincess

Details

AuthorCatboyPrincess

LicenseCC-BY-NC-SA-4.0

Categoryoverframe.gg

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Userstyle for overframe.gg that makes the top nav bar smaller

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           overframe.gg but with a smaller header
@namespace      github.com/openstyles/stylus
@version        1.0.1
@description    Userstyle for overframe.gg that makes the top nav bar smaller
@author         Catboy Princess <catboyprincess@proton.me>
@license        CC-BY-NC-SA-4.0
==/UserStyle== */
@-moz-document domain("overframe.gg") {
	#__next {
		margin-top: 4rem;
		min-height: calc(100vh - 4rem);
		height: calc(100vh - 4rem);
	}

	header[class^='Header_header_'] {
		height: 4rem;
	}

	nav {
		margin: 0rem 0.5rem;
	}

	[class^='Header_header_'] > nav {
		margin: 0rem 0.5rem;
	}

	[class^='Header_header_'] > nav [class^='Header_homeLink_'],
	[class^='Header_header_'] > nav > a:not([class^='Header_homeLink_']) {
		padding: 0rem 0.5rem;
	}

	nav[class^='Header_socialButtons'] {
		margin-left: 0.5rem;
	}

	label[class^='ItemSearchBar_magWrapper'] {
		padding: 0.25rem;
	}

	div[class^='LoginButton_button'] {
		height: 4rem;
		min-width: 10rem;
	}

	div[class^='index_home'] {
		min-height: calc(100vh - 4rem);
		padding: 2rem 0;
	}

	[class^='Footer_footer_'] {
		padding-top: 4rem;
		padding-bottom: 1rem;
	}
}

Reviews

No reviews yet.