Khác biệt giữa bản sửa đổi của “MediaWiki:Common.css”

Từ điển mở Wiktionary
Nội dung được xóa Nội dung được thêm vào
Maintenance: mw:RL/MGU / mw:RL/JD - skins-1.5 is deprecated
Thu nhỏ các giọng thiểu số trong bảng phiên âm tiếng Việt
Dòng 1.263: Dòng 1.263:
ol ol ol, ol ol:lang(vi) ol {
ol ol ol, ol ol:lang(vi) ol {
list-style-type: lower-roman;
list-style-type: lower-roman;
}

/* Thu nhỏ các giọng thiểu số trong bảng phiên âm tiếng Việt */
.wiktvi-vie-pron-v, .wiktvi-vie-pron-v-th,
.wiktvi-vie-pron-tc, .wiktvi-vie-pron-tc-th,
.wiktvi-vie-pron-ht, .wiktvi-vie-pron-ht-th {
font-size: 80%;
}
}



Phiên bản lúc 21:34, ngày 14 tháng 4 năm 2020

@charset "utf-8";
/* CSS dùng chung cho các ngoại hình */

/* Lớp wikitable/prettytable để trang trí bảng trường */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0px;
  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;
}

/* Dành cho tài liệu bản mẫu */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa; 
background-color: #ecfcf4; 
padding: 5px;
}

.thumbinner {
min-width: 100px;
}

/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
    overflow-x: hidden;
    margin-left: 0em;
    padding-left: 1.6em;
}
.flowlist ol {
    overflow-x: hidden;
    margin-left: 0em;
    padding-left: 3.2em;
}
.flowlist dl {
    overflow-x: hidden;
}

/* 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 .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
    white-space: nowrap;
}
/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrap dd,
.hlist.hwrap dt,
.hlist.hwrap li {
    white-space: normal;
}
/* Display nested lists inline and allow them to wrap */
.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;
    white-space: normal;
}
/* 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;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-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;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put numbers in front of ordered list items */
.hlist.hnum ol {
    counter-reset: list-item;
}
.hlist.hnum ol > li {
    counter-increment: list-item;
}
.hlist.hnum ol > li:before {
    content: counter(list-item) " ";
}
.hlist.hnum dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}

/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}

/* 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-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: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    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 */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to 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;
}

/* Bật sáng lên đầu đề bảng mở/đóng khi rê chuột lên. */
table.collapsible tr th.collapsible-header, div.NavFrame div.NavHead {
	cursor: default;
	
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	
	-moz-transition: background-size 0.2s linear 0.1s;
    -webkit-transition: background-size 0.2s linear 0.1s;
    -o-transition: background-size 0.2s linear 0.1s;
    -ms-transition: background-size 0.2s linear 0.1s;
    transition: background-size 0.2s linear 0.1s;
    
    background-repeat: repeat-x !important;
    background-position: center !important;
    background-size: auto 200% !important;
    
	background-image: -moz-linear-gradient(top,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 80%,
      transparent 100%) !important; /* Gecko 1.9.2+ */
    background-image: -webkit-gradient(linear, left top, left bottom,
      from(rgba(255, 255, 255, 0.8)),
      color-stop(80%, rgba(255, 255, 255, 0)),
      to(transparent)) !important; /* Chrome, Safari 4+ */
    background-image: -webkit-linear-gradient(top,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 80%,
      transparent 100%) !important; /* Chrome 10+, Safari 5.1+ */
    background-image: -o-linear-gradient(top,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 80%,
      transparent 100%) !important; /* Presto 2.8+ */
    background-image: -icab-linear-gradient(top,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 80%,
      transparent 100%) !important; /* iCab? */
    background-image: -khtml-linear-gradient(linear, left top, left bottom,
      from(rgba(255, 255, 255, 0.8)),
      color-stop(rgba(255, 255, 255, 0)),
      to(transparent)) !important; /* KHTML? */
    background-image: -ms-linear-gradient(top,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 80%,
      transparent 100%) !important; /* Trident 6.0+ */
    background-image: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 80%,
      transparent 100%) !important; /* CSS 3 */
}
table.collapsible tr th.collapsible-header:hover, div.NavFrame div.NavHead:hover {
    background-size: auto 100% !important;
    
	-moz-transition: background-size 0.1s linear;
    -webkit-transition: background-size 0.1s linear;
    -o-transition: background-size 0.1s linear;
    -ms-transition: background-size 0.1s linear;
    transition: background-size 0.1s linear;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
    font-weight: normal;
    /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}

