Skip to content

Cambridge Zen by rinzaicss

Screenshot of Cambridge Zen

Details

Authorrinzaicss

LicenseMIT

Categorydictionary.cambridge.org

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Remove unnecessary contents.

Notes

I recommend using this with Dark Reader and your favorite ad blocker.

Source code

/* ==UserStyle==
@name           Cambridge Zen
@namespace      github.com/openstyles/stylus
@version        0.9.0
@description    Remove unnecessary contents. I recommend using this with Dark Reader and your favorite ad blocker.
@author         rinzaicss
==/UserStyle== */

@-moz-document domain("dictionary.cambridge.org") {
	/* main menu */
	div[class='lpl-15 lpr-15 lmax lp-xs_t-10 lp-s_t-15 lp-m_l-20 lp-m_r-20 z1'],
	footer {
		display: none !important;
	}
	
	/* after searched, right cols*/
	div[class='bw hbss lp-10 lmb-25 pr'],
	div[class='pr boa lp-5 lpl-10 lpr-10 lc1'],
	div[class='hoh lp-20'],
	div[class='bw hbss x lmb-25'],
	div[class='hfr-s lt2s lmt-10'] {
		display: none !important;
	}
	
	/* after searched, center cols */
	div[class='pr lcs bh'], /* translator */
	div[class='hfr lpb-2'] /* social icons */{
		display: none !important;
	}
	
	/* unneccesary bottom bar */
	div[class='ccn bh hax lp-5 lpl-10 lpr-10 lp-m_l-15 lp-m_r-15'] {
		display: none !important;
	}
	
	/* top bar social icons */
	ul[class='hdn hdib-m hul-u hul-ib lmb-0 lpl-20 lp-xs_l-25 han hax'] {
		display: none !important;
	}
	
	/* Change menu color to match Dark Reader color */
	.pg-hh {
    	background-image: linear-gradient(to right, rgb(32, 33, 36), rgb(32, 33, 36), rgb(32, 33, 36)) !important;
		/* ...... */
	}
	.bs {
		background-color: #282a36 !important;
	}
	.bh {
		background-color: #282a36 !important;
	}
}


Reviews

No reviews yet.