틀:정보상자/styles.css: 두 판 사이의 차이

식물 vs 좀비 위키
편집 요약 없음
태그: 수동 되돌리기
편집 요약 없음
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 #587d55;
border: 3px solid #4b8d47;
border-radius: 6px;
border-radius: 18px;
box-sizing: border-box;
box-sizing: border-box;
background: #dfe9dc;
background: #d9edd4;
color: #293628;
color: #293728;
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 24px rgba(63, 91, 60, 0.32);
box-shadow: 0 0 24px rgba(55, 104, 50, 0.34);
}
}


.infobox__title {
.infobox__title {
padding: 0.28rem 0.85rem;
position: relative;
margin: 0 0.32rem;
padding: 0.28rem 1.35rem;
border: 0;
border: 0;
border-radius: 4px;
border-radius: 11px;
background: #608b5d;
background: #4f9f4b;
color: #f8fff6;
color: #f8fff6;
font-family:
font-family:
43번째 줄: 45번째 줄:
overflow-wrap: anywhere;
overflow-wrap: anywhere;
word-break: keep-all;
word-break: keep-all;
box-shadow: 0 4px 9px rgba(45, 89, 41, 0.22);
}
.infobox__title::before,
.infobox__title::after {
position: absolute;
top: 50%;
width: 0;
height: 0;
transform: translateY(-50%);
content: "";
}
.infobox__title::before {
left: 0;
border-top: 0.62rem solid transparent;
border-bottom: 0.62rem solid transparent;
border-left: 0.52rem solid #d9edd4;
}
.infobox__title::after {
right: 0;
border-top: 0.62rem solid transparent;
border-right: 0.52rem solid #d9edd4;
border-bottom: 0.62rem solid transparent;
}
}


48번째 줄: 75번째 줄:
margin-top: 0.7rem;
margin-top: 0.7rem;
border: 0;
border: 0;
border-radius: 5px;
border-radius: 14px;
overflow: hidden;
overflow: hidden;
background: #f2f5f0;
background: #f1f8ee;
}
}


60번째 줄: 87번째 줄:
padding: 1.5rem 1rem 1.35rem;
padding: 1.5rem 1rem 1.35rem;
box-sizing: border-box;
box-sizing: border-box;
background: #f2f5f0;
background: #f1f8ee;
}
}


69번째 줄: 96번째 줄:
left: 1rem;
left: 1rem;
height: 1px;
height: 1px;
background: #bccbbb;
background: #aac9a3;
content: "";
content: "";
}
}
81번째 줄: 108번째 줄:
margin: 0 auto;
margin: 0 auto;
object-fit: contain;
object-fit: contain;
filter: drop-shadow(0 11px 9px rgba(59, 81, 56, 0.22));
filter: drop-shadow(0 11px 9px rgba(48, 87, 44, 0.24));
}
}


127번째 줄: 154번째 줄:
width: 35%;
width: 35%;
padding-right: 0.75rem;
padding-right: 0.75rem;
color: #6d7b6a;
color: #668062;
font-size: 0.86rem;
font-size: 0.86rem;
text-align: left;
text-align: left;
134번째 줄: 161번째 줄:


.infobox__details td {
.infobox__details td {
color: #303b2f;
color: #2d3c2b;
font-size: 0.9rem;
font-size: 0.9rem;
text-align: left;
text-align: left;
160번째 줄: 187번째 줄:


.infobox a {
.infobox a {
color: #52794f;
color: #3e853a;
text-decoration: none;
text-decoration: none;
}
}


.infobox a:hover {
.infobox a:hover {
color: #365b34;
color: #275f24;
text-decoration: underline;
text-decoration: underline;
}
}
177번째 줄: 204번째 줄:
margin: 0 0 1.1rem;
margin: 0 0 1.1rem;
padding: 0.62rem;
padding: 0.62rem;
border-radius: 5px;
border-radius: 16px;
box-shadow: 0 0 21px rgba(63, 91, 60, 0.29);
box-shadow: 0 0 21px rgba(55, 104, 50, 0.31);
}
}


.infobox__title {
.infobox__title {
padding: 0.25rem 0.75rem;
margin-right: 0.28rem;
border-radius: 3px;
margin-left: 0.28rem;
padding: 0.25rem 1.2rem;
border-radius: 10px;
font-size: 1.16rem;
font-size: 1.16rem;
}
.infobox__title::before {
border-top-width: 0.58rem;
border-bottom-width: 0.58rem;
border-left-width: 0.46rem;
}
.infobox__title::after {
border-top-width: 0.58rem;
border-right-width: 0.46rem;
border-bottom-width: 0.58rem;
}
}


.infobox__panel {
.infobox__panel {
margin-top: 0.62rem;
margin-top: 0.62rem;
border-radius: 4px;
border-radius: 12px;
}
}


