From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- .../mediawiki.action.history.diff.css | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 resources/src/mediawiki.action/mediawiki.action.history.diff.css (limited to 'resources/src/mediawiki.action/mediawiki.action.history.diff.css') diff --git a/resources/src/mediawiki.action/mediawiki.action.history.diff.css b/resources/src/mediawiki.action/mediawiki.action.history.diff.css new file mode 100644 index 00000000..afe92468 --- /dev/null +++ b/resources/src/mediawiki.action/mediawiki.action.history.diff.css @@ -0,0 +1,96 @@ +/* +** Diff rendering +*/ +table.diff { + background-color: white; + border: none; + border-spacing: 4px; + margin: 0; + width: 100%; + /* Ensure that colums are of equal width */ + table-layout: fixed; +} + +table.diff td { + padding: 0.33em 0.5em; +} + +table.diff td.diff-marker { + /* Compensate padding for increased font-size */ + padding: 0.25em; +} + +table.diff col.diff-marker { + width: 2%; +} + +table.diff col.diff-content { + width: 48%; +} + +table.diff td div { + /* Force-wrap very long lines such as URLs or page-widening char strings */ + word-wrap: break-word; +} + +td.diff-otitle, +td.diff-ntitle { + text-align: center; +} + +td.diff-lineno { + font-weight: bold; +} + +td.diff-marker { + text-align: right; + font-weight: bold; + font-size: 1.25em; + line-height: 1.2; +} + +td.diff-addedline, +td.diff-deletedline, +td.diff-context { + font-size: 88%; + line-height: 1.6; + vertical-align: top; + white-space: -moz-pre-wrap; + white-space: pre-wrap; + border-style: solid; + border-width: 1px 1px 1px 4px; + border-radius: 0.33em; +} + +td.diff-addedline { + border-color: #a3d3ff; +} + +td.diff-deletedline { + border-color: #ffe49c; +} + +td.diff-context { + background: #f9f9f9; + border-color: #e6e6e6; + color: #333333; +} + +.diffchange { + font-weight: bold; + text-decoration: none; +} + +td.diff-addedline .diffchange, +td.diff-deletedline .diffchange { + border-radius: 0.33em; + padding: 0.25em 0; +} + +td.diff-addedline .diffchange { + background: #d8ecff; +} + +td.diff-deletedline .diffchange { + background: #feeec8; +} -- cgit v1.2.3-54-g00ecf