본문으로 이동

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

Langrisser Wiki
랑그리사 위키 배경 이미지 적용
 
SkillBox 템플릿용 .skillbox 스타일 블록 추가
1번째 줄: 1번째 줄:
login: PASS
body {
body {
background-image: url("https://dwiki.doil.me/langrisser/images/c/cf/Lang-bg.jpg");
background-image: url("https://dwiki.doil.me/langrisser/images/c/cf/Lang-bg.jpg");
8번째 줄: 9번째 줄:
#content {
#content {
background-color: rgba(255, 255, 255, 0.92);
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;
}
}

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

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;
}