Khác biệt giữa bản sửa đổi của “MediaWiki:Common.css”
Giao diện
Không có tóm lược sửa đổi |
Không có tóm lược sửa đổi Thẻ: Đã bị lùi lại |
||
| Dòng 2: | Dòng 2: | ||
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+Khmer); | @import url(https://fonts.googleapis.com/css?family=Noto+Sans+Khmer); | ||
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+Cham); | @import url(https://fonts.googleapis.com/css?family=Noto+Sans+Cham); | ||
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC); | |||
body { | body { | ||
overflow-y: auto; | overflow-y: auto; | ||
} | } | ||
#mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .catlinks, . | #mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .catlinks, .notes, .cognates, #footer-icons { | ||
display:none; | display:none!important; | ||
} | } | ||
.pre-content h1, .content h1 { | |||
. | font-family: Times New Roman!important; | ||
. | |||
font-family: | |||
} | } | ||
h2 { | |||
font- | font-size: 1.1em!important; | ||
} | } | ||
ol dl dd { | ol dl dd { | ||
font-size: 0.9em; | font-size: 0.9em!important; | ||
font-style: italic; | font-style: italic!important; | ||
min-width: max-content; | min-width: max-content!important; | ||
} | } | ||
| Dòng 36: | Dòng 27: | ||
} | } | ||
.content ol { | |||
padding-left: 0em; | |||
} | } | ||
/* Ruby text */ | |||
ruby { | |||
display: inline-flex!important; | |||
flex-direction: column-reverse!important; | |||
. | line-height: 1.1em!important; | ||
text-align: center!important; | |||
vertical-align: text-bottom!important; | |||
} | } | ||
.notHani { | |||
font-family: sans-serif, Noto Sans Khmer, Noto Sans Cham!important; | |||
} | } | ||
rt { | |||
font-size:60%!important; | |||
} | } | ||
rb:has(> .notHani) { | |||
padding-top: 5px!important; | |||
} | } | ||
.content .thumbcaption, .mw-content-ltr>ul { | |||
text-align: left!important; | |||
} | } | ||
.alignright { | |||
. | text-align: right!important; | ||
} | } | ||
.alignright li { | |||
.alignright | |||
text-align: left!important; | text-align: left!important; | ||
} | } | ||
/* | /* Tooltip */ | ||
.note { | |||
color: #777!important; | |||
text-decoration-line: underline!important; | |||
text-decoration-style: dotted!important; | |||
text-decoration-thickness: 1px!important; | |||
cursor: help!important; | |||
vertical-align: super!important; | |||
font-size: x-small!important; | |||
} | } | ||
. | .symbol.note { | ||
display: none!important; | |||
} | } | ||
/* | /* Strikethrough */ | ||
del { | |||
text-decoration-color: red!important; | |||
text-decoration-thickness: 2px!important; | |||
text-decoration-style: double!important; | |||
text- | |||
} | } | ||
. | /* Note */ | ||
.references-drawer ol { | |||
margin-block-start: -2em; | |||
} | } | ||
.references-drawer ol>li { | |||
list-style: none!important; | |||
} | } | ||
.references-drawer .ttzoom { | |||
display:none!important | |||
} | } | ||
.references-drawer ul { | |||
. | list-style: disc!important; | ||
margin-left: 30px!important; | |||
} | } | ||
.reference a { | |||
color: darkred!important; | |||
font-weight: bold!important; | |||
} | } | ||
.drawer.references-drawer a.new { | |||
. | color: #dd3333!important; | ||
} | } | ||
.drawer.references-drawer .references-drawer__title { | |||
. | color: #c8ccd1!important; | ||
. | |||
. | |||
color: # | |||
} | } | ||
/* Zoom text */ | /* Zoom text */ | ||
.Hani .tttext .ttzoom { | .Hani .tttext .ttzoom { | ||
font-family: Kaiti, Simsun; | font-family: Kaiti, Simsun!important; | ||
} | } | ||
.ttzoom { | .ttzoom { | ||
visibility: hidden; | visibility: hidden; | ||
background-color: #fff; | background-color: #fff!important; | ||
color: #000; | color: #000!important; | ||
text-align: center; | text-align: center!important; | ||
border-radius: 6px; | border-radius: 6px!important; | ||
position: | position: fixed!important; | ||
z-index: 1; | z-index: 1!important; | ||
left: | left: 10px!important; | ||
top: 10px!important; | |||
bottom: unset!important; | |||
transition: opacity 0.3s; | transition: opacity 0.3s!important; | ||
opacity: 0; | opacity: 0; | ||
padding: 10px; | padding: 10px!important; | ||
border: black solid 1px; | border: black solid 1px!important; | ||
font-size: | font-size: 3em!important; | ||
line-height: 1.5em; | line-height: 1.5em!important; | ||
align-items: center; | align-items: center!important; | ||
font-weight: normal; | font-weight: normal!important; | ||
min-width: 1.5em; | min-width: 1.5em!important; | ||
white-space: nowrap; | max-width: 90vw; | ||
white-space: nowrap!important; | |||
} | } | ||
.tttext { | .tttext { | ||
position: relative; | position: relative!important; | ||
display: inline-block; | display: inline-block!important; | ||
border-bottom: 1px dotted black; | border-bottom: 1px dotted black!important; | ||
} | } | ||
.nozoom .ttzoom { | .nozoom .ttzoom { | ||
display: none; | display: none!important; | ||
} | } | ||
.nozoom .tttext { | .nozoom .tttext { | ||
border-bottom: none | border-bottom: none!important; | ||
} | } | ||
/* Missing font notice */ | |||
.missing.message.popup { | |||
} | } | ||
.missing.message.popup:before { | |||
. | background-color: rgba(0,0,0,0.2)!important; | ||
height: 100vh!important; | |||
width: 100vw!important; | |||
content: """"""""; | |||
display: block!important; | |||
position: fixed!important; | |||
top: 0!important; | |||
left: 0!important; | |||
} | } | ||
/* Cognates */ | /* Cognates */ | ||
.cognates | .cognates>ol>li { | ||
list-style: none!important; | |||
list-style: none | |||
} | } | ||
/* Maybe */ | /* Maybe */ | ||
.maybe { | .maybe { | ||
color:gray; | color:gray; | ||
} | } | ||
.enlarge { | |||
. | display:none!important; | ||
} | } | ||
. | /* Inline notes */ | ||
.inlinenote { | |||
color: darkcyan!important; | |||
font-size: smaller!important; | |||
font-weight: bold!important; | |||
} | } | ||
/* Quote block */ | /* Quote block */ | ||
.quote { | .quote { | ||
padding: 8px 20px; | |||
padding: 8px | margin-inline-end: 30px; | ||
margin-inline-start: 30px; | |||
margin-inline-end: | |||
margin-inline-start: | |||
} | } | ||
/* | /* link color */ | ||
.mw-parser-output a.extiw:visited { | |||
.mw- | color: #36b; | ||
. | |||
} | } | ||
/* | /* nobr template */ | ||
. | .nobr { white-space:nowrap; } | ||
} | |||
/* | /* list indent 0 */ | ||
ol li ul { | |||
margin: 0.3em 0 0 0!important; | |||
} | } | ||
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { | |||
. | margin: 0.3em 0 0 1.6em !important; | ||
. | |||
} | } | ||
Phiên bản lúc 22:56, ngày 7 tháng 8 năm 2024
/* Mã CSS đặt ở đây sẽ áp dụng cho mọi giao diện */
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+Khmer);
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+Cham);
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);
body {
overflow-y: auto;
}
#mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .catlinks, .notes, .cognates, #footer-icons {
display:none!important;
}
.pre-content h1, .content h1 {
font-family: Times New Roman!important;
}
h2 {
font-size: 1.1em!important;
}
ol dl dd {
font-size: 0.9em!important;
font-style: italic!important;
min-width: max-content!important;
}
.mw-parser-output {
font-size: 1.3em;
}
.content ol {
padding-left: 0em;
}
/* Ruby text */
ruby {
display: inline-flex!important;
flex-direction: column-reverse!important;
line-height: 1.1em!important;
text-align: center!important;
vertical-align: text-bottom!important;
}
.notHani {
font-family: sans-serif, Noto Sans Khmer, Noto Sans Cham!important;
}
rt {
font-size:60%!important;
}
rb:has(> .notHani) {
padding-top: 5px!important;
}
.content .thumbcaption, .mw-content-ltr>ul {
text-align: left!important;
}
.alignright {
text-align: right!important;
}
.alignright li {
text-align: left!important;
}
/* Tooltip */
.note {
color: #777!important;
text-decoration-line: underline!important;
text-decoration-style: dotted!important;
text-decoration-thickness: 1px!important;
cursor: help!important;
vertical-align: super!important;
font-size: x-small!important;
}
.symbol.note {
display: none!important;
}
/* Strikethrough */
del {
text-decoration-color: red!important;
text-decoration-thickness: 2px!important;
text-decoration-style: double!important;
}
/* Note */
.references-drawer ol {
margin-block-start: -2em;
}
.references-drawer ol>li {
list-style: none!important;
}
.references-drawer .ttzoom {
display:none!important
}
.references-drawer ul {
list-style: disc!important;
margin-left: 30px!important;
}
.reference a {
color: darkred!important;
font-weight: bold!important;
}
.drawer.references-drawer a.new {
color: #dd3333!important;
}
.drawer.references-drawer .references-drawer__title {
color: #c8ccd1!important;
}
/* Zoom text */
.Hani .tttext .ttzoom {
font-family: Kaiti, Simsun!important;
}
.ttzoom {
visibility: hidden;
background-color: #fff!important;
color: #000!important;
text-align: center!important;
border-radius: 6px!important;
position: fixed!important;
z-index: 1!important;
left: 10px!important;
top: 10px!important;
bottom: unset!important;
transition: opacity 0.3s!important;
opacity: 0;
padding: 10px!important;
border: black solid 1px!important;
font-size: 3em!important;
line-height: 1.5em!important;
align-items: center!important;
font-weight: normal!important;
min-width: 1.5em!important;
max-width: 90vw;
white-space: nowrap!important;
}
.tttext {
position: relative!important;
display: inline-block!important;
border-bottom: 1px dotted black!important;
}
.nozoom .ttzoom {
display: none!important;
}
.nozoom .tttext {
border-bottom: none!important;
}
/* Missing font notice */
.missing.message.popup {
}
.missing.message.popup:before {
background-color: rgba(0,0,0,0.2)!important;
height: 100vh!important;
width: 100vw!important;
content: """""""";
display: block!important;
position: fixed!important;
top: 0!important;
left: 0!important;
}
/* Cognates */
.cognates>ol>li {
list-style: none!important;
}
/* Maybe */
.maybe {
color:gray;
}
.enlarge {
display:none!important;
}
/* Inline notes */
.inlinenote {
color: darkcyan!important;
font-size: smaller!important;
font-weight: bold!important;
}
/* Quote block */
.quote {
padding: 8px 20px;
margin-inline-end: 30px;
margin-inline-start: 30px;
}
/* link color */
.mw-parser-output a.extiw:visited {
color: #36b;
}
/* nobr template */
.nobr { white-space:nowrap; }
/* list indent 0 */
ol li ul {
margin: 0.3em 0 0 0!important;
}
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
margin: 0.3em 0 0 1.6em !important;
}
/* IDC */
.tttext .idc131{
transform: scaleX(0.5);
display: inline-block;
position: absolute;
left: -0.25em;
}
.tttext .idc132{
left: 0.15em;
position: relative;
transform: scalex(0.66);
display: inline-block;
}
.ttzoom .idc131{
transform: scaleX(0.5);
display: inline-block;
position: absolute;
left: -0.25em;
padding-left: 0.3em;
}
.ttzoom .idc132{
position: relative;
transform: scalex(0.66);
display: inline-block;
left: 0.15em;
padding-left: 0.3em
}