틀:정보상자/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.72rem; | ||
border: 1px solid # | border: 1px solid #c8a46f; | ||
border-radius: 22px; | |||
border-radius: | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: #f3dfbd; | |||
background: # | color: #2f2924; | ||
color: # | |||
font-family: | font-family: | ||
-apple-system, | -apple-system, | ||
| 23번째 줄: | 20번째 줄: | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
line-height: 1.5; | line-height: 1.5; | ||
box-shadow: 0 14px | box-shadow: 0 14px 32px rgba(83, 63, 42, 0.2); | ||
} | } | ||
.company-infobox__title { | .company-infobox__title { | ||
padding: 0. | padding: 0.9rem 1rem; | ||
border-radius: 17px; | |||
border-radius: | background: #76523d; | ||
background: # | color: #fffaf3; | ||
color: # | font-family: | ||
font-size: 1. | "SB Aggro B", | ||
"SB 어그로 B", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
sans-serif; | |||
font-size: 1.22rem; | |||
font-weight: 700; | font-weight: 700; | ||
letter-spacing: -0.02em; | letter-spacing: -0.02em; | ||
line-height: 1. | line-height: 1.3; | ||
text-align: center; | text-align: center; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
| 48번째 줄: | 44번째 줄: | ||
} | } | ||
.company- | .company-infobox__panel { | ||
margin-top: 0.7rem; | |||
border: 1px solid # | border: 1px solid #ead4b2; | ||
border-radius: | border-radius: 18px; | ||
background: # | overflow: hidden; | ||
background: #fff7e8; | |||
} | |||
.company-infobox__image { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
min-height: 225px; | |||
padding: 1.5rem 1rem 1.35rem; | |||
box-sizing: border-box; | |||
background: #fff8eb; | |||
} | } | ||
.company- | .company-infobox__image img { | ||
display: block; | display: block; | ||
width: auto; | width: auto; | ||
| 63번째 줄: | 69번째 줄: | ||
max-height: 210px; | max-height: 210px; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | |||
filter: drop-shadow(0 11px 9px rgba(92, 62, 40, 0.24)); | |||
} | } | ||
.company- | .company-infobox__details { | ||
.company- | width: calc(100% - 2rem); | ||
border-top: | margin: 0 1rem 0.8rem; | ||
padding-top: 0.45rem; | |||
border-top: 1px solid #d7bfa0; | |||
border-collapse: collapse; | |||
border-spacing: 0; | |||
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; | |||
} | |||
.company-infobox__details th, | |||
.company-infobox__details td { | |||
min-width: 0; | |||
padding: 0.48rem 0; | |||
border: 0; | |||
box-sizing: border-box; | |||
vertical-align: top; | |||
font-family: | |||
"SB Aggro L", | |||
"SB 어그로 L", | |||
-apple-system, | |||
BlinkMacSystemFont, | |||
"Segoe UI", | |||
"Apple SD Gothic Neo", | |||
"Noto Sans KR", | |||
sans-serif; | |||
line-height: 1.5; | |||
} | } | ||
.company- | .company-infobox__details th { | ||
width: | width: 35%; | ||
padding | padding-right: 0.75rem; | ||
color: #312b26; | |||
font-size: 0.86rem; | |||
font-weight: 600; | |||
color: # | |||
font-size: 0. | |||
font-weight: | |||
text-align: left; | text-align: left; | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
.company- | .company-infobox__details td { | ||
color: #38312b; | |||
color: # | |||
font-size: 0.9rem; | font-size: 0.9rem; | ||
font-weight: 400; | font-weight: 400; | ||
text-align: left; | text-align: left; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
| 103번째 줄: | 131번째 줄: | ||
} | } | ||
.company- | .company-infobox__details p { | ||
margin: 0. | margin: 0.2em 0; | ||
} | } | ||
.company- | .company-infobox__details ul, | ||
.company- | .company-infobox__details ol { | ||
margin: 0. | margin: 0.2em 0 0.2em 1.2em; | ||
padding: 0; | padding: 0; | ||
} | } | ||
.company- | .company-infobox__details li { | ||
margin: 0. | margin: 0.1em 0; | ||
} | } | ||
.company- | .company-infobox__details sup { | ||
line-height: 1; | line-height: 1; | ||
} | } | ||
.company-infobox a { | .company-infobox a { | ||
color: # | color: #875635; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.company-infobox a:hover { | .company-infobox a:hover { | ||
color: # | color: #5f3924; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.company-infobox a:focus { | .company-infobox a:focus { | ||
outline: 2px solid # | outline: 2px solid #a97850; | ||
outline-offset: 2px; | outline-offset: 2px; | ||
border-radius: 3px; | border-radius: 3px; | ||
| 146번째 줄: | 172번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 1.1rem; | margin: 0 0 1.1rem; | ||
padding: 0.62rem; | |||
border-radius: | border-radius: 19px; | ||
box-shadow: 0 12px | box-shadow: 0 12px 28px rgba(83, 63, 42, 0.18); | ||
} | } | ||
.company-infobox__title { | .company-infobox__title { | ||
padding: 0. | padding: 0.84rem 0.85rem; | ||
font-size: 1. | font-size: 1.16rem; | ||
} | } | ||
.company- | .company-infobox__panel { | ||
margin-top: 0.62rem; | |||
border-radius: 16px; | |||
} | } | ||
.company- | .company-infobox__image { | ||
min-height: 210px; | |||
padding: 1.25rem 0.85rem; | |||
} | } | ||
.company- | .company-infobox__image img { | ||
max-height: 195px; | |||
} | } | ||
.company- | .company-infobox__details { | ||
width: calc(100% - 1.6rem); | |||
margin-right: 0.8rem; | |||
margin-left: 0.8rem; | |||
} | |||
.company-infobox__details th { | |||
width: 34%; | |||
padding-right: 0.6rem; | |||
} | } | ||
} | } | ||
| 176번째 줄: | 210번째 줄: | ||
@media screen and (max-width: 420px) { | @media screen and (max-width: 420px) { | ||
.company-infobox { | .company-infobox { | ||
padding: 0.52rem; | |||
} | |||
.company-infobox__image { | |||
min-height: 190px; | |||
} | |||
.company-infobox__image img { | |||
max-height: 180px; | |||
} | |||
.company-infobox__details { | |||
width: calc(100% - 1.3rem); | |||
margin-right: 0.65rem; | |||
margin-left: 0.65rem; | |||
} | } | ||
.company- | .company-infobox__details th { | ||
width: | width: 36%; | ||
padding: | padding-right: 0.5rem; | ||
font-size: 0. | font-size: 0.8rem; | ||
} | } | ||
.company- | .company-infobox__details td { | ||
font-size: 0.86rem; | |||
font-size: 0. | |||
} | } | ||
} | } | ||
| 194번째 줄: | 240번째 줄: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .company-infobox { | html.skin-theme-clientpref-night .company-infobox { | ||
border-color: # | border-color: #7d674f; | ||
background: # | background: #3d332a; | ||
color: # | color: #eee3d6; | ||
box-shadow: 0 16px | box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32); | ||
} | } | ||
html.skin-theme-clientpref-night .company-infobox__title { | html.skin-theme-clientpref-night .company-infobox__title { | ||
background: #795a46; | |||
background: # | color: #fff5e9; | ||
color: # | |||
} | } | ||
html.skin-theme-clientpref-night .company- | html.skin-theme-clientpref-night .company-infobox__panel { | ||
border-color: # | border-color: #665443; | ||
background: # | background: #332b25; | ||
} | } | ||
html.skin-theme-clientpref-night .company- | html.skin-theme-clientpref-night .company-infobox__image { | ||
background: #3a312a; | |||
} | } | ||
html.skin-theme-clientpref-night .company- | html.skin-theme-clientpref-night .company-infobox__image img { | ||
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.36)); | |||
} | } | ||
html.skin-theme-clientpref-night .company- | html.skin-theme-clientpref-night .company-infobox__details { | ||
border- | border-top-color: #705d4b; | ||
} | |||
color: # | |||
html.skin-theme-clientpref-night .company-infobox__details th { | |||
color: #f0e2d3; | |||
} | |||
html.skin-theme-clientpref-night .company-infobox__details td { | |||
color: #eee6dc; | |||
} | } | ||
html.skin-theme-clientpref-night .company-infobox a { | html.skin-theme-clientpref-night .company-infobox a { | ||
color: # | color: #e8b78a; | ||
} | } | ||
html.skin-theme-clientpref-night .company-infobox a:hover { | html.skin-theme-clientpref-night .company-infobox a:hover { | ||
color: # | color: #ffd0a7; | ||
} | } | ||
html.skin-theme-clientpref-night .company-infobox a:focus { | html.skin-theme-clientpref-night .company-infobox a:focus { | ||
outline-color: # | outline-color: #d6a070; | ||
} | } | ||
} | } | ||
| 244번째 줄: | 291번째 줄: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .company-infobox { | html.skin-theme-clientpref-os .company-infobox { | ||
border-color: # | border-color: #7d674f; | ||
background: # | background: #3d332a; | ||
color: # | color: #eee3d6; | ||
box-shadow: 0 16px | box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32); | ||
} | } | ||
html.skin-theme-clientpref-os .company-infobox__title { | html.skin-theme-clientpref-os .company-infobox__title { | ||
border-color: # | background: #795a46; | ||
background: # | color: #fff5e9; | ||
} | |||
html.skin-theme-clientpref-os .company-infobox__panel { | |||
border-color: #665443; | |||
background: #332b25; | |||
} | |||
html.skin-theme-clientpref-os .company-infobox__image { | |||
background: #3a312a; | |||
} | } | ||
html.skin-theme-clientpref-os .company- | html.skin-theme-clientpref-os .company-infobox__image img { | ||
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.36)); | |||
} | } | ||
html.skin-theme-clientpref-os .company- | html.skin-theme-clientpref-os .company-infobox__details { | ||
border-top-color: #705d4b; | |||
border-top-color: # | |||
} | } | ||
html.skin-theme-clientpref-os .company- | html.skin-theme-clientpref-os .company-infobox__details th { | ||
color: #f0e2d3; | |||
} | } | ||
html.skin-theme-clientpref-os .company- | html.skin-theme-clientpref-os .company-infobox__details td { | ||
color: #eee6dc; | |||
} | } | ||
html.skin-theme-clientpref-os .company-infobox a { | html.skin-theme-clientpref-os .company-infobox a { | ||
color: # | color: #e8b78a; | ||
} | } | ||
html.skin-theme-clientpref-os .company-infobox a:hover { | html.skin-theme-clientpref-os .company-infobox a:hover { | ||
color: # | color: #ffd0a7; | ||
} | } | ||
html.skin-theme-clientpref-os .company-infobox a:focus { | html.skin-theme-clientpref-os .company-infobox a:focus { | ||
outline-color: # | outline-color: #d6a070; | ||
} | } | ||
} | } | ||
2026년 7월 22일 (수) 00:31 판
.company-infobox {
float: right;
clear: right;
width: 320px;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
padding: 0.72rem;
border: 1px solid #c8a46f;
border-radius: 22px;
box-sizing: border-box;
background: #f3dfbd;
color: #2f2924;
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 14px 32px rgba(83, 63, 42, 0.2);
}
.company-infobox__title {
padding: 0.9rem 1rem;
border-radius: 17px;
background: #76523d;
color: #fffaf3;
font-family:
"SB Aggro B",
"SB 어그로 B",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
font-size: 1.22rem;
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.3;
text-align: center;
overflow-wrap: anywhere;
word-break: keep-all;
}
.company-infobox__panel {
margin-top: 0.7rem;
border: 1px solid #ead4b2;
border-radius: 18px;
overflow: hidden;
background: #fff7e8;
}
.company-infobox__image {
display: flex;
align-items: center;
justify-content: center;
min-height: 225px;
padding: 1.5rem 1rem 1.35rem;
box-sizing: border-box;
background: #fff8eb;
}
.company-infobox__image img {
display: block;
width: auto;
max-width: 100%;
height: auto;
max-height: 210px;
margin: 0 auto;
object-fit: contain;
filter: drop-shadow(0 11px 9px rgba(92, 62, 40, 0.24));
}
.company-infobox__details {
width: calc(100% - 2rem);
margin: 0 1rem 0.8rem;
padding-top: 0.45rem;
border-top: 1px solid #d7bfa0;
border-collapse: collapse;
border-spacing: 0;
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;
}
.company-infobox__details th,
.company-infobox__details td {
min-width: 0;
padding: 0.48rem 0;
border: 0;
box-sizing: border-box;
vertical-align: top;
font-family:
"SB Aggro L",
"SB 어그로 L",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Apple SD Gothic Neo",
"Noto Sans KR",
sans-serif;
line-height: 1.5;
}
.company-infobox__details th {
width: 35%;
padding-right: 0.75rem;
color: #312b26;
font-size: 0.86rem;
font-weight: 600;
text-align: left;
white-space: normal;
}
.company-infobox__details td {
color: #38312b;
font-size: 0.9rem;
font-weight: 400;
text-align: left;
overflow-wrap: anywhere;
word-break: break-word;
}
.company-infobox__details p {
margin: 0.2em 0;
}
.company-infobox__details ul,
.company-infobox__details ol {
margin: 0.2em 0 0.2em 1.2em;
padding: 0;
}
.company-infobox__details li {
margin: 0.1em 0;
}
.company-infobox__details sup {
line-height: 1;
}
.company-infobox a {
color: #875635;
text-decoration: none;
}
.company-infobox a:hover {
color: #5f3924;
text-decoration: underline;
}
.company-infobox a:focus {
outline: 2px solid #a97850;
outline-offset: 2px;
border-radius: 3px;
}
@media screen and (max-width: 720px) {
.company-infobox {
float: none;
clear: both;
width: 100%;
max-width: 100%;
margin: 0 0 1.1rem;
padding: 0.62rem;
border-radius: 19px;
box-shadow: 0 12px 28px rgba(83, 63, 42, 0.18);
}
.company-infobox__title {
padding: 0.84rem 0.85rem;
font-size: 1.16rem;
}
.company-infobox__panel {
margin-top: 0.62rem;
border-radius: 16px;
}
.company-infobox__image {
min-height: 210px;
padding: 1.25rem 0.85rem;
}
.company-infobox__image img {
max-height: 195px;
}
.company-infobox__details {
width: calc(100% - 1.6rem);
margin-right: 0.8rem;
margin-left: 0.8rem;
}
.company-infobox__details th {
width: 34%;
padding-right: 0.6rem;
}
}
@media screen and (max-width: 420px) {
.company-infobox {
padding: 0.52rem;
}
.company-infobox__image {
min-height: 190px;
}
.company-infobox__image img {
max-height: 180px;
}
.company-infobox__details {
width: calc(100% - 1.3rem);
margin-right: 0.65rem;
margin-left: 0.65rem;
}
.company-infobox__details th {
width: 36%;
padding-right: 0.5rem;
font-size: 0.8rem;
}
.company-infobox__details td {
font-size: 0.86rem;
}
}
@media screen {
html.skin-theme-clientpref-night .company-infobox {
border-color: #7d674f;
background: #3d332a;
color: #eee3d6;
box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}
html.skin-theme-clientpref-night .company-infobox__title {
background: #795a46;
color: #fff5e9;
}
html.skin-theme-clientpref-night .company-infobox__panel {
border-color: #665443;
background: #332b25;
}
html.skin-theme-clientpref-night .company-infobox__image {
background: #3a312a;
}
html.skin-theme-clientpref-night .company-infobox__image img {
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.36));
}
html.skin-theme-clientpref-night .company-infobox__details {
border-top-color: #705d4b;
}
html.skin-theme-clientpref-night .company-infobox__details th {
color: #f0e2d3;
}
html.skin-theme-clientpref-night .company-infobox__details td {
color: #eee6dc;
}
html.skin-theme-clientpref-night .company-infobox a {
color: #e8b78a;
}
html.skin-theme-clientpref-night .company-infobox a:hover {
color: #ffd0a7;
}
html.skin-theme-clientpref-night .company-infobox a:focus {
outline-color: #d6a070;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .company-infobox {
border-color: #7d674f;
background: #3d332a;
color: #eee3d6;
box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}
html.skin-theme-clientpref-os .company-infobox__title {
background: #795a46;
color: #fff5e9;
}
html.skin-theme-clientpref-os .company-infobox__panel {
border-color: #665443;
background: #332b25;
}
html.skin-theme-clientpref-os .company-infobox__image {
background: #3a312a;
}
html.skin-theme-clientpref-os .company-infobox__image img {
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.36));
}
html.skin-theme-clientpref-os .company-infobox__details {
border-top-color: #705d4b;
}
html.skin-theme-clientpref-os .company-infobox__details th {
color: #f0e2d3;
}
html.skin-theme-clientpref-os .company-infobox__details td {
color: #eee6dc;
}
html.skin-theme-clientpref-os .company-infobox a {
color: #e8b78a;
}
html.skin-theme-clientpref-os .company-infobox a:hover {
color: #ffd0a7;
}
html.skin-theme-clientpref-os .company-infobox a:focus {
outline-color: #d6a070;
}
}