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

편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 541개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* 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;
}
body::-webkit-scrollbar {
  width: 12px;
  transition: 250ms;
}
body::-webkit-scrollbar-thumb {
  background: #adb5bdb6;
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: padding-box;
  transition: 250ms;
}
body::-webkit-scrollbar-track {
  background: transparent;
  transition: 250ms;
}
html {
  font-size: 16px;
}
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: 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 */
/* Content width, alian center */
.Liberty .nav-wrapper .navbar {
  max-width: 1380px;
  margin: 0 auto;
}
/* Content width, alian center End */
/* Profile */
.Liberty .nav-wrapper .navbar .navbar-login .profile-img {
  width: 2rem;
  height: 2rem;
  border-radius: 9999rem;
  margin: 0;
  border: none;
}
/* 목차 내의 항목의 오른쪽 마진 조정 */
.mw-headline > #toc {
    margin-right: 4px !important;
}
/* 기본 설정: 모바일 및 작은 화면 */
.liberty-content-main {
    padding: 16px !important; /* 기존 모바일 패딩 (필요하면 변경 가능) */
}
/* 데스크톱 환경에서 패딩 조절 */
@media (min-width: 1024px) { /* 화면 너비가 1024px 이상일 때 */
    .liberty-content-main {
        padding: 24px !important; /* 데스크톱 패딩 */
    }
}
/* 기본 설정: 모바일 및 작은 화면 */
.title {
    padding: 16px !important; /* 기존 모바일 패딩 (필요하면 변경 가능) */
}
/* 데스크톱 환경에서 패딩 조절 */
@media (min-width: 1024px) { /* 화면 너비가 1024px 이상일 때 */
    .title {
        padding: 24px !important; /* 데스크톱 패딩 */
    }
}
/* 기본 설정: 모바일 및 작은 화면 */
.content-tools {
    padding: 16px !important; /* 기존 모바일 패딩 (필요하면 변경 가능) */
}
/* 데스크톱 환경에서 패딩 조절 */
@media (min-width: 1024px) { /* 화면 너비가 1024px 이상일 때 */
    .content-tools {
        padding: 24px !important; /* 데스크톱 패딩 */
    }
}
/* 제목과 본문 사이의 간격을 없애기 */
.toctitle {
    margin-bottom: 0 !important;  /* 제목의 아래쪽 마진 제거 */
    padding-top:18px !important;
    padding-bottom:18px !important;
    border-bottom: none !important; /* 제목 아래 구분선 제거 */
    background: #fff !important; /* 제목 배경색 제거 */
}
.toctitle .mw-toc-heading {
  border-bottom: none !important; /* 제목 아래 구분선 제거 */
}
/* 제목과 본문 사이의 간격을 없애기 */
.liberty-content-header {
.liberty-content-header {
    margin-bottom: 0 !important;  /* 제목의 아래쪽 마진 제거 */
border-bottom: 0.8px !important;
    padding-bottom: 0 !important; /* 제목의 아래쪽 패딩 제거 */
    border-bottom: none !important; /* 제목 아래 구분선 제거 */
    background: #fff !important; /* 제목 배경색 제거 */
}
 
/* 본문 콘텐츠와 상단 간격을 설정 */
.content-wrapper {
    padding-top: 15px !important; /* 본문 콘텐츠 위쪽 간격을 30px로 설정 */
}
 
 
/* 본문 내용에 대한 여백 조정 */
.liberty-content-main {
    margin-top: 0 !important;  /* 본문의 위쪽 마진 제거 */
    padding-top: 0 !important; /* 본문의 위쪽 패딩 제거 */
    border-top: none !important; /* 본문 위 구분선 제거 */
    background: #fff !important; /* 본문 배경색 제거 */
}
 
/* 제목 위쪽 간격을 넓히기 */
.title {
    margin-top: 10px !important;  /* 제목 위의 간격을 20px로 설정 (원하는 만큼 조정 가능) */
}
 
.content-tools {
    padding-top: 10px !important;
    margin-top: 10px !important;  /* 제목 위의 간격을 20px로 설정 (원하는 만큼 조정 가능) */
}
 
/* 전체 사이트의 기본 폰트 변경 */
body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; /* 원하는 폰트로 변경 */
    font-size: 14px; /* 기본 폰트 크기 (선택 사항) */
    line-height: 1.6; /* 줄 간격 */
}
 
