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
Thẻ: Đã bị lùi lại
Không có tóm lược sửa đổi
Thẻ: Lùi lại thủ công
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, .notes, .cognates, #footer-icons {
#mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .catlinks, .patrollink, #footer-icons, .vector-main-menu-action-opt-out {
     display:none!important;
     display:none;
}
}
.pre-content h1, .content h1 {
 
     font-family: Times New Roman!important;
.mw-rcfilters-ui-cell {
    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';
}
}


h2 {
.mw-body h1, .mw-body-content h1, .vector-sticky-header-context-bar-primary {
     font-size: 1.1em!important;
     font-family: 'Times';
}
}


ol dl dd {
ol dl dd {
     font-size: 0.9em!important;
     font-size: 0.9em;
     font-style: italic!important;
     font-style: italic;
     min-width: max-content!important;
     min-width: max-content;
}
}


Dòng 27: Dòng 36:
}
}


.content ol {
#globalWrapper {
     padding-left: 0em;
    font-size: 12pt;
}
 
#p-logo-text a {
    font-variant: none;
    text-transform: uppercase;
}
.mw-logo-container {
    max-width:unset;
}
a.mw-logo {
    color: black;
}
 
/* link color */
.mw-parser-output a.extiw:visited {
    color: #36b;
}
 
/* nobr template */
.nobr { white-space:nowrap; }
 
/* 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 {
    width: 32%;
}
 
div.thumbinner {
    width: 100%!important;
    max-width: 302px;
}
 
.thumbimage {
    width: calc(100% - 2px);
    height: auto;
}
 
a img {
    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;
}
 
/* 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;
}
}


/* Ruby text */
/* Ruby text */
ruby {
ruby {
     display: inline-flex!important;
     display: inline-flex;
     flex-direction: column-reverse!important;
     flex-direction: column-reverse;
     line-height: 1.1em!important;
     line-height: 1.1em;
     text-align: center!important;
     text-align: center;
     vertical-align: text-bottom!important;
     vertical-align: text-bottom;
}
}


.notHani {
.notHani {
     font-family: sans-serif, Noto Sans Khmer, Noto Sans Cham!important;
     font-family: sans-serif, Leelawadee UI, Noto Sans Khmer, Noto Sans Cham;
}
}


rt {
rt {
     font-size:60%!important;
     font-size:60%;
    text-align:center;
}
}


rb:has(> .notHani) {
rb:has(> .notHani) {
     padding-top: 5px!important;
     padding-top: 5px;
}
 
.cognates ruby, .fognates ruby {
    display: inline-block;
    vertical-align: baseline;
}
 
.cognates ruby.zh {
    display: inline-flex;
    vertical-align: text-bottom;
}
}
.content .thumbcaption, .mw-content-ltr>ul {
 
     text-align: left!important;
.cognates rt, .fognates rt {
    font-size: calc(0.9 * 0.9em);
    display: inline-block;
}
 
.fognates rt span:before {
    content: "\0028";
}
.fognates rt span:after {
     content: "\0029";
}
}
.alignright {
 
    text-align: right!important;
/* External Images */
.img200 img {
width: 200px;
}
}


.alignright li {
.img50 img {
    text-align: left!important;
width: 50px;
}
}


/* Tooltip */
/* Tooltip */
.note {
.note {
     color: #777!important;
     color: #777;
     text-decoration-line: underline!important;
     text-decoration-line: underline;
     text-decoration-style: dotted!important;
     text-decoration-style: dotted;
     text-decoration-thickness: 1px!important;
     text-decoration-thickness: 1px;
     cursor: help!important;
     cursor: help;
     vertical-align: super!important;
     vertical-align: super;
     font-size: x-small!important;
     font-size: x-small;
}
}


.symbol.note {
.message.note, .maybe.note {
     display: none!important;
     display: none;
}
}


