"미디어위키:Mobile.css"의 두 판 사이의 차이
Stonepanel (토론 | 기여) (새 문서: →CSS placed here will affect users of the mobile site: .mobile-float-reset { float: none !important; width: 100% !important; }) |
Stonepanel (토론 | 기여) (태그: 모바일 편집, 모바일 웹 편집) |
||
1번째 줄: | 1번째 줄: | ||
/* 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; } | ||
+ | |||
+ | /* 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; | ||
+ | }*/ | ||
+ | } |
2018년 9월 18일 (화) 03:02 기준 최신판
/* CSS placed here will affect users of the mobile site */
.mobile-float-reset { float: none !important; width: 100% !important; }
/* 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;
}*/
}