MediaWiki:Common.css

Revision as of 18:43, 28 July 2024 by Pisces (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Mã CSS đặt ở đây sẽ áp dụng cho mọi giao diện */

/************************************************
Phần này chứa mã CSS cho phông chữ trên wiki này.
************************************************/

/* Cài đặt phông header */
@import url('https://fonts.googleapis.com/css2?family=Signika+Negative:wght@600&display=swap');

/************************************
* PHẦN TRÌNH DIỄN ẢO THUẬT BIẾN MẤT *
************************************/

.page-MNDb_Trang_chính .firstHeading,
.page-MNDb_Trang_chính .mw-side,
.page-MNDb_Trang_chính .mw-body-header,
.page-MNDb_Trang_chính #siteSub,
span#ca-new-page,
span#ca-new-subpage {
	display: none !important;
}

/***********************************
* TIẾP ĐÂY, THAY ĐỔI PHÔNG CHỮ LỚP *
***********************************/

#p-navigation-label,
#firstHeading,
.wb-section-heading,
.vector-menu-portal,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Signika Negative', sans-serif !important;
    color: white;
}

/***********************************
* KẾT THÚC MÀN TRÌNH DIỄN ẢO THUẬT *
***********************************/

.wikibase-entityview .wikibase-entityview-main {
	opacity: 0.95
}

/* Bảng đáp ứng cho trang chính, mã được lấy từ NBDb (Non-Binary Database)*/
.main-page-grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: auto auto;
}
.main-page-sections {
  display: flex;
  flex-wrap: wrap;
}
.main-page-section {
  flex: 1 0 40%;
  min-width: 200px;
}

/* Thử cho logo làm background */
.action-view.ns-120 #bodyContent,
.action-view.ns-122 #bodyContent {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/6/64/MNDb_Logo.svg);
	background-repeat: no-repeat;
	/* @noflip */
	background-position: center;
	background-size: contain;
}

/* Make ranks more visible */
.wb-deprecated .wikibase-statementview-mainsnak { /* deprecated claims with red-ish background */
    background-color: #FFF0F0;
}
.wb-preferred .wikibase-statementview-mainsnak { /* preferred claims with green-ish background */
    background-color: #F0FFF0;
}

/********************/
/*ĐỊNH MỆNH WIKIBASE*/
/********************/

.wikibase-entitytermsview .wikibase-toolbar-container,
.wikibase-entitytermsview .wikibase-toolbar-container .wikibase-toolbar-container {
	background: none !important;
}

.wikibase-statementgrouplistview .wikibase-statementgroupview-property,
.wikibase-statementgrouplistview .wikibase-statementlistview,
.wikibase-statementview div.thumb img,
.wikibase-statementview div.thumb audio,
.wikibase-statementview div.thumb video,
.mw-kartographer-map,
.wb-propertypage .wikibase-propertyview-datatype,
.ui-widget .ui-suggester-list,
.wikibase-entitytermsforlanguagelistview,
.wikibase-entitytermsforlanguagelistview-header {
	background: #272c37 !important;
}

.wikibase-statementview {
	border-bottom: 1.5px solid white !important;
}

.wikibase-statementgrouplistview .wikibase-statementgroupview-property,
.wikibase-statementgrouplistview .wikibase-statementgroupview-property.wb-edit,
.valueview-ineditmode .valueview-input,
.wikibase-statementgroupview-property.wb-edit,
.wikibase-entitysearch-list .wb-entitysearch-suggestions,
.wikibase-entitytermsforlanguagelistview {
	background-color: #292e39 !important;
}

.wikibase-statementgrouplistview .wikibase-statementlistview,
.ui-suggester-list {
	background-color: #161b25 !important;
	border-radius: 0px solid 8px solid 8px 0px !important;
}

.wikibase-statementlistview .wikibase-toolbar-wrapper,
.wb-propertypage .wikibase-propertyview-datatype {
	background-color: #14181f !important;
}

.wb-propertypage .wikibase-propertyview-datatype,
.wikibase-entitysearch-list .wb-entitysearch-suggestions {
	border-radius: solid 8px !important;
}
.ui-suggester-list a,
.ui-widget.ui-suggester-list,
.suggestions-special .special-query,
.suggestions-special .special-label {
	color: #99aacc;
}

body,
.mw-body,
.vector-menu-tabs-legacy .selected,
.vector-menu-tabs-legacy li,
#mw-page-base {
	background-color: #14181f !important;
	color: white !important;
}

#mw-page-base {
	background-image: unset !important;
}

.vector-search-box-input {
	background-color: unset;
	color: white !important;
}

a,
a:visited,
.ui-toggler .ui-state-default {
	color: #867bff !important;
}

.mw-echo-notifications-badge,
.wikibase-toolbar-button .wb-icon,
.skin-vector-legacy #pt-uls .uls-trigger::before,
.vector-menu-dropdown .vector-menu-heading::after {
	filter: invert(1) !important;
}

.vector-menu-tabs-legacy li {
	background-image: unset !important;
}

.vector-menu-portal .vector-menu-heading,
.vector-menu-dropdown .vector-menu-heading{
	color: white;
}

.wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-header .wikibase-entitytermsforlanguagelistview-header-row .wikibase-entitytermsforlanguagelistview-cell {
	background-color: #292E39 !important;
	border-right-color: #1d222c !important;
}
/*************/
/* WAR ENDED */
/*************/