MediaWiki:Mobile.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* 这里放置的CSS将影响使用移动版网站的用户 */
/* CSS placed here will affect users of the mobile site */
.mobile-float-reset { float: none !important; width: 100% !important; }
img {
-webkit-box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
}
/* Floating table headers for Wikimedia_Hackathon_2018/Program */
@supports (position:sticky) or (position:-webkit-sticky) {
/*.wikitable.sticky {*/
/* max-height: 90vh;*/
/* overflow: auto; !important;*/
/*}*/
/*.wikitable.sticky > * > tr.sticky > th {*/
/* position: -webkit-sticky;*/
/* position: sticky;*/
/* top: 0;*/
/*}*/
/*.wikitable.sticky > * > tr:not(.sticky) > th:first-child {
position: -webkit-sticky;
position: sticky;
left: 0;
}*/
}