미디어위키:Femiwiki.css

최근 편집: 2018년 4월 17일 (화) 13:14
낙엽1124 (토론 | 기여)님의 2018년 4월 17일 (화) 13:14 판 (thumbcaption 본문과의 혼동을 줄이기 위해 가운데 정렬합니다)

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
  • 오페라: Ctrl-F5를 입력.
/* 이 CSS 설정은 벡터 스킨을 사용하는 사용자에게 적용됩니다 */

/*검색창 옆 작은 이미지 */
/*
#p-search {
  position: relative;
}

#p-search:after {
  content: "";
  display: block;
  position: absolute;
  right: .3rem;
  bottom: .3rem;
  width: 1.8rem;
  height: 1.8rem;
  background: url('https://upload.wikimedia.org/wikipedia/commons/d/d0/Yellow_ribbon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
*/

/* dl */
.mw-content-ltr dl {
	padding-left: 0.5em;
}

.mw-content-ltr dt:not(first-child) {
	margin-top: 1em;
}

.mw-content-ltr dd {
	margin-left: 0.6em;
}

/* pre */
pre {
	font-family: inherit;
	border: none;
	background-color: #f0f0f0;
}

/* gallery */
#content .mw-gallery-traditional {
	overflow-x: scroll;
	white-space: nowrap;
    padding: 0 1.3rem;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 3.2rem;
}

#content .mw-gallery-traditional .gallerytext > p {
	white-space: normal;
	margin: 0;
	text-align: center;
}
	
#content .mw-gallery-traditional .thumb {
	margin: 0;
	border: none;
	background-color: initial;
}

#content .mw-gallery-traditional::after {
	content: "옆으로 스크롤 가능";
    display: block;
    position: absolute;
    text-align: center;
    font-size: 0.8rem;
    width: calc(100% - 2.6rem);
    color: gray;
    margin-top: 1.6rem;
}

/* etc */
#mw-content-text {
	margin-bottom: 4.8rem;
}

.mw-search-results {
	max-width: 100%;
}

.mw-echo-ui-notificationItemWidget-content-message {
	line-height: normal !important;
}

@media screen and (max-width: 480px) {
	#content {
		overflow-x: hidden;
	}
	
	pre,
	#content .mw-gallery-traditional, /* gallery */
	.mw-changeslist div,
	.textthumbinnertext,
	.full-width-on-mobile,
	.flow-topic-titlebar
	{
		width: calc(100% + 2.6rem) !important;
		margin-left: -1.3rem !important;
	}
	
	table.full-width-on-mobile
	{
		max-width: none !important;
	}
	
	/* thumb */
	.thumbinner {
		border: none !important;
		background-color: initial !important;
	}
	
	.thumbinner .thumbimage {
		border: none !important;
	}
	
	.thumbcaption {
		color: gray;
		text-align: center !important;
	}

	.textthumb .thumbinner {
		padding: 0;
		overflow: visible;
		max-width: none !important;
	}
	
	.textthumbinnertext {
		position: relative;
		border: none;
		background-color: #f0f0f0;
	}
	
	/* etc */
	.mw-changeslist table {
		padding: 0 1.3rem !important;
	}
	
	.flow-topic-titlebar {
		padding-left: 1.3rem !important;
	}


	/* 알림 창 이상한 문제 우회 */
	.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		margin: 0 !important;
		width: 100% !important;
		height: 70% !important;
	}
	
	.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body {
		width: 100% !important;
		height: 90% !important;
		position: absolute;
	}
	
	.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-head {
		display: none;
	}
	
	.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-footer {
		position: absolute;
		bottom: 0;
	}
	
	.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor:after,
	.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor:before {
		display: none !important;
	}
	
	.mw-echo-ui-notificationBadgeButtonPopupWidget .mw-echo-ui-notificationItemWidget-content-table {
		margin-left: calc(-30px - 0.8em) !important;
	}
	
	.mw-echo-ui-NotificationBadgeWidget-overlay-menu .mw-echo-ui-actionMenuPopupWidget-menu {
		left: initial !important;
		right: 0 !important;
	}
	
	.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-notificationsWidget {
		height: 100%;
	}
}