틀:정보상자/styles.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 |
||
| 55번째 줄: | 55번째 줄: | ||
.infobox__title { | .infobox__title { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| 66번째 줄: | 65번째 줄: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: #927159; | background: #927159; | ||
clip-path: polygon( | |||
0 0, | |||
21px 50%, | |||
0 100%, | |||
100% 100%, | |||
calc(100% - 21px) 50%, | |||
100% 0 | |||
); | |||
color: #fff9f1; | color: #fff9f1; | ||
font-family: | font-family: | ||
| 81번째 줄: | 88번째 줄: | ||
line-height: 1.28; | line-height: 1.28; | ||
text-align: center; | text-align: center; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | } | ||
.infobox__title p { | .infobox__title p { | ||
margin: 0; | margin: 0; | ||
font: inherit; | font: inherit; | ||
| 242번째 줄: | 225번째 줄: | ||
.infobox__details { | .infobox__details { | ||
width: 100%; | width: 100%; | ||
margin: -0.42rem | margin: 0.62rem 0 -0.42rem; | ||
border: 0; | border: 0; | ||
border-collapse: separate; | border-collapse: separate; | ||
| 260번째 줄: | 243번째 줄: | ||
.infobox__image + .infobox__details { | .infobox__image + .infobox__details { | ||
margin-top: | margin-top: 0.62rem; | ||
} | } | ||
| 274번째 줄: | 257번째 줄: | ||
.infobox__details th { | .infobox__details th { | ||
width: 31%; | width: 31%; | ||
padding-right: 0. | padding-right: 0.72rem; | ||
padding-left: 0.72rem; | padding-left: 0.72rem; | ||
border: 1px solid #ae9272; | border: 1px solid #ae9272; | ||
| 297번째 줄: | 278번째 줄: | ||
text-align: left; | text-align: left; | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
width: 69%; | width: 69%; | ||
padding-right: 0.76rem; | padding-right: 0.76rem; | ||
padding-left: | padding-left: 0.76rem; | ||
border: 1px solid #cbb79b; | border: 1px solid #cbb79b; | ||
border-left: 0; | border-left: 0; | ||
| 396번째 줄: | 363번째 줄: | ||
min-height: 64px; | min-height: 64px; | ||
padding: 0.82rem 2.3rem 0.78rem; | padding: 0.82rem 2.3rem 0.78rem; | ||
clip-path: polygon( | |||
0 0, | |||
23px 50%, | |||
0 100%, | |||
100% 100%, | |||
calc(100% - 23px) 50%, | |||
100% 0 | |||
); | |||
font-size: 1.9rem; | font-size: 1.9rem; | ||
line-height: 1.18; | line-height: 1.18; | ||
} | } | ||
| 427번째 줄: | 397번째 줄: | ||
.infobox__details { | .infobox__details { | ||
margin-top: | margin-top: 0.6rem; | ||
margin-bottom: -0.44rem; | margin-bottom: -0.44rem; | ||
border-spacing: 0 0.44rem; | border-spacing: 0 0.44rem; | ||
| 433번째 줄: | 403번째 줄: | ||
.infobox__image + .infobox__details { | .infobox__image + .infobox__details { | ||
margin-top: | margin-top: 0.6rem; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: 30%; | width: 30%; | ||
padding-right: 0. | padding-right: 0.7rem; | ||
padding-left: 0.7rem; | padding-left: 0.7rem; | ||
font-size: 0.98rem; | font-size: 0.98rem; | ||
} | } | ||
| 451번째 줄: | 416번째 줄: | ||
width: 70%; | width: 70%; | ||
padding-right: 0.76rem; | padding-right: 0.76rem; | ||
padding-left: | padding-left: 0.76rem; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
| 465번째 줄: | 430번째 줄: | ||
min-height: 58px; | min-height: 58px; | ||
padding: 0.72rem 1.9rem 0.68rem; | padding: 0.72rem 1.9rem 0.68rem; | ||
clip-path: polygon( | |||
0 0, | |||
18px 50%, | |||
0 100%, | |||
100% 100%, | |||
calc(100% - 18px) 50%, | |||
100% 0 | |||
); | |||
font-size: 1.7rem; | font-size: 1.7rem; | ||
} | } | ||
| 503번째 줄: | 471번째 줄: | ||
.infobox__details { | .infobox__details { | ||
margin-top: | margin-top: 0.5rem; | ||
margin-bottom: -0.36rem; | margin-bottom: -0.36rem; | ||
border-spacing: 0 0.36rem; | border-spacing: 0 0.36rem; | ||
| 509번째 줄: | 477번째 줄: | ||
.infobox__image + .infobox__details { | .infobox__image + .infobox__details { | ||
margin-top: | margin-top: 0.5rem; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: 34%; | width: 34%; | ||
padding-right: 0. | padding-right: 0.58rem; | ||
padding-left: 0.58rem; | padding-left: 0.58rem; | ||
border-radius: 8px 0 0 8px; | border-radius: 8px 0 0 8px; | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
line-height: 1.4; | line-height: 1.4; | ||
} | } | ||
| 529번째 줄: | 492번째 줄: | ||
width: 66%; | width: 66%; | ||
padding-right: 0.58rem; | padding-right: 0.58rem; | ||
padding-left: | padding-left: 0.58rem; | ||
border-radius: 0 8px 8px 0; | border-radius: 0 8px 8px 0; | ||
font-size: 0.96rem; | font-size: 0.96rem; | ||
| 551번째 줄: | 514번째 줄: | ||
background: #6b5546; | background: #6b5546; | ||
color: #fff5e9; | color: #fff5e9; | ||
} | } | ||
| 596번째 줄: | 554번째 줄: | ||
background: #59483b; | background: #59483b; | ||
color: #f0e4d7; | color: #f0e4d7; | ||
} | } | ||
| 636번째 줄: | 590번째 줄: | ||
background: #6b5546; | background: #6b5546; | ||
color: #fff5e9; | color: #fff5e9; | ||
} | } | ||
| 681번째 줄: | 630번째 줄: | ||
background: #59483b; | background: #59483b; | ||
color: #f0e4d7; | color: #f0e4d7; | ||
} | } | ||
2026년 7월 23일 (목) 00:47 판
.infobox {
position: relative;
float: right;
clear: right;
width: 328px;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
padding: 0.78rem;
border: 2px solid #826950;
border-radius: 20px;
box-sizing: border-box;
background: #e8ddc9;
color: #3b3028;
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 9px 24px rgba(70, 52, 39, 0.15);
overflow: hidden;
}
.infobox::before {
position: absolute;
z-index: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 18px;
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
background-repeat: repeat;
background-position: left top;
background-size: 520px auto;
content: "";
opacity: 0.015;
}
.infobox__hanger {
display: none;
}
.infobox__title,
.infobox__panel {
position: relative;
z-index: 1;
}
.infobox__title {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 58px;
padding: 0.72rem 2.1rem 0.68rem;
border: 0;
border-radius: 0;
box-sizing: border-box;
background: #927159;
clip-path: polygon(
0 0,
21px 50%,
0 100%,
100% 100%,
calc(100% - 21px) 50%,
100% 0
);
color: #fff9f1;
font-family:
"SB Aggro B",
"SB 어그로 B",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 1.3rem;
font-weight: 700;
letter-spacing: -0.025em;
line-height: 1.28;
text-align: center;
overflow-wrap: anywhere;
word-break: keep-all;
}
.infobox__title p {
margin: 0;
font: inherit;
color: inherit;
line-height: inherit;
}
.infobox__panel {
margin-top: 0.66rem;
padding: 0.62rem;
border: 1px solid #cbb99e;
border-radius: 14px;
box-sizing: border-box;
background: #f5eddf;
overflow: hidden;
}
.infobox__panel::before {
position: absolute;
z-index: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 13px;
background-image: url("/wiki/Special:Redirect/file/paper_texture.png");
background-repeat: repeat;
background-position: left top;
background-size: 520px auto;
content: "";
opacity: 0.012;
}
.infobox__image,
.infobox__details,
.infobox__section {
position: relative;
z-index: 1;
}
.infobox__image {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 82px;
max-height: 225px;
padding: 0.58rem;
border: 1px solid #d3c2a6;
border-radius: 10px;
box-sizing: border-box;
background: rgba(252, 248, 240, 0.94);
overflow: hidden;
}
.infobox__image::before {
position: absolute;
top: 0.34rem;
right: 0.34rem;
bottom: 0.34rem;
left: 0.34rem;
border: 1px solid #e7dcc9;
border-radius: 7px;
content: "";
}
.infobox__image::after {
position: absolute;
right: 0.7rem;
bottom: 0.52rem;
width: 30px;
height: 3px;
border-radius: 3px;
background: #bc9870;
content: "";
opacity: 0.42;
}
.infobox__image a,
.infobox__image img {
position: relative;
z-index: 1;
}
.infobox__image img {
display: block;
width: auto;
max-width: 100%;
height: auto;
max-height: 198px;
margin: 0 auto;
object-fit: contain;
}
.infobox__section {
display: flex;
align-items: center;
margin: 0.72rem 0 0.38rem;
padding: 0.34rem 0;
color: #5a4637;
font-family:
"SB Aggro M",
"SB 어그로 M",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 0.86rem;
font-weight: 500;
line-height: 1.4;
}
.infobox__section::before {
width: 5px;
height: 20px;
margin-right: 0.52rem;
border-radius: 4px;
background: #9b7658;
content: "";
}
.infobox__section::after {
flex: 1;
height: 1px;
margin-left: 0.62rem;
background: #d0bea3;
content: "";
}
.infobox__details {
width: 100%;
margin: 0.62rem 0 -0.42rem;
border: 0;
border-collapse: separate;
border-spacing: 0 0.42rem;
table-layout: fixed;
background: transparent;
font-family:
"SB Aggro L",
"SB 어그로 L",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
}
.infobox__image + .infobox__details {
margin-top: 0.62rem;
}
.infobox__details th,
.infobox__details td {
min-width: 0;
padding-top: 0.62rem;
padding-bottom: 0.62rem;
box-sizing: border-box;
vertical-align: middle;
line-height: 1.5;
}
.infobox__details th {
width: 31%;
padding-right: 0.72rem;
padding-left: 0.72rem;
border: 1px solid #ae9272;
border-right: 0;
border-radius: 9px 0 0 9px;
background: #d5c2a4;
color: #49372c;
font-family:
"SB Aggro M",
"SB 어그로 M",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 0.84rem;
font-weight: 500;
text-align: left;
white-space: normal;
}
.infobox__details td {
width: 69%;
padding-right: 0.76rem;
padding-left: 0.76rem;
border: 1px solid #cbb79b;
border-left: 0;
border-radius: 0 9px 9px 0;
background: rgba(253, 249, 241, 0.96);
color: #3b3028;
font-family:
"SB Aggro L",
"SB 어그로 L",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 0.91rem;
font-weight: 300;
text-align: left;
overflow-wrap: anywhere;
word-break: break-word;
}
.infobox__details p {
margin: 0.18em 0;
font: inherit;
}
.infobox__details ul,
.infobox__details ol {
margin: 0.22em 0 0.22em 1.2em;
padding: 0;
font: inherit;
}
.infobox__details li {
margin: 0.12em 0;
font: inherit;
}
.infobox__details sup {
line-height: 1;
}
.infobox a {
color: #75563e;
font-family: inherit;
font-weight: inherit;
text-decoration: none;
}
.infobox a:hover {
color: #4f3727;
text-decoration: underline;
}
.infobox a:focus {
outline: 2px solid #a17d5f;
}
@media screen and (max-width: 720px) {
.infobox {
float: none;
clear: both;
width: 100%;
max-width: 100%;
margin: 0 0 1.1rem;
padding: 0.68rem;
border-radius: 18px;
font-size: 1rem;
line-height: 1.55;
box-shadow: 0 7px 18px rgba(70, 52, 39, 0.13);
}
.infobox::before {
border-radius: 16px;
}
.infobox__title {
min-height: 64px;
padding: 0.82rem 2.3rem 0.78rem;
clip-path: polygon(
0 0,
23px 50%,
0 100%,
100% 100%,
calc(100% - 23px) 50%,
100% 0
);
font-size: 1.9rem;
line-height: 1.18;
}
.infobox__panel {
margin-top: 0.6rem;
padding: 0.56rem;
border-radius: 12px;
}
.infobox__image {
min-height: 90px;
max-height: 235px;
padding: 0.58rem;
border-radius: 9px;
}
.infobox__image img {
max-height: 208px;
}
.infobox__section {
font-size: 0.98rem;
}
.infobox__details {
margin-top: 0.6rem;
margin-bottom: -0.44rem;
border-spacing: 0 0.44rem;
}
.infobox__image + .infobox__details {
margin-top: 0.6rem;
}
.infobox__details th {
width: 30%;
padding-right: 0.7rem;
padding-left: 0.7rem;
font-size: 0.98rem;
}
.infobox__details td {
width: 70%;
padding-right: 0.76rem;
padding-left: 0.76rem;
font-size: 1rem;
}
}
@media screen and (max-width: 480px) {
.infobox {
padding: 0.56rem;
border-radius: 16px;
}
.infobox__title {
min-height: 58px;
padding: 0.72rem 1.9rem 0.68rem;
clip-path: polygon(
0 0,
18px 50%,
0 100%,
100% 100%,
calc(100% - 18px) 50%,
100% 0
);
font-size: 1.7rem;
}
.infobox__panel {
padding: 0.46rem;
border-radius: 10px;
}
.infobox__image {
min-height: 72px;
max-height: 205px;
padding: 0.46rem;
border-radius: 8px;
}
.infobox__image::before {
top: 0.28rem;
right: 0.28rem;
bottom: 0.28rem;
left: 0.28rem;
border-radius: 6px;
}
.infobox__image img {
max-height: 180px;
}
.infobox__section {
margin-top: 0.6rem;
font-size: 0.94rem;
}
.infobox__details {
margin-top: 0.5rem;
margin-bottom: -0.36rem;
border-spacing: 0 0.36rem;
}
.infobox__image + .infobox__details {
margin-top: 0.5rem;
}
.infobox__details th {
width: 34%;
padding-right: 0.58rem;
padding-left: 0.58rem;
border-radius: 8px 0 0 8px;
font-size: 0.92rem;
line-height: 1.4;
}
.infobox__details td {
width: 66%;
padding-right: 0.58rem;
padding-left: 0.58rem;
border-radius: 0 8px 8px 0;
font-size: 0.96rem;
line-height: 1.5;
}
}
@media screen {
html.skin-theme-clientpref-night .infobox {
border-color: #705d4b;
background: #39312b;
color: #eee5da;
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}
html.skin-theme-clientpref-night .infobox::before {
opacity: 0.007;
}
html.skin-theme-clientpref-night .infobox__title {
background: #6b5546;
color: #fff5e9;
}
html.skin-theme-clientpref-night .infobox__panel {
border-color: #645646;
background: #2e2823;
}
html.skin-theme-clientpref-night .infobox__panel::before {
opacity: 0.006;
}
html.skin-theme-clientpref-night .infobox__image {
border-color: #68594a;
background: #39322c;
}
html.skin-theme-clientpref-night .infobox__image::before {
border-color: #50463e;
}
html.skin-theme-clientpref-night .infobox__image::after {
background: #aa8462;
}
html.skin-theme-clientpref-night .infobox__section {
color: #eee1d3;
}
html.skin-theme-clientpref-night .infobox__section::before {
background: #ae8867;
}
html.skin-theme-clientpref-night .infobox__section::after {
background: #635446;
}
html.skin-theme-clientpref-night .infobox__details th {
border-color: #765f4b;
background: #59483b;
color: #f0e4d7;
}
html.skin-theme-clientpref-night .infobox__details td {
border-color: #695849;
background: #40362f;
color: #eee5da;
}
html.skin-theme-clientpref-night .infobox a {
color: #dcb28b;
}
html.skin-theme-clientpref-night .infobox a:hover {
color: #f1cfad;
}
html.skin-theme-clientpref-night .infobox a:focus {
outline-color: #c39a76;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
border-color: #705d4b;
background: #39312b;
color: #eee5da;
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}
html.skin-theme-clientpref-os .infobox::before {
opacity: 0.007;
}
html.skin-theme-clientpref-os .infobox__title {
background: #6b5546;
color: #fff5e9;
}
html.skin-theme-clientpref-os .infobox__panel {
border-color: #645646;
background: #2e2823;
}
html.skin-theme-clientpref-os .infobox__panel::before {
opacity: 0.006;
}
html.skin-theme-clientpref-os .infobox__image {
border-color: #68594a;
background: #39322c;
}
html.skin-theme-clientpref-os .infobox__image::before {
border-color: #50463e;
}
html.skin-theme-clientpref-os .infobox__image::after {
background: #aa8462;
}
html.skin-theme-clientpref-os .infobox__section {
color: #eee1d3;
}
html.skin-theme-clientpref-os .infobox__section::before {
background: #ae8867;
}
html.skin-theme-clientpref-os .infobox__section::after {
background: #635446;
}
html.skin-theme-clientpref-os .infobox__details th {
border-color: #765f4b;
background: #59483b;
color: #f0e4d7;
}
html.skin-theme-clientpref-os .infobox__details td {
border-color: #695849;
background: #40362f;
color: #eee5da;
}
html.skin-theme-clientpref-os .infobox a {
color: #dcb28b;
}
html.skin-theme-clientpref-os .infobox a:hover {
color: #f1cfad;
}
html.skin-theme-clientpref-os .infobox a:focus {
outline-color: #c39a76;
}
}