틀:정보상자/styles.css: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
편집 요약 없음 태그: 되돌려진 기여 |
편집 요약 없음 태그: 수동 되돌리기 |
||
| 6번째 줄: | 6번째 줄: | ||
margin: 0 0 1.25rem 1.25rem; | margin: 0 0 1.25rem 1.25rem; | ||
padding: 0.72rem; | padding: 0.72rem; | ||
border: 3px solid # | border: 3px solid #587d55; | ||
border-radius: | border-radius: 6px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background: #dfe9dc; | ||
color: # | color: #293628; | ||
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 0 | box-shadow: 0 0 24px rgba(63, 91, 60, 0.32); | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
padding: 0. | padding: 0.28rem 0.85rem; | ||
border: | border: 0; | ||
border-radius: 4px; | border-radius: 4px; | ||
background: # | background: #608b5d; | ||
color: #f8fff6; | color: #f8fff6; | ||
font-family: | font-family: | ||
| 44번째 줄: | 43번째 줄: | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: keep-all; | word-break: keep-all; | ||
} | } | ||
.infobox__panel { | .infobox__panel { | ||
margin-top: 0. | margin-top: 0.7rem; | ||
border: | border: 0; | ||
border-radius: | border-radius: 5px; | ||
overflow: hidden; | overflow: hidden; | ||
background: # | background: #f2f5f0; | ||
} | } | ||
.infobox__image { | .infobox__image { | ||
position: relative; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
padding: 1. | padding: 1.5rem 1rem 1.35rem; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: # | background: #f2f5f0; | ||
} | |||
.infobox__image::after { | |||
position: absolute; | |||
right: 1rem; | |||
bottom: 0; | |||
left: 1rem; | |||
height: 1px; | |||
background: #bccbbb; | |||
content: ""; | |||
} | } | ||
| 69번째 줄: | 78번째 줄: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 210px; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | object-fit: contain; | ||
filter: drop-shadow(0 9px | filter: drop-shadow(0 11px 9px rgba(59, 81, 56, 0.22)); | ||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: calc(100% - 2rem); | width: calc(100% - 2rem); | ||
margin: 0 1rem 0. | margin: 0 1rem 0.8rem; | ||
padding-top: 0. | padding-top: 0.45rem; | ||
border | border: 0; | ||
border-collapse: | border-collapse: collapse; | ||
border-spacing: 0 | border-spacing: 0; | ||
table-layout: fixed; | table-layout: fixed; | ||
background: transparent; | background: transparent; | ||
| 98번째 줄: | 107번째 줄: | ||
.infobox__details td { | .infobox__details td { | ||
min-width: 0; | min-width: 0; | ||
padding: 0. | padding: 0.48rem 0; | ||
border: 0; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
vertical-align: | vertical-align: top; | ||
font-family: | font-family: | ||
"SB Aggro L", | "SB Aggro L", | ||
| 111번째 줄: | 121번째 줄: | ||
sans-serif; | sans-serif; | ||
font-weight: 300; | font-weight: 300; | ||
line-height: 1. | line-height: 1.5; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: 35%; | width: 35%; | ||
padding-right: 0.75rem; | |||
color: #6d7b6a; | |||
font-size: 0.86rem; | |||
color: # | |||
font-size: 0. | |||
text-align: left; | text-align: left; | ||
white-space: normal; | white-space: normal; | ||
| 126번째 줄: | 134번째 줄: | ||
.infobox__details td { | .infobox__details td { | ||
color: #303b2f; | |||
font-size: 0.9rem; | |||
color: # | |||
font-size: 0. | |||
text-align: left; | text-align: left; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
| 156번째 줄: | 160번째 줄: | ||
.infobox a { | .infobox a { | ||
color: # | color: #52794f; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.infobox a:hover { | .infobox a:hover { | ||
color: # | color: #365b34; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
| 173번째 줄: | 177번째 줄: | ||
margin: 0 0 1.1rem; | margin: 0 0 1.1rem; | ||
padding: 0.62rem; | padding: 0.62rem; | ||
border-radius: | border-radius: 5px; | ||
box-shadow: 0 0 | box-shadow: 0 0 21px rgba(63, 91, 60, 0.29); | ||
} | } | ||
.infobox__title { | .infobox__title { | ||
padding: 0. | padding: 0.25rem 0.75rem; | ||
border-radius: 3px; | |||
font-size: 1.16rem; | font-size: 1.16rem; | ||
} | } | ||
.infobox__panel { | .infobox__panel { | ||
margin-top: 0. | margin-top: 0.62rem; | ||
border-radius: | border-radius: 4px; | ||
} | } | ||
.infobox__image { | .infobox__image { | ||
padding: 1. | padding: 1.25rem 0.85rem; | ||
} | |||
.infobox__image::after { | |||
right: 0.8rem; | |||
left: 0.8rem; | |||
} | } | ||
.infobox__image img { | .infobox__image img { | ||
max-height: | max-height: 195px; | ||
} | } | ||
| 203번째 줄: | 213번째 줄: | ||
.infobox__details th { | .infobox__details th { | ||
width: 34%; | width: 34%; | ||
padding-right: 0. | padding-right: 0.6rem; | ||
} | } | ||
} | } | ||
| 213번째 줄: | 222번째 줄: | ||
} | } | ||
. | .infobox__image::after { | ||
right: 0.65rem; | |||
left: 0.65rem; | |||
} | } | ||
.infobox__image img { | .infobox__image img { | ||
max-height: | max-height: 180px; | ||
} | } | ||
| 231번째 줄: | 235번째 줄: | ||
margin-right: 0.65rem; | margin-right: 0.65rem; | ||
margin-left: 0.65rem; | margin-left: 0.65rem; | ||
} | } | ||
.infobox__details th { | .infobox__details th { | ||
width: | width: 36%; | ||
padding-right: 0. | padding-right: 0.5rem; | ||
font-size: 0.8rem; | |||
font-size: 0. | |||
} | } | ||
.infobox__details td { | .infobox__details td { | ||
font-size: 0.86rem; | |||
font-size: 0. | |||
} | } | ||
} | } | ||
| 255번째 줄: | 250번째 줄: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox { | html.skin-theme-clientpref-night .infobox { | ||
border-color: # | border-color: #597255; | ||
background: # | background: #2e382d; | ||
color: # | color: #e3ebe1; | ||
box-shadow: 0 0 | box-shadow: 0 0 26px rgba(0, 0, 0, 0.46); | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__title { | html.skin-theme-clientpref-night .infobox__title { | ||
background: #526f4f; | |||
background: # | color: #f4faf2; | ||
color: # | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__panel { | html.skin-theme-clientpref-night .infobox__panel { | ||
background: #293229; | |||
background: # | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__image { | html.skin-theme-clientpref-night .infobox__image { | ||
background: # | background: #293229; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__image | html.skin-theme-clientpref-night .infobox__image::after { | ||
background: #536250; | |||
} | } | ||
html.skin-theme-clientpref-night . | html.skin-theme-clientpref-night .infobox__image img { | ||
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.34)); | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__details th { | html.skin-theme-clientpref-night .infobox__details th { | ||
color: #aebbaa; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox__details td { | html.skin-theme-clientpref-night .infobox__details td { | ||
color: #e3eae1; | |||
} | } | ||
html.skin-theme-clientpref-night .infobox a { | html.skin-theme-clientpref-night .infobox a { | ||
color: # | color: #a0c49b; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox a:hover { | html.skin-theme-clientpref-night .infobox a:hover { | ||
color: # | color: #c0dbbc; | ||
} | } | ||
} | } | ||
| 308번째 줄: | 296번째 줄: | ||
@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: #597255; | ||
background: # | background: #2e382d; | ||
color: # | color: #e3ebe1; | ||
box-shadow: 0 0 | box-shadow: 0 0 26px rgba(0, 0, 0, 0.46); | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__title { | html.skin-theme-clientpref-os .infobox__title { | ||
background: #526f4f; | |||
background: # | color: #f4faf2; | ||
color: # | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__panel { | html.skin-theme-clientpref-os .infobox__panel { | ||
background: #293229; | |||
background: # | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__image { | html.skin-theme-clientpref-os .infobox__image { | ||
background: # | background: #293229; | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__image | html.skin-theme-clientpref-os .infobox__image::after { | ||
background: #536250; | |||
} | } | ||
html.skin-theme-clientpref-os . | html.skin-theme-clientpref-os .infobox__image img { | ||
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.34)); | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__details th { | html.skin-theme-clientpref-os .infobox__details th { | ||
color: #aebbaa; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox__details td { | html.skin-theme-clientpref-os .infobox__details td { | ||
color: #e3eae1; | |||
} | } | ||
html.skin-theme-clientpref-os .infobox a { | html.skin-theme-clientpref-os .infobox a { | ||
color: # | color: #a0c49b; | ||
} | } | ||
html.skin-theme-clientpref-os .infobox a:hover { | html.skin-theme-clientpref-os .infobox a:hover { | ||
color: # | color: #c0dbbc; | ||
} | } | ||
} | } | ||
2026년 7월 22일 (수) 02:00 판
.infobox {
float: right;
clear: right;
width: 320px;
max-width: 100%;
margin: 0 0 1.25rem 1.25rem;
padding: 0.72rem;
border: 3px solid #587d55;
border-radius: 6px;
box-sizing: border-box;
background: #dfe9dc;
color: #293628;
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(63, 91, 60, 0.32);
}
.infobox__title {
padding: 0.28rem 0.85rem;
border: 0;
border-radius: 4px;
background: #608b5d;
color: #f8fff6;
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;
}
.infobox__panel {
margin-top: 0.7rem;
border: 0;
border-radius: 5px;
overflow: hidden;
background: #f2f5f0;
}
.infobox__image {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem 1rem 1.35rem;
box-sizing: border-box;
background: #f2f5f0;
}
.infobox__image::after {
position: absolute;
right: 1rem;
bottom: 0;
left: 1rem;
height: 1px;
background: #bccbbb;
content: "";
}
.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(59, 81, 56, 0.22));
}
.infobox__details {
width: calc(100% - 2rem);
margin: 0 1rem 0.8rem;
padding-top: 0.45rem;
border: 0;
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;
}
.infobox__details th,
.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;
}
.infobox__details th {
width: 35%;
padding-right: 0.75rem;
color: #6d7b6a;
font-size: 0.86rem;
text-align: left;
white-space: normal;
}
.infobox__details td {
color: #303b2f;
font-size: 0.9rem;
text-align: left;
overflow-wrap: anywhere;
word-break: break-word;
}
.infobox__details p {
margin: 0.2em 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: #52794f;
text-decoration: none;
}
.infobox a:hover {
color: #365b34;
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.62rem;
border-radius: 5px;
box-shadow: 0 0 21px rgba(63, 91, 60, 0.29);
}
.infobox__title {
padding: 0.25rem 0.75rem;
border-radius: 3px;
font-size: 1.16rem;
}
.infobox__panel {
margin-top: 0.62rem;
border-radius: 4px;
}
.infobox__image {
padding: 1.25rem 0.85rem;
}
.infobox__image::after {
right: 0.8rem;
left: 0.8rem;
}
.infobox__image img {
max-height: 195px;
}
.infobox__details {
width: calc(100% - 1.6rem);
margin-right: 0.8rem;
margin-left: 0.8rem;
}
.infobox__details th {
width: 34%;
padding-right: 0.6rem;
}
}
@media screen and (max-width: 420px) {
.infobox {
padding: 0.52rem;
}
.infobox__image::after {
right: 0.65rem;
left: 0.65rem;
}
.infobox__image img {
max-height: 180px;
}
.infobox__details {
width: calc(100% - 1.3rem);
margin-right: 0.65rem;
margin-left: 0.65rem;
}
.infobox__details th {
width: 36%;
padding-right: 0.5rem;
font-size: 0.8rem;
}
.infobox__details td {
font-size: 0.86rem;
}
}
@media screen {
html.skin-theme-clientpref-night .infobox {
border-color: #597255;
background: #2e382d;
color: #e3ebe1;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
}
html.skin-theme-clientpref-night .infobox__title {
background: #526f4f;
color: #f4faf2;
}
html.skin-theme-clientpref-night .infobox__panel {
background: #293229;
}
html.skin-theme-clientpref-night .infobox__image {
background: #293229;
}
html.skin-theme-clientpref-night .infobox__image::after {
background: #536250;
}
html.skin-theme-clientpref-night .infobox__image img {
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.34));
}
html.skin-theme-clientpref-night .infobox__details th {
color: #aebbaa;
}
html.skin-theme-clientpref-night .infobox__details td {
color: #e3eae1;
}
html.skin-theme-clientpref-night .infobox a {
color: #a0c49b;
}
html.skin-theme-clientpref-night .infobox a:hover {
color: #c0dbbc;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
border-color: #597255;
background: #2e382d;
color: #e3ebe1;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
}
html.skin-theme-clientpref-os .infobox__title {
background: #526f4f;
color: #f4faf2;
}
html.skin-theme-clientpref-os .infobox__panel {
background: #293229;
}
html.skin-theme-clientpref-os .infobox__image {
background: #293229;
}
html.skin-theme-clientpref-os .infobox__image::after {
background: #536250;
}
html.skin-theme-clientpref-os .infobox__image img {
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.34));
}
html.skin-theme-clientpref-os .infobox__details th {
color: #aebbaa;
}
html.skin-theme-clientpref-os .infobox__details td {
color: #e3eae1;
}
html.skin-theme-clientpref-os .infobox a {
color: #a0c49b;
}
html.skin-theme-clientpref-os .infobox a:hover {
color: #c0dbbc;
}
}