コンテンツにスキップ

MediaWiki:MainPage.css

提供: Undertale Wiki

注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください。
.mainpage-header {
	text-align: center;
}

.mainpage-header .mw-heading1,
.mainpage-footer .mw-heading2 {
	border-width: 0;
	text-align: center;
}

.mainpage-header .mw-heading1 h1 {
	font-weight: bold;
}

.mainpage-header-boxes {
	display: flex;
	flex-wrap: wrap;
}

.mainpage-header-box {
	flex: 1;
	text-align: center;
}

.mainpage-header-box ul {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	justify-content: center;
	list-style-type: none;
	margin: 0;
}

.mainpage-two-columns {
	display: flex;
	margin-top: 50px;
}

.mainpage-left-column {
	border-right: 5px solid var(--background-color-progressive);
}

.mainpage-right-column {
	box-sizing: border-box;
	min-width: 300px;
	max-width: 300px;
}

.mainpage-section {
	background-color: var(--background-color-neutral);
	background-position: 1% 25%;
	background-repeat: no-repeat;
	border: 0;
	border-radius: 0;
	margin: 0;
	text-align: left;
}

.mainpage-section .mw-heading {
	background-color: var(--background-color-progressive);
	border: 0;
	border-radius: 0;
	color: var(--color-inverted-fixed);
	font-size: 1.25em;
	font-weight: bold;
	line-height: 22px;
	margin: 0;
	padding: 15px;
}

.mainpage-section .mw-heading ~ p,
.mainpage-section .mw-heading ~ figure,
.mainpage-section .mw-heading ~ .gallery.gallery.gallery {
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 15px;
	padding-bottom: 0;
	margin: 0;
}

/* Bluesky logo */
.mainpage-section .mw-heading ~ figure.mw-halign-center {
	margin: 10px auto;
}

.mainpage-section .mw-heading ~ figure.mw-halign-center figcaption {
	text-align: center;
}

.mainpage-section .mw-heading ~ figure.mw-halign-center figcaption::before {
	display: none;
}

.mainpage-section .mw-heading ~ p:last-child,
.mainpage-section .mw-heading ~ figure:last-child,
.mainpage-section .mw-heading ~ .gallery.gallery.gallery:last-child {
	padding-bottom: 15px;
}

.discord-logo {
	display: flex;
	justify-content: center;
}

ul.gallery.gallery.gallery {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.mainpage-footer ul.gallery.gallery.gallery {
	gap: 50px;
}


.gallerybox {
	border: 1px solid var(--border-color-base);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

div.gallerytext {
	background-color: var(--background-color-backdrop-light);
	bottom: 0;
	font-size: 14px;
	font-weight: bold;
	padding: 0;
	pointer-events: none;
	position: absolute;
	width: 100%;
}

li.gallerybox div.thumb img {
	border: 0;
}

#left-navigation,
.mw-first-heading {
	display: none;
}

@media screen and (min-width: 1120px) {
	.mw-body {
		grid-template-areas:
			'content content'
			'toolbar titlebar';
	}
}

@media screen and (min-width: 640px) and (max-width: 1119px) {
	.mw-body {
		display: flex;
		flex-direction: column-reverse;
	}
}

@media screen and (max-width: 1119px) {
	.vector-page-titlebar {
		display: none;
	}
}


@media screen and (max-width: 640px) {
	.mainpage-header-boxes,
	.mainpage-two-columns {
		flex-direction: column;
	}
	.mainpage-right-column {
		max-width: unset;
		min-width: unset;
	}
	.mainpage-left-column {
		border-right: 0;
	}
}