恪別𡧲版𢯢𢷮𧵑「MediaWiki:Vector.css」
交面
Keepout2010 (討論 | 㨂𢵰) 造張𡤔𠇍內容「→Mã CSS đặt 於低𠱊影響𦤾成員使用形樣Vectơ: →此处的 CSS 将影响使用 Vector 皮肤的用户: body.ns-4.page-Wikipedia_首页 #deleteconf…」 |
Keepout2010 (討論 | 㨂𢵰) 空固縿略𢯢𢷮 |
||
| 𣳔1: | 𣳔1: | ||
/* | /* Giấu một số thông tin ra khỏi trang chính */ | ||
body.page-Trang_Chính #deleteconfirm, | |||
body.page-Trang_Chính #t-cite, | |||
body.page-Trang_Chính #footer-info-lastmod, | |||
body.page-Trang_Chính #siteSub, | |||
body.page-Trang_Chính h1.firstHeading { | |||
display: none !important; | |||
} | |||
body | body.page-Trang_Chính #mp-topbanner { | ||
margin-top: 0 !important; | |||
} | } | ||
/* Đặt tọa độ */ | |||
#coordinates { | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
float: right; | |||
margin: 0; | |||
padding: 0; | |||
line-height: 1.5em; | |||
text-align: right; | |||
text-indent: 0; | |||
font-size: 85%; | |||
text-transform: none; | |||
white-space: nowrap; | |||
} | } | ||
/* | /* Đặt các biểu tượng ở phía trên bên phải, dùng trong tiêu bản "Bài viết chọn lọc" */ | ||
.topicon { | |||
position: absolute; | |||
top: -2.3em; | |||
margin-right: -10px; | |||
display: block !important; | |||
} | } | ||
/* | /* Hiển thị "Bách khoa toàn thư mở Wikipedia" ở dưới tiêu đề */ | ||
# | #siteSub { | ||
display: inline; | |||
font-size: 92%; | |||
} | } | ||
.ns-0 #coordinates, | |||
.ns-1 #coordinates { | |||
top: 0em; | |||
} | } | ||
/* In xiên [[MediaWiki:Editpage-head-copy-warn]] */ | |||
.editpage-head-copywarn { | |||
font-style: italic; | |||
} | } | ||
. | .mw-editTools { | ||
margin-top: 2em; | |||
} | } | ||
/* Sửa các lỗi cho skin Vectơ */ | |||
/* Icon cho các bài chọn lọc, bài chất lượng tốt */ | |||
. | .GA { | ||
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/5/58/Monobook-bullet-star-ga.png); | |||
} | } | ||
.FA { | |||
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png); | |||
} | } | ||
/* | /** | ||
* Phân biệt những không gian tên không phải bài viết với màu xanh nõn chuối, giống nền màu vàng trong MonoBook | |||
/* | */ | ||
# | @media screen { | ||
# | |||
/* Khung viền của thân trang */ | |||
/* | body:not(.ns-0):not(.ns-100) #content { | ||
border-color: #A8E36B; | |||
} | |||
/* Đường kẻ phân chia các thẻ */ | |||
body:not(.ns-0):not(.ns-100) div.vectorTabs span, | |||
body:not(.ns-0):not(.ns-100) div.vectorTabs, | |||
body:not(.ns-0):not(.ns-100) div.vectorTabs ul, | |||
body:not(.ns-0):not(.ns-100) #mw-head div.vectorMenu h5, | |||
body:not(.ns-0):not(.ns-100) #mw-head div.vectorMenu h3, | |||
body:not(.ns-0):not(.ns-100) div.vectorMenu h5 a { | |||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FFF), color-stop(100%, #A8E36B)); | |||
background-image: -webkit-linear-gradient(top, #FFF 0%, #A8E36B 100%); | |||
background-image: -moz-linear-gradient(top, #FFF 0%, #A8E36B 100%); | |||
background-image: -ms-linear-gradient(top, #FFF 0%, #A8E36B 100%); | |||
background-image: -o-linear-gradient(top, #FFF 0%, #A8E36B 100%); | |||
background-image: linear-gradient(to bottom, #FFF 0%, #A8E36B 100%); | |||
-webkit-background-size: 1px 100%; | |||
-khtml-background-size: 1px 100%; | |||
-moz-background-size: 1px 100%; | |||
-o-background-size: 1px 100%; | |||
background-size: 1px 100%; | |||
} | |||
/* Nền thẻ */ | |||
body:not(.ns-0):not(.ns-100) div.vectorTabs ul li:not(.selected) { | |||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #A8E36B), color-stop(1px, #A8E36B), color-stop(1px, #E5F8DB), color-stop(100%, #FFF)); | |||
background-image: -webkit-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%); | |||
background-image: -moz-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%); | |||
background-image: -ms-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%); | |||
background-image: -o-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%); | |||
background-image: linear-gradient(to top, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%); | |||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF', endColorstr='#E5F8DB')"; | |||
} | |||
/* Nút Theo dõi / Ngừng theo dõi */ | |||
/* Các trình duyệt hỗ trợ chuyển màu cũng hỗ trợ SVG. */ | |||
body:not(.ns-0):not(.ns-100) #ca-unwatch.icon a:not(.loading) { | |||
/* [[Tập tin:Unwatch-icon lime.svg]] */ | |||
/* @embed */ | |||
background-image: -webkit-linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/d/d8/Unwatch-icon_lime.svg); | |||
background-image: linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/d/d8/Unwatch-icon_lime.svg); | |||
} | |||
body:not(.ns-0):not(.ns-100) #ca-watch.icon a:not(.loading):not(:hover):not(:focus) { | |||
/* [[Tập tin:Watch-icon lime.svg]] */ | |||
/* @embed */ | |||
background-image: -webkit-linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/1/1d/Watch-icon_lime.svg); | |||
background-image: linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/1/1d/Watch-icon_lime.svg); | |||
} | |||
body:not(.ns-0):not(.ns-100) #ca-unwatch.icon a:not(.loading):hover, | |||
body:not(.ns-0):not(.ns-100) #ca-unwatch.icon a:not(.loading):focus { | |||
/* [[Tập tin:Unwatch-icon-hl lime.svg]] */ | |||
/* @embed */ | |||
background-image: -webkit-linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/0/01/Unwatch-icon-hl_lime.svg); | |||
background-image: linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/0/01/Unwatch-icon-hl_lime.svg); | |||
} | |||
/* Hộp sửa đổi: Thanh công cụ sửa đổi */ | |||
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar { | |||
background-color: #E5F8DB; | |||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(33px, #E5F8DB)); | |||
background-image: -webkit-linear-gradient(top, #ffffff 0%, #E5F8DB 33px); | |||
background-image: -moz-linear-gradient(top, #ffffff 0%, #E5F8DB 33px); | |||
background-image: -ms-linear-gradient(top, #ffffff 0%, #E5F8DB 33px); | |||
background-image: -o-linear-gradient(top, #ffffff 0%, #E5F8DB 33px); | |||
background-image: linear-gradient(to bottom, #ffffff 0%, #E5F8DB 33px); | |||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF', endColorstr='#E5F8DB')"; | |||
} | |||
/* Hộp sửa đổi: Nền đằng sau hộp văn bản, nền chỉ mục các bảng, và khoản trong trình đơn Đề mục */ | |||
body:not(.ns-0):not(.ns-100) .wikiEditor-ui, | |||
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar .sections .section, | |||
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar .group .tool-select .options .option:hover { | |||
background-color: #E5F8DB; | |||
} | |||
/* Hộp sửa đổi: Ký tự trong bảng Ký tự đặc biệt */ | |||
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar .page-characters div span:hover { | |||
border-color: #A8E36B; | |||
} | |||
/* Trình soạn thảo trực quan: Thanh tiến triển */ | |||
body:not(.ns-0):not(.ns-100) .mw-viewPageTarget-loading { | |||
background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Loading-special.gif"); | |||
} | |||
} /* kết @media screen */ | |||
/* | /* Styling for updated markers on watchlist, history and recent/related changes */ | ||
.mw-changeslist-line-watched, | |||
.mw-history-line-updated { | |||
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/cd/ChangedBulletVector2.png); | |||
} | } | ||
.mw-body .mw-indicators { | |||
padding-top: 0.4em; | |||
} | } | ||
/* | /* Blue instead of yellow padlock for secure links. */ | ||
# | #bodyContent a.external[href ^="https://"], | ||
/ | .link-https { | ||
/* | background: url(//upload.wikimedia.org/wikipedia/commons/0/00/Lock_icon_blue.gif) center right no-repeat; | ||
/* @noflip */ | |||
padding-right: 16px; | |||
} | } | ||
/* Icon for e-mail. */ | |||
#bodyContent a.external[href ^="mailto:"], | |||
.link-https { | |||
background: url(//upload.wikimedia.org/wikipedia/commons/4/42/Icon_External_Link_E-Mail.png) center right no-repeat; | |||
/* @noflip */ | |||
padding-right: 16px; | |||
} | } | ||
/* Icon for FTP. */ | |||
#bodyContent a.external[href ^="ftp://"], | |||
.link-https { | |||
background: url(//upload.wikimedia.org/wikipedia/commons/8/8d/Icon_External_Link_FTP.png) center right no-repeat; | |||
/* @noflip */ | |||
padding-right: 16px; | |||
} | } | ||
. | /* Font chữ serif tiếng Việt cho tiêu đề h1, h2 */ | ||
.mw-body #firstHeading, | |||
.mw-body h1, | |||
.mw-body h2 { | |||
font-family: "Linux Libertine", "Palatino Linotype", "Times New Roman", serif; | |||
} | } | ||
番版𣅶21:09、𣈜25𣎃12𢆥2018
/* Giấu một số thông tin ra khỏi trang chính */
body.page-Trang_Chính #deleteconfirm,
body.page-Trang_Chính #t-cite,
body.page-Trang_Chính #footer-info-lastmod,
body.page-Trang_Chính #siteSub,
body.page-Trang_Chính h1.firstHeading {
display: none !important;
}
body.page-Trang_Chính #mp-topbanner {
margin-top: 0 !important;
}
/* Đặt tọa độ */
#coordinates {
position: absolute;
top: 0;
right: 0;
float: right;
margin: 0;
padding: 0;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* Đặt các biểu tượng ở phía trên bên phải, dùng trong tiêu bản "Bài viết chọn lọc" */
.topicon {
position: absolute;
top: -2.3em;
margin-right: -10px;
display: block !important;
}
/* Hiển thị "Bách khoa toàn thư mở Wikipedia" ở dưới tiêu đề */
#siteSub {
display: inline;
font-size: 92%;
}
.ns-0 #coordinates,
.ns-1 #coordinates {
top: 0em;
}
/* In xiên [[MediaWiki:Editpage-head-copy-warn]] */
.editpage-head-copywarn {
font-style: italic;
}
.mw-editTools {
margin-top: 2em;
}
/* Sửa các lỗi cho skin Vectơ */
/* Icon cho các bài chọn lọc, bài chất lượng tốt */
.GA {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/5/58/Monobook-bullet-star-ga.png);
}
.FA {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png);
}
/**
* Phân biệt những không gian tên không phải bài viết với màu xanh nõn chuối, giống nền màu vàng trong MonoBook
*/
@media screen {
/* Khung viền của thân trang */
body:not(.ns-0):not(.ns-100) #content {
border-color: #A8E36B;
}
/* Đường kẻ phân chia các thẻ */
body:not(.ns-0):not(.ns-100) div.vectorTabs span,
body:not(.ns-0):not(.ns-100) div.vectorTabs,
body:not(.ns-0):not(.ns-100) div.vectorTabs ul,
body:not(.ns-0):not(.ns-100) #mw-head div.vectorMenu h5,
body:not(.ns-0):not(.ns-100) #mw-head div.vectorMenu h3,
body:not(.ns-0):not(.ns-100) div.vectorMenu h5 a {
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FFF), color-stop(100%, #A8E36B));
background-image: -webkit-linear-gradient(top, #FFF 0%, #A8E36B 100%);
background-image: -moz-linear-gradient(top, #FFF 0%, #A8E36B 100%);
background-image: -ms-linear-gradient(top, #FFF 0%, #A8E36B 100%);
background-image: -o-linear-gradient(top, #FFF 0%, #A8E36B 100%);
background-image: linear-gradient(to bottom, #FFF 0%, #A8E36B 100%);
-webkit-background-size: 1px 100%;
-khtml-background-size: 1px 100%;
-moz-background-size: 1px 100%;
-o-background-size: 1px 100%;
background-size: 1px 100%;
}
/* Nền thẻ */
body:not(.ns-0):not(.ns-100) div.vectorTabs ul li:not(.selected) {
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #A8E36B), color-stop(1px, #A8E36B), color-stop(1px, #E5F8DB), color-stop(100%, #FFF));
background-image: -webkit-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%);
background-image: -moz-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%);
background-image: -ms-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%);
background-image: -o-linear-gradient(bottom, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%);
background-image: linear-gradient(to top, #A8E36B 0%, #A8E36B 1px, #E5F8DB 1px, #FFF 100%);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF', endColorstr='#E5F8DB')";
}
/* Nút Theo dõi / Ngừng theo dõi */
/* Các trình duyệt hỗ trợ chuyển màu cũng hỗ trợ SVG. */
body:not(.ns-0):not(.ns-100) #ca-unwatch.icon a:not(.loading) {
/* [[Tập tin:Unwatch-icon lime.svg]] */
/* @embed */
background-image: -webkit-linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/d/d8/Unwatch-icon_lime.svg);
background-image: linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/d/d8/Unwatch-icon_lime.svg);
}
body:not(.ns-0):not(.ns-100) #ca-watch.icon a:not(.loading):not(:hover):not(:focus) {
/* [[Tập tin:Watch-icon lime.svg]] */
/* @embed */
background-image: -webkit-linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/1/1d/Watch-icon_lime.svg);
background-image: linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/1/1d/Watch-icon_lime.svg);
}
body:not(.ns-0):not(.ns-100) #ca-unwatch.icon a:not(.loading):hover,
body:not(.ns-0):not(.ns-100) #ca-unwatch.icon a:not(.loading):focus {
/* [[Tập tin:Unwatch-icon-hl lime.svg]] */
/* @embed */
background-image: -webkit-linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/0/01/Unwatch-icon-hl_lime.svg);
background-image: linear-gradient(transparent,transparent), url(//upload.wikimedia.org/wikipedia/commons/0/01/Unwatch-icon-hl_lime.svg);
}
/* Hộp sửa đổi: Thanh công cụ sửa đổi */
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar {
background-color: #E5F8DB;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(33px, #E5F8DB));
background-image: -webkit-linear-gradient(top, #ffffff 0%, #E5F8DB 33px);
background-image: -moz-linear-gradient(top, #ffffff 0%, #E5F8DB 33px);
background-image: -ms-linear-gradient(top, #ffffff 0%, #E5F8DB 33px);
background-image: -o-linear-gradient(top, #ffffff 0%, #E5F8DB 33px);
background-image: linear-gradient(to bottom, #ffffff 0%, #E5F8DB 33px);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF', endColorstr='#E5F8DB')";
}
/* Hộp sửa đổi: Nền đằng sau hộp văn bản, nền chỉ mục các bảng, và khoản trong trình đơn Đề mục */
body:not(.ns-0):not(.ns-100) .wikiEditor-ui,
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar .sections .section,
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar .group .tool-select .options .option:hover {
background-color: #E5F8DB;
}
/* Hộp sửa đổi: Ký tự trong bảng Ký tự đặc biệt */
body:not(.ns-0):not(.ns-100) .wikiEditor-ui-toolbar .page-characters div span:hover {
border-color: #A8E36B;
}
/* Trình soạn thảo trực quan: Thanh tiến triển */
body:not(.ns-0):not(.ns-100) .mw-viewPageTarget-loading {
background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Loading-special.gif");
}
} /* kết @media screen */
/* Styling for updated markers on watchlist, history and recent/related changes */
.mw-changeslist-line-watched,
.mw-history-line-updated {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/cd/ChangedBulletVector2.png);
}
.mw-body .mw-indicators {
padding-top: 0.4em;
}
/* Blue instead of yellow padlock for secure links. */
#bodyContent a.external[href ^="https://"],
.link-https {
background: url(//upload.wikimedia.org/wikipedia/commons/0/00/Lock_icon_blue.gif) center right no-repeat;
/* @noflip */
padding-right: 16px;
}
/* Icon for e-mail. */
#bodyContent a.external[href ^="mailto:"],
.link-https {
background: url(//upload.wikimedia.org/wikipedia/commons/4/42/Icon_External_Link_E-Mail.png) center right no-repeat;
/* @noflip */
padding-right: 16px;
}
/* Icon for FTP. */
#bodyContent a.external[href ^="ftp://"],
.link-https {
background: url(//upload.wikimedia.org/wikipedia/commons/8/8d/Icon_External_Link_FTP.png) center right no-repeat;
/* @noflip */
padding-right: 16px;
}
/* Font chữ serif tiếng Việt cho tiêu đề h1, h2 */
.mw-body #firstHeading,
.mw-body h1,
.mw-body h2 {
font-family: "Linux Libertine", "Palatino Linotype", "Times New Roman", serif;
}