미디어위키:Gadget-Vector.css
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* Vector 2010 Legacy 인터페이스 디자인
* 기준: MediaWiki-Gadget-Vector.css-actionbar-v20.txt
* v21: 검색바 내부 여백·돋보기 아이콘·검색 버튼 디자인 변경
*/
/* =========================
액션바 전체 디자인
========================= */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
margin: 0;
background: none !important;
transform: none !important;
}
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content-list,
.skin-vector-legacy #p-cactions .vector-menu-content-list {
top: 0 !important;
margin-top: 0 !important;
background: none !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
transform: none !important;
}
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content-list {
display: flex;
align-items: flex-end;
gap: 3px;
}
.skin-vector-legacy #p-namespaces {
margin-left: 18px !important;
}
.skin-vector-legacy #p-cactions {
margin-left: 4px;
}
.skin-vector-legacy #p-namespaces li,
.skin-vector-legacy #p-views li,
.skin-vector-legacy #p-cactions li {
position: relative;
margin: 0;
padding: 0;
border: 0;
background: none !important;
background-image: none !important;
}
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label {
position: relative !important;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 2px;
height: 36px !important;
min-height: 36px !important;
margin: 0;
padding: 7px 12px 6px !important;
border: 3px solid #5c1f06;
border-radius: 10px 10px 0 0;
box-sizing: border-box;
background: #783b24 !important;
background-image: none !important;
color: #eee9e6 !important;
font-family:
"SB Aggro M",
"SB 어그로 M",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.74rem;
font-weight: 500;
line-height: 1;
text-decoration: none;
text-shadow:
#5c1f06 2px 0 0,
#5c1f06 1.75517px 0.958851px 0,
#5c1f06 1.0806px 1.68294px 0,
#5c1f06 0.141474px 1.99499px 0,
#5c1f06 -0.832294px 1.81859px 0,
#5c1f06 -1.60229px 1.19694px 0,
#5c1f06 -1.97999px 0.28224px 0,
#5c1f06 -1.87291px -0.701566px 0,
#5c1f06 -1.30729px -1.51361px 0,
#5c1f06 -0.421592px -1.95506px 0,
#5c1f06 0.567324px -1.91785px 0,
#5c1f06 1.41734px -1.41108px 0,
#5c1f06 1.92034px -0.558831px 0;
box-shadow:
inset 0 2px 0 #985d43,
inset 0 -3px 0 #552515;
transition:
height 140ms ease,
padding 140ms ease,
filter 120ms ease,
background-color 120ms ease;
}
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a {
top: 0 !important;
}
.skin-vector-legacy #p-cactions-label {
top: 7px !important;
min-width: 36px;
cursor: pointer;
}
.skin-vector-legacy #p-cactions-label span {
position: static !important;
top: auto !important;
display: block;
margin: 0 !important;
color: inherit !important;
font: inherit;
text-shadow: inherit;
transform: none !important;
}
.skin-vector-legacy #p-namespaces li.selected > a,
.skin-vector-legacy #p-views li.selected > a {
z-index: 2;
height: 43px !important;
min-height: 43px !important;
padding-top: 10px !important;
padding-bottom: 7px !important;
background: #b1837c !important;
color: #ffffff !important;
box-shadow:
inset 0 2px 0 #cfa392,
inset 0 -3px 0 #8a5c56;
}
.skin-vector-legacy #p-namespaces li > a:hover,
.skin-vector-legacy #p-views li > a:hover,
.skin-vector-legacy #p-cactions-label:hover {
filter: brightness(1.08);
text-decoration: none;
}
.skin-vector-legacy #p-namespaces li,
.skin-vector-legacy #p-views li,
.skin-vector-legacy #p-namespaces li.selected,
.skin-vector-legacy #p-views li.selected,
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label,
.skin-vector-legacy #p-cactions-label span {
background-image: none !important;
}
/* 액션바 SVG 아이콘 */
.skin-vector-legacy #ca-nstab-main > a::before,
.skin-vector-legacy #ca-talk > a::before,
.skin-vector-legacy #ca-view > a::before,
.skin-vector-legacy #ca-edit > a::before,
.skin-vector-legacy #ca-history > a::before {
content: "";
display: block;
flex: 0 0 14px;
width: 14px;
height: 14px;
margin-right: 0;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.skin-vector-legacy #ca-nstab-main > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-document.svg");
}
.skin-vector-legacy #ca-talk > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-talk.svg");
}
.skin-vector-legacy #ca-view > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-read.svg");
}
.skin-vector-legacy #ca-edit > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-edit.svg");
}
.skin-vector-legacy #ca-history > a::before {
background-image: url("/wiki/Special:Redirect/file/Actionbar-history.svg");
}
/* 주시 버튼 */
.skin-vector-legacy #ca-watch > a,
.skin-vector-legacy #ca-unwatch > a,
.skin-vector-legacy li.mw-watchlink > a,
.skin-vector-legacy a.mw-watchlink {
position: relative !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 40px !important;
min-width: 40px !important;
padding: 0 !important;
gap: 0;
overflow: visible;
font-size: 0 !important;
color: transparent !important;
text-shadow: none !important;
}
.skin-vector-legacy #ca-watch > a > *,
.skin-vector-legacy #ca-unwatch > a > *,
.skin-vector-legacy li.mw-watchlink > a > *,
.skin-vector-legacy a.mw-watchlink > * {
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
}
.skin-vector-legacy #ca-watch > a::before,
.skin-vector-legacy #ca-unwatch > a::before,
.skin-vector-legacy li.mw-watchlink > a::before,
.skin-vector-legacy a.mw-watchlink::before {
content: "" !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
display: block !important;
flex: 0 0 18px;
width: 18px;
height: 18px;
margin: 0 !important;
background-position: center center !important;
background-repeat: no-repeat;
background-size: contain;
transform: translate(-50%, -50%);
transform-origin: 50% 50%;
}
.skin-vector-legacy #ca-watch > a::before,
.skin-vector-legacy .pvz-watch-not-watched > a::before,
.skin-vector-legacy a.pvz-watch-not-watched::before {
background-image: url("/wiki/Special:Redirect/file/GW2_Star2.png") !important;
}
.skin-vector-legacy #ca-unwatch > a::before,
.skin-vector-legacy .pvz-watch-watched > a::before,
.skin-vector-legacy a.pvz-watch-watched::before {
background-image: url("/wiki/Special:Redirect/file/GW2_Star.png") !important;
}
.skin-vector-legacy #ca-watch > a::after,
.skin-vector-legacy #ca-unwatch > a::after,
.skin-vector-legacy li.mw-watchlink > a::after,
.skin-vector-legacy a.mw-watchlink::after {
content: none !important;
display: none !important;
}
.skin-vector-legacy .pvz-watch-spinning > a::before,
.skin-vector-legacy a.pvz-watch-spinning::before {
animation: pvz-watch-star-spin-centered 360ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes pvz-watch-star-spin-centered {
0% {
transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
45% {
transform: translate(-50%, -50%) rotate(180deg) scale(0.82);
}
100% {
transform: translate(-50%, -50%) rotate(360deg) scale(1);
}
}
/* 더보기 메뉴 내부 링크 */
.skin-vector-legacy #p-cactions .vector-menu-content {
margin-top: 0;
}
.skin-vector-legacy #p-cactions .vector-menu-content li > a {
display: block;
min-height: 0;
padding: 6px 12px;
border: 0;
border-radius: 0;
background: transparent !important;
color: inherit !important;
font-family: inherit;
font-weight: inherit;
text-shadow: none;
box-shadow: none;
transform: none;
}
/* 액션바와 본문창 위치 */
.skin-vector-legacy #right-navigation {
margin-right: calc(0.45rem + 15px) !important;
}
.skin-vector-legacy #content,
.skin-vector-legacy #left-navigation,
.skin-vector-legacy #right-navigation {
position: relative !important;
top: 30px !important;
}
/* =========================
본문창
========================= */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
position: relative;
isolation: isolate;
background: #e6d2b2 !important;
border: 15px solid #5b1f09 !important;
border-radius: 30px !important;
box-shadow: none !important;
box-sizing: border-box;
padding:
calc(1em + 15px)
calc(1.2em + 15px)
calc(1.25em + 15px) !important;
overflow: hidden;
}
.skin-vector-legacy #content::before,
.skin-vector-legacy .mw-body::before {
content: "" !important;
position: absolute;
inset: 15px;
z-index: -1;
display: block !important;
border-radius: 18px;
background: #fffae9;
pointer-events: none;
}
.skin-vector-legacy #content::after,
.skin-vector-legacy .mw-body::after {
content: none !important;
display: none !important;
}
/* =========================
문서 제목
========================= */
.skin-vector-legacy #firstHeading,
.skin-vector-legacy .mw-first-heading,
.skin-vector-legacy .mw-parser-output h1,
.skin-vector-legacy .mw-parser-output h2,
.skin-vector-legacy .mw-parser-output h3,
.skin-vector-legacy .mw-parser-output h4,
.skin-vector-legacy .mw-parser-output h5,
.skin-vector-legacy .mw-parser-output h6 {
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-weight: 700;
}
.skin-vector-legacy #firstHeading,
.skin-vector-legacy .mw-first-heading {
display: table;
width: auto;
max-width: calc(100% + 1.2em + 15px);
margin:
0
0
0.6em
calc(-1.2em - 15px) !important;
padding:
0.38em
calc(1.25em + 32px)
0.32em
calc(1.2em + 15px);
box-sizing: border-box;
border: 0 !important;
background-color: #106a40 !important;
color: #ffffff !important;
-webkit-clip-path: polygon(
0 0,
100% 0,
calc(100% - 30px) 100%,
0 100%
);
clip-path: polygon(
0 0,
100% 0,
calc(100% - 30px) 100%,
0 100%
);
}
.skin-vector-legacy #firstHeading *,
.skin-vector-legacy .mw-first-heading * {
color: #ffffff !important;
}
/* =========================
왼쪽 보조창
========================= */
.skin-vector-legacy #mw-panel {
left: 0.6rem !important;
width: calc(10em - 0.9rem) !important;
margin-top: 0.45rem;
margin-left: 0 !important;
padding: 0.7rem 0.55rem 1rem;
border: 3px solid #5b220e;
border-radius: 13px;
box-sizing: border-box;
background:
linear-gradient(
90deg,
rgba(255, 255, 255, 0.06) 0,
transparent 10%,
transparent 90%,
rgba(64, 19, 4, 0.18) 100%
),
linear-gradient(180deg, #a94f24 0%, #893819 48%, #9a421d 100%);
box-shadow:
inset 0 0 0 2px rgba(218, 114, 58, 0.52),
inset 0 12px 20px rgba(255, 165, 94, 0.1),
inset 0 -12px 20px rgba(73, 20, 5, 0.22),
0 3px 8px rgba(63, 24, 8, 0.32);
}
.skin-vector-legacy #mw-panel #p-logo {
position: relative !important;
top: auto !important;
right: auto !important;
bottom: auto !important;
left: auto !important;
display: block !important;
width: 100% !important;
max-width: 100% !important;
height: auto !important;
min-height: 0 !important;
margin: 0 0 0.9rem !important;
padding: 0.45rem 0 !important;
overflow: hidden !important;
border: 3px solid #60230d;
border-radius: 12px;
box-sizing: border-box !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
#6c2b12;
box-shadow:
inset 0 2px 3px rgba(255, 168, 98, 0.22),
inset 0 -3px 6px rgba(48, 12, 2, 0.42),
0 2px 3px rgba(60, 20, 6, 0.28);
}
.skin-vector-legacy #mw-panel #p-logo a,
.skin-vector-legacy #mw-panel #p-logo .mw-wiki-logo {
display: block !important;
width: 100% !important;
height: auto !important;
min-height: 0 !important;
aspect-ratio: 1 / 1;
margin: 0 !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
.skin-vector-legacy #mw-panel #p-logo img {
display: block !important;
width: 100% !important;
height: auto !important;
max-width: 100% !important;
max-height: none !important;
margin: 0 auto !important;
object-fit: contain !important;
}
.skin-vector-legacy #mw-panel .vector-menu-portal,
.skin-vector-legacy #mw-panel .portal {
margin: 0 0 0.9rem !important;
padding: 0 !important;
border: 0 !important;
background: none !important;
box-shadow: none !important;
}
.skin-vector-legacy #mw-panel .vector-menu-heading,
.skin-vector-legacy #mw-panel .portal h3 {
margin: 0 0 0.42rem !important;
padding: 0 0.35rem !important;
border: 0 !important;
background: none !important;
color: #e8b94f !important;
font-family:
"SB Aggro B",
"SB 어그로 B",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.82rem !important;
font-weight: 700 !important;
line-height: 1.35 !important;
text-align: center;
text-shadow:
0 1px 0 #65300f,
0 2px 2px rgba(61, 19, 3, 0.42);
letter-spacing: 0.015em;
}
.skin-vector-legacy #mw-panel .vector-menu-content,
.skin-vector-legacy #mw-panel .portal .body {
position: relative;
margin: 0 !important;
padding: 0.68rem 0.72rem 0.72rem !important;
border: 2px solid #6e2d13 !important;
border-radius: 5px 7px 6px 5px;
box-sizing: border-box;
background: #f6bf7b !important;
background-image: none !important;
box-shadow:
inset 0 0 0 1px rgba(255, 231, 184, 0.45),
0 4px 5px rgba(56, 18, 4, 0.36) !important;
transform: rotate(-0.25deg);
}
.skin-vector-legacy #mw-panel .vector-menu-content::before,
.skin-vector-legacy #mw-panel .portal .body::before {
content: "";
position: absolute;
inset: 2px;
border: 1px solid rgba(124, 63, 26, 0.17);
border-radius: 4px 5px 6px 4px;
pointer-events: none;
}
.skin-vector-legacy #mw-panel .vector-menu-content-list,
.skin-vector-legacy #mw-panel .portal .body ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.skin-vector-legacy #mw-panel .vector-menu-content li,
.skin-vector-legacy #mw-panel .portal .body li {
margin: 0 !important;
padding: 0 !important;
line-height: 1.3 !important;
}
.skin-vector-legacy #mw-panel .vector-menu-content li + li,
.skin-vector-legacy #mw-panel .portal .body li + li {
margin-top: 0.26rem !important;
}
.skin-vector-legacy #mw-panel .vector-menu-content a,
.skin-vector-legacy #mw-panel .portal .body a {
display: block;
padding: 0.08rem;
color: #313452 !important;
font-family:
"SB Aggro L",
"SB 어그로 L",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.78rem !important;
font-weight: 300 !important;
line-height: 1.35 !important;
text-decoration: none !important;
text-shadow: 0 1px 0 rgba(255, 239, 204, 0.38);
transition:
color 120ms ease,
transform 120ms ease;
}
.skin-vector-legacy #mw-panel .vector-menu-content a:hover,
.skin-vector-legacy #mw-panel .portal .body a:hover {
color: #12673f !important;
text-decoration: none !important;
transform: translateX(2px);
}
.skin-vector-legacy #mw-panel .vector-menu-empty,
.skin-vector-legacy #mw-panel .emptyPortlet {
display: none !important;
}
/* =========================
오른쪽 위 사용자 메뉴
========================= */
.skin-vector-legacy #p-personal {
top: 0 !important;
right: 0 !important;
margin: 0 !important;
padding: 0.48rem 0.8rem 0.42rem 1rem !important;
border: 0 !important;
border-radius: 0 0 0 12px;
background: #479745 !important;
background-image: none !important;
box-shadow:
inset 0 -2px 0 rgba(41, 102, 40, 0.45),
0 2px 5px rgba(39, 78, 32, 0.2);
}
.skin-vector-legacy #p-personal ul {
margin: 0 !important;
padding: 0 !important;
}
.skin-vector-legacy #p-personal li {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.skin-vector-legacy #p-personal a,
.skin-vector-legacy #p-personal span {
color: #ffffff !important;
font-weight: 700 !important;
text-shadow: 0 1px 1px rgba(35, 83, 32, 0.5);
}
/* =========================
커스텀 검색바
========================= */
html.pvz-content-search-ready .skin-vector-legacy #p-search {
display: none !important;
}
.skin-vector-legacy #pvz-content-search {
position: absolute !important;
top: 7px !important;
left: var(--pvz-content-left, 10em) !important;
z-index: 120 !important;
display: block !important;
width: min(
500px,
calc(100vw - var(--pvz-content-left, 10em) - 1rem)
) !important;
min-width: 0 !important;
margin: 0 !important;
padding: 0 !important;
transform: none !important;
}
.skin-vector-legacy #pvz-content-search #searchform {
display: block;
width: 100% !important;
margin: 0 !important;
}
.skin-vector-legacy #pvz-content-search #simpleSearch {
position: relative;
display: flex;
align-items: stretch;
width: 100%;
height: 40px !important;
margin: 0;
padding: 0;
overflow: hidden;
border: 2px solid #496f4d !important;
border-radius: 16px !important;
background: #fbfefb !important;
background-image: none !important;
box-shadow: 0 2px 4px rgba(34, 74, 40, 0.14) !important;
}
.skin-vector-legacy #pvz-content-search #simpleSearch::before {
content: none !important;
display: none !important;
}
.skin-vector-legacy #pvz-content-search #simpleSearch:focus-within {
border-color: #2f633b !important;
box-shadow:
0 0 0 3px rgba(71, 151, 69, 0.15),
0 2px 4px rgba(34, 74, 40, 0.14) !important;
}
.skin-vector-legacy #pvz-content-search #searchInput {
flex: 1 1 auto;
min-width: 0;
height: 100% !important;
margin: 0 !important;
padding: 0.42rem !important;
border: 0 !important;
outline: 0 !important;
box-sizing: border-box !important;
background: transparent !important;
color: #324936 !important;
font-family:
"SB Aggro L",
"SB 어그로 L",
"SB Aggro",
"SB 어그로",
sans-serif !important;
font-size: 0.92rem !important;
line-height: 1.2 !important;
box-shadow: none !important;
}
.skin-vector-legacy #pvz-content-search #searchInput::placeholder {
color: rgba(50, 73, 54, 0.54) !important;
}
/* 보조 검색 버튼은 숨기고 실제 검색 버튼 하나만 표시 */
.skin-vector-legacy #pvz-content-search #mw-searchButton {
display: none !important;
}
.skin-vector-legacy #pvz-content-search #searchButton,
.skin-vector-legacy #pvz-content-search .searchButton:not(#mw-searchButton) {
position: relative !important;
z-index: 2;
display: block !important;
flex: 0 0 48px !important;
width: 48px !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-left: 2px solid #0b5432 !important;
border-radius: 0 !important;
background:
linear-gradient(
180deg,
#177447 0%,
#106a40 54%,
#0d6039 100%
) !important;
background-image:
linear-gradient(
180deg,
#177447 0%,
#106a40 54%,
#0d6039 100%
) !important;
color: transparent !important;
font-size: 0 !important;
text-indent: -9999px !important;
box-shadow: none !important;
filter: none !important;
cursor: pointer;
transition:
background 120ms ease,
filter 120ms ease;
}
.skin-vector-legacy #pvz-content-search #searchButton:hover,
.skin-vector-legacy #pvz-content-search .searchButton:not(#mw-searchButton):hover {
background:
linear-gradient(
180deg,
#146c42 0%,
#0e623b 54%,
#0b5734 100%
) !important;
background-image:
linear-gradient(
180deg,
#146c42 0%,
#0e623b 54%,
#0b5734 100%
) !important;
filter: none !important;
}
/* JS가 삽입하는 Magnifying glass.svg 아이콘 */
.skin-vector-legacy #pvz-content-search .pvz-search-button-icon {
position: absolute;
top: 0;
right: 0;
z-index: 3;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 100%;
pointer-events: none;
}
.skin-vector-legacy #pvz-content-search .pvz-search-button-icon::before {
content: "";
display: block;
width: 23px;
height: 23px;
background-image: url("/wiki/Special:Redirect/file/Magnifying_glass.svg");
background-position: center;
background-repeat: no-repeat;
background-size: contain;
filter: brightness(0) invert(1);
transform: rotate(30deg);
transform-origin: center;
}
/* 본문 내부에 남는 검색바 자리 제거 */
.skin-vector-legacy #content > #pvz-content-search,
.skin-vector-legacy .mw-body > #pvz-content-search {
margin: 0 !important;
}
@media (max-width: 1100px) {
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content-list {
gap: 2px;
}
.skin-vector-legacy #p-namespaces li > a,
.skin-vector-legacy #p-views li > a,
.skin-vector-legacy #p-cactions-label {
padding-right: 10px !important;
padding-left: 10px !important;
font-size: 0.86rem;
}
.skin-vector-legacy #pvz-content-search {
width: min(
420px,
calc(100vw - var(--pvz-content-left, 10em) - 1rem)
) !important;
min-width: 280px;
}
}
@media (max-width: 800px) {
.skin-vector-legacy #pvz-content-search #searchform {
width: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
.skin-vector-legacy .pvz-watch-spinning > a::before,
.skin-vector-legacy a.pvz-watch-spinning::before {
animation-duration: 1ms;
}
}