Bước tới nội dung

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

Từ Từ nguyên Tiếng Việt
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, .patrollink, #footer-icons, .vector-main-menu-action-opt-out {
#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 {
.mw-rcfilters-ui-cell {
     font-family: Times New Roman!important;
    vertical-align: middle;
}
 
body {
    font-family: sans-serif,Leelawadee UI,Noto Sans Khmer,Noto Sans Cham,Simsun,Unifont;
}
 
.vector-body h2 {
    font-size: 1.1em;
     font-family: 'Times';
}
}


.mw-body h1, .mw-body-content h1, .vector-sticky-header-context-bar-primary {
h2 {
     font-family: 'Times';
     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:
}
}


#globalWrapper {
.content ol {
     font-size: 12pt;
     padding-left: 0em;
}
}


#p-logo-text a {
/* Ruby text */
     font-variant: none;
ruby {
     text-transform: uppercase;
     display: inline-flex!important;
}
     flex-direction: column-reverse!important;
.mw-logo-container {
    line-height: 1.1em!important;
     max-width:unset;
     text-align: center!important;
}
    vertical-align: text-bottom!important;
a.mw-logo {
    color: black;
}
}


/* link color */
.notHani {
.mw-parser-output a.extiw:visited {
     font-family: sans-serif, Noto Sans Khmer, Noto Sans Cham!important;
     color: #36b;
}
}


/* nobr template */
rt {
.nobr { white-space:nowrap; }
     font-size:60%!important;
 
/* External links */
 
/* a[href^="http"]:after {
    content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNqEkIEJwCAMBGPpEs7hHK6hY+gauoZr6Bo6RtqEWkxb6EMQnuM/USEirIoxSmOKwDkhBEwp4VPkb4801Xun9xW4e+9FldYarLUvkBPPOp4JGWOgtSaSt6VWQKUU9nPOEiSIgAmNMdadFTjn7utqrXwh6fLvH9nXhamW5ksMnpfDnw4BBgBfunO056MmqAAAAABJRU5ErkJggg==);
}
.mw-parser-output a.external, .link-https {
     background-image: none;
    padding-right: 0px;
}
}
*/
/* gal template */
@media (min-width:801px)  {


li.multimg {
rb:has(> .notHani) {
     width: 32%;
     padding-top: 5px!important;
}
}
 
.content .thumbcaption, .mw-content-ltr>ul {
div.thumbinner {
     text-align: left!important;
     width: 100%!important;
    max-width: 302px;
}
}
 
.alignright {
.thumbimage {
     text-align: right!important;
     width: calc(100% - 2px);
    height: auto;
}
}


a img {
.alignright li {
    max-width: calc(100% - 8px);
    height: auto;
}
.alignright {
    text-align: right;
}
}
div.tright {
    margin: 0.5em 0.4em 1.3em 0.4em;
}
.content .thumbcaption, .mw-content-ltr>ul, .mw-category-group ul {
     text-align: left!important;
     text-align: left!important;
}
}


/* list indent 0 */
/* Tooltip */
ol li ul {
.note {
     margin: 0.3em 0 0 0!important;
     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;
}
}


.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
.symbol.note {
     margin: 0.3em 0 0 1.6em!important;
     display: none!important;
}
}


/* Ruby text */
/* Strikethrough */
ruby {
del {
     display: inline-flex;
     text-decoration-color: red!important;
    flex-direction: column-reverse;
     text-decoration-thickness: 2px!important;
     line-height: 1.1em;
     text-decoration-style: double!important;
     text-align: center;
    vertical-align: text-bottom;
}
}


.notHani {
/* Note */
     font-family: sans-serif, Leelawadee UI, Noto Sans Khmer, Noto Sans Cham;
.references-drawer ol {
     margin-block-start: -2em;
}
}


rt {
.references-drawer ol>li {
     font-size:60%;
     list-style: none!important;
    text-align:center;
}
}


rb:has(> .notHani) {
.references-drawer .ttzoom {
    padding-top: 5px;
  display:none!important
}
}
 
.references-drawer ul {
.cognates ruby, .fognates ruby {
     list-style: disc!important;
     display: inline-block;
     margin-left: 30px!important;
     vertical-align: baseline;
}
}
 
.reference a {
.cognates ruby.zh {
     color: darkred!important;
     display: inline-flex;
     font-weight: bold!important;
     vertical-align: text-bottom;
}
}
 
.drawer.references-drawer a.new {
.cognates rt, .fognates rt {
     color: #dd3333!important;
    font-size: calc(0.9 * 0.9em);
     display: inline-block;
}
}
 
.drawer.references-drawer .references-drawer__title {
.fognates rt span:before {
     color: #c8ccd1!important;
    content: "\0028";
}
.fognates rt span:after {
    content: "\0029";
}
 
/* External Images */
.img200 img {
width: 200px;
}
 
.img50 img {
width: 50px;
}
 
/* Tooltip */
.note {
     color: #777;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    cursor: help;
    vertical-align: super;
    font-size: x-small;
}
 
.message.note, .maybe.note {
    display: none;
}
}


