Return to Snippet

Revision: 7981
at April 21, 2011 22:00 by wizard04


Updated Code
@-moz-document url-prefix("http://snipplr.com/") {

	code {

		font-family:"Envy Code R", "Consolas", "DejaVu Sans Mono", "Anonymous Pro", "Courier New", monospace !important;

		font-size:0.9em !important;

		background-color:#E0E0E0 !important;

	}

	#meerkat-wrap, a.adhere, a.ad1, ins, #top-banner {

		display:none !important; /*remove ads*/

	}

}

@-moz-document url-prefix("http://snipplr.com/edit/"), url-prefix("http://snipplr.com/new/") {

	#title, #tags, #url, #comment {

		font-family:Arial, sans serif !important;

		font-size:1em !important;

		font-style:normal !important;

	}

	#source {

		font-family:"Envy Code R", "Consolas", "DejaVu Sans Mono", "Anonymous Pro", "Courier New", monospace !important;

		font-size:0.9em !important;

		height:26em !important;

	}

	#comment {

		height:11em !important;

	}

	#sidecol {

		display:none !important;

	}

	#maincol {

		margin-right:0 !important;

		padding-right:0 !important;

		border-right:0 !important;

	}

	#maincol p {

		padding-right:15px !important;

	}

	#comment, #source {

		width:100% !important;

	}

}

@-moz-document url-prefix("http://snipplr.com/view/"), url-prefix("http://snipplr.com/view.php?codeview") {

	div.description pre, .comments pre {

		color:#000000 !important;

		background-color:#E0E0E0 !important;

		margin:1.4em !important;

		border:1px dashed #E0E0E0 !important;

		font-size:0.9em !important;

	}

	#innersource pre, #viewsource textarea {

		font-family:"Envy Code R", "Consolas", "DejaVu Sans Mono", "Anonymous Pro", "Courier New", monospace !important;

		font-size:13px !important;

	}

	#comment {

		font-family:Arial, sans serif !important;

		font-size:1em !important;

		font-style:normal !important;

	}

	#viewsource .sourcenav {

		text-align:right !important;

	}

	#viewsource .sourcenav .rgt {

		float:none !important;

	}

	#viewsource .sourcenav ins { /*remove ads*/

		visibility:hidden !important;

	}

	#sidecol h2:first-child, #sidecol ins { /*remove ads*/

		/*display:none !important;*/

	}

	hr.dotted.marg + table, center ins { /*remove ads*/

		display:none !important;

	}

}

@-moz-document url-prefix("http://snipplr.com/") {

	#sponsored-search { /*remove ads*/

		display:none !important;

	}

}

Revision: 7980
at July 13, 2010 02:40 by wizard04


Updated Code
@-moz-document url-prefix("http://snipplr.com/") {
	code {
		font-family:"Envy Code R", "Consolas", "DejaVu Sans Mono", "Anonymous Pro", "Courier New", monospace !important;
		font-size:0.9em !important;
		background-color:#E0E0E0 !important;
	}
	#meerkat-wrap, a.adhere, a.ad1, ins {
		display:none !important; /*remove ads*/
	}
}
@-moz-document url-prefix("http://snipplr.com/edit/"), url-prefix("http://snipplr.com/new/") {
	#title, #tags, #url, #comment {
		font-family:Arial, sans serif !important;
		font-size:1em !important;
		font-style:normal !important;
	}
	#source {
		font-family:"Envy Code R", "Consolas", "DejaVu Sans Mono", "Anonymous Pro", "Courier New", monospace !important;
		font-size:0.9em !important;
		height:26em !important;
	}
	#comment {
		height:11em !important;
	}
	#sidecol {
		display:none !important;
	}
	#maincol {
		margin-right:0 !important;
		padding-right:0 !important;
		border-right:0 !important;
	}
	#maincol p {
		padding-right:15px !important;
	}
	#comment, #source {
		width:100% !important;
	}
}
@-moz-document url-prefix("http://snipplr.com/view/"), url-prefix("http://snipplr.com/view.php?codeview") {
	div.description pre, .comments pre {
		color:#000000 !important;
		background-color:#E0E0E0 !important;
		margin:1.4em !important;
		border:1px dashed #E0E0E0 !important;
		font-size:0.9em !important;
	}
	#innersource pre, #viewsource textarea {
		font-family:"Envy Code R", "Consolas", "DejaVu Sans Mono", "Anonymous Pro", "Courier New", monospace !important;
		font-size:13px !important;
	}
	#comment {
		font-family:Arial, sans serif !important;
		font-size:1em !important;
		font-style:normal !important;
	}
	#viewsource .sourcenav {
		text-align:right !important;
	}
	#viewsource .sourcenav .rgt {
		float:none !important;
	}
	#viewsource .sourcenav ins { /*remove ads*/
		visibility:hidden !important;
	}
	#sidecol h2:first-child, #sidecol ins { /*remove ads*/
		/*display:none !important;*/
	}
	hr.dotted.marg + table, center ins { /*remove ads*/
		display:none !important;
	}
}

