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

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
 
(같은 사용자의 중간 판 526개는 보이지 않습니다)
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 */
 
/* Background Color */
.Liberty {
  background-color: #f5f6f7;
}
/* Background Color End*/
 
/* Content width, alian center */
.Liberty .nav-wrapper .navbar {
  max-width: 1380px;
  margin: 0 auto;
}
.Liberty .nav-wrapper .navbar {
  max-width: 1400px;
  margin: 0 auto;
}
/* Content width, alian center End */
 
/* Login modal */
.Liberty .login-modal .modal-sm {
width: 25rem;
}
 
.Liberty .login-modal .modal-header {
padding: 0.7rem;
}
 
.Liberty .login-modal .modal-title {
text-align: center;
padding-left: 1.5rem;
}
 
.Liberty .login-modal .alert {
padding: 0.8rem;
margin-bottom: 0.8rem;
}
 
.Liberty .login-modal .alert-hidden {
display: none;
}
 
.Liberty .login-modal .form-control {
margin-bottom: 0.8rem;
}
 
.Liberty .login-modal .modal-checkbox:not(#noop) {
position: relative;
display: table;
}
 
.Liberty .login-modal .modal-checkbox {
vertical-align: middle;
margin-bottom: 0.7rem;
}
 
.Liberty .login-modal .modal-checkbox:not(#noop) input[type="checkbox"] {
opacity: 0;
margin: 0;
width: 2em;
height: 2em;
max-width: none;
display: table-cell;
}
 
.Liberty .login-modal .modal-checkbox:not(#noop) * {
vertical-align: middle;
font: inherit;
}
 
.Liberty .login-modal .modal-checkbox:not(#noop) input[type="checkbox"] + label {
padding-left: 0.4em;
display: table-cell;
}
 
.Liberty .login-modal .modal-checkbox:not(#noop) input[type="checkbox"] + label::before {
-webkit-transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-moz-transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-o-transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
content: "";
cursor: pointer;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
position: absolute;
left: 0;
border-radius: 2px;
width: 2em;
height: 2em;
line-height: 2em;
border: 1px solid #777;
top: 50%;
margin-top: -1em;
}
 
.Liberty .login-modal .modal-checkbox:not(#noop) input[type="checkbox"] + label:hover::before {
border: 3px solid #777;
}
 
.Liberty .login-modal .modal-checkbox:not(#noop) input[type="checkbox"]:checked + label::before {
border: 3px solid #777;
background-image: linear-gradient(transparent, transparent),
url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%2012l5%205L20%205%22%20stroke%3D%22%2300B78C%22%20stroke-width%3D%223%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E%0A);
}
 
.Liberty .login-modal .btn {
margin-bottom: 0.8rem;
}
 
.Liberty .login-modal .modal-footer {
display: none;
}
/* Login modal End */
 
/* Bootstrap Custom */
.dropdown-menu {
font-size: 0.95rem;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
border-color: #e1e8ed;
}
 
.dropdown-menu .dropdown-item:hover {
color: #fff;
transition: 0.3s;
}
 
.dropdown-divider {
border-color: #e1e8ed;
}
 
.form-control {
font-size: 0.9rem;
}
 
.form-control:focus {
border-color: #66afe9;
outline: 0;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgba(102, 175, 233, 0.6);
transition: 0.3s;
}
 
.btn {
box-shadow: none;
border-radius: 0.35rem;
}
 
.btn:hover {
transition: 0.3s;
}
 
.btn:active,
.btn:focus {
outline: 0;
}
 
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
z-index: 3; /* Firefox, IE border bug fix */
}
 
.close:focus,
.close:hover {
transition: 0.3s;
}
 
caption {
color: #373a3c;
caption-side: top;
}
/* Bootstrap Custom End */
 
/* Echo */
#pt-notifications-alert,
#pt-notifications-notice {
position: relative;
float: right;
list-style: none;
top: 0.8rem;
font-size: 0.9rem;
margin-right: 0.6rem;
margin-left: 0.8rem;
}
/* Echo End */
 
/* ToC */
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc {
  display: inline-block;
  border: 1px solid #e1e8ed;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem 1rem 0;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc .toctitle {
  background-color: transparent;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc .toctitle h2 {
  display: inline;
  font-size: 1.125rem;
  font-weight: bold;
  border: none;
  padding-bottom: 2.5rem;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc li {
  background-color: transparent;
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding-left: 20px;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc > ul {
  margin: 0;
  border-top: none;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc ul ul {
  margin: 0;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc .tocnumber:after {
  content:".";
  color: #000;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc .toctext {
  color: #373a3c;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc a:hover {
  text-decoration: none;
}
 
.Liberty .content-wrapper .liberty-content .liberty-content-main .toc a > .tocnumber:hover {
  text-decoration: underline;
}
/* ToC End */
 
body {
color: #000 !important;
}
 
header,
#fixed-toc-button,
.liberty-sidebar,
.content-tools,
.social-buttons,
.footer-places,
.catlinks,
.liberty-notice,
.header-ads {
display: none !important;
}
 
.content-wrapper {
margin: 0 !important;
}
 
.liberty-content {
margin-right: 0 !important;
}
 
.liberty-content-header,
.liberty-content-main,
.liberty-footer {
border: 0 !important;
}
 
.liberty-content-main {
padding: 0 !important;
}
 
.title {
padding-left: 0 !important;
padding-right: 0 !important;
padding-top: 0 !important;
padding-bottom: 0.28125rem !important;
border-bottom: 3px solid #000 !important;
}
 
.title > h1 {
border-bottom: 0 !important;
}
 
a.external::before {
content: '' !important;
}
 
p {
font-size: 12pt !important;
line-height: 18pt !important;
text-align: justify !important;
}
 
.toc {
border: 0 !important;
}
 
.toc a {
border-bottom: 0 !important;
}
 
.toctitle {
padding: 0 !important;
border-top: 0 !important;
border-left: 0 !important;
border-right: 0 !important;
border-bottom: 3px solid #000 !important;
}
 
.toctitle > h2 {
border-bottom: 0 !important;
}
 
.toc > ul {
border: 0 !important;
}
 
h1,
h2 {
border-bottom: 3px solid #000 !important;
}
 
h3,
h4,
h5 {
border-color: #aaa !important;
}
}

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

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