"미디어위키:Timeless.css"의 두 판 사이의 차이

누리위키, 온 누리의 백과사전
잔글
잔글
42번째 줄: 42번째 줄:
 
word-break:break-all;
 
word-break:break-all;
 
}
 
}
 
+
/* 모바일 infobox 잘림 현상 개선 */
 
.infobox {
 
.infobox {
 
width:100% !important;
 
width:100% !important;
 
}
 
}
 +
 +
/* 모바일에서 표가 스크롤되도록 함 */
 +
.wikitable{
 +
display:block;
 +
padding:0;
 +
overflow:scroll;
 +
word-break:keep-all;
 +
}
  
  

2019년 6월 9일 (일) 23:56 판

/* CSS placed here will affect users of the Timeless skin */

/* 사이드바 옵션 */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
  margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
}

/* 모바일 옵션 */
.oo-ui-clippableElement-clippable {
	width:auto !important;
}
.oo-ui-popupWidget-popup {
	width:auto !important;
	max-width:400px !important;
}
@media screen and (max-width: 500px) {
	#p-logo-text {
		display:none;	
	}
	#hauptseite {
		display:block;
		width:auto;
	}

/* 모바일에서 편집요약이 줄바꿈되도록 함. */
	.comment{
		word-break:break-all;
	}	
/* 모바일 infobox 잘림 현상 개선 */
	.infobox {
		width:100% !important;
	}

/* 모바일에서 표가 스크롤되도록 함 */
	.wikitable{
		display:block;
		padding:0;
		overflow:scroll;
		word-break:keep-all;
}


} 
.suggestions {
	z-index: 100 !important;
	margin-top:50px;
}