틀:정보상자/styles.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 |
편집 요약 없음 |
||
| 155번째 줄: | 155번째 줄: | ||
color: #5f3924; | color: #5f3924; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
| 275번째 줄: | 269번째 줄: | ||
html.skin-theme-clientpref-night .company-infobox a:hover { | html.skin-theme-clientpref-night .company-infobox a:hover { | ||
color: #ffd0a7; | color: #ffd0a7; | ||
} | } | ||
} | } | ||
| 326번째 줄: | 316번째 줄: | ||
html.skin-theme-clientpref-os .company-infobox a:hover { | html.skin-theme-clientpref-os .company-infobox a:hover { | ||
color: #ffd0a7; | color: #ffd0a7; | ||
} | } | ||
} | } | ||
2026년 7월 22일 (수) 00:54 판
.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 0 24px rgba(83, 63, 42, 0.36);
}
.company-infobox__title {
padding: 0.62rem 0.85rem;
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;
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;
font-weight: 300;
line-height: 1.5;
}
.company-infobox__details th {
width: 35%;
padding-right: 0.75rem;
color: #6f6257;
font-size: 0.86rem;
text-align: left;
white-space: normal;
}
.company-infobox__details td {
color: #38312b;
font-size: 0.9rem;
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;
}
@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 0 21px rgba(83, 63, 42, 0.33);
}
.company-infobox__title {
padding: 0.58rem 0.75rem;
font-size: 1.16rem;
}
.company-infobox__panel {
margin-top: 0.62rem;
border-radius: 16px;
}
.company-infobox__image {
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 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 0 26px rgba(0, 0, 0, 0.46);
}
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: #c8b8a8;
}
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;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .company-infobox {
border-color: #7d674f;
background: #3d332a;
color: #eee3d6;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
}
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: #c8b8a8;
}
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;
}
}