Jump to content

Wikipedia:AutoWikiBrowser/style.css: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Seems this was missing font setting
This is the old standard/default AWB style for versions up to 5.3.1.0 (yellow/red/green)
Line 3: Line 3:
This is the format of the style.css file needs to be if you wish to use a custom css sheet for indicating and displaying diffs in AWB.
This is the format of the style.css file needs to be if you wish to use a custom css sheet for indicating and displaying diffs in AWB.


Create a file called "style.css" and put it in your AWB directory, you can then use the custom CSS.
Create a file called "style.css" and put it in your AWB directory (same directory as AutoWikiBrowser.exe), you can then use the custom CSS.


For reference, the default MediaWiki diff CSS file is [http://en.wikipedia.org/skins-1.5/common/diff.css diff.css].
For reference, the default MediaWiki diff CSS file is [http://en.wikipedia.org/skins-1.5/common/diff.css diff.css].


From AWB 5.4.0.0 onwards the MediaWiki blue diff style is used.
This is the standard/default AWB style:

This is the old standard/default AWB style for versions up to 5.3.1.0 (yellow/red/green):


<source lang="css">
<source lang="css">

Revision as of 11:05, 6 September 2012

This is the format of the style.css file needs to be if you wish to use a custom css sheet for indicating and displaying diffs in AWB.

Create a file called "style.css" and put it in your AWB directory (same directory as AutoWikiBrowser.exe), you can then use the custom CSS.

For reference, the default MediaWiki diff CSS file is diff.css.

From AWB 5.4.0.0 onwards the MediaWiki blue diff style is used.

This is the old standard/default AWB style for versions up to 5.3.1.0 (yellow/red/green):

td{
	border: 1px solid white;
}

table.diff, td.diff-otitle, td.diff-ntitle {
	background-color: white;
	border: 1px solid gray;
        font-family: Arial, san-serif; font-size: 12pt;
}
td.diff-addedline {
	background: #cfc;
	font-size: smaller;
}
td.diff-deletedline {
	background: #ffa;
	font-size: smaller;
}
td.diff-context {
	background: #eee;
	font-size: smaller;
}
.diffchange {
	color: red;
	font-weight: bold;
	text-decoration: none;
}

td.diff-deletedline span.diffchange {
	background-color: #FFD754; color:black;
}

td.diff-addedline span.diffchange {
	background-color: #73E5A1; color:black;
}

.d{
	overflow: auto;
}