미디어위키:Femiwiki.css

최근 편집: 2018년 3월 30일 (금) 03:49
낙엽1124 (토론 | 기여)님의 2018년 3월 30일 (금) 03:49 판

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

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

/* dl */
.mw-content-ltr dt:not(first-child) {
	margin-top: 1em !important;
}

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

/* pre */
pre {
	font-family: inherit;
}

/* gallery */
#content .mw-gallery-traditional {
	overflow-x: scroll;
	white-space: nowrap;
    padding: 0 1.3rem;
    -webkit-overflow-scrolling: touch;
    background: -webkit-radial-gradient(left ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, -webkit-radial-gradient(right ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
    background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
    background-size: 10px 100%, 10px 100%;
    background-attachment: scroll, scroll;
    background-repeat: no-repeat;
}

#content .mw-gallery-traditional .gallerytext > p {
	white-space: normal;
	margin: 0;
	text-align: center;
}

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

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

@media screen and (max-width: 480px) {
	#content .wikitable {
		max-width: calc(100% + 2.6rem) !important;
		margin: 0 -1.3rem !important;
	}
	
	pre {
		margin: 1em -1.3rem !important;
	}
	
	/* gallery */
	#content .mw-gallery-traditional {
		margin: 2px -1.3rem;
	}
	
	/* thumbinner */
	div.thumbinner {
		border: none;
		background-color: initial;
	}
	
	div.thumbinner-text {
		position: relative;
		border: none;
		background-color: transparent;
		margin: 1.6rem 1rem 1.6rem 1.2rem;
		padding: 0;
	}

	div.thumbcaption {
		text-align: right;
	}

	div.thumbinner-text::before {
		content: "\201C"; /*Unicode for Left Double Quote*/

		/*Font*/
		font-family: Georgia, serif;
		font-size: 2rem;
		font-weight: bold;
		color: #999;

		/*Positioning*/
		position: absolute;
		left: -1.3rem;
		top: -1rem;
	}
	
	div.thumbinner .thumbcaption:before {
		content: "▲";
		margin-right: .2em;
	}
	
	/* etc */
	.mw-changeslist div {
		max-width: calc(100% + 2.6rem) !important;
		margin: 0 -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;
	}
}

/* 알림 창 이상한 문제 우회(2) */
.mw-echo-ui-notificationItemWidget-content-message {
	line-height: normal !important;
}