틀:정보상자/styles.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 |
||
| 5번째 줄: | 5번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.25rem 1.25rem; | margin: 0 0 1.25rem 1.25rem; | ||
padding: 0. | padding: 0.78rem; | ||
border: 3px solid # | border: 3px solid #7b5b45; | ||
border-radius: | border-radius: 22px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background: #d9c3a8; | ||
color: # | color: #433127; | ||
font-family: | font-family: | ||
-apple-system, | -apple-system, | ||
| 20번째 줄: | 20번째 줄: | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
line-height: 1.5; | line-height: 1.5; | ||
box-shadow: 0 | box-shadow: 0 8px 22px rgba(72, 51, 35, 0.22); | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
margin: 0 0.28rem; | |||
border: | padding: 0.4rem 1rem; | ||
border-radius: | border: 1px solid #6e503b; | ||
background: # | border-radius: 16px; | ||
color: # | background: #8a6a50; | ||
color: #fff8ef; | |||
font-family: | font-family: | ||
"SB Aggro B", | "SB Aggro B", | ||
| 38번째 줄: | 39번째 줄: | ||
font-size: 1.22rem; | font-size: 1.22rem; | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.3; | |||
letter-spacing: -0.02em; | letter-spacing: -0.02em; | ||
text-align: center; | text-align: center; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | } | ||
| 60번째 줄: | 54번째 줄: | ||
.infobox__panel { | .infobox__panel { | ||
margin: 0. | margin: 0.72rem 0.22rem 0.22rem; | ||
border: | border: 2px solid #ccb296; | ||
border-radius: | border-radius: 18px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background: #efe1ce; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| 72번째 줄: | 66번째 줄: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
min-height: 210px; | |||
min-height: | max-height: 280px; | ||
max-height: | padding: 1.05rem 1rem 1rem; | ||
padding: 1rem | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: | background: #efe1ce; | ||
border-bottom: 1px solid #ccb296; | |||
} | } | ||
| 88번째 줄: | 79번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 220px; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | object-fit: contain; | ||
filter: drop-shadow(0 | filter: drop-shadow(0 8px 8px rgba(86, 60, 40, 0.2)); | ||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 1rem); | ||
margin: 0. | margin: 0.55rem 0.5rem 0.65rem; | ||
border-collapse: separate; | |||
border-collapse: | border-spacing: 0 0.42rem; | ||
border-spacing: 0; | |||
table-layout: fixed; | table-layout: fixed; | ||
background: transparent; | background: transparent; | ||
| 116번째 줄: | 106번째 줄: | ||
.infobox__details td { | .infobox__details td { | ||
min-width: 0; | min-width: 0; | ||
padding: 0. | padding: 0.46rem 0.68rem; | ||
border: | border: 1px solid #b59678; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
vertical-align: top; | vertical-align: top; | ||
line-height: 1. | line-height: 1.45; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 38%; | ||
border-right: 0; | |||
color: # | border-radius: 10px 0 0 10px; | ||
background: #baa084; | |||
color: #47342a; | |||
font-family: | font-family: | ||
"SB Aggro M", | "SB Aggro M", | ||
| 143번째 줄: | 135번째 줄: | ||
.infobox__details td { | .infobox__details td { | ||
color: # | border-left: 0; | ||
border-radius: 0 10px 10px 0; | |||
background: #f7eee2; | |||
color: #47342a; | |||
font-family: | font-family: | ||
"SB Aggro L", | "SB Aggro L", | ||
| 161번째 줄: | 156번째 줄: | ||
.infobox__details p { | .infobox__details p { | ||
margin: 0. | margin: 0.18em 0; | ||
} | } | ||
| 195번째 줄: | 190번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.1rem; | margin: 0 0 1.1rem; | ||
padding: 0. | padding: 0.68rem; | ||
border-radius: 20px; | |||
border-radius: | |||
font-size: inherit; | font-size: inherit; | ||
line-height: inherit; | line-height: inherit; | ||
} | } | ||
.infobox .infobox__title { | .infobox .infobox__title { | ||
padding: 0. | padding: 0.52rem 1rem; | ||
border-radius: 15px; | |||
font-size: 2.8rem; | font-size: 2.8rem; | ||
line-height: 1. | line-height: 1.15; | ||
} | } | ||
| 223번째 줄: | 211번째 줄: | ||
.infobox__panel { | .infobox__panel { | ||
margin: 0. | margin: 0.68rem 0.18rem 0.18rem; | ||
border-radius: | border-radius: 16px; | ||
} | } | ||
.infobox__image { | .infobox__image { | ||
min-height: | min-height: 200px; | ||
max-height: | max-height: 260px; | ||
padding: 0. | padding: 0.95rem 0.9rem; | ||
} | } | ||
| 238번째 줄: | 226번째 줄: | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 0.9rem); | ||
margin: 0.45rem 0. | margin: 0.5rem 0.45rem 0.6rem; | ||
border-spacing: 0 0.38rem; | |||
} | } | ||
| 250번째 줄: | 239번째 줄: | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 36%; | ||
padding-right: 0. | padding-right: 0.55rem; | ||
} | } | ||
} | } | ||
| 257번째 줄: | 246번째 줄: | ||
@media screen and (max-width: 420px) { | @media screen and (max-width: 420px) { | ||
.infobox { | .infobox { | ||
padding: 0. | padding: 0.58rem; | ||
border-radius: | border-radius: 18px; | ||
} | } | ||
.infobox .infobox__title { | .infobox .infobox__title { | ||
padding: 0. | padding: 0.48rem 0.9rem; | ||
border-radius: 14px; | |||
font-size: 2.5rem; | font-size: 2.5rem; | ||
} | } | ||
.infobox__panel { | .infobox__panel { | ||
border-radius: 14px; | |||
} | } | ||
.infobox__image { | .infobox__image { | ||
min-height: | min-height: 180px; | ||
max-height: | max-height: 235px; | ||
padding: 0. | padding: 0.85rem 0.8rem; | ||
} | } | ||
.infobox__image img { | .infobox__image img { | ||
max-height: | max-height: 185px; | ||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - | width: calc(100% - 0.8rem); | ||
margin | margin: 0.46rem 0.4rem 0.55rem; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 37%; | ||
padding-right: 0. | padding-right: 0.45rem; | ||
} | } | ||
.infobox__details th, | .infobox__details th, | ||
.infobox__details td { | .infobox__details td { | ||
padding: 0.42rem 0.56rem; | |||
font-size: 1em; | font-size: 1em; | ||
} | } | ||
| 310번째 줄: | 289번째 줄: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox { | html.skin-theme-clientpref-night .infobox { | ||
border-color: # | border-color: #8b6d55; | ||
background: # | background: #4a392d; | ||
color: #eee2d5; | color: #eee2d5; | ||
box-shadow: 0 | box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__title { | html.skin-theme-clientpref-night .infobox__title { | ||
border-color: #745641; | |||
background: #6b4b39; | |||
color: #fff7ed; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__panel { | html.skin-theme-clientpref-night .infobox__panel { | ||
border-color: # | border-color: #7a624f; | ||
background: # | background: #3c2f27; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__image { | html.skin-theme-clientpref-night .infobox__image { | ||
border-bottom-color: # | background: #3c2f27; | ||
border-bottom-color: #7a624f; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__image img { | html.skin-theme-clientpref-night .infobox__image img { | ||
filter: drop-shadow(0 | filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.35)); | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__details th | html.skin-theme-clientpref-night .infobox__details th { | ||
border-color: #8a6e57; | |||
color: # | background: #6a5646; | ||
color: #f1e5d9; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__details | html.skin-theme-clientpref-night .infobox__details td { | ||
border-color: #8a6e57; | |||
background: #4a3a30; | |||
color: #f1e5d9; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox a { | html.skin-theme-clientpref-night .infobox a { | ||
color: # | color: #e0b181; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox a:hover { | html.skin-theme-clientpref-night .infobox a:hover { | ||
color: # | color: #f3cfab; | ||
} | } | ||
} | } | ||
| 356번째 줄: | 338번째 줄: | ||
@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: #8b6d55; | ||
background: # | background: #4a392d; | ||
color: #eee2d5; | color: #eee2d5; | ||
box-shadow: 0 | box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__title { | html.skin-theme-clientpref-os .infobox__title { | ||
border-color: #745641; | |||
background: #6b4b39; | |||
color: #fff7ed; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__panel { | html.skin-theme-clientpref-os .infobox__panel { | ||
border-color: # | border-color: #7a624f; | ||
background: # | background: #3c2f27; | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__image { | html.skin-theme-clientpref-os .infobox__image { | ||
border-bottom-color: # | background: #3c2f27; | ||
border-bottom-color: #7a624f; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__image img { | html.skin-theme-clientpref-os .infobox__image img { | ||
filter: drop-shadow(0 | filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.35)); | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__details th | html.skin-theme-clientpref-os .infobox__details th { | ||
border-color: #8a6e57; | |||
color: # | background: #6a5646; | ||
color: #f1e5d9; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__details | html.skin-theme-clientpref-os .infobox__details td { | ||
border-color: #8a6e57; | |||
background: #4a3a30; | |||
color: #f1e5d9; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox a { | html.skin-theme-clientpref-os .infobox a { | ||
color: # | color: #e0b181; | ||
} | } | ||
html.skin-theme-clientpref-os .infobox a:hover { | html.skin-theme-clientpref-os .infobox a:hover { | ||
color: # | color: #f3cfab; | ||
} | } | ||
} | } | ||
2026년 7월 22일 (수) 18:15 판
.infobox {
float: right;
clear: right;
width: 320px;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
padding: 0.78rem;
border: 3px solid #7b5b45;
border-radius: 22px;
box-sizing: border-box;
background: #d9c3a8;
color: #433127;
font-family:
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
font-size: 0.92rem;
line-height: 1.5;
box-shadow: 0 8px 22px rgba(72, 51, 35, 0.22);
}
.infobox__title {
margin: 0 0.28rem;
padding: 0.4rem 1rem;
border: 1px solid #6e503b;
border-radius: 16px;
background: #8a6a50;
color: #fff8ef;
font-family:
"SB Aggro B",
"SB 어그로 B",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
font-size: 1.22rem;
font-weight: 700;
line-height: 1.3;
letter-spacing: -0.02em;
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: 0.72rem 0.22rem 0.22rem;
border: 2px solid #ccb296;
border-radius: 18px;
box-sizing: border-box;
background: #efe1ce;
overflow: hidden;
}
.infobox__image {
display: flex;
align-items: center;
justify-content: center;
min-height: 210px;
max-height: 280px;
padding: 1.05rem 1rem 1rem;
box-sizing: border-box;
background: #efe1ce;
border-bottom: 1px solid #ccb296;
}
.infobox__image img {
display: block;
width: auto;
max-width: 100%;
height: auto;
max-height: 220px;
margin: 0 auto;
object-fit: contain;
filter: drop-shadow(0 8px 8px rgba(86, 60, 40, 0.2));
}
.infobox__details {
width: calc(100% - 1rem);
margin: 0.55rem 0.5rem 0.65rem;
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__details th,
.infobox__details td {
min-width: 0;
padding: 0.46rem 0.68rem;
border: 1px solid #b59678;
box-sizing: border-box;
vertical-align: top;
line-height: 1.45;
}
.infobox__details th {
width: 38%;
border-right: 0;
border-radius: 10px 0 0 10px;
background: #baa084;
color: #47342a;
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;
text-align: left;
white-space: normal;
}
.infobox__details td {
border-left: 0;
border-radius: 0 10px 10px 0;
background: #f7eee2;
color: #47342a;
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;
text-align: left;
overflow-wrap: anywhere;
word-break: break-word;
}
.infobox__details p {
margin: 0.18em 0;
}
.infobox__details ul,
.infobox__details ol {
margin: 0.2em 0 0.2em 1.2em;
padding: 0;
}
.infobox__details li {
margin: 0.1em 0;
}
.infobox__details sup {
line-height: 1;
}
.infobox a {
color: #8a562f;
text-decoration: none;
}
.infobox a:hover {
color: #5d351f;
text-decoration: underline;
}
@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: 20px;
font-size: inherit;
line-height: inherit;
}
.infobox .infobox__title {
padding: 0.52rem 1rem;
border-radius: 15px;
font-size: 2.8rem;
line-height: 1.15;
}
.infobox .infobox__title p {
margin: 0;
font: inherit;
color: inherit;
line-height: inherit;
}
.infobox__panel {
margin: 0.68rem 0.18rem 0.18rem;
border-radius: 16px;
}
.infobox__image {
min-height: 200px;
max-height: 260px;
padding: 0.95rem 0.9rem;
}
.infobox__image img {
max-height: 205px;
}
.infobox__details {
width: calc(100% - 0.9rem);
margin: 0.5rem 0.45rem 0.6rem;
border-spacing: 0 0.38rem;
}
.infobox__details,
.infobox__details th,
.infobox__details td {
font-size: 1em;
line-height: inherit;
}
.infobox__details th {
width: 36%;
padding-right: 0.55rem;
}
}
@media screen and (max-width: 420px) {
.infobox {
padding: 0.58rem;
border-radius: 18px;
}
.infobox .infobox__title {
padding: 0.48rem 0.9rem;
border-radius: 14px;
font-size: 2.5rem;
}
.infobox__panel {
border-radius: 14px;
}
.infobox__image {
min-height: 180px;
max-height: 235px;
padding: 0.85rem 0.8rem;
}
.infobox__image img {
max-height: 185px;
}
.infobox__details {
width: calc(100% - 0.8rem);
margin: 0.46rem 0.4rem 0.55rem;
}
.infobox__details th {
width: 37%;
padding-right: 0.45rem;
}
.infobox__details th,
.infobox__details td {
padding: 0.42rem 0.56rem;
font-size: 1em;
}
}
@media screen {
html.skin-theme-clientpref-night .infobox {
border-color: #8b6d55;
background: #4a392d;
color: #eee2d5;
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
html.skin-theme-clientpref-night .infobox__title {
border-color: #745641;
background: #6b4b39;
color: #fff7ed;
}
html.skin-theme-clientpref-night .infobox__panel {
border-color: #7a624f;
background: #3c2f27;
}
html.skin-theme-clientpref-night .infobox__image {
background: #3c2f27;
border-bottom-color: #7a624f;
}
html.skin-theme-clientpref-night .infobox__image img {
filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.35));
}
html.skin-theme-clientpref-night .infobox__details th {
border-color: #8a6e57;
background: #6a5646;
color: #f1e5d9;
}
html.skin-theme-clientpref-night .infobox__details td {
border-color: #8a6e57;
background: #4a3a30;
color: #f1e5d9;
}
html.skin-theme-clientpref-night .infobox a {
color: #e0b181;
}
html.skin-theme-clientpref-night .infobox a:hover {
color: #f3cfab;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
border-color: #8b6d55;
background: #4a392d;
color: #eee2d5;
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
html.skin-theme-clientpref-os .infobox__title {
border-color: #745641;
background: #6b4b39;
color: #fff7ed;
}
html.skin-theme-clientpref-os .infobox__panel {
border-color: #7a624f;
background: #3c2f27;
}
html.skin-theme-clientpref-os .infobox__image {
background: #3c2f27;
border-bottom-color: #7a624f;
}
html.skin-theme-clientpref-os .infobox__image img {
filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.35));
}
html.skin-theme-clientpref-os .infobox__details th {
border-color: #8a6e57;
background: #6a5646;
color: #f1e5d9;
}
html.skin-theme-clientpref-os .infobox__details td {
border-color: #8a6e57;
background: #4a3a30;
color: #f1e5d9;
}
html.skin-theme-clientpref-os .infobox a {
color: #e0b181;
}
html.skin-theme-clientpref-os .infobox a:hover {
color: #f3cfab;
}
}