Revision: 7979
at August 26, 2008 14:59 by wizard04


Updated Code
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("http://snipplr.com/") {
	code {
		font-family:Envy Code R, courier, monospace !important;
		font-size:0.9em !important;
		background-color:#E0E0E0 !important;
	}
}
@-moz-document url-prefix("http://snipplr.com/edit/"), url-prefix("http://snipplr.com/new/") {
	#title, #tags, #url, #comment {
		font-family:Arial, sans serif !important;
		font-size:1em !important;
		font-style:normal !important;
	}
	#source {
		font-family:Envy Code R, courier, monospace !important;
		font-size:0.9em !important;
		height:26em !important;
	}
	#comment {
		height:11em !important;
	}
	#sidecol {
		display:none !important;
	}
	#maincol {
		margin-right:0 !important;
		padding-right:0 !important;
		border-right:0 !important;
	}
	#maincol p {
		padding-right:15px !important;
	}
	#comment, #source {
		width:100% !important;
	}
}
@-moz-document url-prefix("http://snipplr.com/view/"), url-prefix("http://snipplr.com/view.php?codeview") {
	#innersource pre, #viewsource textarea {
		font-family:Envy Code R, monospace !important;
		font-size:13px !important;
	}
	#comment {
		font-family:Arial, sans serif !important;
		font-size:1em !important;
		font-style:normal !important;
	}
}

Revision: 7978
at August 25, 2008 16:07 by wizard04


Initial Code
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("http://snipplr.com/") {
	code {
		font-family:Envy Code R, courier, monospace !important;
		font-size:0.9em !important;
		background-color:#E0E0E0 !important;
	}
}
@-moz-document url-prefix("http://snipplr.com/edit/"), url-prefix("http://snipplr.com/new/") {
	#title, #tags, #url, #comment {
		font-family:Arial, sans serif !important;
		font-size:1em !important;
		font-style:normal !important;
	}
	#source {
		font-family:Envy Code R, courier, monospace !important;
		font-size:0.9em !important;
	}
	#comment {
		height:11em !important;
	}
}
@-moz-document url-prefix("http://snipplr.com/view/"), url-prefix("http://snipplr.com/view.php?codeview") {
	#innersource pre, #viewsource textarea {
		font-family:Envy Code R, monospace !important;
		font-size:13px !important;
	}
	#comment {
		font-family:Arial, sans serif !important;
		font-size:1em !important;
		font-style:normal !important;
	}
}

Initial URL
http://userstyles.org/styles/9213

Initial Description
For use with the Firefox Stylish add-on.  I put this up on userstyles.org as well - http://userstyles.org/styles/9213.

When you edit a snippet, especially with the comment box, the font is large and fancy. This style changes them to a normal, *readable* font. It also makes the comments & source boxes bigger.

If you happen to have the Envy Code R font, it is used for the code on both the editing and viewing pages.

Hides ads.

Initial Title
User stylesheet for Snipplr

Initial Tags
css, user

Initial Language
CSS