หมายเหตุ: หลังเผยแพร่ คุณอาจต้องล้างแคชเว็บเบราว์เซอร์ของคุณเพื่อดูการเปลี่ยนแปลง
- ไฟร์ฟอกซ์ / ซาฟารี: กด Shift ค้างขณะคลิก Reload หรือกด Ctrl-F5 หรือ Ctrl-R (⌘-R บนแมค)
- กูเกิล โครม: กด Ctrl-Shift-R (⌘-Shift-R บนแมค)
- ไมโครซอฟท์ เอดจ์: กด Ctrl ค้างขณะคลิก Refresh หรือกด Ctrl-F5
/* <source lang="css"> */ /* Source of code, if not stated, usually comes from English Wikipedia. */ /* เริ่ม: แสดงผลภาษาไทย */ /* เว้นย่อหน้า ตามการเขียนแบบไทย */ p { text-indent: 2.5em; } p.catlinks, td p, .dt-init-replylink-buttons { text-indent: 0; } /* จบ: แสดงผลภาษาไทย */ sup, sub { line-height: 1em; /* Reduce line-height for <sup> and <sub> */ } .page-หน้าหลัก #mp-topbanner { clear: both; } ma #interwiki-completelist { font-weight: bold; } /* ลดระยะย่อหน้าของ bullet ในหน้าหลัก (โดยคุณ Octahedron80) */ body.page-หน้าหลัก #content ul, body.page-หน้าหลัก #content ol { margin-left: 2em; } /* ยกเว้น .non-indented, p.catlink, td > p (โดยคุณ Patsagorn Y.) */ .non-indent p, p.catlinks, td p, .mw-ui-button { text-indent: initial; } /* Bold 'edit this page' link to encourage newcomers */ #ca-edit a { font-weight: bold !important; } /* Ensure refs in table headers and the like aren't bold or italic */ sup.reference { font-weight: normal; font-style: normal; } /* Styling for citations */ span.citation, cite { font-style: normal; word-wrap: break-word; } /* Recentchanges box. Style adapted from fr.wikipedia.org */ .rcoptions { margin: 0 0 2px 0; padding:.5em; border:1px solid #aaa; border-left:10px solid #ccccff; background-color: #FFFFFF; font-size: 90% } #catlinks { border: 0px; border-top: 2px dotted #aaaaaa; } /* ทำให้ {{มบ|Coord}} แสดงผลเป็น dec หรือ dms เพียงอย่างใดอย่างหนึ่งเท่านั้น ทำให้พิกัดที่ได้จากแม่แบบไม่ยาวเกินไป โดยคุณ Nullzero */ .geo-default, .geo-dms, .geo-dec { display: inline; } .geo-nondefault, .geo-multi-punct { display: none; } .longitude, .latitude { white-space: nowrap; } /* wikitable/prettytable class for skinning normal tables */ /* Make the list of references smaller */ ol.references, div.reflist, div.refbegin { font-size: 90%; /* Default font-size */ } div.reflist ol.references { font-size: 100%; /* Reset font-size when nested in div.reflist */ list-style-type: inherit; /* Enable custom list style types */ } .references-small { font-size: 90%;} .references-2column { font-size: 90%; -moz-column-count:2; column-count:2; } /* Consistent size for <small>, <sub> and <sup> */ small { font-size: 85%; } .mw-body-content sub, .mw-body-content sup { font-size: 80%; } .same-bg { background: none; } /* Highlight clicked reference in blue to help navigation */ ol.references > li:target { background-color: #DEF; } /* T156351: Support for Parsoid's Cite implementation */ @counter-style custom-group-label-thai { system: alphabetic; symbols: 'ก' 'ข' 'ค' 'ง' 'จ' 'ฉ' 'ช' 'ซ' 'ด' 'ต' 'ถ' 'ท' 'น' 'บ' 'ป' 'ผ' 'ฝ' 'พ' 'ฟ' 'ม' 'ย' 'ร' 'ว' 'ส' 'อ' 'ฮ'; } .mw-ref > a[data-mw-group=upper-alpha]::after { content: '[' counter( mw-Ref, upper-alpha ) ']'; } .mw-ref > a[data-mw-group=upper-roman]::after { content: '[' counter( mw-Ref, upper-roman ) ']'; } .mw-ref > a[data-mw-group=lower-alpha]::after { content: '[' counter( mw-Ref, lower-alpha ) ']'; } .mw-ref > a[data-mw-group=lower-roman]::after { content: '[' counter( mw-Ref, lower-roman ) ']'; } .mw-ref > a[data-mw-group=thai]::after { content: '[' counter( mw-Ref, custom-group-label-thai ) ']'; } .mw-ref > a[data-mw-group=decimal]::after { content: '[' counter( mw-Ref, decimal ) ']'; } .mw-ref > a[data-mw-group=lower-greek]::after { content: '[' counter( mw-Ref, lower-greek ) ']'; } table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } /* Styling for citations */ span.citation, cite { font-style: normal; word-wrap: break-word; } /* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */ .citation { word-wrap: break-word; } /* Default style for navigation boxes */ .navbox { /* Navbox container style */ box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ } .navbox .navbox { margin-top: 0; /* No top margin for nested navboxes */ } .navbox + .navbox { margin-top: -1px; /* Single pixel border between adjacent navboxes */ } .navbox-inner, .navbox-subgroup { width: 100%; } .navbox-group, .navbox-title, .navbox-abovebelow { padding: 0.25em 1em; /* Title, group and above/below styles */ line-height: 1.5em; text-align: center; } th.navbox-group { /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background-color: #fdfdfd; /* Background color */ } .navbox-list { line-height: 1.5em; border-color: #fdfdfd; /* Must match background color */ } /* cell spacing for navbox cells */ tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */ border-top: 2px solid #fdfdfd; /* Must match background color */ } .navbox th, .navbox-title { background-color: #ccccff; /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background-color: #ddddff; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background-color: #e6e6ff; /* Level 3 color */ } .navbox-even { background-color: #f7f7f7; /* Even row striping */ } .navbox-odd { background-color: transparent; /* Odd row striping */ } .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 */ } /* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .navbar li { word-spacing: -0.125em; } .navbar.mini li span { font-variant: small-caps; } /* Navbar styling when nested in infobox and navbox */ .infobox .navbar { font-size: 100%; } .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6em; } /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in [[MediaWiki:Common.js]] are styled here so they can be customised. */ .collapseButton { /* @noflip */ float: right; font-weight: normal; /* @noflip */ margin-left: 0.5em; /* @noflip */ text-align: right; width: auto; } /* In navboxes, the show/hide button balances the v·d·e links from [[Template:Navbar]], so they need to be the same width. */ .navbox .collapseButton { width: 6em; } /* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-parser-output .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; } .navbox .mw-collapsible-toggle { width: 6em; } /* Style for "notices" */ .notice { margin: 1em; padding: 0.2em; } #disambig { border-top: 3px double #cccccc; border-bottom: 3px double #cccccc; } #spoiler { /* border-top: 2px solid #ddd; border-bottom:2px solid #ddd;*/ } /* Standard talk template style */ .Talk-Notice { border: 1px solid #C0C090; background-color: #F8EABA; margin-bottom: 3px; width: 85%; border-spacing: 3px; margin-left: auto; margin-right: auto; } /* Make template background appear correctly on all browsers */ .Talk-Notice td { 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... */ .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 //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! ~~~~ */ .plainlinksneverexpand a.external.text:after { display: none !important; } .plainlinksneverexpand a.external.autonumber:after { display: none !important; } /* Merge template style */ .amboxtalk { clear:left; text-align:left; width: 80%; margin: 0 auto; padding: 0.5em; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid #1e90ff; } .mw-body-content .messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 85%; margin: 0 auto 1em auto; padding: .2em; text-align: left; } .messagebox.merge { border: 1px solid #cf9fff; background-color: #f5edf5; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; text-align: left; font-size: 88%; line-height: 1.5em; } .infobox caption { font-size: 125%; font-weight: bold; } .infobox td, .infobox th { vertical-align: top; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } .infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaa; border-right: 1px solid #aaa; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaa; } /* Styles for geography infoboxes, eg countries, country subdivisions, cities, etc. */ .infobox.geography { /* @noflip */ text-align: left; border-collapse: collapse; line-height: 1.2em; font-size: 90%; } .infobox.geography td, .infobox.geography th { border-top: 1px solid #aaa; padding: 0.4em 0.6em 0.4em 0.6em; } .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: 1px solid #aaa; padding: 0.4em 0.6em 0.2em 0.6em; } .infobox.geography .mergedrow td, .infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em 0.6em; } .infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th { border-top: 0; border-bottom: 1px solid #aaa; padding: 0 0.6em 0.4em 0.6em; } .infobox.geography .maptable td, .infobox.geography .maptable th { border: 0; padding: 0; } /* Normal font styling for wikitable row headers with scope="row" tag */ .wikitable.plainrowheaders th[scope=row] { font-weight: normal; /* @noflip */ text-align: left; } /* Lists in wikitable data cells are always left-aligned */ .wikitable td ul, .wikitable td ol, .wikitable td dl { /* @noflip */ text-align: left; } /* ...unless they also use the hlist class */ .toc.hlist ul, #toc.hlist ul, .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl { text-align: inherit; } #wpSave { font-weight: bold; } /* hiddenStructure from Monobook - allows selective hiding of markup in templates */ .hiddenStructure { display: none; } /* CSS for testing a new Main Page design, see [[Wikipedia:WikiProject Usability/Main Page]] */ #ThWpMainPage { width: 100%; margin-top: 1em; } #ThWpMainPage h2 { font-size: 130%; font-weight: bold; margin: 0; padding: 0; border: 0; } #ThWpMpMargin { margin-right: 13.8em; } #ThWpMpCol1 { float: left; clear: left; width: 50%; } #ThWpMpCol2 { width: 49.9%; float: left; } #ThWpMpBrowse { background: #f8fcff url(https://upload.wikimedia.org/wikipedia/en/9/9f/MP-three-books.png) no-repeat 180% 9%; border: 1px solid #c7c7c7; } #ThWpMpBrowseCats li { font-size: 85%; margin-left: 1em; line-height: 1.5; } #ThWpMpBrowseCats h3 { font-size: 120%; margin: .2em 0 .1em -.8em; padding: 0; font-weight: normal; } #ThWpMpBrowseCats h3 a { font-weight: bold; } #ThWpMpBook { background-image: url(https://upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); } #ThWpMpFeaturedPic { text-align: center; margin: 0 0 .5em; font-size: 85%; font-weight: bold; } #ThWpMpFeaturedPic h2 { font-size: 145%; text-align: left; } .ThWpMpBrowseRight { float: right; width: 12.7em; } .ThWpMpBrowseBottom { margin: 1em 0; } .ThWpMpBrowseBottom #EnWpMpBrowseCats li, .EnWpMpBrowseBottom #EnWpMpUsefulLinks, .EnWpMpBrowseBottom #ThWpMpFeaturedPic { float: left; width: 24%; margin: 0; line-height: auto; } .ThWpMpBrowseBottom #EnWpMpBrowseCats h3 { margin-left: 0; } #ThWpMpUsefulLinks { clear: left; } #ThWpMpSearch { background: url(https://upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; } #ThWpMpSearch input { vertical-align: middle; } #ThWpMpSearchInner { float: right; width: 20em; text-align: center; } #bodySearchMP { margin: 0; padding: 0; } #bodySearchMP .bodySearchWrap { float: right; width: 17.5em; text-align: left; padding: .8em 0; } #bodySearchMP label { display: block; font-size: 95%; font-weight: bold; margin-bottom: -.2em; } #bodySearchMP .bodySearchIput { opacity: .85; filter: alpha(opacity=85); } #bodySearchMP .bodySearchBtnGo { font-weight: bold; padding-left: .3em; padding-right: .3em; margin-left: .5em; } .ThWpMpContentBox { border: 1px solid; margin-bottom: .9em; } #ThWpMpCol2 .EnWpMpContentBox { margin-left: .9em; } .ThWpMpImage { float: right; margin: 0 0 .2em .2em; } .ThWpMpImage img { position: relative; z-index: 3; } #ThWpMpSisterProjects { float: left; width: 49%; } .ThWpMpSisterProject { float: left; width: 17em; margin: 0; height: 5.5em; margin: 0; } .ThWpMpSisterImg { float: left; width: 40px; height: 100%; } #ThWpMpOtherLangs { margin-left: 50%; } #ThWpMainPageNoCSS { display: none; } /* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */ div.listenlist { background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png"); padding-left: 40px; } div.videolist, div.multivideolist { background: url("https://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png"); padding-left: 50px; } div.user-block { padding: 5px; border: 1px solid #A9A9A9; background-color: #FFEFD5; } /* Style rules for media list templates */ div.medialist { min-height: 50px; margin: 1em; background-position: top left; background-repeat: no-repeat; } div.medialist ul { list-style-type: none; list-style-image: none; margin: 0; } div.medialist ul li { padding-bottom: 0.5em; } div.medialist ul li li { font-size: 91%; padding-bottom: 0; } /* Coloured watchlist numbers */ .mw-plusminus-pos { color:darkgreen; } .mw-plusminus-neg { color:darkred; } /* Persondata and other (future) metadata */ table.InChI, /* temporary */ table.persondata { border: 1px solid #aaa; display: none; speak: none; } .InChI-label, /* temporary */ .persondata-label { color: #aaa; } /* เพิ่มความเข้มของเส้นกรอบรูป */ /* Change the external link icon to an Adobe icon for all PDF files */ /* (in browsers that support these CSS selectors, like Mozilla and Opera) */ #bodyContent a[href$=".pdf"].external, #bodyContent a[href*=".pdf?"].external, #bodyContent a[href*=".pdf#"].external, #bodyContent a[href$=".PDF"].external, #bodyContent a[href*=".PDF?"].external, #bodyContent a[href*=".PDF#"].external, #mw_content a[href$=".pdf"].external, #mw_content a[href*=".pdf?"].external, #mw_content a[href*=".pdf#"].external, #mw_content a[href$=".PDF"].external, #mw_content a[href*=".PDF?"].external, #mw_content a[href*=".PDF#"].external { background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat; padding-right: 16px; } /* Change the external link icon to an Adobe icon anywhere the PDFlink class */ /* is used (notably Template:PDFlink). This works in IE, unlike the above. */ span.PDFlink a { background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important; padding-right: 17px !important; } span.geolink a { background: url(https://upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center right no-repeat !important; padding-right: 11px !important; } /* รายการแสดงเป็นบล็อก */ .wikiblocklist ul{margin: 0;padding: 0;} .wikiblocklist li{list-style: none;border-bottom: #e2eef2 solid 1px; padding: 0 5px;} .wikiblocklist a{color: #000; display: block;} .wikiblocklist li:hover{background: #e2eef2;} /* เริ่มแม่แบบ Metabox */ .mbButton { background-color: #d0b0ff; /* 4 */ border: 0.15em solid #000000; border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff; /* 5 3 3 5 */ border-radius-topleft: .5em; border-radius-topright: .5em; -moz-border-radius: .5em .5em 0em 0em; cursor:pointer; display: inline; margin-right: 0.1em; padding: 0.2em 0.3em 0.2em 0.3em; position: relative;} .mbButton a, .mbButton strong { background: none !important; color:#7050a0 !important; /* 1 */ font-size: 90%; font-weight: bold; padding: 0 !important; text-decoration: none !important;} .mbButton a:hover, .mbButton strong:hover { color: black !important; text-decoration: underline !important;} .mbButtonSel{ background-color: #9070c0; /* 2 */ border: 0.15em solid #000000; border-color: #b090e0 #7050a0 #9070c0 #b090e0; /* 3 1 2 3 */ border-radius-topleft: .5em; border-radius-topright: .5em; -moz-border-radius: .5em .5em 0em 0em; cursor: default; display: inline; margin-right: 0.1em; padding: 0.2em 0.3em 0.2em 0.3em; position: relative; color:white;} .mbButtonSela { background: none !important; color:white !important; cursor: default; font-size: 90%; font-weight: bold; padding: 0 !important; text-decoration: none !important;} .mbContent { background-color: #f8f8ff; border: 0.2em solid #9070c0; /* 2 */ border-color: #9070c0 #7050a0 #7050a0 #9070c0 ; /* 2 1 1 2 */ -moz-border-radius: 0em .5em .5em 0em; border-radius-topright: .5em; border-radius-bottomright: .5em; padding: 1em; position: static; /* Si hi posem relative falla amb MSIE */} .mbTab { background-color: #f8f8ff; border-color: #7050a0 #b090e0 #b090e0 #7050a0; /* 1 3 3 1 */ width: 100%; } /* สั่งทำงานสีเขียว 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */ .mbGreen .mbButton { background-color: #a5e085; /* 4 */ border-color: #c0f090 #90d060 #75c045 #c0f090; /* 5 3 2 5 */} .mbGreen .mbButton a, .mbGreen .mbButton strong { color:#60b030 !important; /* 1 */ font-size:90%} .mbGreen .mbButton a:hover, .mbGreen .mbButton strong:hover { color: black !important; text-decoration: underline;} .mbGreen .mbButtonSel{ background-color: #75c045; /* 2 */ border-color: #90d060 #60b030 #75c045 #90d060; /* 3 1 2 3 */} .mbGreen .mbContent { background-color: #f5fffa; border-color: #75c045 #60b030 #60b030 #75c045 ; /* 2 1 1 2 */} .mbGreen .mbTab { background-color: #f5fffa; border-color: #60b030 #90d060 #90d060 #60b030; /* 1 3 3 1 */} /* สั่งทำงานสีแดง 1;CC0000 2;FF0000 3;FF8888 4;FFAAAA 5;FFCCCC */ .mbRed .mbButton { background-color: #FFAAAA; /* 4 */ border-color: #FFCCCC #FF8888 #FF0000 #FFCCCC; /* 5 3 2 5 */} .mbRed .mbButton a, .mbRed .mbButton strong { color:#CC0000 !important; /* 1 */ font-size:90%} .mbRed .mbButton a:hover .mbRed .mbButton strong:hover { color: black !important; text-decoration: underline;} .mbRed .mbButtonSel{ background-color: #FF0000; /* 2 */ border-color: #FF8888 #CC0000 #FF0000 #FF8888; /* 3 1 2 3 */} .mbRed .mbContent { background-color: #fffafa; border-color: #FF0000 #CC0000 #CC0000 #FF0000; /* 2 1 1 2 */} .mbRed .mbTab { background-color: #fffafa; border-color: #CC0000 #FF0000 #FF0000 #CC0000; /* 1 3 3 1 */} /* สั่งทำงานสีฟ้า 1;3379de 2;5b8dd6 3;88abde 4;a7c1e6 5;c8d6e9 */ .mbBlue .mbButton { background-color: #a7c1e6; /* 4 */ border-color: #c8d6e9 #88abde #5b8dd6 #c8d6e9; /* 5 3 2 5 */} .mbBlue .mbButton a, .mbBlue .mbButton strong { color:#3379de !important; /* 1 */ font-size:90%} .mbBlue .mbButton a:hover .mbBlue .mbButton strong:hover { color: black !important; text-decoration: underline;} .mbBlue .mbButtonSel{ background-color: #5b8dd6; /* 2 */ border-color: #88abde #3379de #5b8dd6 #88abde; /* 3 1 2 3 */} .mbBlue .mbContent { background-color: #f0f8ff; border-color: #5b8dd6 #3379de #3379de #5b8dd6; /* 2 1 1 2 */} .mbBlue .mbTab { background-color: #f0f8ff; border-color: #3379de #88abde #88abde #3379de; /* 1 3 3 1 */} /* สั่งทำงานสีเหลือง 1;ffd813 2;ffe147 3;ffe977 4;fff1a4 5;fef4bc */ .mbYellow .mbButton { background-color: #fff1a4; /* 4 */ border-color: #fef4bc #ffe977 #ffe147 #fef4bc; /* 5 3 2 5 */} .mbYellow .mbButton a, .mbYellow .mbButton strong { color:#ffd813 !important; /* 1 */ font-size:90%} .mbYellow .mbButton a:hover .mbYellow .mbButton strong:hover { color: black !important; text-decoration: underline;} .mbYellow .mbButtonSel{ background-color: #ffe147; /* 2 */ border-color: #ffe977 #ffd813 #ffe147 #ffe977; /* 3 1 2 3 */} .mbYellow .mbContent { background-color: #fffce8; border-color: #ffe147 #ffd813 #ffd813 #ffe147; /* 2 1 1 2 */} .mbYellow .mbTab { background-color: #fffce8; border-color: #ffd813 #88abde #88abde #ffd813; /* 1 3 3 1 */} /* สั่งทำงานสีส้ม 1;ff820e 2;ff9d42 3;ffac5d 4;ffbd7f 5;ffd0a4 6;ffeedd */ .mbOrange .mbButton { background-color: #ffbd7f; /* 4 */ border-color: #ffd0a4 #ffac5d #ff9d42 #ffd0a4; /* 5 3 2 5 */} .mbOrange .mbButton a, .mbOrange .mbButton strong { color:#ff820e !important; /* 1 */ font-size:90%} .mbOrange .mbButton a:hover .mbOrange .mbButton strong:hover { color: black !important; text-decoration: underline;} .mbOrange .mbButtonSel{ background-color: #ff9d42; /* 2 */ border-color: #ffac5d #ff820e #ff9d42 #ffac5d; /* 3 1 2 3 */} .mbOrange .mbContent { background-color: #ffeedd; /* 6 */ border-color: #ff9d42 #ff820e #ff820e #ff9d42; /* 2 1 1 2 */} .mbOrange .mbTab { background-color: #ffeedd; /* 6 */ border-color: #ff820e #ffac5d #ffac5d #ff820e; /* 1 3 3 1 */} /* จบการใช้สีต่าง ๆ สำหรับแม่แบบ:Metabox */ /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text { /* The message body cell(s) */ border: none; padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.mbox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright { /* The right image cell */ border: none; padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } /* Article message box styles */ table.ambox { margin: 0px 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ background: #fbfbfb; } table.ambox + table.ambox { /* Single border between stacked boxes. */ margin-top: -1px; } .ambox th.mbox-text, .ambox td.mbox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ } .ambox td.mbox-image { /* The left image cell */ padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } .ambox td.mbox-imageright { /* The right image cell */ padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } table.ambox-notice { border-left: 10px solid #1e90ff; /* Blue */ } table.ambox-speedy { border-left: 10px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.ambox-delete { border-left: 10px solid #b22222; /* Red */ } table.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { border-left: 10px solid #f4c430; /* Yellow */ } table.ambox-move { border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { border-left: 10px solid #bba; /* Gray-gold */ } /* Image message box styles */ table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #1e90ff; /* Default "notice" blue */ background: #fbfbfb; } .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ } .mbox-inside .imbox { /* For imboxes inside other templates. */ margin: 4px; } table.imbox-notice { border: 3px solid #1e90ff; /* Blue */ } table.imbox-speedy { border: 3px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.imbox-delete { border: 3px solid #b22222; /* Red */ } table.imbox-content { border: 3px solid #f28500; /* Orange */ } table.imbox-style { border: 3px solid #f4c430; /* Yellow */ } table.imbox-move { border: 3px solid #9932cc; /* Purple */ } table.imbox-protection { border: 3px solid #bba; /* Gray-gold */ } table.imbox-license { border: 3px solid #88a; /* Dark gray */ background: #f7f8ff; /* Light gray */ } table.imbox-featured { border: 3px solid #cba135; /* Brown-gold */ } /* Category message box styles */ table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #aaa; background: #DFE8FF; /* Default "notice" blue */ } table.cmbox-notice { background: #D8E8FF; /* Blue */ } table.cmbox-speedy { margin-top: 4px; margin-bottom: 4px; border: 4px solid #b22222; /* Red */ background: #FFDBDB; /* Pink */ } table.cmbox-delete { background: #FFDBDB; /* Red */ } table.cmbox-content { background: #FFE7CE; /* Orange */ } table.cmbox-style { background: #FFF9DB; /* Yellow */ } table.cmbox-move { background: #E4D8FF; /* Purple */ } table.cmbox-protection { background: #EFEFE1; /* Gray-gold */ } /* Other pages message box styles */ table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; /* Default "notice" gray */ background: #f9f9f9; } table.ombox-notice { border: 1px solid #aaa; /* Gray */ } table.ombox-speedy { border: 2px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.ombox-delete { border: 2px solid #b22222; /* Red */ } table.ombox-content { border: 1px solid #f28500; /* Orange */ } table.ombox-style { border: 1px solid #f4c430; /* Yellow */ } table.ombox-move { border: 1px solid #9932cc; /* Purple */ } table.ombox-protection { border: 2px solid #bba; /* Gray-gold */ } /* Talk page message box styles */ table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090; /* Default "notice" gray-brown */ background: #f8eaba; } .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */ margin: 2px 0; /* class ensures that this declaration overrides other */ width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */ } .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ line-height: 1.5em; /* also "nested", so reset styles that are */ font-size: 100%; /* set in "mbox-small" above. */ } table.tmbox-speedy { border: 2px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.tmbox-delete { border: 2px solid #b22222; /* Red */ } table.tmbox-content { border: 2px solid #f28500; /* Orange */ } table.tmbox-style { border: 2px solid #f4c430; /* Yellow */ } table.tmbox-move { border: 2px solid #9932cc; /* Purple */ } table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090; /* Gray-brown */ } /* Disambig and set index box styles */ table.dmbox { clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: transparent; } /* Footer and header message box styles */ table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #aaa; background: #f9f9f9; /* Default "system" gray */ } table.fmbox-system { background: #f9f9f9; } table.fmbox-warning { border: 1px solid #bb7070; /* Dark pink */ background: #ffdbdb; /* Pink */ } table.fmbox-editnotice { background: transparent; } /* For template documentation */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em; } .thumbinner { min-width: 100px; } /* Fix so <tt>, <code> and <pre> tags get normal text size also in some versions of Firefox, Safari, Konqueror, Chrome etc. */ tt, code, pre { font-family: monospace, sans-serif; } /* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size. [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */ div.mw-geshi div, div.mw-geshi div pre, span.mw-geshi, pre.source-css, pre.source-javascript, pre.source-lua { font-family: monospace, Courier !important; } /* End fix <syntaxhighlight> */ /* No linewrap on the labels of the login/signup page */ body.page-Special_UserLogin .mw-label label, body.page-Special_UserLogin_signup .mw-label label { white-space : nowrap; } /* Makes redirects appear in italics on [[Special:Allpages]] */ .allpagesredirect { font-style: italic; } /* Removes underlines from links */ .nounderlines a { text-decoration: none; } /* Remove underline from IPA links */ .IPA a:link, .IPA a:visited { text-decoration: none; } /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } /* Prevents line breaks in 1) Where desired 2) Links when we don't want them to 3) Bold "links" to the page itself 4) HTML formulae 5) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ .nowrap, .nowraplinks a, .nowraplinks .selflink, span.texhtml, sup.reference a { white-space: nowrap; } /* DIVERS */ .globegris { background: url(https://upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png) } /* from fr.wikipedia.org */ /* Remove default styles for [[MediaWiki:Noarticletext]]. */ div.noarticletext { border: none; background: transparent; padding: 0; } /* Prevent floating boxes from overlapping any category listings, file histories, edit previews, and edit [Show changes] views */ #mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff { clear: both; } /* Special characters list below edit window works better without underlining */ #editpage-specialchars a { text-decoration: none; } #editpage-specialchars a:hover { text-decoration: underline; } /* Hide charinsert base for those not using the gadget */ #editpage-specialchars { display: none; } /* Put a checker background at the image description page only visible if the image has transparent background */ #file img {background: url(https://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat} /* These mbox-small classes must be placed after all other ambox/tmbox/ombox etc classes. "body.mediawiki" is so they override "table.ambox + table.ambox" above. */ body.mediawiki table.mbox-small { /* For the "small=yes" option. */ /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; width: 238px; font-size: 88%; line-height: 1.25em; } body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ margin: 4px 1em 4px 0; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; } /* Styling for Abuse Filter tags */ .mw-tag-markers { font-style:italic; font-size:90%; } /* Reduce line-height for <sup> and <sub> */ sup, sub { line-height: 1em; } /* A request by octahedron80 19:13, 7 ธันวาคม 2554 (ICT) */ .mw-content-ltr dd, .mw-content-rtl .mw-content-ltr dd { margin-left: 2.5em; } .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul { margin-left: 2.5em; } .mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { margin-left: 2.5em; } /* Style for horizontal lists (separator following item). @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 8 (2016-05-21) @author [[User:Edokter]] */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Hide empty list items */ .hlist .mw-empty-li { display: none; } /* Generate interpuncts */ .hlist dt:after { content: ": "; } .hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: " ("; font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { content: ")"; font-weight: normal; } /* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; } .hlist ol > li { counter-increment: listitem; } .hlist ol > li:before { content: " " counter(listitem) "\a0"; } .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; } /* Unbulleted lists */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none none; margin: 0; } .plainlist ol li, .plainlist ul li { margin-bottom: 0; } /* Hatnotes and disambiguation notices */ .rellink, .dablink, .hatnote { font-style: italic; /* @noflip */ padding-left: 2.5em; margin-bottom: 0.5em; } .rellink i, .dablink i, .hatnote i { font-style: normal; } /* Hide stuff meant for accounts with special permissions. Made visible again in [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]], [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */ .sysop-show, .templateeditor-show, .extendedmover-show, .patroller-show, .autoconfirmed-show, .user-show { display: none; } /* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */ @media screen { /* The backgrounds for galleries. */ #content .gallerybox div.thumb { /* Light gray padding */ background-color: #f8f9fa; } /* Put a chequered background behind images, only visible if they have transparency. '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */ .gallerybox .thumb img { background: #fff url(https://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; } /* But not on articles, user pages, portals or with opt-out. */ .ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img, .nochecker .gallerybox .thumb img { background: #fff; } /* T178626 */ #contentSub:empty, #contentSub2:empty { display: block !important; } #contentSub:empty ~ #jump-to-nav, #contentSub2:empty ~ #jump-to-nav { margin-top: -1.4em !important; margin-bottom: 1.4em !important; } } /* แสดงไอคอน GA สำหรับลิงก์ข้ามภาษา (ดูการอภิปรายที่ https://th.wikipedia.org/wiki/วิกิพีเดีย:สภากาแฟ/อภิปราย/ไอคอนแสดง_FA/GA_ในภาษาอื่น)*/ li.badge-goodarticle { list-style-image:url("https://upload.wikimedia.org/wikipedia/commons/4/4a/Monobook-bullet-plus.png"); } /* แก้ไขปัญหาแสดงผลจาก มีเดียวิกิ:Sitenotice ไม่พอดีกับหน้า (คำแนะนำจาก ผู้ใช้:Nullzero) */ .mw-dismissable-notice .mw-dismissable-notice-body { margin-left: 0; margin-right: 0; } /* </source> */
wikipedia, แบบไทย, วิกิพีเดีย, วิกิ หนังสือ, หนังสือ, ห้องสมุด, บทความ, อ่าน, ดาวน์โหลด, ฟรี, ดาวน์โหลดฟรี, mp3, วิดีโอ, mp4, 3gp, jpg, jpeg, gif, png, รูปภาพ, เพลง, เพลง, หนัง, หนังสือ, เกม, เกม, มือถือ, โทรศัพท์, Android, iOS, Apple, โทรศัพท์โมบิล, Samsung, iPhone, Xiomi, Xiaomi, Redmi, Honor, Oppo, Nokia, Sonya, MI, PC, พีซี, web, เว็บ, คอมพิวเตอร์
hmayehtu hlngephyaephr khunxactxnglangaekhchewbebrawesxrkhxngkhunephuxdukarepliynaeplng ifrfxks safari kd Shift khangkhnakhlik Reload hruxkd Ctrl F5 hrux Ctrl R R bnaemkh kuekil okhrm kd Ctrl Shift R Shift R bnaemkh imokhrsxfth exdc kd Ctrl khangkhnakhlik Refresh hruxkd Ctrl F5 lt source lang css gt Source of code if not stated usually comes from English Wikipedia erim aesdngphlphasaithy ewnyxhna tamkarekhiynaebbithy p text indent 2 5 em p catlinks td p dt init replylink buttons text indent 0 cb aesdngphlphasaithy sup sub line height 1 em Reduce line height for lt sup gt and lt sub gt page hn ahl k mp topbanner clear both ma interwiki completelist font weight bold ldrayayxhnakhxng bullet inhnahlk odykhun Octahedron80 body page hn ahl k content ul body page hn ahl k content ol margin left 2 em ykewn non indented p catlink td gt p odykhun Patsagorn Y non indent p p catlinks td p mw ui button text indent initial Bold edit this page link to encourage newcomers ca edit a font weight bold important Ensure refs in table headers and the like aren t bold or italic sup reference font weight normal font style normal Styling for citations span citation cite font style normal word wrap break word Recentchanges box Style adapted from fr wikipedia org rcoptions margin 0 0 2 px 0 padding 5 em border 1 px solid aaa border left 10 px solid ccccff background color FFFFFF font size 90 catlinks border 0 px border top 2 px dotted aaaaaa thaih mb Coord aesdngphlepn dec hrux dms ephiyngxyangidxyanghnungethann thaihphikdthiidcakaemaebbimyawekinip odykhun Nullzero geo default geo dms geo dec display inline geo nondefault geo multi punct display none longitude latitude white space nowrap wikitable prettytable class for skinning normal tables Make the list of references smaller ol references div reflist div refbegin font size 90 Default font size div reflist ol references font size 100 Reset font size when nested in div reflist list style type inherit Enable custom list style types references small font size 90 references 2column font size 90 moz column count 2 column count 2 Consistent size for lt small gt lt sub gt and lt sup gt small font size 85 mw body content sub mw body content sup font size 80 same bg background none Highlight clicked reference in blue to help navigation ol references gt li target background color DEF T156351 Support for Parsoid s Cite implementation counter style custom group label thai system alphabetic symbols k kh kh ng c ch ch s d t th th n b p ph f ph f m y r w s x h mw ref gt a data mw group upper alpha after content counter mw Ref upper alpha mw ref gt a data mw group upper roman after content counter mw Ref upper roman mw ref gt a data mw group lower alpha after content counter mw Ref lower alpha mw ref gt a data mw group lower roman after content counter mw Ref lower roman mw ref gt a data mw group thai after content counter mw Ref custom group label thai mw ref gt a data mw group decimal after content counter mw Ref decimal mw ref gt a data mw group lower greek after content counter mw Ref lower greek table wikitable table prettytable margin 1 em 1 em 1 em 0 background f9f9f9 border 1 px aaaaaa solid border collapse collapse table wikitable th table wikitable td table prettytable th table prettytable td border 1 px aaaaaa solid padding 0 2 em table wikitable th table prettytable th background f2f2f2 text align center table wikitable caption table prettytable caption margin left inherit margin right inherit Styling for citations span citation cite font style normal word wrap break word Styling for citations CSS3 Breaks long urls etc rather than overflowing box citation word wrap break word Default style for navigation boxes navbox Navbox container style box sizing border box border 1 px solid a2a9b1 width 100 clear both font size 88 text align center padding 1 px margin 1 em auto 0 Prevent preceding content from clinging to navboxes navbox navbox margin top 0 No top margin for nested navboxes navbox navbox margin top 1 px Single pixel border between adjacent navboxes navbox inner navbox subgroup width 100 navbox group navbox title navbox abovebelow padding 0 25 em 1 em Title group and above below styles line height 1 5 em text align center th navbox group Group style white space nowrap noflip text align right navbox navbox subgroup background color fdfdfd Background color navbox list line height 1 5 em border color fdfdfd Must match background color cell spacing for navbox cells tr tr gt navbox abovebelow tr tr gt navbox group tr tr gt navbox image tr tr gt navbox list Borders above 2nd 3rd etc rows border top 2 px solid fdfdfd Must match background color navbox th navbox title background color ccccff Level 1 color navbox abovebelow th navbox group navbox subgroup navbox title background color ddddff Level 2 color navbox subgroup navbox group navbox subgroup navbox abovebelow background color e6e6ff Level 3 color navbox even background color f7f7f7 Even row striping navbox odd background color transparent Odd row striping 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 125 em 0 Adjust hlist padding in navboxes Default styling for Navbar template navbar display inline font size 88 font weight normal navbar ul display inline white space nowrap navbar li word spacing 0 125 em navbar mini li span font variant small caps Navbar styling when nested in infobox and navbox infobox navbar font size 100 navbox navbar display block font size 100 navbox title navbar noflip float left noflip text align left noflip margin right 0 5 em width 6 em show hide buttons created dynamically by the CollapsibleTables javascript in MediaWiki Common js are styled here so they can be customised collapseButton noflip float right font weight normal noflip margin left 0 5 em noflip text align right width auto In navboxes the show hide button balances the v d e links from Template Navbar so they need to be the same width navbox collapseButton width 6 em Styling for JQuery makeCollapsible matching that of collapseButton mw parser output mw collapsible toggle font weight normal noflip text align right navbox mw collapsible toggle width 6 em Style for notices notice margin 1 em padding 0 2 em disambig border top 3 px double cccccc border bottom 3 px double cccccc spoiler border top 2px solid ddd border bottom 2px solid ddd Standard talk template style Talk Notice border 1 px solid C0C090 background color F8EABA margin bottom 3 px width 85 border spacing 3 px margin left auto margin right auto Make template background appear correctly on all browsers Talk Notice td 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 lt number gt 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 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 plainlinksneverexpand a external text after display none important plainlinksneverexpand a external autonumber after display none important Merge template style amboxtalk clear left text align left width 80 margin 0 auto padding 0 5 em border collapse collapse background FBFBFB border 1 px solid aaa border left 10 px solid 1e90ff mw body content messagebox border 1 px solid aaaaaa background color f9f9f9 width 85 margin 0 auto 1 em auto padding 2 em text align left messagebox merge border 1 px solid cf9fff background color f5edf5 text align center messagebox cleanup border 1 px solid 9f9fff background color efefff text align center messagebox standard talk border 1 px solid c0c090 background color f8eaba Infobox template style infobox border 1 px solid aaa background color f9f9f9 color black margin 0 5 em 0 0 5 em 1 em padding 0 2 em noflip float right noflip clear right text align left font size 88 line height 1 5 em infobox caption font size 125 font weight bold infobox td infobox th vertical align top infobox bordered border collapse collapse infobox bordered td infobox bordered th border 1 px solid aaa infobox bordered borderless td infobox bordered borderless th border 0 infobox sisterproject width 20 em font size 90 infobox standard talk border 1 px solid c0c090 background color f8eaba infobox standard talk bordered td infobox standard talk bordered th border 1 px solid c0c090 styles for bordered infobox with merged rows infobox bordered mergedtoprow td infobox bordered mergedtoprow th border 0 border top 1 px solid aaa border right 1 px solid aaa infobox bordered mergedrow td infobox bordered mergedrow th border 0 border right 1 px solid aaa Styles for geography infoboxes eg countries country subdivisions cities etc infobox geography noflip text align left border collapse collapse line height 1 2 em font size 90 infobox geography td infobox geography th border top 1 px solid aaa padding 0 4 em 0 6 em 0 4 em 0 6 em infobox geography mergedtoprow td infobox geography mergedtoprow th border top 1 px solid aaa padding 0 4 em 0 6 em 0 2 em 0 6 em infobox geography mergedrow td infobox geography mergedrow th border 0 padding 0 0 6 em 0 2 em 0 6 em infobox geography mergedbottomrow td infobox geography mergedbottomrow th border top 0 border bottom 1 px solid aaa padding 0 0 6 em 0 4 em 0 6 em infobox geography maptable td infobox geography maptable th border 0 padding 0 Normal font styling for wikitable row headers with scope row tag wikitable plainrowheaders th scope row font weight normal noflip text align left Lists in wikitable data cells are always left aligned wikitable td ul wikitable td ol wikitable td dl noflip text align left unless they also use the hlist class toc hlist ul toc hlist ul wikitable hlist td ul wikitable hlist td ol wikitable hlist td dl text align inherit wpSave font weight bold hiddenStructure from Monobook allows selective hiding of markup in templates hiddenStructure display none CSS for testing a new Main Page design see Wikipedia WikiProject Usability Main Page ThWpMainPage width 100 margin top 1 em ThWpMainPage h2 font size 130 font weight bold margin 0 padding 0 border 0 ThWpMpMargin margin right 13 8 em ThWpMpCol1 float left clear left width 50 ThWpMpCol2 width 49 9 float left ThWpMpBrowse background f8fcff url https upload wikimedia org wikipedia en 9 9f MP three books png no repeat 180 9 border 1 px solid c7c7c7 ThWpMpBrowseCats li font size 85 margin left 1 em line height 1 5 ThWpMpBrowseCats h3 font size 120 margin 2 em 0 1 em 8 em padding 0 font weight normal ThWpMpBrowseCats h3 a font weight bold ThWpMpBook background image url https upload wikimedia org wikipedia en 7 7e MP open book png ThWpMpFeaturedPic text align center margin 0 0 5 em font size 85 font weight bold ThWpMpFeaturedPic h2 font size 145 text align left ThWpMpBrowseRight float right width 12 7 em ThWpMpBrowseBottom margin 1 em 0 ThWpMpBrowseBottom EnWpMpBrowseCats li EnWpMpBrowseBottom EnWpMpUsefulLinks EnWpMpBrowseBottom ThWpMpFeaturedPic float left width 24 margin 0 line height auto ThWpMpBrowseBottom EnWpMpBrowseCats h3 margin left 0 ThWpMpUsefulLinks clear left ThWpMpSearch background url https upload wikimedia org wikipedia en a ae MP magnifying glass png no repeat top right ThWpMpSearch input vertical align middle ThWpMpSearchInner float right width 20 em text align center bodySearchMP margin 0 padding 0 bodySearchMP bodySearchWrap float right width 17 5 em text align left padding 8 em 0 bodySearchMP label display block font size 95 font weight bold margin bottom 2 em bodySearchMP bodySearchIput opacity 85 filter alpha opacity 85 bodySearchMP bodySearchBtnGo font weight bold padding left 3 em padding right 3 em margin left 5 em ThWpMpContentBox border 1 px solid margin bottom 9 em ThWpMpCol2 EnWpMpContentBox margin left 9 em ThWpMpImage float right margin 0 0 2 em 2 em ThWpMpImage img position relative z index 3 ThWpMpSisterProjects float left width 49 ThWpMpSisterProject float left width 17 em margin 0 height 5 5 em margin 0 ThWpMpSisterImg float left width 40 px height 100 ThWpMpOtherLangs margin left 50 ThWpMainPageNoCSS display none Icons for medialist templates Template Listen Template Multi listen start Template Video Template Multi video start div listenlist background url https upload wikimedia org wikipedia commons thumb a a6 Gnome speakernotes png 30px Gnome speakernotes png padding left 40 px div videolist div multivideolist background url https upload wikimedia org wikipedia en thumb 2 20 Tango video x generic png 40px Tango video x generic png padding left 50 px div user block padding 5 px border 1 px solid A9A9A9 background color FFEFD5 Style rules for media list templates div medialist min height 50 px margin 1 em background position top left background repeat no repeat div medialist ul list style type none list style image none margin 0 div medialist ul li padding bottom 0 5 em div medialist ul li li font size 91 padding bottom 0 Coloured watchlist numbers mw plusminus pos color darkgreen mw plusminus neg color darkred Persondata and other future metadata table InChI temporary table persondata border 1 px solid aaa display none speak none InChI label temporary persondata label color aaa ephimkhwamekhmkhxngesnkrxbrup Change the external link icon to an Adobe icon for all PDF files in browsers that support these CSS selectors like Mozilla and Opera bodyContent a href pdf external bodyContent a href pdf external bodyContent a href pdf external bodyContent a href PDF external bodyContent a href PDF external bodyContent a href PDF external mw content a href pdf external mw content a href pdf external mw content a href pdf external mw content a href PDF external mw content a href PDF external mw content a href PDF external background url https upload wikimedia org wikipedia commons thumb 2 23 Icons mini file acrobat gif 15px Icons mini file acrobat gif center right no repeat padding right 16 px Change the external link icon to an Adobe icon anywhere the PDFlink class is used notably Template PDFlink This works in IE unlike the above span PDFlink a background url https upload wikimedia org wikipedia commons thumb 2 23 Icons mini file acrobat gif 15px Icons mini file acrobat gif center right no repeat important padding right 17 px important span geolink a background url https upload wikimedia org wikipedia en a a7 Monobook globe png center right no repeat important padding right 11 px important raykaraesdngepnblxk wikiblocklist ul margin 0 padding 0 wikiblocklist li list style none border bottom e2eef2 solid 1 px padding 0 5 px wikiblocklist a color 000 display block wikiblocklist li hover background e2eef2 erimaemaebb Metabox mbButton background color d0b0ff 4 border 0 15 em solid 000000 border color f0d0ff b090e0 9070c0 f0d0ff 5 3 3 5 border radius topleft 5 em border radius topright 5 em moz border radius 5 em 5 em 0 em 0 em cursor pointer display inline margin right 0 1 em padding 0 2 em 0 3 em 0 2 em 0 3 em position relative mbButton a mbButton strong background none important color 7050a0 important 1 font size 90 font weight bold padding 0 important text decoration none important mbButton a hover mbButton strong hover color black important text decoration underline important mbButtonSel background color 9070c0 2 border 0 15 em solid 000000 border color b090e0 7050a0 9070c0 b090e0 3 1 2 3 border radius topleft 5 em border radius topright 5 em moz border radius 5 em 5 em 0 em 0 em cursor default display inline margin right 0 1 em padding 0 2 em 0 3 em 0 2 em 0 3 em position relative color white mbButtonSela background none important color white important cursor default font size 90 font weight bold padding 0 important text decoration none important mbContent background color f8f8ff border 0 2 em solid 9070c0 2 border color 9070c0 7050a0 7050a0 9070c0 2 1 1 2 moz border radius 0 em 5 em 5 em 0 em border radius topright 5 em border radius bottomright 5 em padding 1 em position static Si hi posem relative falla amb MSIE mbTab background color f8f8ff border color 7050a0 b090e0 b090e0 7050a0 1 3 3 1 width 100 sngthangansiekhiyw 1 60b030 2 75c045 3 90d060 4 a5e085 5 c0f090 mbGreen mbButton background color a5e085 4 border color c0f090 90d060 75c045 c0f090 5 3 2 5 mbGreen mbButton a mbGreen mbButton strong color 60b030 important 1 font size 90 mbGreen mbButton a hover mbGreen mbButton strong hover color black important text decoration underline mbGreen mbButtonSel background color 75c045 2 border color 90d060 60b030 75c045 90d060 3 1 2 3 mbGreen mbContent background color f5fffa border color 75c045 60b030 60b030 75c045 2 1 1 2 mbGreen mbTab background color f5fffa border color 60b030 90d060 90d060 60b030 1 3 3 1 sngthangansiaedng 1 CC0000 2 FF0000 3 FF8888 4 FFAAAA 5 FFCCCC mbRed mbButton background color FFAAAA 4 border color FFCCCC FF8888 FF0000 FFCCCC 5 3 2 5 mbRed mbButton a mbRed mbButton strong color CC0000 important 1 font size 90 mbRed mbButton a hover mbRed mbButton strong hover color black important text decoration underline mbRed mbButtonSel background color FF0000 2 border color FF8888 CC0000 FF0000 FF8888 3 1 2 3 mbRed mbContent background color fffafa border color FF0000 CC0000 CC0000 FF0000 2 1 1 2 mbRed mbTab background color fffafa border color CC0000 FF0000 FF0000 CC0000 1 3 3 1 sngthangansifa 1 3379de 2 5b8dd6 3 88abde 4 a7c1e6 5 c8d6e9 mbBlue mbButton background color a7c1e6 4 border color c8d6e9 88abde 5b8dd6 c8d6e9 5 3 2 5 mbBlue mbButton a mbBlue mbButton strong color 3379de important 1 font size 90 mbBlue mbButton a hover mbBlue mbButton strong hover color black important text decoration underline mbBlue mbButtonSel background color 5b8dd6 2 border color 88abde 3379de 5b8dd6 88abde 3 1 2 3 mbBlue mbContent background color f0f8ff border color 5b8dd6 3379de 3379de 5b8dd6 2 1 1 2 mbBlue mbTab background color f0f8ff border color 3379de 88abde 88abde 3379de 1 3 3 1 sngthangansiehluxng 1 ffd813 2 ffe147 3 ffe977 4 fff1a4 5 fef4bc mbYellow mbButton background color fff1a4 4 border color fef4bc ffe977 ffe147 fef4bc 5 3 2 5 mbYellow mbButton a mbYellow mbButton strong color ffd813 important 1 font size 90 mbYellow mbButton a hover mbYellow mbButton strong hover color black important text decoration underline mbYellow mbButtonSel background color ffe147 2 border color ffe977 ffd813 ffe147 ffe977 3 1 2 3 mbYellow mbContent background color fffce8 border color ffe147 ffd813 ffd813 ffe147 2 1 1 2 mbYellow mbTab background color fffce8 border color ffd813 88abde 88abde ffd813 1 3 3 1 sngthangansism 1 ff820e 2 ff9d42 3 ffac5d 4 ffbd7f 5 ffd0a4 6 ffeedd mbOrange mbButton background color ffbd7f 4 border color ffd0a4 ffac5d ff9d42 ffd0a4 5 3 2 5 mbOrange mbButton a mbOrange mbButton strong color ff820e important 1 font size 90 mbOrange mbButton a hover mbOrange mbButton strong hover color black important text decoration underline mbOrange mbButtonSel background color ff9d42 2 border color ffac5d ff820e ff9d42 ffac5d 3 1 2 3 mbOrange mbContent background color ffeedd 6 border color ff9d42 ff820e ff820e ff9d42 2 1 1 2 mbOrange mbTab background color ffeedd 6 border color ff820e ffac5d ffac5d ff820e 1 3 3 1 cbkarichsitang sahrbaemaebb Metabox Cell sizes for ambox tmbox imbox cmbox ombox fmbox dmbox message boxes th mbox text td mbox text The message body cell s border none padding 0 25 em 0 9 em 0 9em left right width 100 Make all mboxes the same width regardless of text length td mbox image The left image cell border none padding 2 px 0 2 px 0 9 em 0 9em left 0px right text align center td mbox imageright The right image cell border none padding 2 px 0 9 em 2 px 0 0px left 0 9em right text align center Article message box styles table ambox margin 0 px 10 10 Will not overlap with other elements border 1 px solid aaa border left 10 px solid 1e90ff Default notice blue background fbfbfb table ambox table ambox Single border between stacked boxes margin top 1 px ambox th mbox text ambox td mbox text The message body cell s padding 0 25 em 0 5 em 0 5em left right ambox td mbox image The left image cell padding 2 px 0 2 px 0 5 em 0 5em left 0px right ambox td mbox imageright The right image cell padding 2 px 0 5 em 2 px 0 0px left 0 5em right table ambox notice border left 10 px solid 1e90ff Blue table ambox speedy border left 10 px solid b22222 Red background fee Pink table ambox delete border left 10 px solid b22222 Red table ambox content border left 10 px solid f28500 Orange table ambox style border left 10 px solid f4c430 Yellow table ambox move border left 10 px solid 9932cc Purple table ambox protection border left 10 px solid bba Gray gold Image message box styles table imbox margin 4 px 10 border collapse collapse border 3 px solid 1e90ff Default notice blue background fbfbfb imbox mbox text imbox For imboxes inside imbox text cells margin 0 0 5 em 0 9 0 5 0 4em left right mbox inside imbox For imboxes inside other templates margin 4 px table imbox notice border 3 px solid 1e90ff Blue table imbox speedy border 3 px solid b22222 Red background fee Pink table imbox delete border 3 px solid b22222 Red table imbox content border 3 px solid f28500 Orange table imbox style border 3 px solid f4c430 Yellow table imbox move border 3 px solid 9932cc Purple table imbox protection border 3 px solid bba Gray gold table imbox license border 3 px solid 88a Dark gray background f7f8ff Light gray table imbox featured border 3 px solid cba135 Brown gold Category message box styles table cmbox margin 3 px 10 border collapse collapse border 1 px solid aaa background DFE8FF Default notice blue table cmbox notice background D8E8FF Blue table cmbox speedy margin top 4 px margin bottom 4 px border 4 px solid b22222 Red background FFDBDB Pink table cmbox delete background FFDBDB Red table cmbox content background FFE7CE Orange table cmbox style background FFF9DB Yellow table cmbox move background E4D8FF Purple table cmbox protection background EFEFE1 Gray gold Other pages message box styles table ombox margin 4 px 10 border collapse collapse border 1 px solid aaa Default notice gray background f9f9f9 table ombox notice border 1 px solid aaa Gray table ombox speedy border 2 px solid b22222 Red background fee Pink table ombox delete border 2 px solid b22222 Red table ombox content border 1 px solid f28500 Orange table ombox style border 1 px solid f4c430 Yellow table ombox move border 1 px solid 9932cc Purple table ombox protection border 2 px solid bba Gray gold Talk page message box styles table tmbox margin 4 px 10 border collapse collapse border 1 px solid c0c090 Default notice gray brown background f8eaba mediawiki mbox inside tmbox For tmboxes inside other templates The mediawiki margin 2 px 0 class ensures that this declaration overrides other width 100 For Safari and Opera styles including mbox small above mbox inside tmbox mbox small small tmboxes should not be small when line height 1 5 em also nested so reset styles that are font size 100 set in mbox small above table tmbox speedy border 2 px solid b22222 Red background fee Pink table tmbox delete border 2 px solid b22222 Red table tmbox content border 2 px solid f28500 Orange table tmbox style border 2 px solid f4c430 Yellow table tmbox move border 2 px solid 9932cc Purple table tmbox protection table tmbox notice border 1 px solid c0c090 Gray brown Disambig and set index box styles table dmbox clear both margin 0 9 em 1 em border top 1 px solid ccc border bottom 1 px solid ccc background transparent Footer and header message box styles table fmbox clear both margin 0 2 em 0 width 100 border 1 px solid aaa background f9f9f9 Default system gray table fmbox system background f9f9f9 table fmbox warning border 1 px solid bb7070 Dark pink background ffdbdb Pink table fmbox editnotice background transparent For template documentation template documentation clear both margin 1 em 0 0 0 border 1 px solid aaa background color ecfcf4 padding 1 em thumbinner min width 100 px Fix so lt tt gt lt code gt and lt pre gt tags get normal text size also in some versions of Firefox Safari Konqueror Chrome etc tt code pre font family monospace sans serif Fix so lt syntaxhighlight gt tags and css and js pages get normal text size Bugzilla 26204 See also Wikipedia Typography The monospace bug div mw geshi div div mw geshi div pre span mw geshi pre source css pre source javascript pre source lua font family monospace Courier important End fix lt syntaxhighlight gt No linewrap on the labels of the login signup page body page Special UserLogin mw label label body page Special UserLogin signup mw label label white space nowrap Makes redirects appear in italics on Special Allpages allpagesredirect font style italic Removes underlines from links nounderlines a text decoration none Remove underline from IPA links IPA a link IPA a visited text decoration none Allow limiting of which header levels are shown in a TOC lt div class toclimit 3 gt for instance will limit to showing headings and headings but no further as long as there are no headings on the page which there shouldn t be according to the MoS toclimit 2 toclevel 1 ul toclimit 3 toclevel 2 ul toclimit 4 toclevel 3 ul toclimit 5 toclevel 4 ul toclimit 6 toclevel 5 ul toclimit 7 toclevel 6 ul display none Prevents line breaks in 1 Where desired 2 Links when we don t want them to 3 Bold links to the page itself 4 HTML formulae 5 Ref tags with group names lt ref group Note gt gt Note 1 nowrap nowraplinks a nowraplinks selflink span texhtml sup reference a white space nowrap DIVERS globegris background url https upload wikimedia org wikipedia commons 1 10 Wikipedia logo v2 200px transparent png from fr wikipedia org Remove default styles for MediaWiki Noarticletext div noarticletext border none background transparent padding 0 Prevent floating boxes from overlapping any category listings file histories edit previews and edit Show changes views mw subcategories mw pages mw category media filehistory wikiPreview wikiDiff clear both Special characters list below edit window works better without underlining editpage specialchars a text decoration none editpage specialchars a hover text decoration underline Hide charinsert base for those not using the gadget editpage specialchars display none Put a checker background at the image description page only visible if the image has transparent background file img background url https upload wikimedia org wikipedia commons 5 5d Checker 16x16 png repeat These mbox small classes must be placed after all other ambox tmbox ombox etc classes body mediawiki is so they override table ambox table ambox above body mediawiki table mbox small For the small yes option noflip clear right noflip float right noflip margin 4 px 0 4 px 1 em width 238 px font size 88 line height 1 25 em body mediawiki table mbox small left For the small left option margin 4 px 1 em 4 px 0 width 238 px border collapse collapse font size 88 line height 1 25 em Styling for Abuse Filter tags mw tag markers font style italic font size 90 Reduce line height for lt sup gt and lt sub gt sup sub line height 1 em A request by octahedron80 19 13 7 thnwakhm 2554 ICT mw content ltr dd mw content rtl mw content ltr dd margin left 2 5 em mw content ltr ul mw content rtl mw content ltr ul margin left 2 5 em mw content ltr ol mw content rtl mw content ltr ol margin left 2 5 em Style for horizontal lists separator following item source mediawiki org wiki Snippets Horizontal lists revision 8 2016 05 21 author User Edokter hlist dl hlist ol hlist ul margin 0 padding 0 Display list items inline hlist dd hlist dt hlist li margin 0 display inline Display nested lists inline hlist inline hlist inline dl hlist inline ol hlist inline ul hlist dl dl hlist dl ol hlist dl ul hlist ol dl hlist ol ol hlist ol ul hlist ul dl hlist ul ol hlist ul ul display inline Hide empty list items hlist mw empty li display none Generate interpuncts hlist dt after content hlist dd after hlist li after content font weight bold hlist dd last child after hlist dt last child after hlist li last child after content none Add parentheses around nested lists hlist dd dd first child before hlist dd dt first child before hlist dd li first child before hlist dt dd first child before hlist dt dt first child before hlist dt li first child before hlist li dd first child before hlist li dt first child before hlist li li first child before content font weight normal hlist dd dd last child after hlist dd dt last child after hlist dd li last child after hlist dt dd last child after hlist dt dt last child after hlist dt li last child after hlist li dd last child after hlist li dt last child after hlist li li last child after content font weight normal Put ordinals in front of ordered list items hlist ol counter reset listitem hlist ol gt li counter increment listitem hlist ol gt li before content counter listitem a0 hlist dd ol gt li first child before hlist dt ol gt li first child before hlist li ol gt li first child before content counter listitem a0 Unbulleted lists plainlist ol plainlist ul line height inherit list style none none margin 0 plainlist ol li plainlist ul li margin bottom 0 Hatnotes and disambiguation notices rellink dablink hatnote font style italic noflip padding left 2 5 em margin bottom 0 5 em rellink i dablink i hatnote i font style normal Hide stuff meant for accounts with special permissions Made visible again in MediaWiki Group sysop css MediaWiki Group patroller css MediaWiki Group templateeditor css MediaWiki Group extendedmover css and Mediawiki Group autoconfirmed css sysop show templateeditor show extendedmover show patroller show autoconfirmed show user show display none Gallery styles background changes are restricted to screen view In printing we should avoid applying backgrounds media screen The backgrounds for galleries content gallerybox div thumb Light gray padding background color f8f9fa Put a chequered background behind images only visible if they have transparency filehistory a img and file img hover are handled by MediaWiki core as of 1 19 gallerybox thumb img background fff url https upload wikimedia org wikipedia commons 5 5d Checker 16x16 png repeat But not on articles user pages portals or with opt out ns 0 gallerybox thumb img ns 2 gallerybox thumb img ns 100 gallerybox thumb img nochecker gallerybox thumb img background fff T178626 contentSub empty contentSub2 empty display block important contentSub empty jump to nav contentSub2 empty jump to nav margin top 1 4 em important margin bottom 1 4 em important aesdngixkhxn GA sahrblingkkhamphasa dukarxphipraythi https th wikipedia org wiki wikiphiediy sphakaaef xphipray ixkhxnaesdng FA GA inphasaxun li badge goodarticle list style image url https upload wikimedia org wikipedia commons 4 4a Monobook bullet plus png aekikhpyhaaesdngphlcak miediywiki Sitenotice imphxdikbhna khaaenanacak phuich Nullzero mw dismissable notice mw dismissable notice body margin left 0 margin right 0 lt source gt