/* Bảng điều khiển chuẩn, lấy từ .de, để dấu các thông tin trong hộp
   Chi tiết tại [[:en: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%;
}

/* Kiểu cách cho các "hộp thông báo" */
.notice {
    clear: both;
    text-align: justify;
    margin: 1em 0.5em;
    padding: 0.5em;
}

.meta-notice {
    border-top: 3px double #cccccc;
    border-bottom: 3px double #cccccc;
}

.meta-notice-icon {
    background: url('/favicon.ico') center left no-repeat;
    padding-left: 24px;
}

#disambig {
    background: url('//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Disambig.svg/32px-Disambig.svg.png') center left no-repeat;
    background-size: 32px auto;
    padding-left: 40px;
}

#stub, #substub, #dich {
    background: url('//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Baustelle.svg/32px-Baustelle.svg.png') center left no-repeat;
    background-size: 32px auto;
    padding-left: 40px;
}

#pd {
    background: url('//upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/32px-PD-icon.svg.png') center left no-repeat;
    background-size: 32px auto;
    padding-left: 40px;
}

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

/* Đoạn âm thanh có cách phát âm */
.audiolink a{
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/12px-Loudspeaker.svg.png") center left no-repeat !important;
    background-size: 12px auto !important;
    padding-left: 16px !important;
    padding-right: 0 !important;
}

.k-player .k-options {
    letter-spacing: -0.05em;
    text-transform: none;
    white-space: nowrap;
}

/* Kiểu cách chuẩn cho các tiêu bản ở trang thảo luận */

.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

/* Viết các trang đổi hướng bằng chữ xiên ở </nowiki>[[Đặc biệt:Allpages]]<nowiki> */
.allpagesredirect {
    font-style: italic
}

/* Hiển thị nền tiêu bản đúng kiểu trong các trình duyệt */
.Talk-Notice td {
    background: inherit;
}

/* Kiểu cách cho các danh sách phương tiện [[Tiêu bản:Nghe]],
   [[Tiêu bản:Multi-listen start]], [[Tiêu bản:Video]], và
   [[Tiêu bản:Multi-video start]] */

div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Gnome-speakernotes.svg/30px-Gnome-speakernotes.svg.png");
    background-size: 30px auto;
    padding-left: 40px;
}

div.videolist, div.multivideolist {
	background: url("//upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Film_reel.svg/40px-Film_reel.svg.png");
    background-size: 40px auto;
    padding-left: 50px;
}

/* Kiểu cách cho các danh sách phương tiện */

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;
}

/*
  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.
  [[Thành viên:Krinkle|Krinkle]] ([[Thảo luận Thành viên:Krinkle|thảo luận]]) 02:14, ngày 19 tháng 11 năm 2016 (UTC)
*/

.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/w/skins/common/commonPrint.css) using the ":after" pseudo-
   element of CSS. We have to switch this off for links due to Template:Ref!
   [[Thành viên:Krinkle|Krinkle]] ([[Thảo luận Thành viên:Krinkle|thảo luận]]) 02:14, ngày 19 tháng 11 năm 2016 (UTC)
*/
.plainlinksneverexpand a.external.text:after,
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}

/* Kiểu cách cho tiêu bản hợp nhất */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 85%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
}
.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 {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   margin-bottom: 0.5em;
   margin-left: 1em; 
   padding: .2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.sisterproject {
   width: 22em;
}

/* Bộ lọc hình ảnh (thí dụ trên [[Trang Chính]] dùng bảng định kiểu
   cách */
*.filter-images img {
   display: none !important;
}
*.filter-images *.show-image img {
   display: block !important;
}

/* Bộ lọc liên kết bên ngoài (thí dụ trên [[Trang Chính]] dùng bảng định
   kiểu cách */
*.filter-links a.external, *.filter-links span.urlexpansion {
   display: none !important;
}
*.filter-links *.show-link a.external {
   display: inline !important;
}

/* Dấu cấu trúc đựng tham số không định */
.hiddenStructure {
   display: none;
   speak: none;
}

/* Dời đường vạch dưới liên kết */
.nounderlines a { 
  text-decoration: none;
}

/* [[Tiêu bản:Hình tượng]] */
*.icon-box {
        position: relative; overflow: hidden; z-index: 2;
}
*.icon-box *.icon-link {
        position: absolute; top: 0px; left: 0px; z-index: 3;
}
*.icon-box *.icon-link a, *.icon-box *.icon-link a:hover {
        text-decoration: none;
}
*.icon-box *.icon-link span {
        float: left; cursor: hand;
}

/* Chữ xiên trong văn bản in xiên */
i i, i em, i cite,
em i, em em , em cite,
cite i, cite em, cite cite {
    font-style: normal;
}

/* Màu nền trắng thay vì xám đằng sau hình khung có vùng trong suốt */
div.thumb img.thumbimage {
    background-color: #fff;
}
 
/* Nền album hình ảnh màu xám nhạt */
#content .gallerybox div.thumb {
    background-color: #F9F9F9;
}

