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

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
 
(같은 사용자의 중간 판 473개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* HTML Tag */
* {
  outline: none;
}


input:hover,
.liberty-content-header {
button:hover,
border-bottom: 0.8px !important;
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 .content-wrapper {
max-width: 1325px;
margin-top: 72px;
}
 
 
@media (max-width: 890px) {
    .Liberty .content-wrapper {
        margin-top: 96px;
    }
}
 
/*nav*/
.navbar-fixed-top {
    background: linear-gradient(to right, #005bfe, #397ffe) !important; /* 왼쪽에서 오른쪽으로 그라데이션 */
    box-shadow: none !important; /* 그림자 제거 */
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}
 
@media (max-width: 890px) {
    .navbar-fixed-top {
    padding-top: 0 !important;
        background: #005bfe !important; /* 단색 배경 */
    }
}
 
@media (max-width: 890px) {
#searchform {
padding-top: 0 !important;
padding-bottom: 6.4px !important;
}
}
 
.Liberty .nav-wrapper .navbar {
max-width: 1325px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
 
@media (max-width: 1325px) {
    .Liberty .nav-wrapper .navbar {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}
 
.Liberty .nav-wrapper .navbar .form-inline {
padding: 0.4rem 0;
float: right;
}
 
.Liberty .nav-wrapper .navbar .form-inline .form-control {
font-size: 0.8rem;
height: 2rem;
width: 16rem;
padding: 0.2rem 1rem;
border-color: #ccc;
border-radius: 0;
border-radius: 6rem;
}
 
 
.Liberty .nav-wrapper .navbar .form-inline .btn {
height: 2rem;
color: #4f5b63;
padding: 0.2rem 0.4rem;
line-height: 22px;
}
 
.Liberty .nav-wrapper .navbar .form-inline .btn:hover,
.Liberty .nav-wrapper .navbar .form-inline .btn:focus {
color: #fff;
outline: 0;
}
 
.Liberty .nav-wrapper .navbar .form-inline .btn .fa,
.Liberty .nav-wrapper .navbar .form-inline .btn .fas,
.Liberty .nav-wrapper .navbar .form-inline .btn .far {
width: 0.9rem;
}
 
.input-group-btn {
    display: none;
}
 
 
/* Content width, alian center End */
 
/* Background Color */
.Liberty {
  background-color: #f5f6f7;
}
/* Background Color End*/
 
/* Profile */
.Liberty .nav-wrapper .navbar .navbar-login .profile-img {
  width: 2rem;
  height: 2rem;
  border-radius: 9999rem;
  margin: 0;
  border: none;
}
/* Profile */
 
/* Right Menu */
.Liberty .content-wrapper .liberty-sidebar {
float: right;
width: 15rem;
position: relative;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper {
z-index: 1;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent {
width: 15rem;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav {
border: 0;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-header .nav .nav-item {
width: 7.5rem;
border: 1px solid #e1e8ed;
border-top-left-radius: 0.35rem;
background-color: #f5f8fa;
}
 
.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: 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 {
border-bottom: 1px solid #e1e8ed;
padding: 0.2rem 0.6rem;
}
 
.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: 0.8rem;
color: #373a3c;
}
 
.Liberty .content-wrapper .liberty-sidebar .live-recent-wrapper .live-recent .live-recent-content .live-recent-list .recent-item .new {
font-size: 0.8rem;
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;
}
/* Right Menu */
 
/* 기본 분류 가리기 */
.catlinks {
display: none!important;
}
 
/* 모바일에서 */
@media screen and (max-width: 768px) {
/* 모바일 분류 박스 */
.namucat-main-box {
    margin-bottom: .8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 3px 3px 3px 5px;
}
/* 모바일 미분류 박스 */
.namucat-no-box {
margin-bottom: .8rem;
border: 1px solid #bcdff1;
padding: 10px;
background: #d9edf7;
border-radius: 5px;
color: #31708f;
}
/* 헬퍼 버튼 */
.namucat-helper-btn {
margin-bottom: .8rem;
flex: 1;
border-radius: 5px;
background: #880e4f;
padding: 10px;
color: white;
text-align: center;
transition: font-weight .25s, font-size .25s, padding .25s;
}
/* 링크 클릭 시 파란 박스 */
a:active {
animation-name: btn-background;
animation-duration: .5s;
animation-iteration-count: 1;
animation-timing-function: steps(1, end);
animation-fill-mode: forwards;
}
/* 순환 링크 애니메이션 제외 */
a.selflink:active {
animation: none;
}
/* 모바일에서 문서 제목 볼드체 해제 */
.pagename-nobold {
font-weight: normal;
}
}
 
/* 파란 박스가 0.5초 뒤 사라지는 애니메이션 */
@keyframes btn-background {
from {
background: rgba(0, 0, 255, .1);
}
to {
background: initial;
}
}
 
/* PC에서 */
@media screen and (min-width: 768px) {
/* PC 분류 박스 */
.namucat-main-box {
    margin-bottom: .8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 3px 3px 3px 5px;
}
/* PC 미분류 박스 */
.namucat-no-box {
margin-bottom: .8rem;
border: 1px solid #bcdff1;
padding: 10px;
background: #d9edf7;
border-radius: 5px;
color: #31708f;
}
/* 헬퍼 버튼 */
.namucat-helper-btn {
margin-bottom: .8rem;
flex: 1;
border-radius: 5px;
background: #880e4f;
padding: 10px;
color: white;
text-align: center;
transition: font-weight .25s, font-size .25s, padding .25s;
}
}
 
/* 헬퍼 버튼 사이 여백 */
.namucat-helper-btn-margin {
display: inline-block;
width: 5px;
}
 
/* 분류 블러 */
.namucat-blur {
filter: blur(3px);
}
.namucat-blur:hover {
filter: none;
}
 
/* 분류 간 구분선 */
.namucat-stick:after {
border-left: 1px solid #888;
content: "";
display: inline-block;
height: 0.8rem;
margin: 0 0.4rem -0.1rem;
}
 
/* 리스트를 나무위키처럼 */
ul:not(#toc) {
margin: .2em 0 .2em 1.5em;
padding-left: .5rem!important;
list-style-type: disc;
list-style-image: none;
}
ol:not(#toc) {
margin: .2em 0 .2em 1.5em;
padding-left: .5rem!important;
}
dl {
margin: .2em 0 .2em 1.5em;
padding-left: .5rem!important;
}
li:not(#toc) {
margin: .2em 0!important;
}
dt {
margin: .2em 0!important;
}
dd {
margin: .2em 0!important;
}
ul ul:not(#toc) {
list-style-type: circle;
list-style-image: none;
}
ul ul ul:not(#toc) {
list-style-type: square;
list-style-image: none;
}
#toc ul {
margin: 0!important;
padding: 0.6rem 1.2rem!important;
border: none;
border-radius: 0;
background-color: transparent;
}
#toc ul ul {
margin: 0 0 0 1rem!important;
padding: 0!important;
}
#toc li {
margin: 0!important;
padding: 0!important;
border: none;
border-radius: 0;
background-color: transparent;
}
 
/* 목차를 나무위키처럼 */
.toc {
border-radius: 0!important;
margin-left: 5px;
font-size: 15px!important;
background-color: transparent;
}
.toctitle {
min-width: 0!important;
border: none!important;
background-color: transparent!important;
}
#mw-toc-heading {
border: none!important;
font-weight: normal;
user-select: none;
background-color: transparent;
}
.tocnumber:after {
content: '.';
}
.toctext {
cursor: default;
}
.toctogglespan {
display: none;
}
 
/* 문단을 나무위키처럼 */
.reference-paragraph {
border-bottom: 1px solid #777!important;
}
.mw-headline {
font-weight: bold;
}
.mw-headline-number {
cursor: pointer;
}
.mw-headline-number:hover {
text-decoration: underline;
}
.mw-editsection {
float: right;
font-weight: bold;
}
.mw-editsection-visualeditor {
display: none;
}
.mw-editsection-divider {
display: none;
}
 
/* 기타 */
 
/* 이미지 테두리 색 변경 */
.mw-image-border .mw-file-element {
border: 1px solid #ddd;
}
/* pre 태그 상하 여백 */
pre {
margin: .8rem 0;
}
/* del 태그도 마우스 올리면 취소선 해제 */
s:hover {
text-decoration: none;
}
del:hover {
text-decoration: none;
}
/* 수식 텍스트 모드 겹침 해결 */
.ltx_document {
display: none!important;
}
 
cursor: text!important;
}
 
 
.dropdown-menu {
margin-top: 3px !important;
}
 
@media (max-width: 890px) {
    .dropdown-menu {
        margin-top: 0px !important;
    }
}
}

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

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