From c4ff44295920c749c7f12121435a08028c7308ce Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 6 Apr 2008 15:44:41 +0000 Subject: [PATCH] Move this stuff to shared.css --- includes/DefaultSettings.php | 2 +- skins/chick/main.css | 17 ----------------- skins/common/oldshared.css | 10 ---------- skins/common/shared.css | 13 +++++++++++++ skins/modern/main.css | 20 -------------------- skins/monobook/main.css | 20 -------------------- skins/simple/main.css | 12 ++---------- 7 files changed, 16 insertions(+), 78 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 06bb151da0..2e6cebdd2f 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1343,7 +1343,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '130'; +$wgStyleVersion = '131'; # Server-side caching: diff --git a/skins/chick/main.css b/skins/chick/main.css index 5c3d8e40c7..ea6b23e3c5 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -383,26 +383,9 @@ div.townBox dl dd { padding: 0; } -/* Page history styling */ -/* the auto-generated edit comments */ -.autocomment { color: gray; } -#pagehistory .history-user { - margin-left: 1.4em; - margin-right: 0.4em; -} -#pagehistory span.minor { font-weight: bold; } -#pagehistory li { border: 1px solid White; } -#pagehistory li.selected { - background-color:#f9f9f9; - border:1px dashed #aaaaaa; -} - a.external { color: #3366bb; } - div#footer { text-align: center; } - ul#f-list li { list-style: none; text-align: center; } - div.portlet { margin: 0.5em 0; } .redirectText { diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index a5e88d284f..ba9b3e34ed 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -101,16 +101,6 @@ img.thumbborder { /* Page history styling */ /* the auto-generated edit comments */ .autocomment { color: #4b4b4b; } -#pagehistory .history-user { - margin-left: 1.4em; - margin-right: 0.4em; -} -#pagehistory span.minor { font-weight: bold; } -#pagehistory li { border: 1px solid White; } -#pagehistory li.selected { - background-color:#f9f9f9; - border:1px dashed #aaaaaa; -} img { border: none; } diff --git a/skins/common/shared.css b/skins/common/shared.css index 2a77d0c9c7..fca3743e48 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -109,3 +109,16 @@ table.mw-userrights-groups * td,table.mw-userrights-groups * th { padding-right: 1.5em; } +/* Page history styling */ +/* the auto-generated edit comments */ +.autocomment { color: gray; } +#pagehistory .history-user { + margin-left: 1.4em; + margin-right: 0.4em; +} +#pagehistory span.minor { font-weight: bold; } +#pagehistory li { border: 1px solid white; } +#pagehistory li.selected { + background-color: #f9f9f9; + border: 1px dashed #aaa; +} diff --git a/skins/modern/main.css b/skins/modern/main.css index 298464f10d..ebae57588f 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -597,26 +597,6 @@ img.thumbborder { overflow: hidden; } -.autocomment { - color: gray; -} - - -#pagehistory .history-user { - margin-left: 1.4em; - margin-right: .4em; -} -#pagehistory span.minor { - font-weight: bold; -} -#pagehistory li { - border: 1px solid white; -} -#pagehistory li.selected { - background-color: #f9f9f9; - border: 1px dashed #aaa; -} - /* disable interwiki styling */ #mw_content a.extiw, #mw_content a.extiw:active { diff --git a/skins/monobook/main.css b/skins/monobook/main.css index e1d97a044e..f7f9d54c91 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -540,26 +540,6 @@ div.townBox dl dd { padding: 0; } -/* Page history styling */ -/* the auto-generated edit comments */ -.autocomment { - color: gray; -} -#pagehistory .history-user { - margin-left: 1.4em; - margin-right: .4em; -} -#pagehistory span.minor { - font-weight: bold; -} -#pagehistory li { - border: 1px solid white; -} -#pagehistory li.selected { - background-color: #f9f9f9; - border: 1px dashed #aaa; -} - /* ** keep the whitespace in front of the ^=, hides rule from konqueror ** this is css3, the validator doesn't like it when validating as css2 diff --git a/skins/simple/main.css b/skins/simple/main.css index 240191967b..22a6a412f9 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -258,16 +258,8 @@ td.diff-deletedline { } .diffchange { background-color: #FFCDF3; text-decoration: none; } -.autocomment { color: grey; } -#pagehistory .history-user { - margin-left: 1.4em; - margin-right: 0.4em; -} -#pagehistory span.minor { font-weight: bold; } -#pagehistory li.selected { - background-color:#f9f9f9; - border:1px dashed #aaaaaa; -} +#pagehistory li { border: none; } + span.urlexpansion { display: none; } -- 2.20.1