MediaWiki:Common.css
出自麻痹怒气维基百科
注意:在保存以后,您必须清除浏览器的缓存才能看到所作出的改变。 Mozilla / Firefox / Safari:按住Shift再点击刷新,或按下Ctrl-F5或Ctrl-R(在Macintosh上按下Command-R); Konqueror:只需点击刷新或按下F5; Opera:在工具→首选项中完整清除它们的缓存,或按下Alt-F5; Internet Explorer:按住Ctrl再点击刷新,或按下Ctrl-F5。
/* 此处的 CSS 将应用于所有的皮肤 */ /* 加亮 */ li a#n-.E5.B8.AE.E5.8A.A9 { color:#ff0000; } /* 固定导航条 */ div#p-personal { position:fixed; top:0px; right:0px; z-index:9999; } /*highlightbox*/ div.mw-geshi { padding: 1em; margin: 1em 0; border: 1px dashed #2f6fab; background-color: #f9f9f9; } /* Rollnews*/ #scrollDiv{width:100%;height:25px;line-height:25px;border:#ccc 1px solid;overflow:hidden;-webkit-transition: all 0.5s ease-out;} #scrollDiv:hover{-webkit-transition: all 0.5s ease-out;background-color:#eee;} #scrollDiv li{height:25px;padding-left:10px;} /* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */ .my-buttons { padding: .5em; } .my-buttons a { color: black; background-color: #cde !important; font-weight: bold; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .my-buttons a:hover, .my-buttons a:active { background-color: #bcd; border-style: inset; } /*************************************************/ div#mw-page-base { background-color:#FFFFFF; background-image:url(http://yytemp.gicp.net/mabiwiki/images/7/7e/G16S1-top.jpg); /*头版背景*/ background-attachment: fixed; background-position: 150px 0px; height: 150px; } #left-navigation { top: 110px; } #right-navigation { margin-top: 110px; } div#mw-panel { top: 175px; } div#mw-panel div.portal { padding-bottom: 1em; } div#p-personal { text-shadow: 1px 1px 0 #fff; background-color: rgba(255, 255, 255, 0.5); padding: 5px 10px 5px 0px; } div#p-personal li { margin-top: 0; } /* 隐藏首页标题及空行 */ body.page-首页 h1.firstHeading, body.page-首页 #siteSub { display:none; } div.vectorTabs { background-image: url(http://yytemp.gicp.net/mabiwiki/skin_image/tab-break.png); } div.vectorTabs ul li { background-image: url(http://yytemp.gicp.net/mabiwiki/skin_image/tab-normal-fade.png); background-color: transparent; } div.vectorTabs li.selected { background-image: url(http://yytemp.gicp.net/mabiwiki/skin_image/tab-normal-fade.png); //tab-current-fade.png); } #mw-head div.vectorMenu h5, div.vectorTabs li a, div.vectorMenu h5 a, div.vectorTabs ul { background-image: url(http://yytemp.gicp.net/mabiwiki/skin_image/tab-break.png); } /* 所有皮肤的公共CSS */ #Dreamon table { font-size:12px; line-height:13px; } #Dreamon table td{ width:70px; border:#ccc solid; border-width:0 1px 1px 0; text-align:center; } #Dreamon table td.long { width:180px; text-align:left; } #Dreamon table td.info { width:500px; text-align:left; } #Dreamon table th{ width:60px; border:#87ceeb solid; border-width:0 1px 1px 0; background:#e0ffff; text-align:center; } .wikilogo { height: 48px; width: 48px; background: url(http://yytemp.gicp.net/mabiwiki/images/0/07/Nao.png) no-repeat transparent; display: block; float: left; } #Nao { background:transparent; width: 126px; height:48px; margin: 4px 4px 4px 4px; } #Nao span{ position:absolute; top:4px; right:4px; font-family: Arial, Helvetica, sans-serif; font-size:12px; line-height: 13px; border:#ccc solid; border-width:0 1px 1px 0; padding: 0px 5px 1px 5px; } #Dreamon{ z-index:9999; font-size:12px; line-height:13px; width:640px; height:48px; padding: 4px 4px 4px 4px; background:#fff; } #MoongateNext, #RuaNext, #BusinessNext { color:#ccc; } #More { z-index:9999; font-family: Arial, Helvetica, sans-serif; font-size:12px; line-height: 14px; padding:4px 4px 4px 4px; border:#87ceeb solid; border-width:0 1px 1px 0; background:#e0ffff; } #Nao{ position:fixed; display:block; bottom:0; right:0; } #Dreamon { position:fixed; display:none; right: 0; bottom:0; } #More { position:fixed; display:none; right: 0; bottom:60px; } /* Tabs CSS */ ul.tabs { margin: 0; padding: 0; float: left; list-style: none; height: 32px; /*--Set height of tabs--*/ border-bottom: 1px solid #999; border-left: 1px solid #999; width: 100%; } ul.tabs li { float: left; margin: 0; padding: 0; height: 31px; /*--Subtract 1px from the height of the unordered list--*/ line-height: 31px; /*--Vertically aligns the text within the tab--*/ border: 1px solid #999; border-left: none; margin-bottom: -1px; /*--Pull the list item down 1px--*/ overflow: hidden; position: relative; background:#87ceeb; } ul.tabs li a { text-decoration: none; color: #000; display: block; font-size: 1.2em; padding: 0 20px; border: 1px solid #fff; /*--Gives the bevel look with a 1px white border inside the list item--*/ outline: none; } ul.tabs li a:hover { background: #e0ffff ; } html ul.tabs li.active, html ul.tabs li.active a:hover { /*--Makes sure that the active tab does not listen to the hover properties--*/ background: #fff; border-bottom: 1px solid #fff; /*--Makes the active tab look like it's connected with its content--*/ } .tab_container { border: 1px solid #999; border-top: none; overflow: hidden; clear: both; float: left; width: 100%; background: #fff; } .tab_content { padding: 20px; font-size: 1.2em; }