/* Nền "bàn cờ" đằng sau những hình có vùng trong suốt vào các trang miêu tả hình */
.gallerybox .thumb img,
.filehistory a img,
#file img {
    background: white url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
    background-size: 16px auto;
}

/* Trừ trong bài viết, trang cá nhân, chủ đề, và các trang ngoại lệ */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img, 
.nochecker .gallerybox .thumb img {
    background: white;
}
 
/* Tránh trường hợp hộp nổi đè lên danh sách bài trong thể loại,
   lịch sử tập tin, và bản so sánh khi sửa đổi. */
#mw-subcategories, #mw-pages, #mw-category-media, 
#filehistory, #wikiPreview, #wikiDiff {
    clear: both;
}

/* default setting for {{temp|italbrac}} and {{temp|italbrac-colon}} */
.ib-brac, .ib-comma, .ib-colon { font-style: normal }
.ib-content { font-style: italic }

/* default setting for [[:Category:Inflection templates]] */
.infl-inline { display: inline }
.infl-table { display: none }

/* default setting for Template:seeCites */
.see-cites { font-style: italic }

/* default style for indented "see also" */
.disambig-see-also, .disambig-see-also-2 { text-indent: 2em }

/* Trang Chính */
#ViWiktSearch {
    background-image: url("//upload.wikimedia.org/wiktionary/vi/e/ef/H%C3%ACnh_n%E1%BB%81n_Trang_Ch%C3%ADnh.jpg");
}
div.portal-dir {
    margin-bottom: 1em;
}
div.portal-dir dt {
    color: #76797c;
    width: 30%; margin-left: 5%;
}
div.portal-dir dd {
    float: left; margin-left: 10em; margin-top: -1.5em; margin-bottom: 0.5em;
}

/* Dời các liên kết không cần khi in ra trang */
@media print {
    #privacy, #about, #disclaimer {
        display: none;
    }
}

/* Số chữ được thêm hay dời */
.mw-plusminus-pos {
    color: darkgreen;
}

.mw-plusminus-neg {
    color: darkred;
}

/* "Form of" templates */
span.use-with-mention {
    font-style: italic;
}

span.mention {
    font-weight: bold;
}

/* Khung chuyển hướng */

div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaaaaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #ffffff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        font-size: 100%;
        background-color: #efefef;
        /* position:relative; */
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}

/* Tin tức mới */
li.new {
   list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/be/Fairytale_bookmark.png/14px-Fairytale_bookmark.png");
}
/* Kiểu cho các khung thông báo cấm thành viên */
div.user-block {
padding: 5px;
border: 1px solid #A9A9A9;
background-color: #FFEFD5;
}
 
/* Kích thước khung cho các hộp thông báo ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox */
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, 0 right */
    text-align: center; 
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;    /* 0 left, 0.9em right */
    text-align: center; 
}
td.mbox-empty-cell {         /* An empty narrow cell */
    border: none;
    padding: 0;
    width: 1px;
}

/* Quy định kiểu dáng cho các bản mẫu thông báo */
table.ambox {
    margin: 0 10%;
    border-collapse: collapse;
    background-color: #fbfbfb;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    font-size: 95%;
}
 
table.ambox th.ambox-text, table.ambox td.ambox-text {
    padding: 0.25em 0.5em; /* 0.5em left/right */
    width: 100%; /* Để các bản mẫu cùng kích thước */
}
table.ambox td.ambox-image {
    padding: 2px 0 2px 0.5em; /* 0.5em left, 0 right */
    text-align: center;
}
table.ambox td.ambox-imageright {
    padding: 2px 0.5em 2px 0;  /* 0 left, 0.5em right */
    text-align: center;
}

