미디어위키:Common.css
외관
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
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 {
box-sizing: border-box;
border-style: solid;
border-color: transparent;
border-width: 7px 39px 8px 44px;
border-image: url("https://dwiki.doil.me/langrisser/images/6/69/Skillbox-header.png") 7 39 8 44 fill;
color: #ffd76a;
font-weight: bold;
font-size: 16px;
line-height: 30px;
text-align: left;
padding: 0 10px;
text-shadow: 1px 1px 2px #000;
margin: 0 60% -4px -1px;
position: relative;
z-index: 1;
white-space: nowrap;
}
.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;
}
/* === MainSectionGrid — Template:MainSectionGrid 전용 (대문 그리드형 섹션: 영웅/장비/기술) === */
.mainsection-tabs ul {
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 14px;
margin: 0 0 10px;
padding: 0 4px 8px;
border-bottom: 1px solid #c9a95c;
}
.mainsection-tabs li {
font-size: 13px;
font-weight: bold;
color: #7c4a2d;
}
.mainsection-tabs li.active {
color: #d33333;
}
.mainsection-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
gap: 8px;
background: #fdfdfb;
box-sizing: border-box;
border-style: solid;
border-color: transparent;
border-width: 18px 20px 18px 20px;
border-image: url("https://dwiki.doil.me/langrisser/images/e/ef/Skillbox-border.png") 18 20 18 20;
padding: 12px;
}
.mainsection-slot {
width: 68px;
height: 68px;
margin: 0 auto;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
}
.mainsection-slot-inner {
width: 100%;
height: 100%;
}
.mainsection-slot-inner img {
width: 100%;
height: 100%;
object-fit: cover;
}