Skip to content

2018 Facebook Layout by YoutubeEnjoyer

Screenshot of 2018 Facebook Layout

Details

AuthorYoutubeEnjoyer

LicenseMIT

CategoryFacebook

Created

Updated

Size701 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Improves the modern Facebook layout by bringing back the old layout (2018) as much as possible.

Notes

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           2018 Facebook Layout
@namespace      github.com/openstyles/stylus
@version        2.8.8
@description    Improves the modern Facebook layout by bringing back the old layout (2018) as much as possible.
@author         Avolition
@license        MIT
@advanced text username "Add your Facebook name" "Default" {
0 "Disabled*" <<<EOT
EOT;

1 "Enabled" <<<EOT

EOT;
}

}

==/UserStyle== */
@-moz-document url-prefix("https://www.facebook.com/"),
url-prefix("web.facebook.com"),
url-prefix("https://secure.facebook.com/") {

	span[class="x4k7w5x x1h91t0o x1h9r5lt x1jfb8zj xv2umb2 x1beo9mf xaigb6o x12ejxvf x3igimt xarpa2k xedcshv x1lytzrv x1t2pt76 x7ja8zs x1qrby5j"] > div[class="x78zum5 x1n2onr6"]:after {
		content: '/*[[username]]*/';
		font-size: 12px!important;
		font-weight: bold!important;
		color: #fff!important;
		padding: 13px 6px!important;
		display: block!important;
		position: relative!important;
		cursor: pointer!important;
		pointer-events: auto!important;
		z-index: -1!important;
	}

	div [class="x6s0dn4 x78zum5 x15zctf7 x1s65kcs x1n2onr6 x1ja2u2z"] {
		margin-right: -80px!important;
	}

	div [class="xds687c x10l6tqk x13vifvy"] {
		margin-right: 45px!important;
	}

	span[class="x4k7w5x x1h91t0o x1h9r5lt x1jfb8zj xv2umb2 x1beo9mf xaigb6o x12ejxvf x3igimt xarpa2k xedcshv x1lytzrv x1t2pt76 x7ja8zs x1qrby5j"] > div[class="x78zum5 x1n2onr6"] {
		position: relative;
		right: 273px!important;
	}

	svg[aria-label="Your profile"] image[style*="height:40px"],
	svg[aria-label="Your profile"] image[preserveAspectRatio*="xMidYMid slice"] {
		height: 24px!important;
		width: 24px!important;
		margin-top: 8px!important;
		border: 1px solid rgba(0, 0, 0, 0.0976562)!important;
	}

	span[class="x6s0dn4 xzolkzo x12go9s9 x1rnf11y xprq8jg x9f619 x3nfvp2 xl56j7k xdi0jry x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi xamhcws xol2nv xlxy82 x19p7ews x1v9usgg x6jxa94 x6zyg47 x1xm1mqw xpn8fn3 xtct9fg"] {
		display: none;
	}

	svg[aria-label="Your profile"] {
		height: 24px!important;
		width: 24px!important;
		margin-top: 9px!important;
	}

	div [class="xds687c x1pi30zi x1e558r4 xixxii4 x13vifvy xzkaem6"] {
		right: -80px!important;
	}
}
@-moz-document url-prefix("https://www.facebook.com/"),
url-prefix("web.facebook.com"),
url-prefix("https://secure.facebook.com/") {

	#facebook .system-fonts--body button,
	#facebook .system-fonts--body input,
	#facebook .system-fonts--body label,
	#facebook .system-fonts--body select,
	#facebook .system-fonts--body td,
	#facebook .system-fonts--body textarea,
	#facebook .system-fonts--body span,
	#facebook .system-fonts--body div,
	#facebook .system-fonts--body a {
		font-family: Helvetica, Arial, sans-serif!important;
	}

	.x1p8ty84 {
		position: relative;
		width: 100%;
		background: #4267b2;
		border-bottom: 1px solid #29487d;
		color: #fff;
	}

	.x3x9cwd {
		border-radius: 2px!important;
	}

	.__fb-light-mode {
		--header-height: 42px!important;
		--web-wash: #e9ebee!important;
		--accent: #4080ff!important;
		--button-corner-radius: 2px!important;
		--nav-bar-background-gradient: linear-gradient(to top, #FFFFFF, rgb(255 255 255), rgb(255 255 255), rgb(255 255 255), rgb(255 255 255));
		--nav-bar-background-gradient-wash: linear-gradient(to top, #f0f2f5, rgb(240 242 246), rgb(240 242 245), rgb(240 242 245), rgb(240 242 245));
		--card-corner-radius: 3px!important;
		--primary-deemphasized-button-text: #FFF!important;
		--primary-text: #1d2129!important;
	}

	.__fb-dark-mode {
		--header-height: 42px!important;
		--accent: #4080ff!important;
		--primary-icon: #f9f9f9!important;
		--button-corner-radius: 2px!important;
		--nav-bar-background-gradient: linear-gradient(to top, #242526, rgb(36, 37, 38), rgb(36 37 38), rgb(36, 37, 38), rgb(36 37 38));
		--nav-bar-background-gradient-wash: linear-gradient(to top, #18191A, rgb(24 25 26), rgb(24 25 26), rgb(24 25 26), rgb(24 25 26));
		--card-corner-radius: 3px!important;
		--primary-deemphasized-button-text: #fff!important;
	}

	.x1u2d2a2 {
		min-width: 179px;
	}

	.xxc7z9f {
		max-width: 206px;
	}

	.xmlsiyf {
		max-width: 76px;
	}

	.xmy5rp.xmy5rp,
	.xkreb8t.xkreb8t {
		width: 448px!important;
	}

	*[class*="x1qpq9i9 xdney7k xu5ydu1 xt3gfkd xh8yej3 x6ikm8r"] {
		border-radius: 3px!important;
	}

	.xoqspk4 {
		border-radius: 3px;
	}

	.x9lpf2z::before {
		border-radius: 3px;
		display: none;
	}

	*[class="xe3v8dz"] {
		display: none!important;
	}

	a[class="x1i10hfl x1qjc9v5 xjbqb8w xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx xdj266r x11i5rnm xat24cr x1mh8g0r x2lwn1j xeuugli xexx8yu x4uap5 x18d9i69 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x1o1ewxj x3x9cwd x1e5q0jg x13rtm0m x1q0g3np x87ps6o x1lku1pv x1rg5ohu x1a2a7pz x1hc1fzr x1k90msu x6o7n8i xbxq160"] {
		background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAABJCAMAAAB1uiaiAAACqVBMVEVHcEz///////////8AAAD///8AAAD///////////////////////////////////////////////////8AAAD///////////////////////////////////////////////////9lZ2tlZ2v///////////////////9lZ2tlZ2v///////////////////////////////////////////////////////////////8AAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8xUJD///////////////////////////////////////////////////////////////////8nSYM6WJf///////////////////////////////85WJf///////////////////////////86WJg6WJg3VpT///////////////86WZg6WJY6WJc6WJg5WJc3VJb///86WJhlZ2tlZ2tlZ2s6WJhlZ2s6WJg1U5I6WJg6WZc6WJc3WZA7WJY7WJY7WJY6WJczRIg5V5U5WJf//////v7/9LIAAABlZ2uqaBU7WZhuQR7l5eVXV1diaXhka3q2fTFQUFBeZXRUW2pWXWxnbn2wcSHBj0q/jUX+87GzeCxaYXDy59DAkE7gyKC7hj7y8vLdwov15KH36KXUsHPs1I/6+O/x3Zjw5Mnv2pX38uL2797Pq3HMoVXNp2vy4JzQp1v279rk0Kj8/Pm3fzXDlE7exZnp0Ir67Kn7+/fjxX7lyYLFl1Pq2rm1ey/cunGCLIssAAAAp3RSTlMABOMW3/kg/QL7Ru/1Jgj3DBgyEOMK6/PpSKdoPMMUXgYsOPGdiQ7ZEgKn54UqZjAk3xpgHijt8b0iXEipozpQLkA0aouZeoHRn3LNVJPlUsWN3ccg1UxuWrcclbXTh1bBYhA2l3DbOL+h4aWbyUq7rz6tTgeXZHSzkUKPbKuBg3h8drG5RPH9Klh+z8u/ceb4bSPX3XiF37kS7B2j4bEWh516ww5eMLQHbP4AAAskSURBVHhezJhXbyJJEIBrQKOZAZOMCA5gkM6AZEwyYGOBc1rnnKMc1zGs5LC2tbfpYcPb/YjmZ153dYPHNrp7QCddYVk91VXVn8s1NTUAigoQMOZqGw+DqQBUJ9ZQxJjKRKAqUV2hiGPVYq20BWrjxEKNpslk5JBeVSH25sujjUkSqyaKCpnC3XS43RyvxCJ98RAux1fVneJowTD91bHWIYtcW4klptAtRVFkEm6sjtVoIArRqs2ridEQz1tWFRJzNDyXyd7qWYsKaaiWlUnNW1YJtkgRN//y/c73AFTJWiT/HasKfxJWA9rPWotl3lo1q/IfsoL6QBSa2DGO+b/OK7hOMa95F6i497+tV1WC0DtkrbeDJGCRGQ1VlGdr/b5+pb6uAamkQans/iZIRVZVz6AOIm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VA5VmFV7l2KS2EhK2usbFXvCS1kZe+itqr32uqs7QnVVutZ32v/dav4hrGBdYVpua3av/7NLayaH3auUG8vbFM8DtsUiRSsq11vIjEUjQ4lEjYYs/FIJJpMRiOROGxRMgnbFI3CBhXmATtV6Cel12J8ViD2rQAAAABJRU5ErkJggg==');
		background-repeat: no-repeat;
		background-size: auto;
		background-pos...

Reviews

No reviews yet.