Khác biệt giữa bản sửa đổi của “MediaWiki:Common.css”
Không có tóm lược sửa đổi |
Không có tóm lược sửa đổi |
||
| (không hiển thị 69 phiên bản ở giữa của cùng người dùng) | |||
| Dòng 5: | Dòng 5: | ||
overflow-y: auto; | overflow-y: auto; | ||
} | } | ||
#mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod | #mw-indicator-mw-helplink, .last-modified-bar, #footer-info-lastmod, .patrollink, #footer-icons, .vector-main-menu-action-opt-out { | ||
display:none; | display:none; | ||
} | } | ||
| Dòng 30: | Dòng 30: | ||
font-style: italic; | font-style: italic; | ||
min-width: max-content; | min-width: max-content; | ||
max-width: fit-content; | |||
page-break-inside: avoid; | |||
} | } | ||
| Dòng 88: | Dòng 90: | ||
a img { | a img { | ||
max-width: calc(100% - 8px); | max-width: calc(100% - 8px); | ||
height: auto; | /* height: auto; */ | ||
max-height: 300px; | |||
width: inherit; | |||
} | } | ||
.alignright { | .alignright { | ||
| Dòng 168: | Dòng 172: | ||
/* Tooltip */ | /* Tooltip */ | ||
.note { | .note { | ||
cursor: help; | cursor: help; | ||
vertical-align: super; | vertical-align: super; | ||
} | } | ||
| Dòng 210: | Dòng 209: | ||
min-width: 1.5em; | min-width: 1.5em; | ||
white-space: nowrap; | white-space: nowrap; | ||
justify-items: center; | |||
} | } | ||
.tttext { | .tttext { | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
border-bottom: 1px dotted | border-bottom: 1px dotted grey; | ||
} | } | ||
.nozoom .ttzoom { | .nozoom .ttzoom { | ||
| Dòng 222: | Dòng 222: | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
.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: 1em; | |||
width: 1em; | |||
max-width: unset; | |||
vertical-align: text-bottom; | |||
margin-bottom: 2px; | |||
} | |||
.textimg { | |||
line-height: unset; | |||
} | |||
/* Strikethrough */ | /* Strikethrough */ | ||
del { | del { | ||
| Dòng 247: | Dòng 272: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.notes { | .notes,.cognates,.reflist { | ||
clear: right; | clear: right; | ||
} | } | ||
| Dòng 258: | Dòng 283: | ||
/* Cognates */ | /* Cognates */ | ||
.cognates ol>li ol>li { | .cognates ol>li ol>li { | ||
| Dòng 280: | Dòng 302: | ||
.cognates .reference-text { | .cognates .reference-text { | ||
display: inline-block; | display: inline-block; | ||
vertical-align: top; | vertical-align: top; | ||
width: calc(100% - 80px); | |||
} | } | ||
.cognates .reference-text ol { | .cognates .reference-text ol { | ||
| Dòng 351: | Dòng 373: | ||
ol.references > li:not(:first-child) { | ol.references > li:not(:first-child) { | ||
padding-top: 5px; | |||
border-top: solid 1px lightgray; | border-top: solid 1px lightgray; | ||
} | |||
/* Reference */ | |||
sup[id*="cite_ref-ref"] a, .note { | |||
color: gray!important; | |||
font-weight: normal; | |||
font-size: x-small; | |||
} | } | ||
| Dòng 429: | Dòng 460: | ||
display: block; | display: block; | ||
content: ' '; | content: ' '; | ||
} | } | ||
| Dòng 465: | Dòng 467: | ||
width: 20px !important; | width: 20px !important; | ||
--inline-controls-bar-height: 20px !important; | --inline-controls-bar-height: 20px !important; | ||
vertical-align: text-bottom; | |||
} | |||
.video-js { | |||
position: static; | |||
} | } | ||
.mw-file-element .video-js { | |||
.mw-file-element.video-js { | |||
height: 20px !important; | height: 20px !important; | ||
width: 20px !important; | width: 20px !important; | ||
color: | color: inherit; | ||
background: rgba(0, 0, 0, 0); | background: rgba(0, 0, 0, 0); | ||
} | } | ||
.video-js .vjs-control-bar { | .video-js .vjs-control-bar { | ||
min-height: unset!important; | |||
height: 20px !important; | height: 20px !important; | ||
background: rgba(0, 0, 0, 0); | background: rgba(0, 0, 0, 0); | ||
| Dòng 486: | Dòng 492: | ||
.video-js .vjs-control { | .video-js .vjs-control { | ||
width: 20px !important; | width: 20px !important; | ||
height: 20px !important; | |||
} | } | ||
.video-js .vjs-subs-caps-button { | .video-js .vjs-subs-caps-button, .mw-tmh-duration { | ||
display: none; | 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 { | .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: "\ | content: "\f107"; | ||
} | } | ||
.mw-tmh-play-icon.notheme { | |||
--color-base: inherit!important; | |||
} | } | ||
.mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon { | .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon { | ||
background: | 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-player.audio .mw-tmh-play:hover .mw-tmh-play-icon, .mw-tmh-player.audio .mw-tmh-play:focus .mw-tmh-play-icon, .mw-tmh-player.audio .mw-tmh-play:active .mw-tmh-play-icon { | |||
background-color: var(--color-base); | |||
} | } | ||
*:not(.thumbinner) > .video-js.video-js:not(.vjs-fullscreen) { | *:not(.thumbinner) > .video-js.video-js:not(.vjs-fullscreen) { | ||
vertical-align: text-bottom; | vertical-align: text-bottom; | ||
} | |||
/* Word Connectors */ | |||
con { | |||
font-weight: normal | |||
} | |||
/* Arrow */ | |||
arrow { | |||
font-family: serif; | |||
} | |||
/* 68 indent */ | |||
span.luc { | |||
text-indent: 1em; | |||
display: inline-block; | |||
} | |||
/* Example list style */ | |||
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; | |||
} | |||
/* Night mode, dark theme */ | |||
.skin-theme-clientpref-night .tttext>span>span>img { | |||
filter: invert(1); | |||
} | |||
.skin-theme-clientpref-night .reference a, .skin-theme-clientpref-night .notelistalpha .references>li::marker, .skin-theme-clientpref-night .cognates .references>li:before { | |||
color: forestgreen; | |||
} | } | ||