Jump to content
메뉴 여닫기
환경 설정 메뉴 여닫기
개인 메뉴 여닫기
로그인하지 않음
지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

미디어위키:Gadget-HamWiki-HomeCards.css: 두 판 사이의 차이

HamWiki
잔글 "미디어위키:Gadget-HamWiki-HomeCards.css" 문서를 보호했습니다 ([편집=관리자만 허용] (무기한) [이동=관리자만 허용] (무기한))
편집 요약 없음
 
78번째 줄: 78번째 줄:
font-size: 0.94rem;
font-size: 0.94rem;
}
}
}
/* ==============================
  랜덤 문서 추천
  ============================== */
.hamwiki-random-card .hamwiki-home-card-body {
min-height: 115px;
}
#hamwiki-random-document {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 58px;
}
.hamwiki-random-description {
margin-bottom: 3px;
font-size: 0.88rem;
color: var(--color-subtle, #72777d);
}
.hamwiki-random-title {
display: block;
font-size: 1.2rem;
font-weight: 700;
line-height: 1.5;
text-decoration: none;
word-break: keep-all;
}
.hamwiki-random-title:hover {
text-decoration: underline;
}
.hamwiki-random-loading {
color: var(--color-subtle, #72777d);
}
#hamwiki-random-refresh {
cursor: pointer;
}
#hamwiki-random-refresh.is-loading {
opacity: 0.5;
pointer-events: none;
}
}

2026년 8월 11일 (화) 01:36 기준 최신판

.hamwiki-home-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 16px 0 20px;
}

.hamwiki-home-card {
	overflow: hidden;
	border: 1px solid var(--border-color-base, #eaecf0);
	border-radius: 12px;
	background: var(--background-color-content, #fff);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hamwiki-home-card-title {
	padding: 13px 16px;
	background: #027BFF;
	color: #fff;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
}

.hamwiki-home-card-body {
	padding: 15px 16px;
	line-height: 1.75;
	font-size: 0.96rem;
}

.hamwiki-home-card-body p {
	margin: 0;
}

.hamwiki-home-card-body p + p {
	margin-top: 8px;
}

.hamwiki-home-card-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 10px;
}

.hamwiki-home-card-links a {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 7px;
	background: var(--background-color-interactive-subtle, #f3f5f7);
	text-decoration: none;
	font-weight: 600;
}

.hamwiki-home-card-links a:hover {
	background: var(--background-color-interactive, #eaecf0);
	text-decoration: none;
}

@media (max-width: 720px) {
	.hamwiki-home-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hamwiki-home-card {
		border-radius: 10px;
	}

	.hamwiki-home-card-title {
		padding: 12px 14px;
		font-size: 1.03rem;
	}

	.hamwiki-home-card-body {
		padding: 13px 14px;
		font-size: 0.94rem;
	}
}


/* ==============================
   랜덤 문서 추천
   ============================== */

.hamwiki-random-card .hamwiki-home-card-body {
	min-height: 115px;
}

#hamwiki-random-document {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 58px;
}

.hamwiki-random-description {
	margin-bottom: 3px;
	font-size: 0.88rem;
	color: var(--color-subtle, #72777d);
}

.hamwiki-random-title {
	display: block;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	word-break: keep-all;
}

.hamwiki-random-title:hover {
	text-decoration: underline;
}

.hamwiki-random-loading {
	color: var(--color-subtle, #72777d);
}

#hamwiki-random-refresh {
	cursor: pointer;
}

#hamwiki-random-refresh.is-loading {
	opacity: 0.5;
	pointer-events: none;
}