미디어위키:Gadget-Vector.css
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* Vector 2010 액션바 전체 디자인 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
margin: 0;
background: 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 {
background: none !important;
background-image: none !important;
border: 0 !important;
box-shadow: 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,
.skin-vector-legacy #p-views {
top: -4px !important;
}
.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;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 2px;
height: 32px;
min-height: 32px;
margin: 0;
padding: 5px 10px 4px;
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.selected > a,
.skin-vector-legacy #p-views li.selected > a {
z-index: 2;
height: 39px;
min-height: 39px;
padding-top: 9px;
padding-bottom: 5px;
background: #b1837c !important;
color: #fff !important;
transform: none;
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;
}
.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 #p-cactions {
margin-left: 4px;
}
.skin-vector-legacy #p-cactions-label {
min-width: 36px;
cursor: pointer;
}
.skin-vector-legacy #p-cactions-label span {
display: block;
color: inherit !important;
font: inherit;
text-shadow: inherit;
}
/* 주시 버튼 */
.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 {
width: 36px;
min-width: 36px;
padding-right: 8px;
padding-left: 8px;
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;
display: block !important;
width: 18px;
height: 18px;
flex: 0 0 18px;
margin: 0;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
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 360ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes pvz-watch-star-spin {
0% { transform: rotate(0deg) scale(1); }
45% { transform: rotate(180deg) scale(0.82); }
100% { transform: 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;
}
@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;
padding-left: 10px;
font-size: 0.86rem;
}
}
@media (prefers-reduced-motion: reduce) {
.skin-vector-legacy .pvz-watch-spinning > a::before,
.skin-vector-legacy a.pvz-watch-spinning::before {
animation-duration: 1ms;
}
}
/* 본문창: 같은 굵기의 매우 두꺼운 이중 테두리 */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
background: #e6d2b2 !important;
border: 15px solid #5b1f09 !important;
border-radius: 28px !important;
box-shadow:
inset 0 0 0 15px #e6d2b2 !important;
box-sizing: border-box;
padding:
calc(1.25em + 15px)
calc(1.5em + 15px)
calc(1.5em + 15px) !important;
overflow: hidden;
}
/* 더보기 버튼을 나머지 액션바 버튼의 기준선에 맞춤 */
.skin-vector-legacy #p-cactions {
top: -4px !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;
}
/* 액션바 최종 위치 조정 */
/* 맨 왼쪽의 문서·토론 버튼 묶음을 오른쪽으로 10px 이동 */
.skin-vector-legacy #p-namespaces {
margin-left: 10px !important;
}
/* 모든 액션바 버튼을 본문창 쪽으로 더 내려 하단 테두리가 가려지게 함 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
top: 8px !important;
z-index: 3;
}
/* 더보기 버튼 위치를 다른 버튼과 완전히 동일하게 고정 */
.skin-vector-legacy #p-cactions {
margin-top: 0 !important;
transform: none !important;
}
.skin-vector-legacy #p-cactions-label {
top: 0 !important;
margin-top: 0 !important;
transform: none !important;
}
/* 본문창이 액션바 버튼의 아래쪽 바깥 테두리를 덮도록 앞으로 배치 */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
position: relative;
z-index: 4;
}
/* 맨 안쪽 배경색의 모서리도 바깥 테두리와 같은 수치로 둥글게 처리 */
.skin-vector-legacy #content::before,
.skin-vector-legacy .mw-body::before {
content: "";
position: absolute;
inset: 15px;
z-index: -1;
border-radius: 28px;
background: #fffae9;
pointer-events: none;
}
/* 액션바 세부 위치 및 그림자 보정 */
/* 문서·토론 버튼 묶음: 기존보다 오른쪽으로 10px 추가 이동 */
.skin-vector-legacy #p-namespaces {
margin-left: 20px !important;
}
/* 액션바 전체를 본문창 쪽으로 조금 더 내림 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
top: 12px !important;
}
/* 선택되지 않은 버튼의 아래쪽 내부 그림자를 더 연하게 조정 */
.skin-vector-legacy #p-namespaces li:not(.selected) > a,
.skin-vector-legacy #p-views li:not(.selected) > a,
.skin-vector-legacy #p-cactions-label {
box-shadow:
inset 0 2px 0 #985d43,
inset 0 -3px 0 #6b321f !important;
}
/* 본문창 내부 배경 모서리를 바깥 테두리와 동일한 28px로 고정 */
.skin-vector-legacy #content::before,
.skin-vector-legacy .mw-body::before {
border-radius: 28px !important;
}
/* 액션바 위치 및 본문창 모서리 최종 보정 */
/* 문서·토론 묶음을 기존 총 20px에서 23px로 이동 */
.skin-vector-legacy #p-namespaces {
margin-left: 23px !important;
}
/*
* Vector Legacy의 메뉴 컨테이너 top 값 대신
* 실제 버튼 목록을 직접 이동해 문서·토론·보기 버튼에도 확실히 적용
*/
.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,
.skin-vector-legacy #p-cactions-label {
position: relative !important;
top: 10px !important;
transform: none !important;
}
/* 상위 메뉴의 기존 위치 이동은 제거해 중복 이동 방지 */
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
top: 0 !important;
}
/* 세 겹 모두 동일한 28px 곡률 */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
border-radius: 28px !important;
}
/* 안쪽 테두리선 자체의 바깥 경계 */
.skin-vector-legacy #content::after,
.skin-vector-legacy .mw-body::after {
content: "";
position: absolute;
inset: 15px;
z-index: -2;
border-radius: 28px;
background: #e6d2b2;
pointer-events: none;
}
/* 맨 안쪽 배경 */
.skin-vector-legacy #content::before,
.skin-vector-legacy .mw-body::before {
inset: 30px !important;
z-index: -1;
border-radius: 28px !important;
background: #fffae9 !important;
}
/* 액션바 및 본문창 최종 보정 */
/* 더보기 버튼을 제외한 액션바 버튼을 더보기 버튼과 같은 높이로 올림 */
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content-list {
top: 0 !important;
}
/* 더보기 버튼은 현재 위치 유지 */
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content-list,
.skin-vector-legacy #p-cactions-label {
top: 10px !important;
}
/* 본문창 내부 여백 확대 */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
padding:
calc(2em + 30px)
calc(2.25em + 30px)
calc(2.25em + 30px) !important;
}
/*
* 안쪽 테두리의 곡률을 시각적으로 바깥 테두리와 맞춤
* 안쪽으로 들어간 만큼 반지름을 줄이지 않고 동일 곡률 유지
*/
.skin-vector-legacy #content::after,
.skin-vector-legacy .mw-body::after {
inset: 15px !important;
border-radius: 28px !important;
}
/* 맨 안쪽 배경도 동일 곡률 유지 */
.skin-vector-legacy #content::before,
.skin-vector-legacy .mw-body::before {
inset: 30px !important;
border-radius: 28px !important;
}
/* ===== v10 조정 ===== */
/* 액션바: 더보기와 동일한 기준선 */
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content-list,
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content-list,
.skin-vector-legacy #p-cactions-label{
position:relative !important;
top:10px !important;
transform:none !important;
}
/* 본문 내부 여백 약간 축소 */
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body{
padding:
calc(1.6em + 24px)
calc(1.9em + 24px)
calc(1.9em + 24px) !important;
}
/* 안쪽 테두리 굵기를 바깥 테두리와 동일하게 */
.skin-vector-legacy #content::after,
.skin-vector-legacy .mw-body::after{
inset:15px !important;
border:15px solid #e6d2b2 !important;
background:transparent !important;
border-radius:28px !important;
box-sizing:border-box;
}
/* 안쪽 배경 시작 위치를 동일 두께만큼 이동 */
.skin-vector-legacy #content::before,
.skin-vector-legacy .mw-body::before{
inset:30px !important;
border-radius:28px !important;
}
/* ===== v11 정렬 및 본문창 보정 ===== */
/*
* 위치 이동은 중첩된 content/list가 아니라
* 각 메뉴의 최상위 컨테이너에 한 번만 적용한다.
*/
.skin-vector-legacy #p-namespaces,
.skin-vector-legacy #p-views,
.skin-vector-legacy #p-cactions {
position: absolute !important;
top: 10px !important;
transform: none !important;
}
/* 중복 위치 이동 제거 */
.skin-vector-legacy #p-namespaces .vector-menu-content,
.skin-vector-legacy #p-namespaces .vector-menu-content-list,
.skin-vector-legacy #p-views .vector-menu-content,
.skin-vector-legacy #p-views .vector-menu-content-list,
.skin-vector-legacy #p-cactions .vector-menu-content,
.skin-vector-legacy #p-cactions .vector-menu-content-list,
.skin-vector-legacy #p-cactions-label {
top: 0 !important;
margin-top: 0 !important;
transform: none !important;
}
/*
* 바깥 테두리 15px + 안쪽 테두리 15px.
* 의사 요소를 제거하고 inset 그림자로 굵기를 정확히 통일한다.
*/
.skin-vector-legacy #content,
.skin-vector-legacy .mw-body {
background: #fffae9 !important;
border: 15px solid #5b1f09 !important;
border-radius: 28px !important;
box-shadow: inset 0 0 0 15px #e6d2b2 !important;
padding:
calc(1.5em + 20px)
calc(1.8em + 20px)
calc(1.8em + 20px) !important;
}
.skin-vector-legacy #content::before,
.skin-vector-legacy #content::after,
.skin-vector-legacy .mw-body::before,
.skin-vector-legacy .mw-body::after {
content: none !important;
display: none !important;
}