본문으로 이동

미디어위키:Common.css: 두 판 사이의 차이

Langrisser Wiki
SkillBox 템플릿용 .skillbox 스타일 블록 추가
대문 MainSection 템플릿용 CSS 추가 (append)
112번째 줄: 112번째 줄:
padding: 10px 12px;
padding: 10px 12px;
color: #7c4a2d;
color: #7c4a2d;
}
/* === MainSection — Template:MainSection 전용 (대문 섹션 박스) === */
.mainsection-box {
box-sizing: border-box;
background: rgba(255, 255, 255, 0.92);
border: 1px solid #c9a95c;
border-radius: 8px;
padding: 0 0 12px;
margin-bottom: 16px;
overflow: hidden;
}
.mainsection-header {
background: url("https://dwiki.doil.me/langrisser/images/6/69/Skillbox-header.png") no-repeat center / 100% 100%;
color: #ffd76a;
font-weight: bold;
font-size: 16px;
text-align: center;
padding: 10px 8px;
text-shadow: 1px 1px 2px #000;
margin-bottom: 10px;
}
.mainsection-body {
padding: 0 14px;
color: #4a3b22;
font-size: 13px;
line-height: 1.6;
}
.mainsection-columns {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.mainsection-col {
flex: 1 1 360px;
min-width: 300px;
}
.mainsection-placeholder {
background: #f6e7c6;
border: 1px dashed #c9a95c;
border-radius: 6px;
padding: 20px 10px;
text-align: center;
color: #7c4a2d;
font-size: 13px;
}
.mainsection-btn {
display: inline-block;
background: url("https://dwiki.doil.me/langrisser/images/7/75/Skillbox-btn.png") no-repeat center / 100% 100%;
color: #fff;
font-weight: bold;
text-align: center;
text-decoration: none;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
padding: 10px 20px;
margin: 4px 8px 4px 0;
}
.mainsection-btn:hover {
color: #fff;
text-decoration: none;
}
}

2026년 7월 13일 (월) 20:14 판

login: PASS
body {
	background-image: url("https://dwiki.doil.me/langrisser/images/c/cf/Lang-bg.jpg");
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

#content {
	background-color: rgba(255, 255, 255, 0.92);
}
/* === SkillBox — Template:SkillBox 전용 (스킬 툴팁 박스) === */
.skillbox {
	box-sizing: border-box;
	width: 338px;
	max-width: 100%;
	background: #fdf6e3;
	border: 3px solid #c9a95c;
	border-radius: 10px;
	padding: 10px 12px 12px;
	font-size: 13px;
	line-height: 1.55;
	color: #4a3b22;
}

.skillbox .skillbox-top {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
}

.skillbox .skillbox-iconframe {
	flex: 0 0 auto;
	width: 54px;
	height: 46px;
	background: url("https://dwiki.doil.me/langrisser/images/e/ef/Skillbox-border.png") no-repeat center / 100% 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.skillbox .skillbox-name {
	flex: 1 1 auto;
	background: url("https://dwiki.doil.me/langrisser/images/6/69/Skillbox-header.png") no-repeat center / 100% 100%;
	color: #ffd76a;
	font-weight: bold;
	font-size: 16px;
	text-align: center;
	padding: 8px 4px;
	text-shadow: 1px 1px 2px #000;
	white-space: nowrap;
	overflow: hidden;
}

.skillbox .skillbox-cost {
	flex: 0 0 auto;
	text-align: center;
}

.skillbox .skillbox-cost-label img,
.skillbox .skillbox-cost-dots img {
	vertical-align: middle;
}

.skillbox .skillbox-cost-dots img {
	margin: 0 1px;
}

.skillbox .skillbox-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 10px;
	margin: 6px 0;
}

.skillbox .skillbox-badge {
	display: flex;
	align-items: center;
	gap: 4px;
}

.skillbox .skillbox-badge-label {
	flex: 0 0 auto;
	font-weight: bold;
	color: #5a4a28;
}

.skillbox .skillbox-badge-value {
	flex: 1 1 auto;
	background: url("https://dwiki.doil.me/langrisser/images/7/75/Skillbox-btn.png") no-repeat center / 100% 100%;
	color: #fff;
	font-weight: bold;
	text-align: center;
	padding: 3px 8px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
	white-space: nowrap;
}

.skillbox .skillbox-divider {
	text-align: center;
	margin: 4px 0;
}

.skillbox .skillbox-divider img {
	max-width: 100%;
}

.skillbox .skillbox-desc {
	background: #f6e7c6;
	border-radius: 8px;
	padding: 10px 12px;
	color: #7c4a2d;
}

/* === MainSection — Template:MainSection 전용 (대문 섹션 박스) === */
.mainsection-box {
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #c9a95c;
	border-radius: 8px;
	padding: 0 0 12px;
	margin-bottom: 16px;
	overflow: hidden;
}

.mainsection-header {
	background: url("https://dwiki.doil.me/langrisser/images/6/69/Skillbox-header.png") no-repeat center / 100% 100%;
	color: #ffd76a;
	font-weight: bold;
	font-size: 16px;
	text-align: center;
	padding: 10px 8px;
	text-shadow: 1px 1px 2px #000;
	margin-bottom: 10px;
}

.mainsection-body {
	padding: 0 14px;
	color: #4a3b22;
	font-size: 13px;
	line-height: 1.6;
}

.mainsection-columns {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.mainsection-col {
	flex: 1 1 360px;
	min-width: 300px;
}

.mainsection-placeholder {
	background: #f6e7c6;
	border: 1px dashed #c9a95c;
	border-radius: 6px;
	padding: 20px 10px;
	text-align: center;
	color: #7c4a2d;
	font-size: 13px;
}

.mainsection-btn {
	display: inline-block;
	background: url("https://dwiki.doil.me/langrisser/images/7/75/Skillbox-btn.png") no-repeat center / 100% 100%;
	color: #fff;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
	padding: 10px 20px;
	margin: 4px 8px 4px 0;
}

.mainsection-btn:hover {
	color: #fff;
	text-decoration: none;
}