"MediaWiki:Common.css" 修訂間的差異

出自 淡水維基館
前往: 導覽搜尋
行 116: 行 116:
 
/* END OF NEW home screen */
 
/* END OF NEW home screen */
  
/**
+
/* Standard Navigationsleisten, aka box hiding thingy
** Collapsible navigation boxes (see [[en: Wikipedia: NavFrame]])
+
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
**/
 
div.Boxmerge,
 
 
div.NavFrame {
 
div.NavFrame {
margin: 0px;
+
    margin: 0;
padding: 4px;
+
    padding: 4px;
border: 1px solid #AAA;
+
    border: 1px solid #aaa;
border-collapse: collapse;
+
    text-align: center;
text-align: center;
+
    border-collapse: collapse;
font-size: 95%;
+
    font-size: 95%;
}
 
div.Boxmerge div.NavFrame {
 
border-style: none;
 
border-style: hidden;
 
 
}
 
}
 
div.NavFrame + div.NavFrame {
 
div.NavFrame + div.NavFrame {
border-top-style: none;
+
    border-top-style: none;
border-top-style: hidden;
+
    border-top-style: hidden;
 
}
 
}
 
div.NavPic {
 
div.NavPic {
float: left;
+
    background-color: #fff;
margin: 0px;
+
    margin: 0;
padding: 2px;
+
    padding: 2px;
background: #FFF;
+
    /* @noflip */
 +
    float: left;
 
}
 
}
 
div.NavFrame div.NavHead {
 
div.NavFrame div.NavHead {
position: relative;
+
    height: 1.6em;
height: 1.6em;
+
    font-weight: bold;
background: #CCF;
+
    background-color: #ccf;
font-weight: bold;
+
    position: relative;
}
 
div.NavFrame p {
 
font-size: 100%;
 
}
 
div.NavFrame div.NavContent {
 
font-size: 100%;
 
 
}
 
}
 +
div.NavFrame p,
 +
div.NavFrame div.NavContent,
 
div.NavFrame div.NavContent p {
 
div.NavFrame div.NavContent p {
font-size: 100%;
+
    font-size: 100%;
 
}
 
}
 
div.NavEnd {
 
div.NavEnd {
clear: both;
+
    margin: 0;
margin: 0px;
+
    padding: 0;
padding: 0px;
+
    line-height: 1px;
line-height: 1px;
+
    clear: both;
 
}
 
}
 
a.NavToggle {
 
a.NavToggle {
position: absolute;
+
    position: absolute;
top: 0px;
+
    top: 0;
right: 3px;
+
    /* @noflip */
font-size: smaller;
+
    right: 3px;
font-weight: normal;
+
    font-weight: normal;
 +
    font-size: 90%;
 
}
 
}

於 2013年10月13日 (日) 00:43 的修訂

/* 此處的 CSS 將應用於所有的面板 */
#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: 200px;
    z-index: 1;
    font-size: 110%;
}
#hs-banner-intro h1{
font-family:微軟正黑體, sans-serif;
	border: 0;
	margin-bottom: 0;
}
#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: 44%;
	margin-right: 3%;
}
#hs .column2{
	float: right;
	width: 44%;
	margin-right: 3%;
}
#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, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    /* @noflip */
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}