미디어위키:Common.css: 두 판 사이의 차이
(아카디아 포털 알약 탭 스타일 추가) |
(포럼 버튼 모바일 가시성: position absolute로 헤더 우측 고정) |
||
| 1번째 줄: | 1번째 줄: | ||
/* 아카디아 포털 — | /* 아카디아 포털 — 알약 탭 */ | ||
.akadia-portal-links { | .akadia-portal-links { | ||
display: inline-flex; | display: inline-flex; | ||
| 18번째 줄: | 18번째 줄: | ||
line-height: 1.4; | line-height: 1.4; | ||
transition: background 0.15s, color 0.15s; | transition: background 0.15s, color 0.15s; | ||
white-space: nowrap; | |||
} | } | ||
.akadia-portal-link:hover, | .akadia-portal-link:hover, | ||
| 25번째 줄: | 26번째 줄: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
@media (max-width: | |||
.akadia-portal-link { padding: 4px 10px; font-size: 12px; } | /* 모바일: 헤더 우측에 항상 표시 (햄버거 메뉴와 별도) */ | ||
@media screen and (max-width: 1000px) { | |||
header.mw-header, | |||
.mw-header, | |||
.vector-header { | |||
position: relative !important; | |||
} | |||
.akadia-portal-links { | |||
position: absolute !important; | |||
top: 50% !important; | |||
right: 56px !important; | |||
transform: translateY(-50%) !important; | |||
margin: 0 !important; | |||
z-index: 100 !important; | |||
} | |||
.akadia-portal-link { | |||
padding: 4px 10px !important; | |||
font-size: 12px !important; | |||
border-radius: 12px !important; | |||
} | |||
} | |||
@media screen and (max-width: 480px) { | |||
.akadia-portal-links { | |||
right: 50px !important; | |||
} | |||
.akadia-portal-link { | |||
padding: 3px 8px !important; | |||
font-size: 11px !important; | |||
} | |||
} | } | ||
2026년 5월 12일 (화) 08:37 판
/* 아카디아 포털 — 알약 탭 */
.akadia-portal-links {
display: inline-flex;
align-items: center;
margin-right: 8px;
}
.akadia-portal-link {
display: inline-block;
padding: 5px 14px;
margin: 0 3px;
border-radius: 16px;
background: #e6f1fb;
border: 1px solid #b5d4f4;
color: #1d4f8b;
font-weight: 500;
font-size: 13px;
text-decoration: none;
line-height: 1.4;
transition: background 0.15s, color 0.15s;
white-space: nowrap;
}
.akadia-portal-link:hover,
.akadia-portal-link:focus {
background: #b5d4f4;
color: #042c53;
text-decoration: none;
}
/* 모바일: 헤더 우측에 항상 표시 (햄버거 메뉴와 별도) */
@media screen and (max-width: 1000px) {
header.mw-header,
.mw-header,
.vector-header {
position: relative !important;
}
.akadia-portal-links {
position: absolute !important;
top: 50% !important;
right: 56px !important;
transform: translateY(-50%) !important;
margin: 0 !important;
z-index: 100 !important;
}
.akadia-portal-link {
padding: 4px 10px !important;
font-size: 12px !important;
border-radius: 12px !important;
}
}
@media screen and (max-width: 480px) {
.akadia-portal-links {
right: 50px !important;
}
.akadia-portal-link {
padding: 3px 8px !important;
font-size: 11px !important;
}
}