コンテンツにスキップ

MediaWiki:Common.css

Đề cung: Wikisource

Chú ý:Bảo tồn hậu, 変 canh を xác nhận するにはブラウザーのキャッシュを tiêu khứ する tất yếu がある tràng hợp があります.

  • Firefox / Safari:Shiftを áp しながらTái đọc み込みをクリックするか,Ctrl-F5またはCtrl-Rを áp してください (Mac では⌘-R)
  • Google Chrome:Ctrl-Shift-Rを áp してください (Mac では⌘-Shift-R)
  • Microsoft Edge:Ctrlを áp しながらTối tân の tình báo に canh tânをクリックするか,Ctrl-F5を áp してください.
/* Common CSS for all skins */

/*<source lang= "css" >*/

/* ページ kiến xuất し */
h1.firstHeading{line-height:1.2}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable{
margin:1em1em1em0;
background:#f9f9f9;
border:1px#aaasolid;
border-collapse:collapse;
}

table.wikitableth,table.wikitabletd,
table.prettytableth,table.prettytabletd{
border:1px#aaasolid;
padding:0.2em;
}

table.wikitableth,
table.prettytableth{
background:#f2f2f2;
text-align:center;
}

table.wikitablecaption,
table.prettytablecaption{
margin-left:inherit;
margin-right:inherit;
}

/* Style for "notices" */
.notice{
text-align:justify;
margin:1em;
padding:0.2em;
}

#disambig{
border-top:3pxdouble#ccc;
border-bottom:3pxdouble#ccc;
}

#spoiler{
border-top:2pxsolid#ddd;
border-bottom:2pxsolid#ddd;
}

/* Standard talk template style */
.Talk-Notice{
border:1pxsolid#c0c090;
background-color:#f8eaba;
margin-bottom:3px;
width:85%;
border-spacing:3px;
margin-left:auto;
margin-right:auto;
}

.Talk-Notice:after{
content:"The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]]."
}

/* Make template background appear correctly on all browsers */
.Talk-Noticetd{
background:inherit;
}

/*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...
*/
.plainlinksneverexpanda{
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/w/skins/common/commonPrint.css) using the ":after" pseudo-
element of CSS. We have to switch this off for links due to Template: Ref!
~~~~
*/
.plainlinksneverexpanda.external.text:after{
display:none!important;
}

.plainlinksneverexpanda.external.autonumber:after{
display:none!important;
}

/* Merge template style */
.messagebox{
border:1pxsolid#aaa;
background:#f9f9f9;
width:80%;
margin:0auto1emauto;
padding:.2em;
text-align:justify;
}

.messagebox.merge{
border:solid#0332px;
width:55%;
background:#eff;
padding:1em;
margin:1emauto1emauto;
}

.messagebox.cleanup{
border:1pxsolid#9f9fff;
background:#efefff;
text-align:center;
}

.messagebox.standard-talk{
border:1pxsolid#c0c090;
background:#f8eaba;
}

.infobox{
border:1pxsolid#aaa;
background:#f9f9f9;
color:black;
margin-bottom:0.5em;
margin-left:1em;
padding:.2em;
float:right;
clear:right;
}

.infoboxtr{
vertical-align:top;
}

.infoboxcaption{
margin-left:inherit;
}

.infobox.bordered{
border-collapse:collapse;
}

.infobox.borderedtd,.infobox.borderedth{
border:1pxsolid#aaa;
}

.infobox.sisterproject{
width:20em;
font-size:90%;
}

/* Put a checker background at the image description page only visible if the image has transparent background */

#fileimg{background:url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png")repeat}

/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. */
.IPA{
font-family:'Chrysanthi Unicode','Doulos SIL','Gentium','GentiumAlt','Code2000','TITUS Cyberbit Basic','DejaVu Sans','Bitstream Vera Sans','Bitstream Cyberbit','Arial Unicode MS','Lucida Sans Unicode','Hiragino Kaku Gothic Pro','Matrix Unicode',sans-serif;
}

.Unicode{
font-family:'TITUS Cyberbit Basic','Code2000','Doulos SIL','Chrysanthi Unicode','Bitstream Cyberbit','Bitstream CyberBase','Bitstream Vera','Thryomanes','Gentium','GentiumAlt','Visual Geez Unicode','Lucida Grande','Arial Unicode MS','Microsoft Sans Serif','Lucida Sans Unicode',sans-serif;
}

.polytonic{
font-family:'Athena','Gentium','Palatino Linotype','Arial Unicode MS','Lucida Sans Unicode','Lucida Grande','Code2000',sans-serif;
}

.SAMPA{
font-family:'Courier',monospace
}

#wpSave{
font-weight:bold;
}

/* hiddenStructure from Monobook - allows selective hiding of markup in templates */
.hiddenStructure{
display:none;
speak:none;
}

