模板:PageTips/style.css:修订间差异

来自Hokubu Wiki
无编辑摘要
(已保护“模板:PageTips/style.css”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
 
(没有差异)

2024年4月17日 (三) 23:03的最新版本

/* 以下来源于 NebulaeWiki */
.home-header {
	position: relative;
	margin-top: -1rem;
	margin-bottom: 2rem;
	padding-top: 1rem;
	line-height: var( --line-height-sm );
}

.home-header__pretitle {
	margin-bottom: var( --space-xs );
    color: #72777D;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5em;
}

.home-header__title {
	margin: 0;
	color: #000000!important;
	font-size: 3rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	line-height: 1;
}

.home-header__subtitle {
	margin-top: var( --space-xs );
	color: #72777D;
	font-size: 0.875rem;
	letter-spacing: 0.1em;
}

.home-header__search {
	max-width: 600px;
	padding: var( --space-sm ) var( --space-md );
	margin-top: var( --space-md );
	margin-bottom: var( --space-md );
	margin-left: auto;
	margin-right: auto;
	border: 1px solid;
	border-color: var( --border-color-base--darker );
	border-radius: var( --border-radius--pill );
	color: var( --color-base--subtle );
	cursor: pointer;
	font-size: 0.875rem;
}

.home-header__search:hover {
	background-color: var( --background-color-quiet--hover );
}

.home-header__searchIcon img {
	margin-right: var( --space-md );
    opacity: var( --opacity-icon-base );
}

.keyboard-text {
	padding: 0 5px;
	border: 1px solid;
	margin: 0 2px;
	border-radius: 4px;
}

html.skin-citizen-dark .home-header__searchIcon img {
	filter: invert( 1 );
}

@media ( hover: none ) {
	.desktoponly {
		display: none;
	}
}

/* 以下来源于 HydCraft Wiki */
.home-header {
	padding-bottom: 30px;
}

.home-header__search {
	max-width: 600px;
	padding: 0.6rem 0.8rem;
	margin: 0.8rem auto 0 auto;
	background: var(--color-surface-1);
	border-radius: 100px;
	box-shadow: var(--box-shadow-card);
	color: var(--color-base--subtle);
	font-size: 0.875rem;
	flex-direction: row;
	text-align: center;
}

.home-stats {
	flex-grow: 1;
	line-height: 1;
}

.home-stats__value {
	font-size: 1.5rem;
	font-weight: 600;
}

.home-stats__unit {
	margin-top: 0.2rem;
	color: var( --color-base--subtle );
	font-size: 0.8125rem;
}

.home-footer {
	font-size: 0.8125rem;
	font-family: monospace;
	text-align: center;
}

.home-card__navimgtext {
	pointer-events: none;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 0 15px;
	color: #fff;
	font-weight: 500;	
}

.home-card__flex {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.home-card__posterimg {
	padding: 10px;
}

.home-card__postertext {
	bottom: 0px;
	margin: 0;
	padding-left: 15px;
}

.animate {
	display: inline-block;
	padding: 0 5px;
	vertical-align: 3px;
	font-size: 20px;
	font-weight: normal;
}

.animate.on {
	animation: fade 1.5s infinite forwards;
}

@keyframes fade {
	from {
		opacity: 0;
	}
	
	to {
		opacity: 1;
	}
}

#adm-list div a img,
#friend-server p img,
#friend-link p img,
#friend-link div img, 
#friend-server div img {
	border-radius: 50%;
}

.info-box-container li {
	margin-right: 7px;
	list-style: none;
}

.info-box-container li:last-child {
	margin-right: 0;
}

.info-box-container ul {
	display: flex;
	gap: 3px;
	flex-wrap: wrap;
	margin: 0;
}

.header-title {
	text-align: center;
	display: block;
	font-size: 30px;
	font-family: 'Minecraft AE';
}

.header-subtitle {
	text-align: center;
}