미디어위키:Liberty.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
279번째 줄: 279번째 줄:
@media (max-width: 1022.4px) {
@media (max-width: 1022.4px) {
     .Liberty .content-wrapper {
     .Liberty .content-wrapper {
           margin-top: 6.5rem;
           margin-top: 6.2rem;
     }
     }
}
}

2025년 2월 23일 (일) 08:18 판

:root {
	--ew-custom-theme-main: #3757C7;
	--ew-custom-theme-secondary: #466DFA;
	--ew-spec-brand-main: #3757C7;
	--ew-spec-brand-secondary: #466DFA;
	--ew-spec-overlay-black: #000000;
	--ew-spec-overlay-darkgray: #333;
	--ew-spec-overlay-ligntgray: #DDD;
	--ew-spec-overlay-white: #FFFFFF;
	--ew-theme-000: #050508;
	--ew-theme-010: #151720;
	--ew-theme-020: #262A39;
	--ew-theme-030: #3A3F52;
	--ew-theme-040: #4F556B;
	--ew-theme-050: #666D83;
	--ew-theme-060: #7F869C;
	--ew-theme-070: #9AA0B5;
	--ew-theme-080: #B7BBCE;
	--ew-theme-090: #D5D9E6;
	--ew-theme-100: #F5F7FF;
	--ew-theme-link: #0275d8;
	--ew-theme-link-external: #33B733;
	--ew-theme-link-external-hover: #2CA02C;
	--ew-theme-link-hover: #0263b8;
	--ew-theme-link-new: #B73333;
	--ew-theme-link-new-hover: #7C2323;
	--ew-theme-main: #3757C7;
	--ew-theme-secondary: #466DFA;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    font-display: auto;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.woff2') format('woff2'),
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    font-display: auto;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Medium.woff2') format('woff2'),
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    font-display: auto;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.woff2') format('woff2'),
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    font-display: auto;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.woff2') format('woff2'),
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    font-display: auto;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraBold.woff2') format('woff2'),
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    font-display: auto;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Black.woff2') format('woff2'),
}

/* HTML Tag */
* {
  outline: none;
}

input:hover,
button:hover,
select:hover {
  transition: 0.3s;
}

/* 스크롤바 */

html, body {
  overflow-x: hidden;
  overflow-y: overlay;
}

body::-webkit-scrollbar {
  display: none;
}

html {
  font-size: 15px;
}

body {
  font-size: 15px;
  font-weight: 400;
  color: #212529;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Spoqa Han Sans", "SpoqaHanSans",
    "Noto Sans KR", "Noto Sans", "Noto Sans CJK KR", "NanumBarunGothic",
    "Nanum Gothic", "KoPub Dotum", "Malgun Gothic", "맑은 고딕", sans-serif;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
b {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Spoqa Han Sans", "SpoqaHanSans",
    "Noto Sans KR", "Noto Sans", "Noto Sans CJK KR", "NanumBarunGothic",
    "Nanum Gothic", "KoPub Dotum", "Malgun Gothic", "맑은 고딕", sans-serif;
}

input[type="password"] {
  font-family: sans-serif;
}

h1 {
  font-size: 2.2em;
}

h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.6em;
}
h4 {
  font-size: 1.5em;
}

h5 {
  font-size: 1.3em;
}

h6 {
  font-size: 1.1em;
}

ol,
ul,
p {
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 1rem;
}

ol,
.mw-content-ltr ol,
.mw-content-rtl .mw-content-ltr ol {
  margin: 0;
  margin-left: 2.2rem;
  margin-right: 1rem;
  list-style-image: none;
}

pre {
  display: block;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f8fa;
  border: 1px solid #e1e8ed;
  border-radius: 0.5rem;
  padding: 0.8rem;
}

a:focus {
  outline: 0;
}

p {
  overflow-wrap: break-word;
}

ul {
  list-style-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%225%22%20height%3D%2213%22%3E%0A%3Ccircle%20cx%3D%222.5%22%20cy%3D%229.5%22%20r%3D%222.5%22%20fill%3D%22%23373a3c%22%2F%3E%0A%3C%2Fsvg%3E%0A);
}

img {
  max-width: 100%;
  height: auto;
  margin: 0;
}

th[rowspan],
td[rowspan] {
  position: relative;
}

