틀:정보상자/styles.css: 두 판 사이의 차이
식물 vs 좀비 위키
편집 요약 없음 태그: 되돌려진 기여 모바일 편집 모바일 웹 편집 |
편집 요약 없음 태그: 되돌려진 기여 모바일 편집 모바일 웹 편집 |
||
| 28번째 줄: | 28번째 줄: | ||
} | } | ||
.infobox__title, | .infobox__title, | ||
.infobox__panel { | .infobox__panel { | ||
| 80번째 줄: | 79번째 줄: | ||
} | } | ||
.infobox__panel { | .infobox__panel { | ||
margin-top: 0.72rem; | margin-top: 0.72rem; | ||
| 96번째 줄: | 94번째 줄: | ||
} | } | ||
.infobox__image { | .infobox__image { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: 100%; | width: 100%; | ||
aspect-ratio: 1 / 1; | |||
margin: 0 0 1rem; | margin: 0 0 1rem; | ||
padding: 2.2rem; | |||
border: 0; | border: 0; | ||
border-radius: 0; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: transparent; | background-color: transparent; | ||
overflow: | background-image: url("/wiki/Special:Redirect/file/Template%20Bg.png"); | ||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
overflow: hidden; | |||
} | } | ||
.infobox__image | .infobox__image a { | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 100%; | |||
height: 100%; | |||
} | } | ||
| 158번째 줄: | 124번째 줄: | ||
display: block; | display: block; | ||
width: auto; | width: auto; | ||
max-width: | max-width: 100%; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 100%; | ||
margin: 0 auto; | margin: 0 auto; | ||
object-fit: contain; | object-fit: contain; | ||
| 166번째 줄: | 132번째 줄: | ||
} | } | ||
.infobox__details { | .infobox__details { | ||
width: 100%; | width: 100%; | ||
| 194번째 줄: | 159번째 줄: | ||
padding-top: 0.72rem; | padding-top: 0.72rem; | ||
padding-bottom: 0.72rem; | padding-bottom: 0.72rem; | ||
border: 0; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: transparent; | |||
vertical-align: top; | vertical-align: top; | ||
line-height: 1.46; | line-height: 1.46; | ||
} | } | ||
| 287번째 줄: | 252번째 줄: | ||
.infobox a:focus { | .infobox a:focus { | ||
outline: 2px solid #a87959; | outline: 2px solid #a87959; | ||
} | } | ||
| 324번째 줄: | 288번째 줄: | ||
.infobox__image { | .infobox__image { | ||
width: 100%; | |||
aspect-ratio: 1 / 1; | |||
margin-bottom: 0.92rem; | margin-bottom: 0.92rem; | ||
padding: 2rem; | |||
background-size: contain; | |||
} | } | ||
| 389번째 줄: | 346번째 줄: | ||
.infobox__image { | .infobox__image { | ||
width: 100%; | |||
aspect-ratio: 1 / 1; | |||
margin-bottom: 0.82rem; | margin-bottom: 0.82rem; | ||
padding: 1.7rem; | |||
background-size: contain; | |||
} | } | ||
| 443번째 줄: | 393번째 줄: | ||
} | } | ||
html.skin-theme-clientpref-night .infobox__image | html.skin-theme-clientpref-night .infobox__image { | ||
background-color: transparent; | |||
background: | background-image: url("/wiki/Special:Redirect/file/Template%20Bg.png"); | ||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
background: | |||
} | } | ||
| 493번째 줄: | 440번째 줄: | ||
} | } | ||
html.skin-theme-clientpref-os .infobox__image | html.skin-theme-clientpref-os .infobox__image { | ||
background-color: transparent; | |||
background: | background-image: url("/wiki/Special:Redirect/file/Template%20Bg.png"); | ||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
background: | |||
} | } | ||