table.ambox-notice {border-top: 5px solid #608EC2}  /* Xanh lam */
table.ambox-protection {border-top: 5px solid #bba} /* Xám */
table.ambox-delete,
table.ambox-serious {border-top: 5px solid #b22222} /* Đỏ */
table.ambox-content {border-top: 5px solid #f28500} /* Cam */
table.ambox-style {border-top: 5px solid #f4c430}   /* Vàng*/
table.ambox-move,
table.ambox-merge {border-top: 5px solid #8c08a4}   /* Tím */
table.ambox-growth {border-top: 5px solid #47a30d}  /* Xanh lục */
table.ambox-license {border-top: 5px solid #88a;    /* Xám đậm */ background: #f7f8ff;   /* Xám nhạt */ }
table.ambox-featured {border-top: 5px solid #cba135}   /* Brown-gold */
    
table.ambox.ambox-mini {
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}

/* Kiểu cho hộp thông báo tại thể loại */
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 */
}

/* Kiểu cho họp thông báo ở các trang khác */
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 */
}
 
/* Kiểu cho hộp thông báo ở trang thảo luận */
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 */
}

/* Kiểu cho hộp định hướng và hộp chỉ số nhóm */
table.dmbox {
    clear: both; 
    margin: 0.9em 1em; 
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    background: transparent;
}
 
/* Kiểu cho hộp thông báo ở đầu và cuối trang */
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;
}
/* Thẻ div dựa trên các thông báo fmbox kiểu "cảnh báo". */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Thẻ div dựa trên các thông báo fmbox kiểu "hệ thống". Dùng trong
   [[MediaWiki:Noarticletext]] và [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.noarticletext,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}

/* Các lớp mbox-small này phải được đặt sau tất cả các lớp
   ambox/tmbox/ombox,v.v khác. "body.mediawiki" là để chúng
   đè lên "table.ambox + table.ambox" phía trên. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    clear: right;
    float: right;
    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;
}

/* Ẩn các số đoạn phụ trong mục lục */
.ns-0 .toclevel-2 span.tocnumber,
.ns-0 .toclevel-3 span.tocnumber,
.ns-0 .toclevel-4 span.tocnumber,
.ns-0 .toclevel-5 span.tocnumber { display: none; }

/* Gấp lại mục lục */
.ns-0 #toc a { white-space: nowrap; }
.ns-0 #toc > tr > td > ul { display: table; }
.ns-0 #toc li.toclevel-1 { display: table-row; }
.ns-0 #toc li.toclevel-1 > ul { display: table-cell; padding-left: 2em; }
.ns-0 #toc li.toclevel-2 { display: inline; }
.ns-0 #toc li.toclevel-2:first-child:before { content: none; }
.ns-0 #toc li.toclevel-2:before { content: "• "; }
.ns-0 #toc li.toclevel-2 ul { display: none; }

/* Đẩy đề mục cấp 2 duới các hình/hộp bên trái/phải */
.ns-0 h2 { clear: both; }

/* Danh sách nội dòng */
.wiktvi-inline-list { display: inline; list-style: none; margin: 0; }
.wiktvi-inline-list li { display: inline; margin-left: 0.5em; margin-right: 0.5em; }

/* Lệ thường của từ điển */
.gender-gloss { font-style: italic; }

/* Khắc phục lỗi [[MediaZilla:31647]] */
.ns-0 .editsection { display: none; }
.ns-0 .editsection.sectionized { display: block; }

/* Thống nhất chiều dài của các dấu tab trong đoạn mã. */
.mw-highlight > pre,
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua {
    -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;
}

/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
   [[Bugzilla:26204]]. See also [[w:en: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;
}

/* Cuộn trái/phải các đoạn mã giữ nguyên khoảng cách */
@media screen {
   pre { overflow: auto; }
}

/* Ẩn các liên kết sửa đoạn trang vì các liên kết này sửa bản mẫu thay thế. */
body.ns-0 .mw-editsection {
    display: none;
}

/* Cây từ nguyên [[Bản mẫu:etym]] */
/* Giống như http://thecodeplayer.com/walkthrough/css3-family-tree và
   http://codepen.io/P233/pen/Kzbsi mà có khả năng chứa nhiều thông tin hơn. */
.etymology {
  overflow-x: scroll;
  border: 1px solid #aaa;
  background: #f6f6f6;
  padding: 0.5em;
}

.etymology ul {
  position: relative;
  margin: 0;
}

.etymology ul ul::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  border-left: 1px solid #aaa;
  right: 50%;
  height: 2em;
}

.etymology li {
  display: table-cell;
  position: relative;
  list-style: none;
  padding: 0 0.5em;
  text-align: center;
}

.etymology li > span {
  display: block;
  position: relative;
  border: 1px solid #aaa;
  background: white;
  margin: auto;
  margin-top: 4em;
  width: 10em;
  padding: 0.25em;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.etymology li > .relationship {
  border: none;
  background: rgba(246, 246, 246, 0.8);
  position: relative;
  z-index: 20;
  display: block;
  width: auto;
  margin-top: 0;
  top: 0.4em;
  margin-bottom: calc(-1.5em * 1/0.8);
  font-size: 80%;
  padding: 0;
}

.etymology li::before,
.etymology li:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  top: 2em;
  border: 1px none #aaa;
  border-top-style: solid;
  width: 50%;
  height: 2em;
}

.etymology li:first-child::before {
  border-top: none;
}

.etymology li::before {
  right: 50%;
  border-right-style: solid;
}

.etymology li::after {
  left: 50%;
  border-left-style: solid;
}

.etymology li:only-child::before,
.etymology li:only-child::after {
  display: none;
}

.etymology li:only-child > span:not(.relationship) {
  margin-top: 2em;
}

.etymology > .NavContent > ul > li:only-child > span:not(.relationship) {
  border: 3px solid #444;
  font-weight: bold;
  margin-top: 0;
}

.etymology > .NavContent > ul > li::before,
.etymology > .NavContent > ul > li::after {
  display: none;
}

.etymology .lang {
  font-size: 80%;
  border-bottom: none;
}

.etymology .glosses {
  display: block;
  font-size: 80%;
  border-top: 1px solid #eee;
}

/* Ẩn liên kết § cho những đề mục không bao giờ cần liên kết đến. */
.noarticletext .mw-headline-anchor,
.searchresults .mw-headline-anchor {
	display: none;
}

/* Đánh số các danh sách theo bảng chữ cái quốc ngữ. */
/*@counter-style upper-vietnamese {
	system: alphabetic;
	symbols: "A" "Ă" "Â" "B" "C" "D" "Đ" "E" "Ê" "G" "H" "I" "K" "L" "M" "N" "O" "Ô" "Ơ" "P" "Q" "R" "S" "T" "U" "Ư" "V" "X" "Y";
}*/
@counter-style lower-vietnamese {
	system: alphabetic;
	symbols: "a" "ă" "â" "b" "c" "d" "đ" "e" "ê" "g" "h" "i" "k" "l" "m" "n" "o" "ô" "ơ" "p" "q" "r" "s" "t" "u" "ư" "v" "x" "y";
}

/* Các danh sách được xếp lòng vào nhau */
ol ol {
	list-style-type: lower-alpha;
}
ol ol:lang(vi) {
	list-style-type: lower-vietnamese;
}
ol ol ol, ol ol:lang(vi) ol {
    list-style-type: lower-roman;
}

/* Thu nhỏ các giọng thiểu số trong bảng phiên âm tiếng Việt */
.wiktvi-vie-pron-v, .wiktvi-vie-pron-v-th,
.wiktvi-vie-pron-tc, .wiktvi-vie-pron-tc-th,
.wiktvi-vie-pron-ht, .wiktvi-vie-pron-ht-th {
	font-size: 80%;
}

@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
	/* [[MediaZilla:35337]] */
	#p-logo a {
		background-size: 128px auto;
	}
	
	#disambig {
		background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Disambig.svg/64px-Disambig.svg.png');
	}
	
	#stub, #substub, #dich {
    	background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Baustelle.svg/64px-Baustelle.svg.png');
	}
	
	#pd {
    	background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/64px-PD-icon.svg.png');
	}
	
	.audiolink a {
    	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/24px-Loudspeaker.svg.png") !important;
	}
	
	div.listenlist {
    	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Gnome-speakernotes.svg/60px-Gnome-speakernotes.svg.png");
	}
	
	div.videolist, div.multivideolist {
		background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Film_reel.svg/80px-Film_reel.svg.png");
	}
	
	/* Các thời biểu EasyTimeline không có bản độ phân giải cao. */
	img[src^="//upload.wikimedia.org/wiktionary/vi/timeline"] {
		image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;
		-ms-interpolation-mode: nearest-neighbor;
	}
}