/* Zoom text */
.tttext:hover .ttzoom {
    visibility: visible;
    opacity: 1;
}
.Hani .tttext .ttzoom {
    font-family: Kaiti, Simsun;
}
.ttzoom {
    visibility: hidden;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    left: 100%;
    bottom: -100%;
    margin-left: 10px;
    transition: opacity 0.3s;
    opacity: 0;
    padding: 10px;
    border: black solid 1px;
    font-size: 80px;
    line-height: 1.5em;
    align-items: center;
    font-weight: normal;
    min-width: 1.5em;
    white-space: nowrap;
}
.tttext {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.nozoom .ttzoom {
    display: none;
}
.nozoom .tttext {
    border-bottom: none;
}
/* Strikethrough */
/* Strikethrough */
del {
del {
     text-decoration-color: red!important;
     text-decoration-color: red;
     text-decoration-thickness: 2px!important;
     text-decoration-thickness: 2px;
     text-decoration-style: double!important;
     text-decoration-style: double;
}
}


/* Note */
/* Note */
.references-drawer ol {
.notelistalpha > div > ol > li {
     margin-block-start: -2em;
    list-style: lower-alpha;
}
 
.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;
}
 
.notelistalpha .references>li::marker {
    font-size: smaller;
    font-weight: bold;
    color: darkred;
}
 
/* Cognates */
.cognates {
    clear: right;
}
 
.cognates ol>li ol>li {
     list-style: none;
}
 
.cognates span>ol>li {
    width: 100%;
}
 
.cognates li li {
    white-space: nowrap;
    width: max-content;
}
}


.references-drawer ol>li {
.cognates h3 {
     list-style: none!important;
    font-size: 1em;
}
.cognates .reference-text {
    display: inline-block;
    width: calc(100% - 4em);
    vertical-align: top;
}
.cognates .reference-text ol {
     margin-left: 1em!important;
}
}


.references-drawer .ttzoom {
.cognates ol.references {
  display:none!important
    counter-reset: cg;
    margin-left: .6em!important;
}
}
.references-drawer ul {
.cognates .references>li::marker {
     list-style: disc!important;
     content: "";
    margin-left: 30px!important;
}
}
.reference a {
.cognates .references>li:before{
     color: darkred!important;
    content: "cg" counter(cg,decimal) '. ';
     font-weight: bold!important;
    counter-increment: cg 1;
    display: inline-block;
    margin-right: 5px;
     color: darkred;
     font-weight: bold;
    font-size: smaller;
}
}
.drawer.references-drawer a.new {
/* Fognates */
     color: #dd3333!important;
.fognates {
     clear: right;
}
}
.drawer.references-drawer .references-drawer__title {
 
     color: #c8ccd1!important;
.fognates ol>li ol>li {
     list-style: none;
}
}


/* Zoom text */
.fognates span>ol>li {
.Hani .tttext .ttzoom {
     width: 100%;
     font-family: Kaiti, Simsun!important;
}
}
.ttzoom {
 
     visibility: hidden;
.fognates li li {
    background-color: #fff!important;
     white-space: nowrap;
    color: #000!important;
     width: max-content;
    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;
.fognates h3 {
    display: inline-block!important;
     font-size: 1em;
    border-bottom: 1px dotted black!important;
}
}
.nozoom .ttzoom {
.fognates .reference-text {
     display: none!important;
     display: inline-block;
    width: calc(100% - 4em);
    vertical-align: top;
}
}
.nozoom .tttext {
.fognates .reference-text ol {
     border-bottom: none!important;
     margin-left: 1em!important;
}
}
/* Missing font notice */
.missing.message.popup {


.fognates ol.references {
    counter-reset: fc;
    margin-left: .6em!important;
}
.fognates .references>li::marker {
    content: "";
}
}
.missing.message.popup:before {
.fognates .references>li:before{
     background-color: rgba(0,0,0,0.2)!important;
     content: "fc" counter(fc,decimal) '. ';
     height: 100vh!important;
     counter-increment: fc 1;
     width: 100vw!important;
     display: inline-block;
     content: """""""";
     margin-right: 5px;
     display: block!important;
     color: darkred;
     position: fixed!important;
     font-weight: bold;
     top: 0!important;
     font-size: smaller;
    left: 0!important;
}
}


/* Cognates */
ol.references > li:not(:first-child) {
.cognates>ol>li {
     border-top: solid 1px lightgray;
     list-style: none!important;
}
}
/* Maybe */
/* Maybe */
.maybe {
.maybe {
     color:gray;
     color:gray;
    cursor: help;
}
}
.enlarge {
 
     display:none!important;
.maybe:hover {
     color:#444;
}
}


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


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


/* link color */
/* Footer */
.mw-parser-output a.extiw:visited {
@media screen and (min-width: 1000px){
     color: #36b;
.mw-footer-container {
    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 */
}
}
}


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


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


.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
/* Br */
     margin: 0.3em 0 0 1.6em !important;
.brwithspace {
    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);
body {
    overflow-y: auto;
}
#mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .catlinks, .patrollink, #footer-icons, .vector-main-menu-action-opt-out {
    display:none;
}