/* Zoom text */
/* Zoom text */
.tttext:hover .ttzoom {
    visibility: visible;
    opacity: 1;
}
.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: absolute;
     position: fixed!important;
     z-index: 1;
     z-index: 1!important;
     left: 100%;
     left: 10px!important;
     bottom: -100%;
     top: 10px!important;
     margin-left: 10px;
     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: 80px;
     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;
}
/* Strikethrough */
del {
    text-decoration-color: red;
    text-decoration-thickness: 2px;
    text-decoration-style: double;
}
 
/* Note */
.notelistalpha > div > ol > li {
    list-style: lower-alpha;
}
}
/* Missing font notice */
.missing.message.popup {


.notelistalpha ul li {
    list-style: disc;
}
.notelistalpha li {
    list-style: none;
}
.references {
    font-size: 0.9em;
}
.reference a {
    color: darkred;
    font-weight: bold;
}
.notes {
    clear: right;
}
}
 
.missing.message.popup:before {
.notelistalpha .references>li::marker {
     background-color: rgba(0,0,0,0.2)!important;
     font-size: smaller;
    height: 100vh!important;
     font-weight: bold;
     width: 100vw!important;
     color: darkred;
    content: """""""";
    display: block!important;
    position: fixed!important;
    top: 0!important;
     left: 0!important;
}
}


/* Cognates */
/* Cognates */
.cognates {
.cognates>ol>li {
    clear: right;
     list-style: none!important;
}
 
.cognates ol>li ol>li {
     list-style: none;
}
 
.cognates span>ol>li {
    width: 100%;
}
 
.cognates li li {
    white-space: nowrap;
    width: max-content;
}
 
.cognates h3 {
    font-size: 1em;
}
.cognates .reference-text {
    display: inline-block;
    width: calc(100% - 4em);
    vertical-align: top;
}
.cognates .reference-text ol {
    margin-left: 1em!important;
}
 
.cognates ol.references {
    counter-reset: cg;
    margin-left: .6em!important;
}
.cognates .references>li::marker {
    content: "";
}
.cognates .references>li:before{
    content: "cg" counter(cg,decimal) '. ';
    counter-increment: cg 1;
    display: inline-block;
    margin-right: 5px;
    color: darkred;
    font-weight: bold;
    font-size: smaller;
}
/* Fognates */
.fognates {
    clear: right;
}
 
.fognates ol>li ol>li {
    list-style: none;
}
 
.fognates span>ol>li {
    width: 100%;
}
 
.fognates li li {
    white-space: nowrap;
    width: max-content;
}
 
.fognates h3 {
    font-size: 1em;
}
}
.fognates .reference-text {
    display: inline-block;
    width: calc(100% - 4em);
    vertical-align: top;
}
.fognates .reference-text ol {
    margin-left: 1em!important;
}
.fognates ol.references {
    counter-reset: fc;
    margin-left: .6em!important;
}
.fognates .references>li::marker {
    content: "";
}
.fognates .references>li:before{
    content: "fc" counter(fc,decimal) '. ';
    counter-increment: fc 1;
    display: inline-block;
    margin-right: 5px;
    color: darkred;
    font-weight: bold;
    font-size: smaller;
}
ol.references > li:not(:first-child) {
    border-top: solid 1px lightgray;
}
/* Maybe */
/* Maybe */
.maybe {
.maybe {
     color:gray;
     color:gray;
    cursor: help;
}
}
 
.enlarge {
.maybe:hover {
     display:none!important;
     color:#444;
}
}


.thumbinner.vright {
/* Inline notes */
     width: unset!important;
.inlinenote {
}
     color: darkcyan!important;
.enlarge {
     font-size: smaller!important;
     clear: right;
     font-weight: bold!important;
     float: right;
    cursor: pointer;
}
}


/* Quote block */
/* Quote block */
.quote {
.quote {
    border-left: 4px solid #eaecf0;
     padding: 8px 20px;
     padding: 8px 32px;
     margin-inline-end: 30px;
    margin-bottom: 0.5em;
     margin-inline-start: 30px;
     margin-inline-end:40px;
     margin-inline-start:40px;
    display: flow-root;
}
.qsource {
    float: right;
}
}


/* Footer */
/* link color */
@media screen and (min-width: 1000px){
.mw-parser-output a.extiw:visited {
.mw-footer-container {
     color: #36b;
    grid-area: footer;
    display: block;
    vertical-align: bottom;
}
.mw-footer ul {
    margin: 0 auto;
    height: fit-content;
    width: fit-content;
}
.mw-page-container-inner {
     min-height: 100vh; /* Make page full vh for footer to stay at bottom of screen */
}
}
}


/* Inline notes */
/* nobr template */
.inlinenote {
.nobr  { white-space:nowrap; }
    color: darkcyan;
    font-size: smaller;
    font-weight: bold;
}


/* Syntax highlighter */
/* list indent 0 */
#wpTextbox0, #wpTextbox1 {
ol li ul {
     padding-left: 1px!important;
     margin: 0.3em 0 0 0!important;
}
}


/* Br */
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
.brwithspace {
     margin: 0.3em 0 0 1.6em !important;
    display: block;
    content: ' ';
    margin-top: 10px;
}
.brwithspace {
     display: block;
    content: ' ';  
}
}



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
}