/************************/
/* CommonsTicker styles */
/************************/

/* links */
.tickerDiffLink{}/* diff links in ticker */
.tickerMiscLink{}/* misc links in ticker */

/* remove list bullets */
.tickerListul,.tickerListulli{list-style:none;text-indent:-2em;margin-left:2em;text-align:left;}
.tickerListulul,.tickerListululli{list-style:none;text-indent:0;margin-left:1.5em;text-align:left;}

/* per-type styles */
.tickerEntry_deleted{}/* entry for image deletion */
.tickerEntry_replaced{}/* entry for image replacement */
.tickerEntry_tagged{}/* entry for adding/removing problem tags */
.tickerEntry_redir{}/* entry for critical redirection (fot tag redirects) */
.tickerEntry_recat{}/* entry for critical re-categorization (for tag categories) */
.tickerEntry_notify{}/* entry for global notifications */
.tickerEntry_changed{}/* entry for generic change */

/* per-action styles */
.tickerAction_deleted:before{content:"GONE";color:#FF0000;font-family:monospace;font-weight:bold;font-size:100%;}
.tickerAction_deletedRev:before{content:"-OLD";color:#DDAAAA;font-family:monospace;font-weight:bold;font-size:100%;}
.tickerAction_replaced:before{content:"REPL";color:#CC88FF;font-family:monospace;font-weight:bold;font-size:100%;}
.tickerAction_replacedOwn:before{content:"UPDT";color:#EEAAFF;font-family:monospace;font-weight:bold;font-size:100%;}
.tickerAction_addedBad:before{content:"+VfD";color:#FF8800;font-family:monospace;font-weight:bold;font-size:100%;}
.tickerAction_removedBad:before{content:"-VfD";color:#00BB00;font-family:monospace;font-weight:bold;font-size:100%;}
.tickerAction_addedGood:before{content:"+OK";color:#00BB00;font-family:monospace;font-weight:bold;font-size:100%;}
.tickerAction_removedGood:before{content:"-OK";color:#FF8800;font-family:monospace;font-weight:bold;font-size:100%;}

/* ticker usage list */
.tickerUsage{font-size:80%;}

/* entry applies to a template used by multiple images */
.tickerTemplateEntry{font-weight:bold;}

/* entry applies to sub-entries, i.e. images that use a specific template */
.tickerSubEntry{}

/* minor entry styles */
.tickerMinorEntry{color:#666;}/* minor entry */
.tickerMinorEntrya,
.tickerMinorEntrya:link,
.tickerMinorEntrya:visited{color:#669;}
#bodyContent.tickerMinorEntrya.extiw,
#bodyContent.tickerMinorEntrya.extiw:link,
#bodyContent.tickerMinorEntrya.extiw:visited{color:#669;}

/* [[Template:Pathnav]] */
.pathnavbox{
clear:both;
border:1pxoutset#eef;
padding:0.3em0.6em;
margin:000.5em0;
background-color:#eef;
font-size:90%;
}
.pathnavboxul{
list-style:nonenone;
margin-top:0;
margin-bottom:0;
}
.pathnavbox>ul{
margin:0;
}
.pathnavboxulli{
margin:0;
}

/*</source>[[en:MediaWiki:Common.css]]*/


/* トップページのタイトル ẩn す */
body.page-メインページ#siteSub,
body.page-メインページ.subtitle,
body.page-メインページh1.firstHeading,
body.page-メインページh1.pagetitle{
display:none;
}

/* default skin for navigation boxes */
/* navbox container style */
table.navbox{
border:1pxsolid#aaa;
width:100%;
margin:auto;
clear:both;
font-size:88%;
text-align:center;
padding:1px;
}

/* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
table.navbox+table.navbox{
margin-top:-1px;
}

/* title and above/below styles */
.navbox-title,
.navbox-abovebelow,
table.navboxth{
text-align:center;
padding-left:1em;
padding-right:1em;
}

/* group style */
.navbox-group{
white-space:nowrap;
text-align:right;
font-weight:bold;
padding-left:1em;
padding-right:1em;
}

/* Background color */
.navbox,
.navbox-subgroup{
background:#fdfdfd;
}

/* Must match background color */
.navbox-list{
border-color:#fdfdfd;
}

/* Level 1 color */
.navbox-title,
table.navboxth{
background:#ccccff;
}

/* Level 2 color */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup.navbox-title{
background:#ddddff;
}

/* Level 3 color */
.navbox-subgroup.navbox-group,
.navbox-subgroup.navbox-abovebelow{
background:#e6e6ff;
}

/* Even row striping */
.navbox-even{
background:#f7f7f7;
}

/* Odd row striping */
.navbox-odd{
background:transparent;
}

/* [[MediaWiki:Common.js]] にある createCollapseButtons quan sổ を tham chiếu. */
.collapseButton{
float:right;
font-weight:normal;
text-align:right;
width:auto;
}

/* [[Template:Navbox]] に phối trí する tràng hợp, tả に phối trí されている [[Template:Tnavbar]] とのバランスを thủ る. */
.navbox.collapseButton{
width:6em;
}

/* [[en:MediaWiki:Common.css]] から phục chế. */
/* Style for horizontal lists (separator following item).
Note: hlist formatting will break if the resulting HTML lacks a breakable character
between list items. This happens when the following conditions are true:
1) The list is made using wiki markup (where HTML is built by parser.php)
2) HTMLTidy is disabled or unavailable (such as on Special: pages)
In such cases, building lists with.hlist using HTML instead of wiki markup
will work around this problem. See also [[Bugzilla:39617]].
IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
Last updated: January 24, 2013
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@maintainer: [[User:Edokter]]
@revision: 3.1
*/
.skin-monobook.hlistdl,
.skin-modern.hlistdl,
.skin-vector.hlistdl{
line-height:1.5em;
}
.hlistdl,
.hlistol,
.hlistul{
margin:0;
padding:0;
}
/* Display list items inline and make them nowrap */
.hlistdd,
.hlistdt,
.hlistli{
margin:0;
display:inline;
white-space:nowrap;
}
/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrapdd,
.hlist.hwrapdt,
.hlist.hwrapli{
white-space:normal;
}
/* Display nested lists inline and allow them to wrap */
.hlistdldl,.hlistdlol,.hlistdlul,
.hlistoldl,.hlistolol,.hlistolul,
.hlistuldl,.hlistulol,.hlistulul{
display:inline;
white-space:normal;
}
/* Generate interpuncts */
.hlistdt:after{
content:":";
}
.hlistdd:after,
.hlistli:after{
content:"·";
font-weight:bold;
}
/* nhật bổn ngữ bản の độc tự sĩ dạng. -pipe と -hyphen */
.hlist-pipedd:after,
.hlist-pipeli:after{
content:"|";
font-weight:normal;
}
.hlist-hyphendd:after,
.hlist-hyphenli:after{
content:"-";
font-weight:normal;
}
.hlistdd:last-child:after,
.hlistdt:last-child:after,
.hlistli:last-child:after{
content:none;
}
/* For IE8 */
.hlistdd.hlist-last-child:after,
.hlistdt.hlist-last-child:after,
.hlistli.hlist-last-child:after{
content:none;
}
/* Add parentheses around nested lists */
.hlistdddd:first-child:before,.hlistdddt:first-child:before,.hlistddli:first-child:before,
.hlistdtdd:first-child:before,.hlistdtdt:first-child:before,.hlistdtli:first-child:before,
.hlistlidd:first-child:before,.hlistlidt:first-child:before,.hlistlili:first-child:before{
content:"(";
font-weight:normal;
}
.hlistdddd:last-child:after,.hlistdddt:last-child:after,.hlistddli:last-child:after,
.hlistdtdd:last-child:after,.hlistdtdt:last-child:after,.hlistdtli:last-child:after,
.hlistlidd:last-child:after,.hlistlidt:last-child:after,.hlistlili:last-child:after{
content:")";
font-weight:normal;
}
/* For IE8 */
.hlistdddd.hlist-last-child:after,.hlistdddt.hlist-last-child:after,.hlistddli.hlist-last-child:after,
.hlistdtdd.hlist-last-child:after,.hlistdtdt.hlist-last-child:after,.hlistdtli.hlist-last-child:after,
.hlistlidd.hlist-last-child:after,.hlistlidt.hlist-last-child:after,.hlistlili.hlist-last-child:after{
content:")";
font-weight:normal;
}

/* Forward and backward link */
.gen_header_backlink,.gen_header_forelink{
width:20%;
font-size:0.9em;
line-height:normal;
}
.gen_header_backlink{
text-align:left;
}
.gen_header_forelink{
text-align:right;
}
/* Title field */
.gen_header_title{
width:60%;
text-align:center;
}
/* Notes field */
table.translation_notes,.process_notes,.author_notes{
width:100%;
font-size:0.9em;
line-height:1.4;
margin-bottom:4px;/* a bit of space before body-text; 1em might be better... */
}

/* Process_header template */
.processheadertemplate{
border:1pxsolid#966;
background-color:#DCA;
}
.process_notes{
border-bottom:1pxsolid#A88;
background-color:#FFFBFC;
}
/* Real header templates */
table.headertemplate,table.translationheadertemplate,table.portalheadertemplate,.subheadertemplate,.processheadertemplate,.authortemplate{
width:100%;
margin-bottom:4px;
}

/* poem tag nospace font setting */
poem,
div.poem{
font-family:monospace;
}