Khác biệt giữa bản sửa đổi của “MediaWiki:Minerva.css”
Giao diện
Không có tóm lược sửa đổi Thẻ: Sửa đổi di động Sửa đổi từ trang di động Sửa đổi di động nâng cao |
Không có tóm lược sửa đổi |
||
| (không hiển thị 36 phiên bản ở giữa của cùng người dùng) | |||
| Dòng 1: | Dòng 1: | ||
/* Mã CSS đặt ở đây sẽ áp dụng cho giao diện điện thoại */ | |||
@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 { | body { | ||
overflow-y: auto; | overflow-y: auto; | ||
} | } | ||
#mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .catlinks, .notes, .cognates, .fognates, .reflist, #footer-icons, #language-selector { | |||
#mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .catlinks, .notes, .cognates, #footer-icons { | |||
display:none!important; | display:none!important; | ||
} | } | ||
| Dòng 14: | Dòng 15: | ||
h2 { | h2 { | ||
font-size: 1.1em!important; | font-size: 1.1em!important; | ||
} | |||
.content li { | |||
border-bottom: 1px lightgrey solid | |||
} | } | ||
| Dòng 20: | Dòng 24: | ||
font-style: italic!important; | font-style: italic!important; | ||
min-width: max-content!important; | min-width: max-content!important; | ||
page-break-inside: avoid; | |||
max-width: min-content; | |||
} | |||
dl { | |||
margin: 0.2em 0 0.5em 0; | |||
} | } | ||
| Dòng 49: | Dòng 59: | ||
rb:has(> .notHani) { | rb:has(> .notHani) { | ||
padding-top: 5px!important; | padding-top: 5px!important; | ||
} | |||
rb:has(> .notHani.nozoom) { | |||
padding-top: 0!important; | |||
} | } | ||
.content .thumbcaption, .mw-content-ltr>ul { | .content .thumbcaption, .mw-content-ltr>ul { | ||
| Dòng 100: | Dòng 113: | ||
} | } | ||
.reference a { | .reference a { | ||
color: darkred | color: darkred; | ||
font-weight: bold | font-weight: bold; | ||
} | } | ||
.drawer.references-drawer a.new { | .drawer.references-drawer a.new { | ||
| Dòng 109: | Dòng 122: | ||
color: #c8ccd1!important; | color: #c8ccd1!important; | ||
} | } | ||
/* Reference */ | |||
sup[id*="cite_ref-ref"] a { | |||
color: gray; | |||
font-weight: normal; | |||
font-size: 0.6em; | |||
} | |||
/* Zoom text */ | /* Zoom text */ | ||
.Hani .tttext .ttzoom { | .Hani .tttext .ttzoom { | ||
| Dòng 140: | Dòng 159: | ||
position: relative!important; | position: relative!important; | ||
display: inline-block!important; | display: inline-block!important; | ||
border-bottom: 1px dotted | border-bottom: 1px dotted grey!important; | ||
} | } | ||
.nozoom .ttzoom { | .nozoom .ttzoom { | ||
| Dòng 148: | Dòng 167: | ||
border-bottom: none!important; | border-bottom: none!important; | ||
} | } | ||
.ttzoom .nomtext { | |||
display: block; | |||
margin: 20px; | |||
line-height: 0; | |||
} | |||
.ttzoom .nomtext img { | |||
width: 80px; | |||
height: 80px; | |||
vertical-align: text-bottom; | |||
max-width: unset; | |||
} | |||
.tttext>span>span>img { | |||
height: 1.1em; | |||
width: 1.1em; | |||
max-width: unset; | |||
vertical-align: text-bottom; | |||
filter: invert(100%) sepia(32%) saturate(924%) hue-rotate(172deg) brightness(86%) contrast(87%); | |||
} | |||
/* Missing font notice */ | /* Missing font notice */ | ||
.missing.message.popup { | .missing.message.popup { | ||
| Dòng 156: | Dòng 197: | ||
height: 100vh!important; | height: 100vh!important; | ||
width: 100vw!important; | width: 100vw!important; | ||
content: | content: """"; | ||
display: block!important; | display: block!important; | ||
position: fixed!important; | position: fixed!important; | ||
| Dòng 171: | Dòng 212: | ||
color:gray; | color:gray; | ||
} | } | ||
.own { | |||
color: slateblue; | |||
} | |||
.enlarge { | .enlarge { | ||
display:none!important; | display:none!important; | ||
| Dòng 203: | Dòng 249: | ||
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { | .mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { | ||
margin: 0.3em 0 0 | margin: 0.3em 0 0 1em !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 | |||
} | |||
/* Audio */ | |||
.mw-tmh-player.audio { | |||
height: 20px !important; | |||
width: 20px !important; | |||
--inline-controls-bar-height: 20px !important; | |||
vertical-align: text-bottom; | |||
} | |||
.video-js { | |||
position: static; | |||
height: 20px !important; | |||
width: 20px !important; | |||
color: inherit; | |||
background: rgba(0, 0, 0, 0); | |||
} | |||
.mw-file-element.video-js { | |||
height: 20px !important; | |||
width: 20px !important; | |||
color: inherit; | |||
background: rgba(0, 0, 0, 0); | |||
} | |||
.video-js .vjs-control-bar { | |||
min-height: 20px !important; | |||
height: 20px !important; | |||
background: rgba(0, 0, 0, 0); | |||
} | |||
.vjs-button > .vjs-icon-placeholder:before { | |||
font-size: 20px !important; | |||
line-height: 20px !important; | |||
} | |||
.video-js .vjs-control { | |||
width: 20px !important; | |||
height: 20px !important; | |||
} | |||
.video-js .vjs-subs-caps-button, .mw-tmh-duration { | |||
display: none; | |||
} | |||
.vjs-icon-replay:before, .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before, .vjs-icon-play:before, .video-js .vjs-play-control .vjs-icon-placeholder:before, .video-js .vjs-big-play-button .vjs-icon-placeholder:before { | |||
content: "\f107"; | |||
} | |||
.mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon { | |||
background: var(--color-base); | |||
mask-image: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20px' viewBox='0 -960 960 960' width='20px' fill='%23000'%3E%3Cpath d='M560-131v-82q90-26 145-100t55-168q0-94-55-168T560-749v-82q124 28 202 125.5T840-481q0 127-78 224.5T560-131ZM120-360v-240h160l200-200v640L280-360H120Zm440 40v-322q47 22 73.5 66t26.5 96q0 51-26.5 94.5T560-320ZM400-606l-86'/%3E%3C/svg%3E); | |||
} | |||
.mw-tmh-play-icon.notheme { | |||
--color-base: inherit!important; | |||
} | |||
*:not(.thumbinner) > .video-js.video-js:not(.vjs-fullscreen) { | |||
vertical-align: text-bottom; | |||
} | |||
con { | |||
font-weight: normal | |||
} | |||
arrow { | |||
font-family: serif; | |||
font-weight: bold; | |||
} | |||
span.luc { | |||
text-indent: 1em; | |||
display: inline-block; | |||
} | |||
dd:has(br.brwithspace)::before { | |||
display: none; | |||
} | |||
ol dl dd::before { | |||
content: ""; | |||
height: 5px; | |||
background-color: grey; | |||
width: 5px; | |||
display: block; | |||
bottom: -1em; | |||
position: relative; | |||
right: 1em; | |||
} | |||
/* Br */ | |||
.brwithspace { | |||
display: block; | |||
content: ' '; | |||
margin-top: 10px; | |||
} | |||
.brwithspace { | |||
display: block; | |||
content: ' '; | |||
} | } | ||
Bản mới nhất lúc 09:34, ngày 23 tháng 4 năm 2026
/* Mã CSS đặt ở đây sẽ áp dụng cho giao diện điện thoại */
@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, .fognates, .reflist, #footer-icons, #language-selector {
display:none!important;
}
.pre-content h1, .content h1 {
font-family: Times New Roman!important;
}
h2 {
font-size: 1.1em!important;
}
.content li {
border-bottom: 1px lightgrey solid
}
ol dl dd {
font-size: 0.9em!important;
font-style: italic!important;
min-width: max-content!important;
page-break-inside: avoid;
max-width: min-content;
}
dl {
margin: 0.2em 0 0.5em 0;
}
.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;
}
rb:has(> .notHani.nozoom) {
padding-top: 0!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;
font-weight: bold;
}
.drawer.references-drawer a.new {
color: #dd3333!important;
}
.drawer.references-drawer .references-drawer__title {
color: #c8ccd1!important;
}
/* Reference */
sup[id*="cite_ref-ref"] a {
color: gray;
font-weight: normal;
font-size: 0.6em;
}
/* 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 grey!important;
}
.nozoom .ttzoom {
display: none!important;
}
.nozoom .tttext {
border-bottom: none!important;
}
.ttzoom .nomtext {
display: block;
margin: 20px;
line-height: 0;
}
.ttzoom .nomtext img {
width: 80px;
height: 80px;
vertical-align: text-bottom;
max-width: unset;
}
.tttext>span>span>img {
height: 1.1em;
width: 1.1em;
max-width: unset;
vertical-align: text-bottom;
filter: invert(100%) sepia(32%) saturate(924%) hue-rotate(172deg) brightness(86%) contrast(87%);
}
/* 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;
}
.own {
color: slateblue;
}
.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 1em !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
}
/* Audio */
.mw-tmh-player.audio {
height: 20px !important;
width: 20px !important;
--inline-controls-bar-height: 20px !important;
vertical-align: text-bottom;
}
.video-js {
position: static;
height: 20px !important;
width: 20px !important;
color: inherit;
background: rgba(0, 0, 0, 0);
}
.mw-file-element.video-js {
height: 20px !important;
width: 20px !important;
color: inherit;
background: rgba(0, 0, 0, 0);
}
.video-js .vjs-control-bar {
min-height: 20px !important;
height: 20px !important;
background: rgba(0, 0, 0, 0);
}
.vjs-button > .vjs-icon-placeholder:before {
font-size: 20px !important;
line-height: 20px !important;
}
.video-js .vjs-control {
width: 20px !important;
height: 20px !important;
}
.video-js .vjs-subs-caps-button, .mw-tmh-duration {
display: none;
}
.vjs-icon-replay:before, .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before, .vjs-icon-play:before, .video-js .vjs-play-control .vjs-icon-placeholder:before, .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
content: "\f107";
}
.mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon {
background: var(--color-base);
mask-image: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20px' viewBox='0 -960 960 960' width='20px' fill='%23000'%3E%3Cpath d='M560-131v-82q90-26 145-100t55-168q0-94-55-168T560-749v-82q124 28 202 125.5T840-481q0 127-78 224.5T560-131ZM120-360v-240h160l200-200v640L280-360H120Zm440 40v-322q47 22 73.5 66t26.5 96q0 51-26.5 94.5T560-320ZM400-606l-86'/%3E%3C/svg%3E);
}
.mw-tmh-play-icon.notheme {
--color-base: inherit!important;
}
*:not(.thumbinner) > .video-js.video-js:not(.vjs-fullscreen) {
vertical-align: text-bottom;
}
con {
font-weight: normal
}
arrow {
font-family: serif;
font-weight: bold;
}
span.luc {
text-indent: 1em;
display: inline-block;
}
dd:has(br.brwithspace)::before {
display: none;
}
ol dl dd::before {
content: "";
height: 5px;
background-color: grey;
width: 5px;
display: block;
bottom: -1em;
position: relative;
right: 1em;
}
/* Br */
.brwithspace {
display: block;
content: ' ';
margin-top: 10px;
}
.brwithspace {
display: block;
content: ' ';
}