:대문/style.css

모든 지식의 총합을 위한 자유지식위키, 리프위키
/* 새 [[위키:대문]]에 적용되는 css 값입니다. */

.main-box {
	background: #fff;
	border: solid #9ac3f0;
	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;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	background-image: url("https://upload.wikimedia.org/wikipedia/commons/4/4c/Lifwiki_newlogo_1250.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;
}

.main-top-left-subtitle-count {
	font-size: 0.95rem;
}

.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;
	}
	.body.page-Main_Page.action-view { display: none; }
	.h1.firstHeading { display: none; }
	.body.page-Main_Page.action-submit h1.firstHeading { display: none; }

}