MediaWiki:Common.css

出自 淡水維基館
於 2014年5月12日 (一) 10:54 由 Vanya (對話 | 貢獻) 所做的修訂

前往: 導覽搜尋

注意:在儲存以後,您必須清除瀏覽器快取才能看到所作出的改變。

  • 火狐(Firefox)/Safari:按住“Shift”鍵再點擊“刷新”,或按下“Ctrl-F5”或“Ctrl-R”(Mac上為“⌘-R”)
  • Google瀏覽器(Google Chrome):按下“Ctrl-Shift-R”(Mac上為“⌘-Shift-R”)
  • IE(Internet Explorer):按住“Ctrl”鍵再點擊“刷新”,或按下“Ctrl-F5”
  • Opera:在“工具→首選項”中清除緩存
/* 此處的 CSS 將應用於所有的面板 */
body.page-Main_Page h1.firstHeading { display: none; }

#scrollDiv{width:100%;height:25px;line-height:25px; overflow:hidden}      
#scrollDiv li{height:25px;padding-left:10px;list-style:none;}

/* new home screen */
#hs{
	position: relative;
	overflow: hidden;
	color:#333;
}
#hs-banner{
	height: 200px;
	overflow: hidden;
	position: relative;
}
#hs-banner img {
	position: absolute;
	width: 100%;
        height: auto;
	bottom: -60%;
}
#hs-banner-intro {
    background: none;
    margin: 140px 0 0 3px;
    opacity: 0.8;
    padding: 15px;
    position: relative;
    width: 500px;
    z-index: 1;
    font-size: 110%;
}
#hs-banner-intro h1{
font-family:微軟正黑體, sans-serif;
	border: 0;
	margin-bottom: 0;
}
<!--以下為R設定-->
#hs-bannerR {
	height: 250px;
	overflow: hidden;
	position: relative;
        border-radius: 10px;
}
#hs-bannerR img {
	position: absolute;
	width: 100%;
        height: auto;
	bottom: -60%;
        opacity: 0.7; //透明度
}
#hs-banner-introR {
    border: 1;
    background: none;
    margin: 200px 0 0 20px;
    opacity: 0.8;
    padding: 15px;
    position: relative;
    width: 500px;
    z-index: 1;
    font-size: 120%;
}
#hs-banner-introR h1{
font-family:標楷體, DFKai-sb, sans-serif;
	border: 0;
	margin-bottom: 0;
}
#hs-searchR{
    border: 1;
    background: #FFFFFF;
    margin: 50px 0px 0 0;
    opacity: 0.8; //透明度
    padding: 5px;
    position: relative;
    top:-20px;
    left:40px;
    z-index: 1;
    float: right;
    font-size: 110%;
}
<!--以上為R設定-->
#hs-banner-intro p{
}

#hs-search{
 background: #FFFFFF;
    margin: 50px 0px 0 0;
opacity: 0.8;
    padding: 5px;
    position: relative;

    z-index: 1;
    float: right;
    font-size: 110%;
}
#hs-search-back{
	width: 100%;
	height: 40px;
	position: absolute;
	top:0;
	left: 0;
	opacity: 0.8;
	background: #FFF;
	
}
#hs-search input{
	position: relative;
	color:#333;
	font-size: 14px
	

}
#hs-search #bodySearchInput,
#hs-search .searchboxInput {
	width: 220px;
	background: #FFF;
	border:1px solid #B4B4B4;
	padding: 4px;
}
#hs-search .bodySearchBtnGo,
#hs-search .searchboxSearchButton{
	width: 80px;
	margin-left: 10px;
	text-transform: uppercase;
	background: #CCC;
	border:1px solid #B4B4B4;
	border-bottom:2px solid #B4B4B4;
	border-right: 2px solid #B4B4B4;
	-moz-border-radius: 2px;
border-radius: 2px;
padding: 4px 4px 3px;

}
#hs .column1{
	float: left;
	width: 48%;
	margin-right: 1%;
}
#hs .column2{
	float: right;
	width: 50%;
}
#hs .column h2, #hs .column h3{
	margin-bottom: 5px;
	margin-top: 15px;
}
#hs .half{
	width: 50%;
	float: left;
}
#hs .last{
 margin-right:0;
}
#hs .right{
float:right;
}
#hs .first{
 clear:left;
}
/* END OF NEW home screen */

/*試試看別的下拉*/
 
*/
/* Standard Navigationsleisten.*/
 
div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaaaaa;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame,
div.NavFrame + table.collapsible,
table.collapsible + div.NavFrame,
table.collapsible + table.collapsible {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #ffffff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        min-height: 1.6em;
        font-weight: bold;
        font-size: 100%;
        text-align: center;
        background-color: #efefef;
        cursor:pointer;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
span.NavToggle {
        float: right;
        /*保证在禁用JS状态下不显示提示,使用hidden以保证在navbox标题能占有宽度*/
        visibility: hidden;
        text-align: right;
        font-weight: normal;
        font-size: 80%;
}
 
/* Hatnotes and disambiguation notices */
.rellink /*,
.dablink */ {
    /* font-style: italic; */
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
.rellink i /*,
.dablink i */ {
    font-style: normal;
}

/*2014年5月12日Vanya測試用*/
/* Align */
.valign-middle, .valign-center, .va-m, .va-c { vertical-align: middle; }
.valign-top, .va-t { vertical-align: top; }
.valign-bottom, .va-b { vertical-align: bottom; }
.alignt-middle, .alignt-center, .at-m, .at-c, .eplist { text-align: center; }
.alignt-left, .at-l { text-align: left; }
.alignt-right, .at-r, .collapseButton { text-align: right; }
.align-middle, .align-center, .a-m, .a-c, .eplist { margin: 0 auto; }
.align-left, .a-l { float: left; }
.align-right, .a-r, .collapseButton, .userbox, .babelbox { float: right; }