사용자:초록바지/틀:대문/임시/style.css

위키백과, 우리 모두의 백과사전.

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다. 구글 크롬, 파이어폭스, 마이크로소프트 엣지, 사파리: ⇧ Shift 키를 누른 채 "새로 고침" 버튼을 클릭하십시오. 더 자세한 정보를 보려면 위키백과:캐시 무시하기 항목을 참고하십시오.

.main-box {
	background: #fff;
	border: solid #c8ccd1;
	border-radius: 2px;
	border-width: 1px;
	box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 );
        padding: 0 0 0.5rem 0;
}

.main-top {
	padding: 0 1.5rem 0 0;
	display: flex;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	background-image: url("https://upload.wikimedia.org/wikipedia/commons/e/e3/Wikipedia_logo_letters_banner.svg");
	background-position: right;
	background-repeat: no-repeat;
}

.main-top-left {
	flex: 3;
	background-image: linear-gradient(to right, white 0%, white 33%, transparent 100%);
	padding: 1rem 0 1rem 1.5rem;
}

.main-top-left-subtitle {
	font-size: 1rem;
	margin-top: 0.1em;
	margin-bottom: 1em;
}

.main-top-right {
	flex: 2;
}

.main-top-right-text {
	font-size: 1rem;
	margin-top: 1em;
	margin-bottom: 0;
	text-align:right;
}

.main-pane {
	display: flex;
}

.main-pane-left {
	margin-right: 20px;
}
@media (max-width: 981px) {
	.main-pane {
		display: block;
	}
	.main-pane-left {
		margin-right: 0;
	}
	.main-top {
		flex-direction: column;
	}
	.main-top-left {
		align-self: flex-start;
		background-image: linear-gradient(to right, white 0%, white 66%, transparent 100%);
	}
	.main-top-left-subtitle {
		font-size: 0.8em;
		margin-left: 0.2em;
		margin-top: 0;
	}
	.main-top-left>p:first-child {
		margin-bottom: 0;
	}
	.main-top-right {
		align-self: flex-end;
		padding-left: 1rem;
	}
	.main-top-right-text {
		font-size: 0.9rem;
		margin-top: 0;
		margin-bottom: 1rem;
	}
}