MediaWiki:Mobile.css:修订间差异

来自汉语教学技术研究与应用
跳转到导航 跳转到搜索
HanyuTech留言 | 贡献
创建页面,内容为“这里放置的CSS将影响使用移动版网站的用户:​ CSS placed here will affect users of the mobile site:​ .mobile-float-reset { float: none !import…”
 
HanyuTech留言 | 贡献
无编辑摘要
第3行: 第3行:
/* CSS placed here will affect users of the mobile site */
/* CSS placed here will affect users of the mobile site */
.mobile-float-reset { float: none !important; width: 100% !important; }
.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 */
/* Floating table headers for Wikimedia_Hackathon_2018/Program */

2018年6月8日 (五) 10:58的版本

/* 这里放置的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;
	}*/
}