.mw-rcfilters-ui-cell {
    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 {
    font-family: 'Times';
}

ol dl dd {
    font-size: 0.9em;
    font-style: italic;
    min-width: max-content;
}

.mw-parser-output {
    font-size: 1.3em;
}

#globalWrapper {
    font-size: 12pt;
}

#p-logo-text a {
    font-variant: none;
    text-transform: uppercase;
}
.mw-logo-container {
    max-width:unset;
}
a.mw-logo {
    color: black;
}

/* link color */
.mw-parser-output a.extiw:visited {
    color: #36b;
}

/* nobr template */
.nobr	{ white-space:nowrap; }

/* 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 {
    width: 32%;
}

div.thumbinner {
    width: 100%!important;
    max-width: 302px;
}

.thumbimage {
    width: calc(100% - 2px);
    height: auto;
}

a img {
    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;
}

/* 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;
}

/* Ruby text */
ruby {
    display: inline-flex;
    flex-direction: column-reverse;
    line-height: 1.1em;
    text-align: center;
    vertical-align: text-bottom;
}

.notHani {
    font-family: sans-serif, Leelawadee UI, Noto Sans Khmer, Noto Sans Cham;
}

rt {
    font-size:60%;
    text-align:center;
}

rb:has(> .notHani) {
    padding-top: 5px;
}

.cognates ruby, .fognates ruby {
    display: inline-block;
    vertical-align: baseline;
}

.cognates ruby.zh {
    display: inline-flex;
    vertical-align: text-bottom;
}

.cognates rt, .fognates rt {
    font-size: calc(0.9 * 0.9em);
    display: inline-block;
}

.fognates rt span:before {
    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 */
.tttext:hover .ttzoom {
    visibility: visible;
    opacity: 1;
}
.Hani .tttext .ttzoom {
    font-family: Kaiti, Simsun;
}
.ttzoom {
    visibility: hidden;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    left: 100%;
    bottom: -100%;
    margin-left: 10px;
    transition: opacity 0.3s;
    opacity: 0;
    padding: 10px;
    border: black solid 1px;
    font-size: 80px;
    line-height: 1.5em;
    align-items: center;
    font-weight: normal;
    min-width: 1.5em;
    white-space: nowrap;
}
.tttext {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.nozoom .ttzoom {
    display: none;
}
.nozoom .tttext {
    border-bottom: none;
}
/* Strikethrough */
del {
    text-decoration-color: red;
    text-decoration-thickness: 2px;
    text-decoration-style: double;
}

/* Note */
.notelistalpha > div > ol > li {
    list-style: lower-alpha;
}

.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;
}

.notelistalpha .references>li::marker {
    font-size: smaller;
    font-weight: bold;
    color: darkred;
}

/* Cognates */
.cognates {
    clear: right;
}

.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 {
    color:gray;
    cursor: help;
}

.maybe:hover {
    color:#444;
}

.thumbinner.vright {
    width: unset!important;
}
.enlarge {
    clear: right;
    float: right;
    cursor: pointer;
}

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

/* Footer */
@media screen and (min-width: 1000px){
.mw-footer-container {
    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 */
.inlinenote {
    color: darkcyan;
    font-size: smaller;
    font-weight: bold;
}

/* Syntax highlighter */
#wpTextbox0, #wpTextbox1 {
    padding-left: 1px!important;
}

/* Br */
.brwithspace {
    display: block; 
    content: ' '; 
    margin-top: 10px;
}
.brwithspace {
    display: block; 
    content: ' '; 
}

/* 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
}