참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
@font-face {
font-family: 'Pretendard-Regular';
src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
}
* {
font-family: 'Pretendard-Regular' !important;
}
.citizen-body {
font-size: 0.8rem;
}
.mw-body, #content, #mw-content-text {
max-width: 1200px;
width: 100%;
margin: 0 auto;
}
.main-title {
text-align: center;
}
.main-title p:first-child{
margin: 80px 0 0 0;
}
.main-title h1 {
font-size: 4rem;
margin: -10px 0 -5px 0;
}
.main-title p:last-child{
margin: 0 0 -30px 0;
}
.main-title p:last-child em{
color: rgba(100, 180, 255, 1);
text-emphasis-style: none;
}
.main-box {
border: 3px, solid, var(--color-surface-2);
padding: 0 20px;
}
.main-link {
display: flex;
justify-content: space-evenly;
align-items: center;
background-color: #FFF;
margin: 20px 0;
padding: 5px 0;
}
.main-banner-box {
border-bottom: 0 !important;
border-radius: 10px 10px 0 0 !important;
margin-bottom: 0 !important;
}
.main-banner-image {
height: 100px;
color: #FFF;
text-shadow: -3px 0px #000, 0px 3px #000, 3px 0px #000, 0px -3px #000;
overflow: hidden;
position: relative;
display: flex;
justify-content: left;
padding-left: 20px;
align-items: center;
font-weight: bold;
z-index: 2;
background-size: cover;
background-position: center;
transition: all 0.2s ease;
box-sizing: border-box;
border-radius: 0 0 10px 10px;
cursor: pointer;
margin-bottom: 10px;
}
.main-banner-image::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index: -2;
transition: transform 0.2s ease;
}
.main-banner-image:hover::after {
transform: scale(1.2);
}
.main-banner-image::after {
background-image: url('./images/main/category15.jpg');
}
.main-title-box {
min-height: 38px;
background-color: var(--color-surface-2);
border: 1px solid #BBB;
border-radius: 10px;
color: #202122;
font-weight: bold;
margin: 10px 0;
padding: 8px 20px 0px 20px;
}
.main-subtitle-box {
min-height: 38px;
background-color: oklch(0.96 0.01 262.29);
border: 1px solid #CCC;
border-radius: 10px;
color: #202122;
font-weight: bold;
margin: 10px 0;
padding: 8px 10px 0px 20px;
}
.main-subtitle-box:hover {
background-color: #FFF;
transition: all 0.2s ease;
}
.main-category,
.main-middle,
.main-middle2 {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
column-gap: 10px;
row-gap: 0px;
width: 100%;
box-sizing: border-box;
}
.main-category {
gap: 10px;
}
.main-category div {
height: 70px;
color: #FFF;
text-shadow: -3px 0px #000, 0px 3px #000, 3px 0px #000, 0px -3px #000;
overflow: hidden;
position: relative;
display: flex;
justify-content: left;
padding-left: 20px;
align-items: center;
font-weight: bold;
z-index: 2;
background-size: cover;
background-position: center;
transition: all 0.2s ease;
box-sizing: border-box;
border-radius: 10px;
cursor: pointer;
}
.main-category div::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: -1;
transition: background 0.5s ease;
}
.main-category div:hover::before {
background: rgba(0, 0, 0, 0);
color: #000;
}
.main-category div::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index: -2;
transition: transform 0.2s ease;
}
.main-category div:hover::after {
transform: scale(1.2);
}
.main-category div:nth-child(1)::after {
background-image: url('./images/main/category01.jpg');
}
.main-category div:nth-child(2)::after {
background-image: url('./images/main/category02.jpg');
}
.main-category div:nth-child(3)::after {
background-image: url('./images/main/category03.jpg');
}
.main-category div:nth-child(4)::after {
background-image: url('./images/main/category04.jpg');
}
.main-category div:nth-child(5)::after {
background-image: url('./images/main/category05.jpg');
}
.main-category div:nth-child(6)::after {
background-image: url('./images/main/category06.jpg');
}
.main-category div:nth-child(7)::after {
background-image: url('./images/main/category07.jpg');
}
.main-category div:nth-child(8)::after {
background-image: url('./images/main/category08.jpg');
}
.main-category div:nth-child(9)::after {
background-image: url('./images/main/category09.jpg');
}
.main-category div:nth-child(10)::after {
background-image: url('./images/main/category10.jpg');
}
.main-category div:nth-child(11)::after {
background-image: url('./images/main/category11.jpg');
}
.main-category div:nth-child(12)::after {
background-image: url('./images/main/category12.jpg');
}
.main-category div:nth-child(13)::after {
background-image: url('./images/main/category13.jpg');
}
.main-category div:nth-child(14)::after {
background-image: url('./images/main/category14.jpg');
}
.main-category div:nth-child(15)::after {
background-image: url('./images/main/category15.jpg');
}
.main-middle > *:nth-child(4) {
grid-column: span 2;
}
.main-middle2 > *:nth-child(1) {
grid-column: span 3;
}
.main-middle2 > *:nth-child(2) {
grid-column: span 2;
}
.char-kr,
.char-en {
display: inline-flex;
justify-content: center;
align-items: center;
width: 25px;
height: 25px;
background: #e0e0e0;
border-radius: 5px;
font-size: 0.8rem;
color: #202122;
margin: 0 5px 5px 0;
box-sizing: border-box;
text-align: center;
vertical-align: middle;
user-select: none;
}
.char-kr:hover,
.char-en:hover {
transform: scale(1.2);
transition: transform 0.2s ease;
}
.main-search-box {
max-width: 600px;
margin: 50px auto;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 50px;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
position: relative;
cursor: pointer;
}
.main-search-box:hover {
box-shadow: 0 0 15px 5px rgba(100, 180, 255, 0.5);
}
.main-search-box:before {
content: "";
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
border-radius: 50px;
background: linear-gradient(45deg, #6e8efb, #a777e3, #6e8efb);
opacity: 0;
transition: opacity 0.3s ease;
z-index: -1;
}
.main-search-box:hover:before {
opacity: 0.6;
}
.main-search-box .search-icon {
color: #666;
font-size: 20px;
margin-right: 10px;
}
.main-search-box input {
flex: 1;
border: none;
background: transparent;
padding: 8px 0;
font-size: 16px;
color: #333;
outline: none;
}
.main-search-box .search-slash {
background-color: #f0f0f0;
color: #666;
padding: 3px 8px;
border-radius: 4px;
font-size: 14px;
margin-left: 10px;
}
.main-search-img {
margin-right: 10px;
}
.main-small-logo {
margin-right: 5px;
}