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

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
 
(같은 사용자의 중간 판 270개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* HTML Tag */
* {
outline: none;
}
input:hover,
button:hover,
select:hover {
transition: 0.3s;
}
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;
}
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;
}
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;
    font-weight: 700;
}
input[type="password"] {
font-family: sans-serif;
}
h1 {
font-size: 2.25rem;
}
h2 {
font-size: 1.8rem;
}
h3 {
font-size: 1.6rem;
}
h4 {
font-size: 1.5rem;
}
h5 {
font-size: 1.3rem;
}
h6 {
font-size: 1.1rem;
}
ol,
ul,
p {
margin: 0;
padding: 0;
}
p {
margin-bottom: 0.8rem;
}
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.35rem;
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;
/* 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: #449d44;
}
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: 1300px;
margin-top: 60px;
}
@media (max-width: 890px) {
    .Liberty .content-wrapper {
        margin-top: 96px;
    }
}
/*nav*/
.nav-wrapper {
box-shadow: none !important;
background: #0064ff !important;
}
@media (max-width: 890px) {
#searchform {
padding-top: 0 !important;
padding-bottom: 6.4px !important;
}
}
.Liberty .nav-wrapper .navbar {
max-width: 1300px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
@media (max-width: 1300px) {
    .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;
}
/* Profile */
.Liberty .nav-wrapper .navbar .navbar-login .profile-img {
  width: 2rem;
  height: 2rem;
  border-radius: 9999rem;
  margin: 0;
  border: none;
}
.title {
padding-top: 20px !important;
}
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
  border-bottom: 0.8px solid #e1e8ed !important; /* 0.8px 두께의 #e1e8ed 색상 실선 */
}
/* 형광펜 */
.mw-page-title-namespace {
box-shadow: inset 0 -0.5rem 0 #005bfe31;
  }
/* 형광펜 End */
.toctitle {
padding-top : 14px !important;
}
#mw-toc-heading {
  border-bottom: none !important; /* 하단 점선 제거 */
}
/* 분류칸 그림자 제거 */
.skin-liberty .catlinks {
    box-shadow: none !important; /* 그림자 제거 */
    border: 1px solid #ddd; /* 필요 시 테두리 스타일을 정의 */
}
/* 본문에 들어가는 제목의 위쪽 간격을 늘리기 */
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
    margin-top: 30px !important;  /* 제목 위쪽 간격 */
}
.mw-headline a[href="#toc"] {
  margin-right: 3px !important;
}
.mw-editsection {
  float: right !important; /* 오른쪽 정렬 */
  font-size: 14px !important;    /* 글씨 크기 작게 */
  color: #337ab7 !important;    /* 글씨 색상 변경 */
}
/* 분류 목록 한 줄로 나열하고 줄바꿈 방지 */
#catlinks {
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
    overflow: hidden; /* 넘치는 텍스트 숨기기 */
}
#catlinks ul {
    display: inline; /* 목록을 인라인 요소로 설정 */
    padding-left: 0;
}
#catlinks li {
    display: inline; /* 각 항목을 인라인 요소로 설정 */
    margin-right: 5px; /* 항목 간 간격 */
    list-style-type: none; /* 기본 점 제거 */
}
#catlinks li::after {
    content: "|"; /* 각 항목 뒤에 '|' 추가 */
    margin-left: 5px;
    color: #5a5d60;
}
#catlinks li:last-child::after {
    content: ""; /* 마지막 항목에서 '|' 제거 */
}


.liberty-content-header {
.liberty-content-header {
border-bottom: none !important;
border-bottom: 0.8px !important;
}
 
/* 기본 상태에서는 높이가 0으로 설정 */
.mw-collapsible-content {
  overflow: hidden;
  height: 0;
  transition: height 0.5s ease-out;
}
 
.mw-collapsible-content.expanded {
  height: auto; /* 펼쳐질 때 높이를 내용에 맞게 자동으로 설정 */
}
 
.mw-collapsible {
  cursor: pointer;
}
 
button {
  padding: 10px;
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
 
button:hover {
  background-color: #0056b3;
}
}

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

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