미디어위키:Common.css

Admin (토론 | 기여)님의 2026년 5월 12일 (화) 08:43 판 (포럼 버튼 right offset 56→110px (돋보기·사용자 아이콘 가림 방지))

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
  • 오페라: Ctrl-F5를 입력.
/* 아카디아 포털 — 알약 탭 */
.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: 110px !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: 100px !important;
  }
  .akadia-portal-link {
    padding: 3px 8px !important;
    font-size: 11px !important;
  }
}

@media screen and (max-width: 360px) {
  .akadia-portal-links {
    right: 95px !important;
  }
  .akadia-portal-link {
    padding: 2px 7px !important;
    font-size: 10px !important;
  }
}