틀:정보상자/styles.css: 두 판 사이의 차이
식물 vs 좀비 위키
편집 요약 없음 태그: 모바일 편집 모바일 웹 편집 |
편집 요약 없음 |
||
| 3번째 줄: | 3번째 줄: | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
width: | width: 328px; | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1. | margin: 0 0 1.25rem 1.25rem; | ||
padding: 0.82rem; | padding: 0.82rem; | ||
border: | border: 2px solid #846951; | ||
border-radius: 22px; | |||
border-radius: 22px | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background-color: #e9dec9; | ||
color: # | background-image: url("/wiki/Special:Redirect/file/paper_texture.png"); | ||
background-repeat: repeat; | |||
background-position: left top; | |||
background-size: 360px auto; | |||
color: #3b3028; | |||
font-family: | font-family: | ||
-apple-system, | -apple-system, | ||
BlinkMacSystemFont, | BlinkMacSystemFont, | ||
| 22번째 줄: | 23번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 0. | font-size: 0.92rem; | ||
line-height: 1.55; | |||
line-height: 1. | box-shadow: 0 10px 26px rgba(70, 52, 39, 0.16); | ||
box-shadow: 0 | |||
overflow: visible; | overflow: visible; | ||
} | } | ||
. | .infobox__hanger { | ||
position: absolute; | |||
z-index: 3; | |||
top: 1.08rem; | |||
left: 1.12rem; | |||
width: 27px; | |||
height: 27px; | |||
background-image: url("/wiki/Special:Redirect/file/tag.svg"); | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
filter: | |||
invert(96%) | |||
sepia(8%) | |||
saturate(448%) | |||
hue-rotate(329deg) | |||
brightness(106%) | |||
contrast(101%); | |||
} | } | ||
.infobox__title { | .infobox__title { | ||
padding: 0. | position: relative; | ||
border: 1px solid # | display: flex; | ||
align-items: center; | |||
border-radius: | justify-content: center; | ||
width: 100%; | |||
min-height: 60px; | |||
padding: 0.76rem 3.45rem 0.72rem 3.3rem; | |||
border: 1px solid #765a45; | |||
border-radius: 16px 12px 16px 12px; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background: #92715a; | ||
color: # | color: #fff9f0; | ||
font-family: | font-family: | ||
-apple-system, | -apple-system, | ||
BlinkMacSystemFont, | BlinkMacSystemFont, | ||
| 50번째 줄: | 69번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
font-size: 1. | font-size: 1.3rem; | ||
font-weight: 700; | font-weight: 700; | ||
letter-spacing: -0.025em; | letter-spacing: -0.025em; | ||
line-height: 1. | line-height: 1.28; | ||
text-align: | text-align: center; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | |||
.infobox__title::after { | |||
position: absolute; | |||
top: 50%; | |||
right: 1rem; | |||
width: 25px; | |||
height: 25px; | |||
margin-top: -12px; | |||
background-image: url("/wiki/Special:Redirect/file/letter.svg"); | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
content: ""; | |||
opacity: 0.88; | |||
filter: | |||
invert(96%) | |||
sepia(8%) | |||
saturate(448%) | |||
hue-rotate(329deg) | |||
brightness(106%) | |||
contrast(101%); | |||
} | } | ||
| 66번째 줄: | 107번째 줄: | ||
} | } | ||
. | .infobox__panel { | ||
margin-top: 0. | margin-top: 0.7rem; | ||
border: 1px solid # | padding: 0.68rem; | ||
border-radius: | border: 1px solid #cbb99e; | ||
border-radius: 15px; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background-color: #f5eddf; | ||
background-image: url("/wiki/Special:Redirect/file/paper_texture.png"); | |||
background-repeat: repeat; | |||
background-position: left top; | |||
background-size: 360px auto; | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.infobox__image { | .infobox__image { | ||
position: relative; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: 100%; | width: 100%; | ||
min-height: | min-height: 205px; | ||
max-height: | max-height: 285px; | ||
padding: 1rem; | padding: 1.1rem; | ||
border: | border: 1px solid #d5c4a8; | ||
border- | border-radius: 12px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: | background: rgba(252, 248, 239, 0.88); | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
.infobox__image::before { | |||
position: absolute; | |||
top: 0.55rem; | |||
right: 0.55rem; | |||
bottom: 0.55rem; | |||
left: 0.55rem; | |||
border: 1px solid #e6dac6; | |||
border-radius: 8px; | |||
content: ""; | |||
} | |||
.infobox__image::after { | |||
position: absolute; | |||
right: 0.9rem; | |||
bottom: 0.78rem; | |||
width: 38px; | |||
height: 4px; | |||
border-radius: 4px; | |||
background: #c29c72; | |||
content: ""; | |||
opacity: 0.65; | |||
} | |||
.infobox__image a, | |||
.infobox__image img { | |||
position: relative; | |||
z-index: 1; | |||
} | } | ||
| 99번째 줄: | 171번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 230px; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | object-fit: contain; | ||
filter: drop-shadow(0 | filter: drop-shadow(0 4px 4px rgba(68, 49, 36, 0.12)); | ||
} | } | ||
.infobox__section { | .infobox__section { | ||
position: relative; | position: relative; | ||
padding: 0. | display: flex; | ||
align-items: center; | |||
min-height: 34px; | |||
margin: 0.76rem 0 0.36rem; | |||
padding: 0.38rem 0.75rem 0.38rem 2.05rem; | |||
border-left: 4px solid #997456; | |||
border-radius: 0 9px 9px 0; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background: #dfcfb5; | ||
color: #49382d; | |||
font-size: 0.86rem; | |||
font-weight: 700; | |||
line-height: 1.4; | |||
} | |||
.infobox__section::before { | |||
position: absolute; | |||
top: 50%; | |||
left: 0.62rem; | |||
width: 18px; | |||
height: 18px; | |||
margin-top: -9px; | |||
background-image: url("/wiki/Special:Redirect/file/bookmark.svg"); | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
content: ""; | |||
opacity: 0.72; | |||
filter: | |||
invert(34%) | |||
sepia(16%) | |||
saturate(1129%) | |||
hue-rotate(342deg) | |||
brightness(89%) | |||
contrast(83%); | |||
} | } | ||
. | .infobox__details { | ||
width: 100%; | |||
margin: 0 0 0 | margin: 0.05rem 0 0; | ||
border: 0; | |||
border- | border-collapse: separate; | ||
border- | border-spacing: 0 0.42rem; | ||
table-layout: fixed; | |||
background: transparent; | |||
font-family: | font-family: | ||
-apple-system, | -apple-system, | ||
BlinkMacSystemFont, | BlinkMacSystemFont, | ||
| 129번째 줄: | 231번째 줄: | ||
"Noto Sans KR", | "Noto Sans KR", | ||
sans-serif; | sans-serif; | ||
} | } | ||
.infobox__details { | .infobox__image + .infobox__details { | ||
margin-top: 0.7rem; | |||
margin | |||
} | } | ||
| 147번째 줄: | 240번째 줄: | ||
.infobox__details td { | .infobox__details td { | ||
min-width: 0; | min-width: 0; | ||
padding: 0. | padding-top: 0.56rem; | ||
padding-bottom: 0.56rem; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
vertical-align: top; | vertical-align: top; | ||
line-height: 1. | line-height: 1.5; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: 36%; | |||
width: | padding-right: 0.76rem; | ||
padding-right: 0. | |||
padding-left: 0.78rem; | padding-left: 0.78rem; | ||
border: 1px solid #b89d7c; | |||
border-right: 0; | |||
border-left-width: 4px; | |||
border-radius: 10px 0 0 10px; | |||
background: #d7c5a8; | |||
color: #47372d; | |||
font-size: 0.86rem; | |||
font-weight: 600; | |||
font-size: 0. | |||
font-weight: | |||
text-align: left; | text-align: left; | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
padding-left: 0. | padding-right: 0.72rem; | ||
padding-left: 0.76rem; | |||
border: 1px solid #cebaa0; | |||
border-left: 0; | |||
border-radius: 0 10px 10px 0; | |||
background: rgba(252, 247, 238, 0.94); | |||
color: #3b3028; | |||
font-size: 0.91rem; | |||
font-weight: 400; | |||
font-size: 0. | |||
font-weight: | |||
text-align: left; | text-align: left; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
| 211번째 줄: | 279번째 줄: | ||
.infobox__details p { | .infobox__details p { | ||
margin: 0. | margin: 0.2em 0; | ||
} | } | ||
.infobox__details ul, | .infobox__details ul, | ||
.infobox__details ol { | .infobox__details ol { | ||
margin: 0. | margin: 0.22em 0 0.22em 1.2em; | ||
padding: 0; | padding: 0; | ||
} | } | ||
| 229번째 줄: | 297번째 줄: | ||
.infobox a { | .infobox a { | ||
color: # | color: #795940; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.infobox a:hover { | .infobox a:hover { | ||
color: # | color: #523927; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.infobox a:focus { | .infobox a:focus { | ||
outline: 2px solid # | outline: 2px solid #a17d5f; | ||
} | } | ||
| 248번째 줄: | 316번째 줄: | ||
width: 100%; | width: 100%; | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1. | margin: 0 0 1.1rem; | ||
padding: 0. | padding: 0.7rem; | ||
border-radius: 20px; | |||
border-radius: 20px | |||
font-size: 1rem; | font-size: 1rem; | ||
line-height: 1. | line-height: 1.55; | ||
box-shadow: 0 | box-shadow: 0 8px 20px rgba(70, 52, 39, 0.14); | ||
} | } | ||
. | .infobox__hanger { | ||
top: 1.05rem; | |||
left: 1rem; | |||
width: 28px; | |||
height: 28px; | |||
} | } | ||
.infobox__title { | .infobox__title { | ||
padding: 0. | min-height: 66px; | ||
border-radius: | padding: 0.86rem 3.7rem 0.82rem 3.35rem; | ||
font-size: | border-radius: 15px 11px 15px 11px; | ||
line-height: 1. | font-size: 2rem; | ||
line-height: 1.18; | |||
} | } | ||
. | .infobox__title::after { | ||
margin-top: 0. | right: 1.1rem; | ||
border-radius: | width: 27px; | ||
height: 27px; | |||
margin-top: -13px; | |||
} | |||
.infobox__panel { | |||
margin-top: 0.64rem; | |||
padding: 0.6rem; | |||
border-radius: 13px; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
min-height: | min-height: 210px; | ||
max-height: | max-height: 295px; | ||
padding: | padding: 1rem; | ||
border-radius: 11px; | |||
} | } | ||
.infobox__image img { | .infobox__image img { | ||
max-height: | max-height: 240px; | ||
} | } | ||
.infobox__section { | .infobox__section { | ||
padding- | min-height: 38px; | ||
padding-left: 2.2rem; | |||
font-size: 0.98rem; | |||
} | } | ||
.infobox__section | .infobox__section::before { | ||
left: 0.7rem; | |||
width: 19px; | |||
height: 19px; | |||
margin-top: -9px; | |||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 35%; | ||
padding-left: 0. | padding-right: 0.7rem; | ||
padding-left: 0.74rem; | |||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
padding-right: 0.68rem; | |||
padding-left: 0.7rem; | |||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
} | } | ||
@media screen and (max-width: | @media screen and (max-width: 480px) { | ||
.infobox { | .infobox { | ||
padding: 0. | padding: 0.58rem; | ||
border-radius: 17px; | |||
border-radius: | |||
} | } | ||
. | .infobox__hanger { | ||
top: 0.92rem; | |||
left: 0.85rem; | |||
width: 25px; | |||
height: 25px; | |||
} | } | ||
.infobox__title { | .infobox__title { | ||
padding: 0. | min-height: 60px; | ||
font-size: | padding: 0.76rem 3.2rem 0.72rem 2.95rem; | ||
font-size: 1.75rem; | |||
} | |||
.infobox__title::after { | |||
right: 0.85rem; | |||
width: 23px; | |||
height: 23px; | |||
margin-top: -11px; | |||
} | |||
.infobox__panel { | |||
padding: 0.5rem; | |||
border-radius: 11px; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
min-height: 180px; | min-height: 180px; | ||
max-height: | max-height: 250px; | ||
padding: 0.82rem; | padding: 0.82rem; | ||
border-radius: 10px; | |||
} | } | ||
| 332번째 줄: | 433번째 줄: | ||
.infobox__section { | .infobox__section { | ||
margin-top: 0.62rem; | |||
padding-left: | padding-left: 2.05rem; | ||
font-size: 0.94rem; | |||
} | } | ||
| 349번째 줄: | 447번째 줄: | ||
} | } | ||
.infobox__details | .infobox__details { | ||
margin-top: 0; | |||
border-spacing: 0; | |||
} | } | ||
.infobox__details | .infobox__image + .infobox__details { | ||
margin-top: 0.58rem; | |||
} | } | ||
.infobox__details tr | .infobox__details tr { | ||
margin-bottom: 0.38rem; | |||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
padding: 0. | padding: 0.48rem 0.7rem; | ||
border-right: 1px solid #b89d7c; | |||
border-bottom: 0; | |||
border-left-width: 4px; | |||
border-radius: 9px 9px 0 0; | |||
font-size: 0.96rem; | font-size: 0.96rem; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0. | padding: 0.58rem 0.7rem; | ||
border-top: 0; | |||
border-left: 1px solid #cebaa0; | |||
border-radius: 0 0 9px 9px; | |||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
} | } | ||
| 381번째 줄: | 480번째 줄: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox { | html.skin-theme-clientpref-night .infobox { | ||
border-color: # | border-color: #715e4d; | ||
background-color: #3a322c; | |||
color: #eee5da; | |||
color: # | box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); | ||
box-shadow: 0 | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__title { | html.skin-theme-clientpref-night .infobox__title { | ||
border-color: # | border-color: #7a6350; | ||
background: # | background: #6d5748; | ||
color: # | color: #fff5e9; | ||
} | } | ||
html.skin-theme-clientpref-night . | html.skin-theme-clientpref-night .infobox__panel { | ||
border-color: # | border-color: #665747; | ||
background: # | background-color: #2f2924; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__image { | html.skin-theme-clientpref-night .infobox__image { | ||
border | border-color: #685a4b; | ||
background: | background: rgba(55, 48, 42, 0.94); | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__image | html.skin-theme-clientpref-night .infobox__image::before { | ||
border-color: #4f463e; | |||
} | } | ||
html.skin-theme-clientpref-night . | html.skin-theme-clientpref-night .infobox__image::after { | ||
background: # | background: #ad8765; | ||
} | } | ||
html.skin-theme-clientpref-night . | html.skin-theme-clientpref-night .infobox__image img { | ||
filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.28)); | |||
} | } | ||
html.skin-theme-clientpref-night . | html.skin-theme-clientpref-night .infobox__section { | ||
border-left-color: #ad8765; | |||
background: #51443a; | |||
color: #f0e3d5; | |||
} | } | ||
html.skin-theme-clientpref-night . | html.skin-theme-clientpref-night .infobox__section::before { | ||
filter: | |||
invert(80%) | |||
sepia(18%) | |||
saturate(589%) | |||
hue-rotate(343deg) | |||
brightness(93%) | |||
contrast(87%); | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__details th:: | html.skin-theme-clientpref-night .infobox__details th { | ||
border-color: #75624f; | |||
background: #594a3e; | |||
color: #f0e4d7; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__details td { | html.skin-theme-clientpref-night .infobox__details td { | ||
color: # | border-color: #6b594a; | ||
background: rgba(68, 57, 48, 0.96); | |||
color: #eee5da; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox a { | html.skin-theme-clientpref-night .infobox a { | ||
color: # | color: #dcb28b; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox a:hover { | html.skin-theme-clientpref-night .infobox a:hover { | ||
color: # | color: #f1cfad; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox a:focus { | html.skin-theme-clientpref-night .infobox a:focus { | ||
outline-color: # | outline-color: #c39a76; | ||
} | } | ||
} | } | ||
| 451번째 줄: | 557번째 줄: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .infobox { | html.skin-theme-clientpref-os .infobox { | ||
border-color: # | border-color: #715e4d; | ||
background-color: #3a322c; | |||
color: #eee5da; | |||
color: # | box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); | ||
box-shadow: 0 | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__title { | html.skin-theme-clientpref-os .infobox__title { | ||
border-color: # | border-color: #7a6350; | ||
background: # | background: #6d5748; | ||
color: # | color: #fff5e9; | ||
} | } | ||
html.skin-theme-clientpref-os . | html.skin-theme-clientpref-os .infobox__panel { | ||
border-color: # | border-color: #665747; | ||
background: # | background-color: #2f2924; | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__image { | html.skin-theme-clientpref-os .infobox__image { | ||
border | border-color: #685a4b; | ||
background: | background: rgba(55, 48, 42, 0.94); | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__image | html.skin-theme-clientpref-os .infobox__image::before { | ||
border-color: #4f463e; | |||
} | } | ||
html.skin-theme-clientpref-os . | html.skin-theme-clientpref-os .infobox__image::after { | ||
background: # | background: #ad8765; | ||
} | } | ||
html.skin-theme-clientpref-os . | html.skin-theme-clientpref-os .infobox__image img { | ||
filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.28)); | |||
} | } | ||
html.skin-theme-clientpref-os . | html.skin-theme-clientpref-os .infobox__section { | ||
border-left-color: #ad8765; | |||
background: #51443a; | |||
color: #f0e3d5; | |||
} | } | ||
html.skin-theme-clientpref-os . | html.skin-theme-clientpref-os .infobox__section::before { | ||
filter: | |||
invert(80%) | |||
sepia(18%) | |||
saturate(589%) | |||
hue-rotate(343deg) | |||
brightness(93%) | |||
contrast(87%); | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__details th:: | html.skin-theme-clientpref-os .infobox__details th { | ||
border-color: #75624f; | |||
background: #594a3e; | |||
color: #f0e4d7; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__details td { | html.skin-theme-clientpref-os .infobox__details td { | ||
color: # | border-color: #6b594a; | ||
background: rgba(68, 57, 48, 0.96); | |||
color: #eee5da; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox a { | html.skin-theme-clientpref-os .infobox a { | ||
color: # | color: #dcb28b; | ||
} | } | ||
html.skin-theme-clientpref-os .infobox a:hover { | html.skin-theme-clientpref-os .infobox a:hover { | ||
color: # | color: #f1cfad; | ||
} | } | ||
html.skin-theme-clientpref-os .infobox a:focus { | html.skin-theme-clientpref-os .infobox a:focus { | ||
outline-color: # | outline-color: #c39a76; | ||
} | } | ||
} | } | ||
