User:SunAfterRain/js/TwinkleMobile.css
< User:SunAfterRain | js
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/** cover from https://zh.wikipedia.org/w/index.php?title=User:桐生ここ/js/Gadget-TwinkleMobile.css&oldid=70256656 */
/* Dialog */
.morebits-dialog {
top: 10vh !important;
left: 50% !important;
transform: translate(-50%, 0);
margin: auto !important;
position: fixed !important;
max-width: 100% !important;
max-height: 100% !important;
display: flex !important;
flex-direction: column !important;
align-items: stretch !important;
box-sizing: border-box;
font-size: 80%;
}
.morebits-dialog .morebits-dialog-content {
flex: 1 !important;
max-height: 70vh !important;
}
.morebits-dialog .ui-dialog-titlebar {
min-height: 1em;
}
.morebits-dialog .ui-dialog-buttonpane {
min-height: auto !important;
}
/* Quickform */
form.quickform input[type=text], form.quickform select,
form.quickform input[type=button], .morebits-dialog-buttons button {
padding: 0.15rem 0.3rem;
background: #fff;
border: 1px solid #565656;
border-radius: 2px;
}
form.quickform input[type=text], form.quickform select, form.quickform textarea {
font-size: inherit !important;
}
form.quickform input[type=text], form.quickform select {
width: 230px;
}
form.quickform input[type=checkbox], form.quickform input[type=radio] {
margin-right: 4px;
}
form.quickform textarea {
width: 90% !important;
}
/* PortletLink */
.mw-ui-icon-portletlink-twmb {
background-image: linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/a/a5/Police_man_Twinkle_Head.svg);
}
#twmb-dialog .oo-ui-fieldLayout-field,
#twmb-dialog .oo-ui-fieldLayout-field .oo-ui-buttonElement,
#twmb-dialog .oo-ui-fieldLayout-field .oo-ui-buttonElement .oo-ui-buttonElement-button {
display: inline-block;
width: 100%;
width: -moz-available;
width: -webkit-fill-available;
width: fill-available;
}