220번째 줄: 261번째 줄:
.infobox {
.infobox {
padding: 0.52rem;
padding: 0.52rem;
border-radius: 14px;
}
.infobox__title {
padding-top: 0.2rem;
padding-bottom: 0.2rem;
font-size: 1.12rem;
}
.infobox__title::before {
border-top-width: 0.54rem;
border-bottom-width: 0.54rem;
}
.infobox__title::after {
border-top-width: 0.54rem;
border-bottom-width: 0.54rem;
}
.infobox__panel {
border-radius: 11px;
}
}


250번째 줄: 312번째 줄:
@media screen {
@media screen {
html.skin-theme-clientpref-night .infobox {
html.skin-theme-clientpref-night .infobox {
border-color: #597255;
border-color: #4f7f4b;
background: #2e382d;
background: #2d3d2b;
color: #e3ebe1;
color: #e4eee1;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
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: #4d8249;
color: #f4faf2;
color: #f4fff1;
box-shadow: 0 4px 9px rgba(0, 0, 0, 0.26);
}
 
html.skin-theme-clientpref-night .infobox__title::before {
border-left-color: #2d3d2b;
}
 
html.skin-theme-clientpref-night .infobox__title::after {
border-right-color: #2d3d2b;
}
}


html.skin-theme-clientpref-night .infobox__panel {
html.skin-theme-clientpref-night .infobox__panel {
background: #293229;
background: #293627;
}
}


html.skin-theme-clientpref-night .infobox__image {
html.skin-theme-clientpref-night .infobox__image {
background: #293229;
background: #293627;
}
}


html.skin-theme-clientpref-night .infobox__image::after {
html.skin-theme-clientpref-night .infobox__image::after {
background: #536250;
background: #536f4f;
}
}


html.skin-theme-clientpref-night .infobox__image img {
html.skin-theme-clientpref-night .infobox__image img {
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.34));
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.36));
}
}


html.skin-theme-clientpref-night .infobox__details th {
html.skin-theme-clientpref-night .infobox__details th {
color: #aebbaa;
color: #abc5a6;
}
}


html.skin-theme-clientpref-night .infobox__details td {
html.skin-theme-clientpref-night .infobox__details td {
color: #e3eae1;
color: #e3eee1;
}
}


html.skin-theme-clientpref-night .infobox a {
html.skin-theme-clientpref-night .infobox a {
color: #a0c49b;
color: #9ed697;
}
}


html.skin-theme-clientpref-night .infobox a:hover {
html.skin-theme-clientpref-night .infobox a:hover {
color: #c0dbbc;
color: #c0e9ba;
}
}
}
}
296번째 줄: 367번째 줄:
@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: #597255;
border-color: #4f7f4b;
background: #2e382d;
background: #2d3d2b;
color: #e3ebe1;
color: #e4eee1;
box-shadow: 0 0 26px rgba(0, 0, 0, 0.46);
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: #4d8249;
color: #f4faf2;
color: #f4fff1;
box-shadow: 0 4px 9px rgba(0, 0, 0, 0.26);
}
 
html.skin-theme-clientpref-os .infobox__title::before {
border-left-color: #2d3d2b;
}
 
html.skin-theme-clientpref-os .infobox__title::after {
border-right-color: #2d3d2b;
}
}


html.skin-theme-clientpref-os .infobox__panel {
html.skin-theme-clientpref-os .infobox__panel {
background: #293229;
background: #293627;
}
}


html.skin-theme-clientpref-os .infobox__image {
html.skin-theme-clientpref-os .infobox__image {
background: #293229;
background: #293627;
}
}


html.skin-theme-clientpref-os .infobox__image::after {
html.skin-theme-clientpref-os .infobox__image::after {
background: #536250;
background: #536f4f;
}
}


html.skin-theme-clientpref-os .infobox__image img {
html.skin-theme-clientpref-os .infobox__image img {
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.34));
filter: drop-shadow(0 11px 9px rgba(0, 0, 0, 0.36));
}
}


html.skin-theme-clientpref-os .infobox__details th {
html.skin-theme-clientpref-os .infobox__details th {
color: #aebbaa;
color: #abc5a6;
}
}


html.skin-theme-clientpref-os .infobox__details td {
html.skin-theme-clientpref-os .infobox__details td {
color: #e3eae1;
color: #e3eee1;
}
}


html.skin-theme-clientpref-os .infobox a {
html.skin-theme-clientpref-os .infobox a {
color: #a0c49b;
color: #9ed697;
}
}


html.skin-theme-clientpref-os .infobox a:hover {
html.skin-theme-clientpref-os .infobox a:hover {
color: #c0dbbc;
color: #c0e9ba;
}
}
}
}