/* 제목 밑에 점선을 실선으로 변경 */
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
    border-bottom: 1px solid #e1e8ed !important;  /* 실선 스타일 */
    padding-bottom: 10px !important;  /* 제목과 본문 사이에 여백 추가 */
    margin-bottom: 10px !important;  /* 제목 아래 간격 추가 */
}
 
/* 본문에 들어가는 제목의 위쪽 간격을 늘리기 */
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
    margin-top: 30px !important;  /* 제목 위쪽 간격 */
}
 
/* 제목 스타일 (H1 ~ H6) */
h1, h2, h3, h4, h5, h6 {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; /* 원하는 폰트로 변경 */
}
 
/* 제목 크기 */
h1 {
    font-size: 34px !important; /* 강제 적용 */
}
 
/* 본문 전체의 기본 글자 크기 */
body {
    font-size: 14.5px !important; /* 강제 적용 */
    line-height: 1.8 !important; /* 줄 간격도 강제 적용 */
}
 
/* 목차의 글자 크기 조정 */
#toc {
    font-size: 14.5px !important; /* 강제 적용 */
}
 
/* 모든 텍스트의 자간을 좁히기 */
body {
    letter-spacing: -0.1px; /* 원하는 자간 값으로 조정 */
}
 
/* 제목(H1~H6)의 자간도 동일하게 좁히기 */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.3px;
}
 
 
.rellink {
    text-align: left; /* 텍스트를 왼쪽으로 정렬 */
    margin: 0; /* 여백 초기화 */
    padding: 0; /* 여백 초기화 */
}
 
 
/* 이 CSS 설정은 리버티 스킨을 사용하는 사용자에게 적용됩니다 */
.mw-headline-number { color: #0275d8; }
.mw-headline-number::after { content: "."; }
 
/* 분류칸 그림자 제거 */
.skin-liberty .catlinks {
    box-shadow: none !important; /* 그림자 제거 */
    border: 1px solid #ddd; /* 필요 시 테두리 스타일을 정의 */
}
 
.Liberty .content-wrapper .liberty-sidebar {
float: right !important;
position: relative !important;
margin-left: 16px !important;
}
 
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper {
z-index: 1 !important;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header {
width: 300px !important;
}
 
 
.live-recent-header .a, .live-recent-header .a:hover {
text-decoration: none !important; /* 諛묒쨪 �쒓굅 */
    color: inherit !important; /* �몃쾭 �� �됱긽 蹂��� 諛⑹� */
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav {
border: 0 !important;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item {
width: 7.5rem !important;
border: 1px solid #e1e8ed !important;
border-top-left-radius: 0.35rem !important;
background-color: #f5f8fa !important;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item + .nav-item {
margin-left: 0;
border-left: 0;
border-top-left-radius: 0;
border-top-right-radius: 0.35rem;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link {
border: 0;
border-radius: 0;
border-top-left-radius: 0.35rem;
text-align: center;
padding-top: 0.6rem;
padding-bottom: 0.6rem;
color: #6e7478;
position: relative;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item + .nav-item .nav-link {
border-top-left-radius: 0;
border-top-right-radius: 0.35rem;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link.active,
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link:hover,
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link:focus,
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link:active {
color: #373a3c;
background-color: #fff;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link.active::before,
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link:hover::before,
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link:focus::before,
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item .nav-link:active::before {
position: absolute;
left: -1px;
bottom: -1px;
content: " ";
width: 7.5rem;
display: block;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-content {
background-color: #fff;
border-left: 1px solid #e1e8ed;
border-right: 1px solid #e1e8ed;
border-top: 0;
z-index: 1;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-content .live-recent-list {
list-style: none;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-content .live-recent-list li {
padding: 0.2rem 1.2rem;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-content .live-recent-list li:last-child {
border-bottom: none;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-content .live-recent-list .recent-item {
font-size: 14px;
color: #373a3c;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-content .live-recent-list .recent-item .new {
font-size: 14px;
color: #b73333;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-footer {
background-color: #f5f8fa;
border: 1px solid #e1e8ed;
border-top: 0;
border-bottom-left-radius: 0.35rem;
border-bottom-right-radius: 0.35rem;
text-align: right;
padding: 0.4rem 0.6rem;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-footer .label {
padding: 0.4rem;
font-size: 0.8rem;
font-weight: 400;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-footer .label:hover {
transition: 0.3s;
}
 
.Liberty .content-wrapper .liberty-sidebar .right-ads {
position: absolute;
top: 25.73rem;
width: 15rem;
}
}

2025년 7월 4일 (금) 06:03 기준 최신판

.liberty-content-header {
	border-bottom: 0.8px !important;
}