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

편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
@font-face {
font-family:'Pretendard Variable';
font-weight:45 920;
font-style:normal;
font-display:swap;
src:url('../../../packages/pretendard/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations')
}
@font-face {
@font-face {
     font-family: 'Pretendard';
     font-family: 'Pretendard';
     font-weight: 400;
     font-weight: 400;
     font-style: normal;
     font-style:normal;
     font-display: auto;
     font-display:auto;
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.woff2') format('woff2'),
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.woff2') format('woff2'),
}
}
18번째 줄: 10번째 줄:
     font-weight: 500;
     font-weight: 500;
     font-style: normal;
     font-style: normal;
     font-display: auto;
     font-display:auto;
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Medium.woff2') format('woff2'),
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Medium.woff2') format('woff2'),
}
}
25번째 줄: 17번째 줄:
     font-weight: 600;
     font-weight: 600;
     font-style: normal;
     font-style: normal;
     font-display: auto;
     font-display:auto;
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.woff2') format('woff2'),
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.woff2') format('woff2'),
}
}
31번째 줄: 23번째 줄:
     font-family: 'Pretendard';
     font-family: 'Pretendard';
     font-weight: 700;
     font-weight: 700;
     font-style: normal;
     font-style:normal;
     font-display: auto;
     font-display: auto;
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.woff2') format('woff2'),
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.woff2') format('woff2'),
38번째 줄: 30번째 줄:
     font-family: 'Pretendard';
     font-family: 'Pretendard';
     font-weight: 800;
     font-weight: 800;
     font-style: normal;
     font-style:normal;
     font-display: auto;
     font-display:auto;
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraBold.woff2') format('woff2'),
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraBold.woff2') format('woff2'),
}
}
45번째 줄: 37번째 줄:
     font-family: 'Pretendard';
     font-family: 'Pretendard';
     font-weight: 900;
     font-weight: 900;
     font-style: normal;
     font-style:normal;
     font-display: auto;
     font-display:auto;
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Black.woff2') format('woff2'),
     src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Black.woff2') format('woff2'),
}
}
105번째 줄: 97번째 줄:
h5,
h5,
h6 {
h6 {
font-family: "Pretendard Variable", "Apple SD Gothic Neo", "Spoqa Han Sans", "SpoqaHanSans",
font-family: "Pretendard", "Apple SD Gothic Neo", "Spoqa Han Sans", "SpoqaHanSans",
     "Noto Sans KR", "Noto Sans", "Noto Sans CJK KR", "NanumBarunGothic",
     "Noto Sans KR", "Noto Sans", "Noto Sans CJK KR", "NanumBarunGothic",
     "Nanum Gothic", "KoPub Dotum", "Malgun Gothic", sans-serif;
     "Nanum Gothic", "KoPub Dotum", "Malgun Gothic", sans-serif;

2025년 2월 21일 (금) 18:57 판

@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'),
}

body, html {
  font-synthesis: none;
}


/* 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;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
li {
	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: 500;
}

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;
}

b,
tr,
th,
td {
}

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 id {
	color: #212529 !important;
}

.mw-headline a[href="#toc"] {
  margin-right: 3px !important;
  color: #0275d8 !important;
}

.mw-editsection {
  float: right !important; /* 오른쪽 정렬 */
  font-size: 14px !important;    /* 글씨 크기 작게 */
  color: #0275d8 !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: ""; /* 마지막 항목에서 '|' 제거 */
}

.custom-line-height {
    line-height: 1.5; /* 줄 간격을 2배로 설정 */
}

.toc + .mw-body-content {
    line-height: 1.5; /* 줄 간격을 1.5로 설정 */
}

@media screen and (max-width: 768px) {
	.mobileBtn:active {
		animation-name: btn-background;
		animation-duration: .5s;
		animation-iteration-count: 1;
		animation-timing-function: steps(1, end);
		animation-fill-mode: forwards;
	}
}
.folding-margin-remove {
	margin: 0 -10px -5.5px;
	}
.folding-margin-remove-width {
	margin: 0 -10px -5.5px;
}
.folding-margin-remove-width-multi {
	margin: 0 -10px 0;
}
.tit-margin-remove {
	margin: -5.5px -10px;
}
@keyframes btn-background {
	from {
		background: rgba(0, 0, 255, .15);
	}
	to {
		background: initial;
	}
}

.table-container {
    overflow-x: auto;
    max-width: 100%;
}

.sidebar-subgroup {
	width: 100%;
	margin: 0;
	border-spacing: 0;
}

.sidebar-left {
	/* @noflip */
	float: left;
	/* @noflip */
	clear: left;
	/* @noflip */
	margin: 0.5em 1em 1em 0;
}

.sidebar-none {
	float: none;
	clear: both;
	/* @noflip */
	margin: 0.5em 1em 1em 0;
}

.sidebar-outer-title {
	padding: 0 0.4em 0.2em;
	font-size: 125%;
	line-height: 1.2em;
	font-weight: bold;
}

.sidebar-top-image {
	padding: 0.4em;
}

.sidebar-top-caption,
.sidebar-pretitle-with-top-image,
.sidebar-caption {
	padding: 0.2em 0.4em 0;
	line-height: 1.2em;
}

.sidebar-pretitle {
	padding: 0.4em 0.4em 0;
	line-height: 1.2em;
}

.sidebar-title,
.sidebar-title-with-pretitle {
	padding: 0.2em 0.8em;
	font-size: 145%;
	line-height: 1.2em;
}

.sidebar-title-with-pretitle {
	padding: 0.1em 0.4em;
}

.sidebar-image {
	padding: 0.2em 0.4em 0.4em;
}

.sidebar-heading {
	padding: 0.1em 0.4em;
}

.sidebar-content {
	padding: 0 0.5em 0.4em;
}

.sidebar-content-with-subgroup {
	padding: 0.1em 0.4em 0.2em;
}

.sidebar-above,
.sidebar-below {
	padding: 0.3em 0.8em;
	font-weight: bold;
}

.sidebar-collapse .sidebar-above,
.sidebar-collapse .sidebar-below {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

.sidebar-navbar {
	text-align: right;
	font-size: 115%;
	padding: 0 0.4em 0.4em;
}

.sidebar-list-title {
	padding: 0 0.4em;
	text-align: left;
	font-weight: bold;
	line-height: 1.6em;
	font-size: 105%;
}

/* centered text with mw-collapsible headers is finicky */
.sidebar-list-title-c {
	padding: 0 0.4em;
	text-align: center;
	margin: 0 3.3em;
}

@media (max-width: 720px) {
	/* users have wide latitude to set arbitrary width and margin :(
	   "Super-specific" selector to prevent overriding this appearance by
	   lower level sidebars too */
	body.mediawiki .sidebar {
		width: 100% !important;
		clear: both;
		float: none !important; /* Remove when we div based; Minerva is dumb */
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	/* TODO: We might consider making all links wrap at small resolutions and then
	 * only introduce nowrap at higher resolutions. Do when we invert the media
	 * query.
	 */

.sidebar {
	/* TODO: Ask if we should have max-width 22em instead */
	width: 22em;
	float: right;
	clear: right;
	margin: 0.5em 0 1em 1em;
	background: #f8f9fa;
	border: 1px solid #aaa;
	padding: 0.2em;
	text-align: center;
	line-height: 1.4em;
	font-size: 88%;
	border-collapse: collapse;
	display: table; 
}