미디어위키:Gadget-Vector.css: 두 판 사이의 차이
식물 vs 좀비 위키
편집 요약 없음 |
편집 요약 없음 |
||
| (같은 사용자의 중간 판 3개는 보이지 않습니다) | |||
| 1번째 줄: | 1번째 줄: | ||
/* Vector 2010 Legacy 인터페이스 디자인 | /* Vector 2010 Legacy 인터페이스 디자인 | ||
* 기준: MediaWiki-Gadget-Vector.css-actionbar-v20.txt | * 기준: MediaWiki-Gadget-Vector.css-actionbar-v20.txt | ||
* | * v34: 본문·검색바 위치 조정·로고칸 축소·특수 화면 디자인 강제 적용 | ||
*/ | */ | ||
| 2,577번째 줄: | 2,577번째 줄: | ||
.skin-vector-legacy #mw-panel #p-logo img { | .skin-vector-legacy #mw-panel #p-logo img { | ||
min-height: initial !important; | min-height: initial !important; | ||
} | |||
/* ========================= | |||
v31 최종 강제 오버라이드 | |||
========================= */ | |||
html { | |||
--pvz-layout-edge-gap: 1rem !important; | |||
--pvz-side-panel-width: 10.4rem !important; | |||
} | |||
/* 보조창 너비를 직접 지정해 이전 변수·너비 선언을 모두 덮어씀 */ | |||
body.skin-vector-legacy #mw-panel, | |||
.skin-vector-legacy #mw-panel, | |||
#mw-panel { | |||
left: var(--pvz-layout-edge-gap) !important; | |||
width: var(--pvz-side-panel-width) !important; | |||
max-width: var(--pvz-side-panel-width) !important; | |||
} | |||
/* 넓어진 보조창에 맞춰 본문과 왼쪽 액션바 시작점을 직접 재설정 */ | |||
body.skin-vector-legacy #content, | |||
body.skin-vector-legacy .mw-body, | |||
.skin-vector-legacy #content, | |||
.skin-vector-legacy .mw-body { | |||
width: auto !important; | |||
max-width: none !important; | |||
margin-left: calc( | |||
var(--pvz-layout-edge-gap) + | |||
var(--pvz-side-panel-width) + | |||
var(--pvz-layout-edge-gap) | |||
) !important; | |||
margin-right: var(--pvz-layout-edge-gap) !important; | |||
} | |||
body.skin-vector-legacy #footer, | |||
.skin-vector-legacy #footer { | |||
margin-left: calc( | |||
var(--pvz-layout-edge-gap) + | |||
var(--pvz-side-panel-width) + | |||
var(--pvz-layout-edge-gap) | |||
) !important; | |||
margin-right: var(--pvz-layout-edge-gap) !important; | |||
} | |||
body.skin-vector-legacy #left-navigation, | |||
.skin-vector-legacy #left-navigation { | |||
margin-left: calc( | |||
var(--pvz-layout-edge-gap) + | |||
var(--pvz-side-panel-width) + | |||
var(--pvz-layout-edge-gap) | |||
) !important; | |||
} | |||
/* 오른쪽 액션바: JS가 계산한 본문 오른쪽 여백에 강제로 맞춤 */ | |||
body.skin-vector-legacy #right-navigation, | |||
.skin-vector-legacy #right-navigation, | |||
#right-navigation { | |||
position: absolute !important; | |||
top: 30px !important; | |||
right: var(--pvz-content-right-gap, 1rem) !important; | |||
left: auto !important; | |||
display: flex !important; | |||
flex-direction: row !important; | |||
align-items: flex-end !important; | |||
justify-content: flex-end !important; | |||
width: max-content !important; | |||
max-width: none !important; | |||
float: none !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
transform: none !important; | |||
} | |||
body.skin-vector-legacy #right-navigation #p-views, | |||
body.skin-vector-legacy #right-navigation #p-cactions, | |||
.skin-vector-legacy #right-navigation #p-views, | |||
.skin-vector-legacy #right-navigation #p-cactions, | |||
#right-navigation #p-views, | |||
#right-navigation #p-cactions { | |||
position: relative !important; | |||
right: auto !important; | |||
left: auto !important; | |||
float: none !important; | |||
margin-right: 0 !important; | |||
margin-left: 3px !important; | |||
transform: none !important; | |||
} | |||
/* 검색 버튼: 명도는 유지하면서 채도를 확실하게 높인 초록색 */ | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton, | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton), | |||
.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton), | |||
#pvz-content-search #simpleSearch #searchButton, | |||
#pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton) { | |||
border-left: 2px solid #00661f !important; | |||
background: linear-gradient( | |||
180deg, | |||
#00ad3d 0%, | |||
#009432 50%, | |||
#007a28 100% | |||
) !important; | |||
background-color: #009432 !important; | |||
background-image: linear-gradient( | |||
180deg, | |||
#00ad3d 0%, | |||
#009432 50%, | |||
#007a28 100% | |||
) !important; | |||
box-shadow: none !important; | |||
filter: none !important; | |||
} | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton:hover, | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton):hover, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton:hover, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton):hover, | |||
#pvz-content-search #simpleSearch #searchButton:hover, | |||
#pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton):hover { | |||
background: linear-gradient( | |||
180deg, | |||
#08bd48 0%, | |||
#00a23a 50%, | |||
#00852e 100% | |||
) !important; | |||
background-color: #00a23a !important; | |||
background-image: linear-gradient( | |||
180deg, | |||
#08bd48 0%, | |||
#00a23a 50%, | |||
#00852e 100% | |||
) !important; | |||
} | |||
/* 보조창 안의 모든 글자 그림자 제거 */ | |||
body.skin-vector-legacy #mw-panel, | |||
body.skin-vector-legacy #mw-panel *, | |||
.skin-vector-legacy #mw-panel, | |||
.skin-vector-legacy #mw-panel *, | |||
#mw-panel, | |||
#mw-panel * { | |||
text-shadow: none !important; | |||
} | |||
/* 로고칸 자체의 최소 높이 제한만 제거 */ | |||
body.skin-vector-legacy #mw-panel #p-logo, | |||
.skin-vector-legacy #mw-panel #p-logo, | |||
#mw-panel #p-logo { | |||
min-height: unset !important; | |||
} | |||
/* ========================= | |||
v32 최종 오버라이드 | |||
========================= */ | |||
/* 오른쪽 액션바: 왼쪽 액션바와 같은 높이, 그 위치에서 왼쪽으로 15px */ | |||
body.skin-vector-legacy #right-navigation, | |||
.skin-vector-legacy #right-navigation, | |||
#right-navigation { | |||
top: var(--pvz-navigation-top, 30px) !important; | |||
right: calc( | |||
var(--pvz-content-right-gap, 1rem) + 15px | |||
) !important; | |||
} | |||
/* 검색바 상단을 보조창 상단과 동일하게 맞춤 */ | |||
body.skin-vector-legacy #pvz-content-search, | |||
.skin-vector-legacy #pvz-content-search, | |||
#pvz-content-search { | |||
top: var(--pvz-layout-edge-gap, 1rem) !important; | |||
} | |||
/* 검색 버튼 오른쪽 끝에 밝고 얇은 세로선 추가 */ | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton, | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton), | |||
.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton), | |||
#pvz-content-search #simpleSearch #searchButton, | |||
#pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton) { | |||
overflow: hidden !important; | |||
box-shadow: | |||
inset -1px 0 0 rgba(142, 255, 163, 0.9) !important; | |||
} | |||
/* 로고칸 내부 상하 여백을 최대한 축소 */ | |||
body.skin-vector-legacy #mw-panel #p-logo, | |||
.skin-vector-legacy #mw-panel #p-logo, | |||
#mw-panel #p-logo { | |||
padding-top: 0 !important; | |||
padding-bottom: 0 !important; | |||
} | |||
/* ========================= | |||
v33 최종 오버라이드 | |||
========================= */ | |||
html { | |||
--pvz-right-action-offset: 230px; | |||
--pvz-compact-search-width: 175px; | |||
--pvz-compact-search-gap: 15px; | |||
} | |||
/* 오른쪽 액션바를 왼쪽으로 크게 이동해 검색바 공간 확보 */ | |||
body.skin-vector-legacy #right-navigation, | |||
.skin-vector-legacy #right-navigation, | |||
#right-navigation { | |||
top: var(--pvz-navigation-top, 30px) !important; | |||
right: calc( | |||
var(--pvz-content-right-gap, 1rem) + | |||
var(--pvz-right-action-offset) | |||
) !important; | |||
left: auto !important; | |||
} | |||
/* 더보기 버튼만 기존 위치보다 4px 위로 이동 */ | |||
body.skin-vector-legacy #p-cactions-label, | |||
.skin-vector-legacy #p-cactions-label, | |||
#p-cactions-label { | |||
top: 3px !important; | |||
} | |||
/* 비워 둔 오른쪽 공간에 축소 검색바 배치 */ | |||
body.skin-vector-legacy #pvz-content-search, | |||
.skin-vector-legacy #pvz-content-search, | |||
#pvz-content-search { | |||
position: absolute !important; | |||
top: var(--pvz-navigation-top, 30px) !important; | |||
right: calc( | |||
var(--pvz-content-right-gap, 1rem) + | |||
var(--pvz-compact-search-gap) | |||
) !important; | |||
left: auto !important; | |||
width: var(--pvz-compact-search-width) !important; | |||
max-width: var(--pvz-compact-search-width) !important; | |||
min-width: 0 !important; | |||
margin: 0 !important; | |||
} | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch, | |||
#pvz-content-search #simpleSearch { | |||
height: 26px !important; | |||
border-width: 1px !important; | |||
border-radius: 11px !important; | |||
} | |||
body.skin-vector-legacy #pvz-content-search #searchInput, | |||
.skin-vector-legacy #pvz-content-search #searchInput, | |||
#pvz-content-search #searchInput { | |||
padding: 0.15rem 0.32rem !important; | |||
font-size: 0.76rem !important; | |||
line-height: 1.1 !important; | |||
} | |||
body.skin-vector-legacy #pvz-content-search #searchButton, | |||
body.skin-vector-legacy #pvz-content-search .searchButton:not(#mw-searchButton), | |||
.skin-vector-legacy #pvz-content-search #searchButton, | |||
.skin-vector-legacy #pvz-content-search .searchButton:not(#mw-searchButton), | |||
#pvz-content-search #searchButton, | |||
#pvz-content-search .searchButton:not(#mw-searchButton) { | |||
flex-basis: 34px !important; | |||
width: 34px !important; | |||
border-left-width: 1px !important; | |||
} | |||
body.skin-vector-legacy #pvz-content-search .pvz-search-button-icon, | |||
.skin-vector-legacy #pvz-content-search .pvz-search-button-icon, | |||
#pvz-content-search .pvz-search-button-icon { | |||
width: 34px !important; | |||
} | |||
body.skin-vector-legacy #pvz-content-search .pvz-search-button-icon::before, | |||
.skin-vector-legacy #pvz-content-search .pvz-search-button-icon::before, | |||
#pvz-content-search .pvz-search-button-icon::before { | |||
width: 18px !important; | |||
height: 18px !important; | |||
} | |||
/* 더보기 메뉴 */ | |||
body.skin-vector-legacy #p-cactions .vector-menu-content, | |||
.skin-vector-legacy #p-cactions .vector-menu-content, | |||
#p-cactions .vector-menu-content { | |||
top: calc(100% + 7px) !important; | |||
right: 0 !important; | |||
left: auto !important; | |||
min-width: 150px !important; | |||
margin: 0 !important; | |||
padding: 0.35rem !important; | |||
overflow: visible !important; | |||
border: 0 !important; | |||
border-radius: 11px !important; | |||
background: rgba(255, 255, 255, 0.98) !important; | |||
background-image: none !important; | |||
box-shadow: 0 5px 14px rgba(86, 51, 22, 0.22) !important; | |||
} | |||
body.skin-vector-legacy #p-cactions .vector-menu-content-list, | |||
.skin-vector-legacy #p-cactions .vector-menu-content-list, | |||
#p-cactions .vector-menu-content-list { | |||
display: block !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
} | |||
body.skin-vector-legacy #p-cactions .vector-menu-content li, | |||
.skin-vector-legacy #p-cactions .vector-menu-content li, | |||
#p-cactions .vector-menu-content li { | |||
display: block !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
} | |||
body.skin-vector-legacy #p-cactions .vector-menu-content li + li, | |||
.skin-vector-legacy #p-cactions .vector-menu-content li + li, | |||
#p-cactions .vector-menu-content li + li { | |||
margin-top: 0.3rem !important; | |||
} | |||
body.skin-vector-legacy #p-cactions .vector-menu-content li > a, | |||
.skin-vector-legacy #p-cactions .vector-menu-content li > a, | |||
#p-cactions .vector-menu-content li > a { | |||
display: block !important; | |||
width: 100% !important; | |||
min-height: 0 !important; | |||
margin: 0 !important; | |||
padding: 0.48rem 0.65rem !important; | |||
border: 1.5px solid #c79a4a !important; | |||
border-radius: 8px !important; | |||
box-sizing: border-box !important; | |||
background: #ffffff !important; | |||
background-image: none !important; | |||
color: #75462d !important; | |||
font-family: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif !important; | |||
font-size: 0.76rem !important; | |||
font-weight: 500 !important; | |||
line-height: 1.3 !important; | |||
text-align: left !important; | |||
text-shadow: none !important; | |||
box-shadow: none !important; | |||
transform: none !important; | |||
} | |||
body.skin-vector-legacy #p-cactions .vector-menu-content li > a:hover, | |||
.skin-vector-legacy #p-cactions .vector-menu-content li > a:hover, | |||
#p-cactions .vector-menu-content li > a:hover { | |||
border-color: #af7c2f !important; | |||
background: #fff8e9 !important; | |||
color: #5e321e !important; | |||
text-decoration: none !important; | |||
} | |||
/* 환경 설정·로그인·계정 만들기 화면 */ | |||
body.mw-special-Preferences #content, | |||
body.mw-special-Userlogin #content, | |||
body.mw-special-CreateAccount #content, | |||
body.mw-special-Preferences .mw-body, | |||
body.mw-special-Userlogin .mw-body, | |||
body.mw-special-CreateAccount .mw-body { | |||
background: #e6d2b2 !important; | |||
border-color: #5b1f09 !important; | |||
} | |||
body.mw-special-Preferences #preferences, | |||
body.mw-special-Preferences #mw-prefs-form, | |||
body.mw-special-Userlogin .mw-htmlform, | |||
body.mw-special-CreateAccount .mw-htmlform, | |||
body.mw-special-Userlogin #userloginForm, | |||
body.mw-special-CreateAccount #userloginForm { | |||
border: 2px solid #b88a59 !important; | |||
border-radius: 16px !important; | |||
background: #fffaf0 !important; | |||
box-shadow: 0 4px 12px rgba(91, 31, 9, 0.12) !important; | |||
} | |||
body.mw-special-Preferences #preferences, | |||
body.mw-special-Preferences #mw-prefs-form { | |||
padding: 1rem !important; | |||
} | |||
body.mw-special-Userlogin .mw-htmlform, | |||
body.mw-special-CreateAccount .mw-htmlform, | |||
body.mw-special-Userlogin #userloginForm, | |||
body.mw-special-CreateAccount #userloginForm { | |||
max-width: 520px !important; | |||
margin-right: auto !important; | |||
margin-left: auto !important; | |||
padding: 1.15rem !important; | |||
box-sizing: border-box !important; | |||
} | |||
body.mw-special-Preferences .oo-ui-inputWidget-input, | |||
body.mw-special-Preferences .mw-ui-input, | |||
body.mw-special-Userlogin .oo-ui-inputWidget-input, | |||
body.mw-special-Userlogin .mw-ui-input, | |||
body.mw-special-CreateAccount .oo-ui-inputWidget-input, | |||
body.mw-special-CreateAccount .mw-ui-input, | |||
body.mw-special-Preferences input[type="text"], | |||
body.mw-special-Preferences input[type="password"], | |||
body.mw-special-Preferences input[type="email"], | |||
body.mw-special-Userlogin input[type="text"], | |||
body.mw-special-Userlogin input[type="password"], | |||
body.mw-special-Userlogin input[type="email"], | |||
body.mw-special-CreateAccount input[type="text"], | |||
body.mw-special-CreateAccount input[type="password"], | |||
body.mw-special-CreateAccount input[type="email"], | |||
body.mw-special-Preferences select, | |||
body.mw-special-Preferences textarea { | |||
border: 2px solid #9d7651 !important; | |||
border-radius: 10px !important; | |||
background: #fffdf8 !important; | |||
color: #4b3328 !important; | |||
box-shadow: none !important; | |||
} | |||
body.mw-special-Preferences .oo-ui-inputWidget-input:focus, | |||
body.mw-special-Preferences .mw-ui-input:focus, | |||
body.mw-special-Userlogin .oo-ui-inputWidget-input:focus, | |||
body.mw-special-Userlogin .mw-ui-input:focus, | |||
body.mw-special-CreateAccount .oo-ui-inputWidget-input:focus, | |||
body.mw-special-CreateAccount .mw-ui-input:focus, | |||
body.mw-special-Preferences input:focus, | |||
body.mw-special-Userlogin input:focus, | |||
body.mw-special-CreateAccount input:focus, | |||
body.mw-special-Preferences select:focus, | |||
body.mw-special-Preferences textarea:focus { | |||
border-color: #479745 !important; | |||
outline: 0 !important; | |||
box-shadow: 0 0 0 3px rgba(71, 151, 69, 0.16) !important; | |||
} | |||
body.mw-special-Preferences .oo-ui-buttonElement-button, | |||
body.mw-special-Preferences .mw-ui-button, | |||
body.mw-special-Userlogin .oo-ui-buttonElement-button, | |||
body.mw-special-Userlogin .mw-ui-button, | |||
body.mw-special-CreateAccount .oo-ui-buttonElement-button, | |||
body.mw-special-CreateAccount .mw-ui-button { | |||
border: 2px solid #356f36 !important; | |||
border-radius: 999px !important; | |||
background: linear-gradient( | |||
180deg, | |||
#62aa5f 0%, | |||
#479745 100% | |||
) !important; | |||
color: #ffffff !important; | |||
font-family: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif !important; | |||
font-weight: 500 !important; | |||
text-shadow: none !important; | |||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24) !important; | |||
} | |||
body.mw-special-Preferences .oo-ui-buttonElement-button:hover, | |||
body.mw-special-Preferences .mw-ui-button:hover, | |||
body.mw-special-Userlogin .oo-ui-buttonElement-button:hover, | |||
body.mw-special-Userlogin .mw-ui-button:hover, | |||
body.mw-special-CreateAccount .oo-ui-buttonElement-button:hover, | |||
body.mw-special-CreateAccount .mw-ui-button:hover { | |||
filter: brightness(1.06); | |||
} | |||
body.mw-special-Preferences #preftoc, | |||
body.mw-special-Preferences .oo-ui-tabSelectWidget { | |||
border: 2px solid #b88a59 !important; | |||
border-radius: 12px !important; | |||
background: #f5dfbd !important; | |||
} | |||
body.mw-special-Preferences #preftoc a, | |||
body.mw-special-Preferences .oo-ui-tabOptionWidget { | |||
color: #68412c !important; | |||
font-family: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif !important; | |||
text-shadow: none !important; | |||
} | |||
/* ========================= | |||
v34 최종 오버라이드 | |||
========================= */ | |||
html { | |||
--pvz-content-top-v34: 24px; | |||
--pvz-compact-search-width: 195px; | |||
--pvz-search-down-offset: 5px; | |||
} | |||
/* 본문창을 조금 더 위로 이동 */ | |||
body.skin-vector-legacy #content, | |||
body.skin-vector-legacy .mw-body, | |||
.skin-vector-legacy #content, | |||
.skin-vector-legacy .mw-body { | |||
top: var(--pvz-content-top-v34) !important; | |||
} | |||
/* 왼쪽 액션바를 기존 위치보다 조금 더 왼쪽으로 이동 */ | |||
body.skin-vector-legacy #left-navigation, | |||
.skin-vector-legacy #left-navigation, | |||
#left-navigation { | |||
top: var(--pvz-content-top-v34) !important; | |||
margin-left: calc( | |||
var(--pvz-layout-edge-gap) + | |||
var(--pvz-side-panel-width) + | |||
var(--pvz-layout-edge-gap) - | |||
8px | |||
) !important; | |||
} | |||
/* 오른쪽 액션바도 본문 높이 변경에 맞춰 유지 */ | |||
body.skin-vector-legacy #right-navigation, | |||
.skin-vector-legacy #right-navigation, | |||
#right-navigation { | |||
top: var(--pvz-navigation-top, var(--pvz-content-top-v34)) !important; | |||
} | |||
/* 검색바를 소폭 늘리고 본문 오른쪽 끝에 정확히 맞춤 */ | |||
body.skin-vector-legacy #pvz-content-search, | |||
.skin-vector-legacy #pvz-content-search, | |||
#pvz-content-search { | |||
top: calc( | |||
var(--pvz-navigation-top, var(--pvz-content-top-v34)) + | |||
var(--pvz-search-down-offset) | |||
) !important; | |||
right: var(--pvz-content-right-gap, 1rem) !important; | |||
left: auto !important; | |||
width: var(--pvz-compact-search-width) !important; | |||
max-width: var(--pvz-compact-search-width) !important; | |||
} | |||
/* 검색 버튼 배경을 문서 제목과 같은 #106A40으로 통일 */ | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton, | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton), | |||
.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton), | |||
#pvz-content-search #simpleSearch #searchButton, | |||
#pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton) { | |||
border-left-color: #0b5432 !important; | |||
background: #106a40 !important; | |||
background-color: #106a40 !important; | |||
background-image: none !important; | |||
} | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton:hover, | |||
body.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton):hover, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch #searchButton:hover, | |||
.skin-vector-legacy #pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton):hover, | |||
#pvz-content-search #simpleSearch #searchButton:hover, | |||
#pvz-content-search #simpleSearch .searchButton:not(#mw-searchButton):hover { | |||
background: #0d5b36 !important; | |||
background-color: #0d5b36 !important; | |||
background-image: none !important; | |||
} | |||
/* 로고칸의 상하 길이를 크게 축소 */ | |||
body.skin-vector-legacy #mw-panel #p-logo, | |||
.skin-vector-legacy #mw-panel #p-logo, | |||
#mw-panel #p-logo { | |||
height: 58px !important; | |||
min-height: 0 !important; | |||
max-height: 58px !important; | |||
margin-bottom: 0.72rem !important; | |||
padding: 0 !important; | |||
} | |||
body.skin-vector-legacy #mw-panel #p-logo a, | |||
body.skin-vector-legacy #mw-panel #p-logo .mw-wiki-logo, | |||
.skin-vector-legacy #mw-panel #p-logo a, | |||
.skin-vector-legacy #mw-panel #p-logo .mw-wiki-logo, | |||
#mw-panel #p-logo a, | |||
#mw-panel #p-logo .mw-wiki-logo { | |||
width: 100% !important; | |||
height: 58px !important; | |||
min-height: 0 !important; | |||
max-height: 58px !important; | |||
aspect-ratio: auto !important; | |||
background-size: contain !important; | |||
} | |||
body.skin-vector-legacy #mw-panel #p-logo img, | |||
.skin-vector-legacy #mw-panel #p-logo img, | |||
#mw-panel #p-logo img { | |||
width: 100% !important; | |||
height: 58px !important; | |||
min-height: 0 !important; | |||
max-height: 58px !important; | |||
object-fit: contain !important; | |||
} | |||
/* 환경 설정·로그인·회원가입 화면 공통 */ | |||
html.pvz-special-preferences body.skin-vector-legacy #content, | |||
html.pvz-special-login body.skin-vector-legacy #content, | |||
html.pvz-special-createaccount body.skin-vector-legacy #content, | |||
html.pvz-special-preferences body.skin-vector-legacy .mw-body, | |||
html.pvz-special-login body.skin-vector-legacy .mw-body, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-body { | |||
background: #e6d2b2 !important; | |||
border: 15px solid #5b1f09 !important; | |||
border-radius: 30px !important; | |||
box-shadow: none !important; | |||
} | |||
html.pvz-special-preferences body.skin-vector-legacy #content::before, | |||
html.pvz-special-login body.skin-vector-legacy #content::before, | |||
html.pvz-special-createaccount body.skin-vector-legacy #content::before, | |||
html.pvz-special-preferences body.skin-vector-legacy .mw-body::before, | |||
html.pvz-special-login body.skin-vector-legacy .mw-body::before, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-body::before { | |||
content: "" !important; | |||
position: absolute !important; | |||
inset: 15px !important; | |||
z-index: -1 !important; | |||
display: block !important; | |||
border-radius: 18px !important; | |||
background: #fffae9 !important; | |||
} | |||
/* 특수 화면의 실제 폼 컨테이너를 폭넓게 지정 */ | |||
html.pvz-special-preferences body.skin-vector-legacy #preferences, | |||
html.pvz-special-preferences body.skin-vector-legacy #mw-prefs-form, | |||
html.pvz-special-preferences body.skin-vector-legacy .mw-prefs-container, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-panelLayout, | |||
html.pvz-special-login body.skin-vector-legacy #userloginForm, | |||
html.pvz-special-login body.skin-vector-legacy .mw-htmlform, | |||
html.pvz-special-login body.skin-vector-legacy .mw-ui-vform, | |||
html.pvz-special-login body.skin-vector-legacy .oo-ui-panelLayout, | |||
html.pvz-special-createaccount body.skin-vector-legacy #userloginForm, | |||
html.pvz-special-createaccount body.skin-vector-legacy #mw-createaccount-form, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-htmlform, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-ui-vform, | |||
html.pvz-special-createaccount body.skin-vector-legacy .oo-ui-panelLayout { | |||
border: 2px solid #b88a59 !important; | |||
border-radius: 16px !important; | |||
box-sizing: border-box !important; | |||
background: #fffaf0 !important; | |||
box-shadow: 0 4px 12px rgba(91, 31, 9, 0.12) !important; | |||
} | |||
html.pvz-special-login body.skin-vector-legacy #userloginForm, | |||
html.pvz-special-login body.skin-vector-legacy .mw-htmlform, | |||
html.pvz-special-login body.skin-vector-legacy .mw-ui-vform, | |||
html.pvz-special-createaccount body.skin-vector-legacy #userloginForm, | |||
html.pvz-special-createaccount body.skin-vector-legacy #mw-createaccount-form, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-htmlform, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-ui-vform { | |||
width: min(100%, 560px) !important; | |||
margin-right: auto !important; | |||
margin-left: auto !important; | |||
padding: 1.2rem !important; | |||
} | |||
/* 환경 설정 탭 */ | |||
html.pvz-special-preferences body.skin-vector-legacy #preftoc, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-tabSelectWidget, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-indexLayout-tabPanel { | |||
border: 2px solid #b88a59 !important; | |||
border-radius: 12px !important; | |||
background: #f5dfbd !important; | |||
box-shadow: none !important; | |||
} | |||
html.pvz-special-preferences body.skin-vector-legacy #preftoc a, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-tabOptionWidget, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-tabOptionWidget-label { | |||
color: #68412c !important; | |||
font-family: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif !important; | |||
text-shadow: none !important; | |||
} | |||
/* 특수 화면 입력창 */ | |||
html.pvz-special-preferences body.skin-vector-legacy input, | |||
html.pvz-special-preferences body.skin-vector-legacy select, | |||
html.pvz-special-preferences body.skin-vector-legacy textarea, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-inputWidget-input, | |||
html.pvz-special-login body.skin-vector-legacy input, | |||
html.pvz-special-login body.skin-vector-legacy select, | |||
html.pvz-special-login body.skin-vector-legacy textarea, | |||
html.pvz-special-login body.skin-vector-legacy .oo-ui-inputWidget-input, | |||
html.pvz-special-createaccount body.skin-vector-legacy input, | |||
html.pvz-special-createaccount body.skin-vector-legacy select, | |||
html.pvz-special-createaccount body.skin-vector-legacy textarea, | |||
html.pvz-special-createaccount body.skin-vector-legacy .oo-ui-inputWidget-input { | |||
border: 2px solid #9d7651 !important; | |||
border-radius: 10px !important; | |||
box-sizing: border-box !important; | |||
background: #fffdf8 !important; | |||
color: #4b3328 !important; | |||
box-shadow: none !important; | |||
} | |||
html.pvz-special-preferences body.skin-vector-legacy input:focus, | |||
html.pvz-special-preferences body.skin-vector-legacy select:focus, | |||
html.pvz-special-preferences body.skin-vector-legacy textarea:focus, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-inputWidget-input:focus, | |||
html.pvz-special-login body.skin-vector-legacy input:focus, | |||
html.pvz-special-login body.skin-vector-legacy select:focus, | |||
html.pvz-special-login body.skin-vector-legacy textarea:focus, | |||
html.pvz-special-login body.skin-vector-legacy .oo-ui-inputWidget-input:focus, | |||
html.pvz-special-createaccount body.skin-vector-legacy input:focus, | |||
html.pvz-special-createaccount body.skin-vector-legacy select:focus, | |||
html.pvz-special-createaccount body.skin-vector-legacy textarea:focus, | |||
html.pvz-special-createaccount body.skin-vector-legacy .oo-ui-inputWidget-input:focus { | |||
border-color: #479745 !important; | |||
outline: 0 !important; | |||
box-shadow: 0 0 0 3px rgba(71, 151, 69, 0.16) !important; | |||
} | |||
/* 특수 화면 버튼 */ | |||
html.pvz-special-preferences body.skin-vector-legacy button, | |||
html.pvz-special-preferences body.skin-vector-legacy .mw-ui-button, | |||
html.pvz-special-preferences body.skin-vector-legacy .oo-ui-buttonElement-button, | |||
html.pvz-special-login body.skin-vector-legacy button, | |||
html.pvz-special-login body.skin-vector-legacy .mw-ui-button, | |||
html.pvz-special-login body.skin-vector-legacy .oo-ui-buttonElement-button, | |||
html.pvz-special-createaccount body.skin-vector-legacy button, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-ui-button, | |||
html.pvz-special-createaccount body.skin-vector-legacy .oo-ui-buttonElement-button { | |||
border: 2px solid #356f36 !important; | |||
border-radius: 999px !important; | |||
background: linear-gradient( | |||
180deg, | |||
#62aa5f 0%, | |||
#479745 100% | |||
) !important; | |||
color: #ffffff !important; | |||
font-family: | |||
"SB Aggro M", | |||
"SB 어그로 M", | |||
"SB Aggro", | |||
"SB 어그로", | |||
sans-serif !important; | |||
font-weight: 500 !important; | |||
text-shadow: none !important; | |||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24) !important; | |||
} | |||
/* 로그인·회원가입 안내 및 보조 박스 */ | |||
html.pvz-special-login body.skin-vector-legacy .mw-htmlform-ooui-wrapper, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-htmlform-ooui-wrapper, | |||
html.pvz-special-login body.skin-vector-legacy .mw-createacct-benefits-container, | |||
html.pvz-special-createaccount body.skin-vector-legacy .mw-createacct-benefits-container { | |||
border-radius: 14px !important; | |||
background: transparent !important; | |||
color: #4b3328 !important; | |||
} | } | ||
