MediaWiki:Common.css:修订间差异

SakiWiki:《咲-Saki-》中文百科全书。
跳到导航 跳到搜索
小无编辑摘要
小 (副标题显示+首页标题隐藏)
第4行: 第4行:
color:#3A3A3A;
color:#3A3A3A;
} */
} */
/** 副标题显示+首页标题隐藏 */
#siteSub {
    display: inline;
    font-size: 90%;
    font-weight: normal;
    font-style: normal;
    text-align: right;
}
body.page-SakiWiki h1.firstHeading, body.page-SakiWiki #siteSub { display:none; }


/* Clear Fix */
/* Clear Fix */

2012年8月15日 (三) 16:17的版本

/* body{
background-image:url('http://www.saki-anime.com/img/common/bg.jpg');
background-attachment: fixed;
color:#3A3A3A;
} */

/** 副标题显示+首页标题隐藏 */
#siteSub {
    display: inline;
    font-size: 90%;
    font-weight: normal;
    font-style: normal;
    text-align: right;
}
body.page-SakiWiki h1.firstHeading, body.page-SakiWiki #siteSub { display:none; }

/* Clear Fix */
.clearfix:after{content:“.”;display:block;height:0;clear:both;visibility:hidden;}
.clearfix{display:inline-block;}
/* Hide from IE Mac */
.clearfix {display:block;}
/* End hide from IE Mac */
/* end of clearfix */

/** 参考区 */
ol.references {  font-size: 100%; }
.references-small { font-size: 90%;}
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
  "print". The rules below ensure (a) that there is no extra padding to the right of
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
*/
.plainlinksneverexpand {  background: none ! important;  padding: 0 ! important;}
.plainlinksneverexpand .urlexpansion {  display: none ! important;} 
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow...*/
.plainlinksneverexpand a {   background: none !important;   padding: 0 !important;}
 
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   following the anchor A, the anchor itself now has class "external autonumber" and the
   expansion is inserted when printing (see the common printing style sheet at
   http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
   element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {  display: none !important;}
.plainlinksneverexpand a.external.autonumber:after {  display: none !important;}

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {  font-size: 90%;  -moz-column-count:2;  column-count:2;}
.same-bg { background: none }
 
ol.references > li:target,sup.reference:target,cite:target {  background-color: #DDEEFF;}

/** 首页 CSS */
body.page-Main_Page h1.firstHeading{display:none;}
TABLE.MainPage_Event{ padding-left, padding-right: 10px;  border: 1px solid #BDDBF3; }
TABLE.MainPage_Event th { background: #E9FAFF; border: 1px solid #BDDBF3; padding: 2px; }
TABLE.MainPage_Event td { border-bottom: 1px dashed #cccccc; }
TABLE.MainPage_Event td.lastTR { border:0px; }
TABLE.MainPage_Intro{ border: 1px solid #cccccc; width:100%;  margin-bottom: 3px; }
TABLE.MainPage_Intro td{ border-bottom: 1px dashed #cccccc;}
TABLE.MainPage_Intro td.lastTR{ border:0px; }

/** 模板CSS */
.lyric { border: 1px dashed #cccccc; padding:2px; }
.quotation { border: 1px dashed #cccccc; padding:2px; }

/** 年表用CSS */
TABLE.Event{padding-left, padding-right: 10px; border: 1px solid #BDDBF3;width:100%;}
TABLE.Event th {background: #E9FAFF; border: 1px solid #BDDBF3;padding: 2px;}
TABLE.Event td {border-bottom: 1px dashed #cccccc;border-right:1px dashed #cccccc;text-align:center;}
TABLE.Event td.d {border-bottom: 1px dashed #cccccc; border-right:0px;text-align:left;}
TABLE.Event td.l { border:0px;border-right:1px dashed #cccccc; width:75px;}
TABLE.Event td.ld { border:0px;text-align:left;}

/** 年表用CSS */
TABLE.Schedule {padding-left, padding-right: 10px; border: 1px solid #BDDBF3;width:100%;}
TABLE.Schedule th {background: #E9FAFF; border: 1px solid #BDDBF3;padding: 2px;}
TABLE.Schedule td {border-bottom: 1px dashed #cccccc;border-right:1px dashed #cccccc;text-align:center;}
TABLE.Schedule td.d {border-bottom: 1px dashed #cccccc; border-right:0px;text-align:left;}
TABLE.Schedule td.l { border:0px;border-right:1px dashed #cccccc;}
TABLE.Schedule td.ld { border:0px;text-align:left;}

/** 收缩文本CSS */
.collapsedtexttitle { 
	display: inline; width:100%; 
	background: #E9FAFF; 
 	border: 1px solid #BDDBF3;
	font-weight: bold;
	padding: 5px; 
	vertical-align: middle;
}
.collapsedtextbody { 
	border: 1px solid #BDDBF3;
	padding: 5px;
}
/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%; 
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox th,
.navbox-title,
.navbox-abovebelow {
    text-align: center;       /* Title and above/below styles */
    padding-left: 1em;
    padding-right: 1em;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
.navbox .hlist dd,
.navbox .hlist dt,
.navbox .hlist li {
    white-space: nowrap;      /* Nowrap list items in navboxes */
    white-space: normal !ie;  /* IE < 8 no-wraps entire list, so disable it */
}
.navbox .hlist dd dl,
.navbox .hlist dt dl,
.navbox .hlist li ol,
.navbox .hlist li ul {
    white-space: normal;      /* But allow parent list items to be wrapped */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* Infobox template style */
 
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}
 
.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border: 0;
   border-top: 1px solid #aaaaaa;
   border-right: 1px solid #aaaaaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaaaaa;
}