2014-10-30 44 views
1

这里一个div是我的网站:http://www.stnwiki.com/wiki/需要帮助确定如何编辑MediaWiki的

上面的“身体”的标签是什么,我希望能够改变,但我已经尝试和失败,找出其中的CSS对他们来说是..

http://prntscr.com/5198o9这是一张突出显示2个选项卡的图片。

我认为可以使用Google Chrome的检测元素找到它,但是我对如何使用它不是很了解。

但是我可能完全错了!请让我知道如果你们需要其他信息!

干杯, 奥利

load.php

<?php 
/** 
* This file is the entry point for the resource loader. 
* 
* This program is free software; you can redistribute it and/or modify 
* it under the terms of the GNU General Public License as published by 
* the Free Software Foundation; either version 2 of the License, or 
* (at your option) any later version. 
* 
* This program is distributed in the hope that it will be useful, 
* but WITHOUT ANY WARRANTY; without even the implied warranty of 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
* GNU General Public License for more details. 
* 
* You should have received a copy of the GNU General Public License along 
* with this program; if not, write to the Free Software Foundation, Inc., 
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
* http://www.gnu.org/copyleft/gpl.html 
* 
* @file 
* @author Roan Kattouw 
* @author Trevor Parscal 
*/ 

// Bail if PHP is too low 
if (!function_exists('version_compare') || version_compare(phpversion(), '5.3.2') < 0) { 
    // We need to use dirname(__FILE__) here cause __DIR__ is PHP5.3+ 
    require dirname(__FILE__) . '/includes/PHPVersionError.php'; 
    wfPHPVersionError('load.php'); 
} 

require __DIR__ . '/includes/WebStart.php'; 

wfProfileIn('load.php'); 

// URL safety checks 
if (!$wgRequest->checkUrlExtension()) { 
    return; 
} 

// Respond to resource loading request 
$resourceLoader = new ResourceLoader(); 
$resourceLoader->respond(new ResourceLoaderContext($resourceLoader, $wgRequest)); 

wfProfileOut('load.php'); 
wfLogProfilingData(); 

// Shut down the database. foo()->bar() syntax is not supported in PHP4, and this file 
// needs to *parse* in PHP4, although we'll never get down here to worry about = vs =& 
$lb = wfGetLBFactory(); 
$lb->shutdown(); 

回答

0

的内容该分区的造型似乎是在一个名为load.php文件的内嵌样式(我用谷歌Chrome浏览器的检查元素)。

如果右键单击选项卡并单击检查元素,它将打开底部的窗格。在右侧窗格中将列出该元素上的所有样式,并将其分割成若干部分,每个部分的右侧会告诉您这些样式所在的文件。如果单击该文件名,则会将您带到所在行这些样式位于该文件内。

试试看!

编辑:该风格执行的URL是http://www.stnwiki.com/wiki/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.interface%7Cmediawiki.ui.button%7Cskins.vector.styles&only=styles&skin=vector& *,但我不知道它加载的是什么css文件。我建议查看MediaWiki文档以找出答案。

另外,有没有什么办法让你在MediaWiki的管理面板中定义自定义CSS?如果是这样,您可以使用选项卡的类名称并重写一些样式。

+0

我现在试一试,谢谢! – 2014-10-30 13:50:17

+0

我已将load.php的内容添加到我的问题中 – 2014-10-30 13:51:52

+0

我编辑了我的答案。看一看。 – 2014-10-30 13:59:42