User:Iamojo/testwiki.css
/* See [[mw:Reference Tooltips]] */
.twt-overlay {
position: absolute;
width: 100%;
font-size: calc(var(--font-size-medium, 1rem) * (13 / 14));
line-height: 1.5em;
/* Remove after https://phabricator.wikimedia.org/T369880 is resolved and $teleportTarget is assigned */
z-index: 800; /* match z-index-tooltip in https://doc.wikimedia.org/codex/latest/design-tokens/z-index.html */
top: 0;
}
/* Remove after https://phabricator.wikimedia.org/T369880 is resolved and $teleportTarget is assigned */
.skin-vector-legacy .twt-overlay {
font-size: 13px;
}
.skin-monobook .twt-overlay {
font-size: 12.7px;
}
.twt-tooltip {
position: absolute;
max-width: 27em;
background: var(--background-color-base, #fff);
color: var(--color-base, #202122);
border: 1px solid var(--border-color-subtle, #c8ccd1);
border-radius: 2px;
box-shadow: 0 20px 48px 0 rgba(0, 0, 0, 0.2);
}
html.skin-theme-clientpref-night .twt-tooltip {
box-shadow: 0 20px 48px 0 rgba(0, 0, 0, 1);
}
/* Extend the tooltip vertically to make sure it doesn't disappear while the user moves the mouse to it */
.twt-tooltip-above .twt-hoverArea {
margin-bottom: -0.6em;
padding-bottom: 0.6em;
}
.twt-tooltip-below .twt-hoverArea {
margin-top: -0.7em;
padding-top: 0.7em;
}
.twt-scroll {
overflow-x: auto;
}
.twt-content {
padding: 0.7em 0.9em;
overflow-wrap: break-word;
}
.twt-content-header {
font-weight: bold;
padding-bottom: .5em;
}
.twt-tail {
/* Use 48%, not 50%, to make the tail start at a right place in Blink browsers in Windows on bigger system font sizes */
background: linear-gradient(to top right, var(--border-color-subtle, #c8ccd1) 48%, rgba(0, 0, 0, 0) 48%);
--tail-left: 19px;
--tail-side-width: 13px;
}
.twt-tail,
.twt-tail:after {
position: absolute;
/* Make sure the tail is behind the scrollbar, e.g. [73] at
https://en.wikipedia.org/w/index.php?title=Lemniscate_elliptic_functions&oldid=1231701944#cite_ref-73
if .twt-tooltip has width of 25em */
z-index: -1;
width: var(--tail-side-width);
height: var(--tail-side-width);
}
.twt-tail:after {
content: '';
background: var(--background-color-base, #fff);
bottom: 1px;
left: 1px;
}
.twt-tooltip-above .twt-tail {
transform: rotate(-45deg);
transform-origin: 100% 100%;
bottom: 0;
left: var(--tail-left);
}
.twt-tooltip-below .twt-tail {
transform: rotate(135deg);
transform-origin: 0 0;
top: 0;
left: calc(var(--tail-left) + var(--tail-side-width));
}
.twt-settingsLink {
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%0D%0A%20%20%20%20%3Cpath%20fill%3D%22%2354595d%22%20d%3D%22M20%2014.5v-2.9l-1.8-.3c-.1-.4-.3-.8-.6-1.4l1.1-1.5-2.1-2.1-1.5%201.1c-.5-.3-1-.5-1.4-.6L13.5%205h-2.9l-.3%201.8c-.5.1-.9.3-1.4.6L7.4%206.3%205.3%208.4l1%201.5c-.3.5-.4.9-.6%201.4l-1.7.2v2.9l1.8.3c.1.5.3.9.6%201.4l-1%201.5%202.1%202.1%201.5-1c.4.2.9.4%201.4.6l.3%201.8h3l.3-1.8c.5-.1.9-.3%201.4-.6l1.5%201.1%202.1-2.1-1.1-1.5c.3-.5.5-1%20.6-1.4l1.5-.3zM12%2016c-1.7%200-3-1.3-3-3s1.3-3%203-3%203%201.3%203%203-1.3%203-3%203z%22%2F%3E%0D%0A%3C%2Fsvg%3E);
float: right;
margin: -0.5em -0.5em 0 0.5em;
box-sizing: border-box;
height: 32px;
width: 32px;
border: 1px solid transparent;
border-radius: 2px;
background-position: center center;
background-repeat: no-repeat;
background-size: 24px 24px;
}
html.skin-theme-clientpref-night .twt-settingsLink {
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%0D%0A%20%20%20%20%3Cpath%20fill%3D%22%23c8ccd1%22%20d%3D%22M20%2014.5v-2.9l-1.8-.3c-.1-.4-.3-.8-.6-1.4l1.1-1.5-2.1-2.1-1.5%201.1c-.5-.3-1-.5-1.4-.6L13.5%205h-2.9l-.3%201.8c-.5.1-.9.3-1.4.6L7.4%206.3%205.3%208.4l1%201.5c-.3.5-.4.9-.6%201.4l-1.7.2v2.9l1.8.3c.1.5.3.9.6%201.4l-1%201.5%202.1%202.1%201.5-1c.4.2.9.4%201.4.6l.3%201.8h3l.3-1.8c.5-.1.9-.3%201.4-.6l1.5%201.1%202.1-2.1-1.1-1.5c.3-.5.5-1%20.6-1.4l1.5-.3zM12%2016c-1.7%200-3-1.3-3-3s1.3-3%203-3%203%201.3%203%203-1.3%203-3%203z%22%2F%3E%0D%0A%3C%2Fsvg%3E);
}
.twt-settingsLink:hover,
.twt-settingsLink:active {
background-color: var(--background-color-interactive, #eaecf0);
}
.twt-settingsLink:active {
border-color: var(--border-color-interactive, #72777d);
}
.twt-settingsLink:focus {
outline: 1px solid transparent;
}
.twt-settingsLink:focus:not(:active) {
border-color: var(--border-color-progressive--focus, #36c);
box-shadow: inset 0 0 0 1px var(--box-shadow-color-progressive--focus, #36c);
}
.twt-target {
background-color: var(--background-color-progressive-subtle, #eaf3ff);
}
.twt-enableField {
font-weight: bold;
margin-bottom: 1.25em;
}
.twt-numberInput.twt-numberInput {
width: 10em;
}
.twt-tooltipsForCommentsField.twt-tooltipsForCommentsField.twt-tooltipsForCommentsField {
margin-top: 1.25em;
}
.twt-disabledHelp {
border-collapse: collapse;
}
.twt-disabledHelp td {
padding: 0;
}
.twt-disabledNote.twt-disabledNote {
vertical-align: bottom;
padding-left: 0.36em;
font-weight: bold;
}
@keyframes twt-fade-in-up {
0% {
opacity: 0;
transform: translate(0, 20px);
}
100% {
opacity: 1;
transform: translate(0, 0);
}
}
@keyframes twt-fade-in-down {
0% {
opacity: 0;
transform: translate(0, -20px);
}
100% {
opacity: 1;
transform: translate(0, 0);
}
}
@keyframes twt-fade-out-down {
0% {
opacity: 1;
transform: translate(0, 0);
}
100% {
opacity: 0;
transform: translate(0, 20px);
}
}
@keyframes twt-fade-out-up {
0% {
opacity: 1;
transform: translate(0, 0);
}
100% {
opacity: 0;
transform: translate(0, -20px);
}
}
.twt-fade-in-up {
animation: twt-fade-in-up 0.2s ease forwards;
}
.twt-fade-in-down {
animation: twt-fade-in-down 0.2s ease forwards;
}
.twt-fade-out-down {
animation: twt-fade-out-down 0.2s ease forwards;
}
.twt-fade-out-up {
animation: twt-fade-out-up 0.2s ease forwards;
}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.