틀:정보상자/styles.css
편집하기
Brokey
(
토론
|
기여
)
님의 2026년 7월 23일 (목) 18:34 판
(
Brokey
(
토론
)의
205
판 편집을 되돌림)
(
차이
)
← 이전 판
|
최신판
(
차이
) |
다음 판 →
(
차이
)
둘러보기로 이동
검색으로 이동
경고: 이 문서의 오래된 판을 편집하고 있습니다.
이것을 게시하면, 이 판 이후로 바뀐 모든 편집이 사라집니다.
경고:
로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다.
로그인
하거나
계정을 생성하면
편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.
스팸 방지 검사입니다. 이것을 입력하지
마세요
!
.infobox { --infobox-outer: #5d3b30; --infobox-outer-edge: #45291f; --infobox-inner: #ead5af; --infobox-inner-edge: #c8aa7e; --infobox-panel: #f3e8d7; --infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Light.png"); --infobox-ribbon: #875340; --infobox-row-bg: #f7efe4; --infobox-row-edge: #bca184; --infobox-row-divider: #d5c0aa; --infobox-label-text: #231915; --infobox-text: #493329; --infobox-link: #8f573f; --infobox-link-hover: #653929; --infobox-focus: #ad775f; --infobox-title-text: #fffaf4; --infobox-text-outline: #472b20; --infobox-shadow: rgba(68, 42, 31, 0.22); position: relative; float: right; clear: right; width: 328px; max-width: 100%; margin: 0 0 1.25rem 1.25rem; padding: 1.05rem 0.48rem 0.72rem; border: 3px solid var(--infobox-outer-edge); border-radius: 24px; box-sizing: border-box; background: var(--infobox-inner); color: var(--infobox-text); font-family: "SB Aggro L", "SB 어그로 L", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: 0.92rem; font-weight: 300; line-height: 1.55; box-shadow: 0 8px 22px var(--infobox-shadow); overflow: visible; } .infobox::before { position: absolute; top: 6px; right: 6px; bottom: 6px; left: 6px; border: 1px solid var(--infobox-inner-edge); border-radius: 18px; box-sizing: border-box; content: ""; pointer-events: none; } .infobox__title, .infobox__panel { position: relative; z-index: 1; } /* 이름칸 */ .infobox__title { display: flex; align-items: center; justify-content: center; width: calc(100% - 2px); margin: -1.72rem auto 0; padding: 0.94rem 2.35rem; border: 0; box-sizing: border-box; background: var(--infobox-ribbon); clip-path: polygon( 0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50% ); color: var(--infobox-title-text); font-family: "SB Aggro B", "SB 어그로 B", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: 1.28rem; font-weight: 700; line-height: 1.14; letter-spacing: -0.03em; text-align: center; text-shadow: -2px -2px 0 var(--infobox-text-outline), 0 -2px 0 var(--infobox-text-outline), 2px -2px 0 var(--infobox-text-outline), -2px 0 0 var(--infobox-text-outline), 2px 0 0 var(--infobox-text-outline), -2px 2px 0 var(--infobox-text-outline), 0 2px 0 var(--infobox-text-outline), 2px 2px 0 var(--infobox-text-outline), -1px -2px 0 var(--infobox-text-outline), 1px -2px 0 var(--infobox-text-outline), -2px -1px 0 var(--infobox-text-outline), 2px -1px 0 var(--infobox-text-outline), -2px 1px 0 var(--infobox-text-outline), 2px 1px 0 var(--infobox-text-outline), -1px 2px 0 var(--infobox-text-outline), 1px 2px 0 var(--infobox-text-outline); overflow-wrap: anywhere; word-break: keep-all; } .infobox__title p { margin: 0; font: inherit; color: inherit; line-height: inherit; } /* 내부 영역 */ .infobox__panel { margin-top: 0.58rem; padding: 0 0.08rem 0.1rem; background: transparent; } /* 이미지칸 */ .infobox__image { position: relative; display: flex; align-items: center; justify-content: center; width: calc(100% - 14px); aspect-ratio: 1 / 1; margin: 0 auto 0.78rem; padding: 0.82rem; border: 0; border-radius: 0; box-sizing: border-box; background-color: transparent; background-image: var(--infobox-image-bg); background-repeat: no-repeat; background-position: center; background-size: contain; box-shadow: none; overflow: visible; text-align: center; } .infobox__image::before, .infobox__image::after { display: none; } .infobox__image a, .infobox__image img { position: relative; z-index: 1; } .infobox__image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; } .infobox__image img { display: block; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0 auto; object-fit: contain; } /* 정보칸 */ .infobox__details { width: calc(100% - 24px); margin: 0 auto; border: 1px solid var(--infobox-row-edge); border-collapse: separate; border-spacing: 0; border-radius: 14px; table-layout: fixed; background: var(--infobox-row-bg); box-sizing: border-box; overflow: hidden; } .infobox__details tr { background: transparent; } .infobox__details th, .infobox__details td { padding: 0.52rem 0.72rem; border: 0; border-radius: 0; box-sizing: border-box; background-color: var(--infobox-row-bg); background-repeat: no-repeat; line-height: 1.38; text-align: left; } .infobox__details tr:not(:last-child) th { background-image: linear-gradient( var(--infobox-row-divider), var(--infobox-row-divider) ); background-position: right bottom; background-size: calc(100% - 0.72rem) 1px; } .infobox__details tr:not(:last-child) td { background-image: linear-gradient( var(--infobox-row-divider), var(--infobox-row-divider) ); background-position: left bottom; background-size: calc(100% - 0.72rem) 1px; } .infobox__details th { width: 31%; color: var(--infobox-label-text); font-family: "SB Aggro M", "SB 어그로 M", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: 0.83rem; font-weight: 500; vertical-align: top; text-shadow: none; word-break: keep-all; } .infobox__details td { width: 69%; color: var(--infobox-text); font-family: "SB Aggro L", "SB 어그로 L", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: 0.9rem; font-weight: 300; vertical-align: middle; word-break: break-word; overflow-wrap: anywhere; } /* 섹션 제목 */ .infobox__section-title, .infobox__subtitle, .infobox__panel > h2, .infobox__panel > h3 { position: relative; display: block; width: calc(100% - 14px); margin: 0.9rem auto 0.62rem; padding: 0.7rem 2.04rem 0.7rem 1.18rem; border: 0; box-sizing: border-box; background: var(--infobox-ribbon); clip-path: polygon( 0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50% ); color: var(--infobox-title-text); font-family: "SB Aggro B", "SB 어그로 B", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: 1.08rem; font-weight: 700; line-height: 1.14; text-align: center; text-shadow: -1px -1px 0 var(--infobox-text-outline), 0 -1px 0 var(--infobox-text-outline), 1px -1px 0 var(--infobox-text-outline), -1px 0 0 var(--infobox-text-outline), 1px 0 0 var(--infobox-text-outline), -1px 1px 0 var(--infobox-text-outline), 0 1px 0 var(--infobox-text-outline), 1px 1px 0 var(--infobox-text-outline); } .infobox__section-title::after, .infobox__subtitle::after, .infobox__panel > h2::after, .infobox__panel > h3::after { position: absolute; top: 50%; right: 0.84rem; width: 0; height: 0; border-top: 8px solid var(--infobox-outer-edge); border-right: 8px solid transparent; border-left: 8px solid transparent; content: ""; transform: translateY(-34%); } /* 섹션 본문 */ .infobox__section-body, .infobox__listbox, .infobox__games, .infobox__appearance-list { width: calc(100% - 14px); margin: 0 auto 0.36rem; padding: 0.84rem 0.92rem; border: 1px solid var(--infobox-row-edge); border-radius: 7px; box-sizing: border-box; background: var(--infobox-panel); color: var(--infobox-text); font-size: 0.92rem; line-height: 1.48; } /* 공통 텍스트 */ .infobox__details p, .infobox__section-body p, .infobox__listbox p, .infobox__games p, .infobox__appearance-list p { margin: 0.1em 0; font: inherit; } .infobox__details ul, .infobox__details ol, .infobox__section-body ul, .infobox__section-body ol, .infobox__listbox ul, .infobox__listbox ol, .infobox__games ul, .infobox__games ol, .infobox__appearance-list ul, .infobox__appearance-list ol { margin: 0.14em 0 0.14em 1.12em; padding: 0; font: inherit; } .infobox__details li, .infobox__section-body li, .infobox__listbox li, .infobox__games li, .infobox__appearance-list li { margin: 0.1em 0; font: inherit; } .infobox small, .infobox sup, .infobox__details small, .infobox__details sup, .infobox__section-body small, .infobox__section-body sup, .infobox__listbox small, .infobox__listbox sup, .infobox__games small, .infobox__games sup, .infobox__appearance-list small, .infobox__appearance-list sup { position: static; top: auto; bottom: auto; vertical-align: baseline; line-height: inherit; font-size: 0.85em; } .infobox a { color: var(--infobox-link); font-family: inherit; font-weight: inherit; text-decoration: none; } .infobox a:hover { color: var(--infobox-link-hover); text-decoration: underline; } .infobox a:focus { outline: 2px solid var(--infobox-focus); outline-offset: 2px; } /* 720px 이하 */ @media screen and (max-width: 720px) { .infobox { float: none; clear: both; width: 100%; max-width: 100%; margin: 0 0 1.1rem; padding: 1rem 0.42rem 0.66rem; border-radius: 22px; font-size: 1rem; } .infobox::before { top: 5px; right: 5px; bottom: 5px; left: 5px; border-radius: 17px; } .infobox__title { width: 100%; margin-top: -1.6rem; padding: 0.9rem 2rem; font-size: 1.46rem; } .infobox__image { width: calc(100% - 12px); padding: 0.76rem; } .infobox__details { width: calc(100% - 20px); border-radius: 13px; } .infobox__details th, .infobox__details td { padding: 0.52rem 0.66rem; } .infobox__details tr:not(:last-child) th { background-size: calc(100% - 0.66rem) 1px; } .infobox__details tr:not(:last-child) td { background-size: calc(100% - 0.66rem) 1px; } .infobox__details th { width: 31%; font-size: 0.96rem; } .infobox__details td { width: 69%; font-size: 1rem; } .infobox__section-title, .infobox__subtitle, .infobox__panel > h2, .infobox__panel > h3, .infobox__section-body, .infobox__listbox, .infobox__games, .infobox__appearance-list { width: calc(100% - 10px); } .infobox__section-title, .infobox__subtitle, .infobox__panel > h2, .infobox__panel > h3 { font-size: 1.2rem; } .infobox__section-body, .infobox__listbox, .infobox__games, .infobox__appearance-list { font-size: 1rem; } } /* 480px 이하 */ @media screen and (max-width: 480px) { .infobox { padding: 0.92rem 0.34rem 0.58rem; border-radius: 19px; } .infobox::before { top: 4px; right: 4px; bottom: 4px; left: 4px; border-radius: 14px; } .infobox__title { margin-top: -1.42rem; padding: 0.78rem 1.72rem; font-size: 1.28rem; } .infobox__image { width: calc(100% - 8px); padding: 0.66rem; } .infobox__details { width: calc(100% - 16px); border-radius: 12px; } .infobox__details th, .infobox__details td { padding: 0.48rem 0.58rem; } .infobox__details tr:not(:last-child) th { background-size: calc(100% - 0.58rem) 1px; } .infobox__details tr:not(:last-child) td { background-size: calc(100% - 0.58rem) 1px; } .infobox__details th { width: 33%; font-size: 0.89rem; } .infobox__details td { width: 67%; font-size: 0.95rem; } .infobox__section-title, .infobox__subtitle, .infobox__panel > h2, .infobox__panel > h3, .infobox__section-body, .infobox__listbox, .infobox__games, .infobox__appearance-list { width: calc(100% - 6px); } .infobox__section-title, .infobox__subtitle, .infobox__panel > h2, .infobox__panel > h3 { padding: 0.64rem 1.78rem 0.64rem 1rem; font-size: 1.04rem; } .infobox__section-body, .infobox__listbox, .infobox__games, .infobox__appearance-list { padding: 0.76rem 0.8rem; font-size: 0.95rem; } } /* 수동 다크 모드 */ @media screen { html.skin-theme-clientpref-night .infobox { --infobox-outer: #4c3329; --infobox-outer-edge: #36231c; --infobox-inner: #6d5644; --infobox-inner-edge: #8c7157; --infobox-panel: #3d332d; --infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png"); --infobox-ribbon: #805542; --infobox-row-bg: #433731; --infobox-row-edge: #896c59; --infobox-row-divider: #6f5748; --infobox-label-text: #f3e8df; --infobox-text: #f3e8df; --infobox-link: #edc1a9; --infobox-link-hover: #ffe1d0; --infobox-focus: #d1a58b; --infobox-title-text: #fff8f2; --infobox-text-outline: #301d16; --infobox-shadow: rgba(0, 0, 0, 0.34); } } /* OS 다크 모드 */ @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox { --infobox-outer: #4c3329; --infobox-outer-edge: #36231c; --infobox-inner: #6d5644; --infobox-inner-edge: #8c7157; --infobox-panel: #3d332d; --infobox-image-bg: url("/wiki/Special:Redirect/file/Template_Bg_Dark.png"); --infobox-ribbon: #805542; --infobox-row-bg: #433731; --infobox-row-edge: #896c59; --infobox-row-divider: #6f5748; --infobox-label-text: #f3e8df; --infobox-text: #f3e8df; --infobox-link: #edc1a9; --infobox-link-hover: #ffe1d0; --infobox-focus: #d1a58b; --infobox-title-text: #fff8f2; --infobox-text-outline: #301d16; --infobox-shadow: rgba(0, 0, 0, 0.34); } }
요약:
식물 vs 좀비 위키에서의 모든 기여는 다른 기여자가 편집, 수정, 삭제할 수 있다는 점을 유의해 주세요. 만약 여기에 동의하지 않는다면, 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다(자세한 사항은
식물 vs 좀비 위키:저작권
문서를 보세요).
저작권이 있는 내용을 허가 없이 저장하지 마세요!
취소
편집 도움말
(새 창에서 열림)
이 틀과 함께 문서 미리 보기
둘러보기 메뉴
개인 도구
로그인하지 않음
토론
기여
계정 만들기
로그인
이름공간
틀
토론
English
보기
읽기
편집
역사 보기
더 보기
새로 고침
검색
둘러보기
대문
최근 바뀜
임의 문서로
미디어위키 도움말
특수 문서 목록
도구
여기를 가리키는 문서
가리키는 글의 최근 바뀜
문서 정보
축약된 URL 얻기