th[rowspan]:after,
td[rowspan]:after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 100%;
  /*background: #e0e0e0;*/
}

input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  /* Removes some iOS CSS Settings */
}


textarea {
  width: 100%;
  border: 1px solid #e1e8ed;
  padding: 0.5rem;
}

hr {
  border-top: 1px solid #e1e8ed;
}

html input[type="button"]:hover,
html input[type="submit"]:hover,
button:hover {
  background-color: #466DFA;
}

label {
  vertical-align: middle;
  word-break: keep-all;
}

del,
s,
strike {
  color: #808080;
}
/* HTML Tag End */

/* 신스킨 */
.Liberty .nav-wrapper {
	  box-shadow: none;
}

.Liberty .nav-wrapper .navbar .navbar-brand {
  height: 3.5rem;
}

.Liberty .nav-wrapper .navbar .navbar-nav .nav-item .nav-link .fa.fa-bars {
  margin-right: 0;
}

.navbar::after { display: none; }

.Liberty .content-wrapper {
  margin-top: 4.5rem;
  margin-bottom: 1rem;
}


@media (max-width: 1022.4px) {
    .Liberty .content-wrapper {
          margin-top: 6.2rem;
    }
}

.Liberty .nav-wrapper .navbar .form-inline .btn .fa,
.Liberty .nav-wrapper .navbar .form-inline .btn .fas,
.Liberty .nav-wrapper .navbar .form-inline .btn .far,
.Liberty .nav-wrapper .navbar .randompage .fa,
.Liberty .nav-wrapper .navbar .darkModeToggle .fas {
  font-size: 1em;
}

#pt-notifications-alert, #pt-notifications-notice {
  top: 0;
  margin-right: 0;
  margin-left: 0;
}


.Liberty .nav-wrapper .navbar .navbar-nav .nav-item .hide-title {
  font-weight: 500;
}

.Liberty .content-wrapper .liberty-content {
  margin-bottom: auto;
}

#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
  margin-right: 8px;
}

.Liberty .nav-wrapper .navbar .navbar-nav .nav-item {
  border-radius: 0.5rem;
  padding: 0.28rem 0.2rem;
}

.Liberty .nav-wrapper .navbar .navbar-nav .nav-item .nav-link {
	margin-top: 5.7px;
	padding-top: 5.25px;
	padding-bottom: 8px;
	border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
}

.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-footer .label:hover,
.Liberty .nav-wrapper .navbar .navbar-nav .nav-item .nav-link:hover,
.Liberty .nav-wrapper .navbar .navbar-nav .nav-item .nav-link:focus,
.dropdown-menu .dropdown-item:hover {
	background-color: #2673fe;
}


/* 검색창 */
.Liberty .nav-wrapper .navbar .form-inline {
	padding-top: 8px;
}

.Liberty .nav-wrapper .navbar .form-inline .form-control {
  width: 15.0rem;
  height: 2.4rem;
  font-size: 0.85rem;
  padding: 0 0 0 0.75rem;
  border-radius: 2rem;
  border-color: #FFF;
  transition: width .3s cubic-bezier(0, 0.90, 0.50, 0.90);
}

.Liberty .nav-wrapper .navbar .form-inline .form-control:focus {
  width: 20.0rem;
}

.navbar .btn {
  display: none;
}

@media (max-width: 1022.4px) {
    .input-group-btn {
        display: none !important;
    }
}

@media (max-width: 1022.4px) {
  .Liberty .nav-wrapper .navbar .form-inline {
  	padding-top: 0px;
    width: 100%; /* 전체 너비 차지 */
  }
  .Liberty .nav-wrapper .navbar .form-inline .form-control {
    width: 100%; /* 검색창을 꽉 차게 */
  }
  .Liberty .nav-wrapper .navbar .form-inline .form-control:focus {
    width: 100% !important; /* focus 시에도 변경되지 않도록 유지 */
  }
}

/* 프로필 */
.Liberty .nav-wrapper .navbar .navbar-login {
	padding-top: 2px;
}
.Liberty .nav-wrapper .navbar .navbar-login .profile-img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999rem;
  margin: 0;
  border: none;
}

/* 프로필 끝 */

.Liberty .nav-wrapper .navbar .randompage,
.Liberty .nav-wrapper .navbar .darkModeToggle {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4f5b63;
  padding: 0.1875rem 0.45rem;
  line-height: 22px;
}