User:Tom.Reding/Night-mode style.css

/* Copy & paste this text into the "style.css" file, which you'll have to create, once, in your AWB root folder. */
/* Adapted from [[WP:AWB/style.css#Current style]]. */

/* suppress whitespace padding by C# WebBrowser, see
http://stackoverflow.com/questions/15033023/white-space-padding-in-webbrowser-control */
html,
body {
	margin: 0.1em; /* default 0; 0.1em prevents hsbar */
}

/*
** Diff rendering
*/
body { /* added */
	color: #f3f3f3;
	background: black;
}
table.diff,
td.diff-otitle,
td.diff-ntitle {
	background-color: black; /* white default */
}

td.diff-otitle,
td.diff-ntitle {
	background: #000000; /* black; added */
	color: #f3f3f3; /* off-white; added */
	text-align: center;
}

td.diff-marker {
	background: #000000; /* black; added */
	color: #f3f3f3; /* off-white; added */
	text-align: right;
	font-weight: bold;
	font-size: 1.25em;
}

td.diff-lineno {
	background: #000000; /* black; added */
	color: #f3f3f3; /* off-white; added */
	font-weight: bold;
}

td.diff-addedline,
td.diff-deletedline,
td.diff-context {
	font-size: 88%;
	text-color: white; /* added */
	background-color: black; /* added */
	vertical-align: top;
	white-space: -moz-pre-wrap;
	white-space: pre-wrap;
	word-wrap: break-word;
}

td.diff-addedline,
td.diff-deletedline {
	border-style: solid;
	border-width: 1px 1px 1px 4px;
	border-radius: 0.33em;
}

td.diff-addedline {
	border-color: #ff0000; /* red; right-hand side; #a3d3ff default (light blue) */
	color: #f3f3f3; /* off-white; added */
}

td.diff-deletedline {
	border-color: #00ff00; /* green; left-hand side; #ffe49c default (light yellow) */
	color: #f3f3f3; /* off-white; added */
}

td.diff-context {
	background: #000000; /* black; #f3f3f3 default */
	color: #f3f3f3; /* off-white; #333333 default */
	border-style: solid;
	border-width: 1px 1px 1px 4px;
	border-color: #e6e6e6; /* off-white */
	border-radius: 0.33em;
}

.diffchange {
	background: #000000; /* black; added */
	font-weight: bold;
	text-decoration: none;
}

table.diff {
	border: none;
	width: 100%; /* default 100% */
	border-spacing: 1px; /* default 4px */

	/* Ensure that colums are of equal width */
	table-layout: fixed;
}

td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
	border-radius: 0.33em;
	padding: 0.25em 0;
}

td.diff-addedline .diffchange {
	background: #8000ff; /* purple; default #d8ecff */
	color: #f3f3f3; /* off-white; added */
}

td.diff-deletedline .diffchange {
	background: #0000ff; /* blue; default #feeec8 */
	color: #f3f3f3; /* off-white; added */
}

table.diff td {
	padding: 0.25em 0.25em; /* default 0.25em 0.25em */
}

table.diff col.diff-marker {
	width: 1%; /* default 1.5% */
	color: #ffffff; /* white; added */
}

table.diff col.diff-content {
	width: 48.5%; /* default 48.5% */
	color: #ffffff; /* white; added */
}

table.diff td div {
	/* Force-wrap very long lines such as URLs or page-widening char strings.*/
	/* Doesn't always work for some reason... (pre 1 Sept 2021 update, not sure if update fixed this or not) */
	word-wrap: break-word;
	
	/* As fallback (FF<3.5, Opera <10.5), scrollbars will be added for very wide cells
	   instead of text overflowing or widening
	*/
	overflow: auto;
}

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.