From f38f2fabe949a7054215140e8731757909acd9c5 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Mon, 30 Jul 2007 00:46:09 +0000 Subject: [PATCH] Some style tweaks, per Brion --- includes/DefaultSettings.php | 2 +- includes/ImagePage.php | 4 ++-- skins/common/shared.css | 2 +- skins/monobook/main.css | 16 ---------------- 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 1996376e0d..e764937b6a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1195,7 +1195,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '92'; +$wgStyleVersion = '93'; # Server-side caching: diff --git a/includes/ImagePage.php b/includes/ImagePage.php index c4bd4411e7..f95d26bd95 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -668,8 +668,8 @@ class ImageHistoryList { return Xml::element( 'h2', array( 'id' => 'filehistory' ), wfMsg( 'filehist' ) ) . $wgOut->parse( wfMsgNoTrans( 'filehist-help' ) ) . Xml::openElement( 'table', array( 'class' => 'filehistory' ) ) . "\n" - . '' - . ( $this->img->isLocal() && $wgUser->isAllowed( 'delete' ) ? '' : '' ) + . '' + . ( $this->img->isLocal() && $wgUser->isAllowed( 'delete' ) ? '' : '' ) . '' . wfMsgHtml( 'filehist-datetime' ) . '' . '' . wfMsgHtml( 'filehist-user' ) . '' . '' . wfMsgHtml( 'filehist-dimensions' ) . '' diff --git a/skins/common/shared.css b/skins/common/shared.css index 063a4fe814..f03524bc35 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -33,7 +33,7 @@ div#mw-js-message { */ table.filehistory th, table.filehistory td { - padding: 0 0.15em 0 0.15em; + padding: 0 0.2em 0 0.2em; } table.filehistory th { text-align: left; diff --git a/skins/monobook/main.css b/skins/monobook/main.css index fe96599688..3c089ded74 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1584,20 +1584,4 @@ div#mw-recreate-deleted-warn ul li { text-align: center; vertical-align: middle; font-size: 90%; -} - -/** - * File histories - */ -table.filehistory { - border-collapse: collapse; -} -table.filehistory, -table.filehistory th, -table.filehistory td { - border: 1px solid #AAAAAA; -} -table.filehistory th, -table.filehistory tr:hover td { - background-color: #EEEEFF; } \ No newline at end of file -- 2.20.1