다른 명령
편집 요약 없음 |
편집 요약 없음 |
||
84번째 줄: | 84번째 줄: | ||
content: ""; | content: ""; | ||
} | } | ||
.main-title-box { | |||
min-height: 38px; | |||
background-color: #E0E0E0; | |||
border: 1px solid #BBB; | |||
border-radius: 10px; | |||
color: #202122; | |||
font-weight: bold; | |||
margin: 10px 0; | |||
padding: 10px 20px 0px 20px; | |||
} | |||
.main-subtitle-box { | |||
min-height: 38px; | |||
background-color: #EEE; | |||
border: 1px solid #CCC; | |||
border-radius: 10px; | |||
color: #202122; | |||
font-weight: bold; | |||
margin: 10px 0; | |||
padding: 10px 20px 0px 20px; | |||
} | |||
.main-subtitle-box:hover { | |||
background-color: #F5F5F5; | |||
transition: all 0.2s ease; | |||
} | |||
.main-category, | |||
.main-middle, | |||
.main-middle2 { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(350px, 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.2); | |||
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: 40px; | |||
height: 40px; | |||
background: #e0e0e0; | |||
border-radius: 5px; | |||
font-size: 1.2rem; | |||
font-weight: bold; | |||
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-logo > div { | |||
height: 100px; | |||
border-radius: 10px; | |||
margin-bottom: 10px; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
overflow: hidden; | |||
} | |||
.main-logo > div img { | |||
max-height: 80%; | |||
max-width: 80%; | |||
object-fit: contain; | |||
transition: transform 0.2s ease; | |||
} | |||
.main-logo > div:hover img { | |||
transform: scale(1.15); | |||
} | |||
.main-logo > div:nth-child(1) { | |||
background-color: #FE5000; | |||
} | |||
.main-logo > div:nth-child(2) { | |||
background-color: #84754E; | |||
} | |||
.main-logo > div:nth-child(3) { | |||
background-color: #003b80; | |||
} | |||
.main-logo > div:nth-child(4) { | |||
background-color: #1EC800; | |||
} | |||
.main-logo > div:nth-child(5) { | |||
background-color: #FF0000; | |||
} | |||
.main-search-box { | |||
max-width: 600px; | |||
margin: 20px 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; | |||
} | |||
.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; | |||
} |
2025년 5월 30일 (금) 07:23 판
.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;
}
.mw-search-form-wrapper {
max-width: 600px;
margin: 20px auto;
padding: 10px;
}
.mw-search-form-wrapper input[type="search"] {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
.mw-search-form-wrapper .oo-ui-searchWidget-query {
position: relative;
}
.char-kr, .char-en {
display: inline-flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
background: var(--color-surface-2);
border-radius: 5px;
font-size: 1.2rem;
font-weight: bold;
color: #202122;
margin: 5px;
box-sizing: border-box;
text-align: center;
vertical-align: middle;
user-select: none;
}
.categoryA, .categoryB, .categoryC {
display: inline-flex;
align-items: center;
width: 140px;
height: 40px;
background: var(--color-surface-2);
border-radius: 5px;
font-size: 1rem;
color: #222;
font-weight: 500;
margin: 5px;
box-sizing: border-box;
padding: 0 10px;
gap: 7px;
overflow: hidden;
}
.categoryA a, .categoryB a, .categoryC a {
color: #202122;
text-decoration: none;
display: flex;
align-items: center;
}
.categoryA img, .categoryB img, .categoryC img {
width: 25px;
height: 25px;
object-fit: contain;
margin-right: 4px;
}
.categoryA .divider, .categoryB .divider, .categoryC .divider {
display: inline-block;
width: 1px;
height: 18px;
background: #999;
margin: 0 7px 0 0;
vertical-align: middle;
content: "";
}
.main-title-box {
min-height: 38px;
background-color: #E0E0E0;
border: 1px solid #BBB;
border-radius: 10px;
color: #202122;
font-weight: bold;
margin: 10px 0;
padding: 10px 20px 0px 20px;
}
.main-subtitle-box {
min-height: 38px;
background-color: #EEE;
border: 1px solid #CCC;
border-radius: 10px;
color: #202122;
font-weight: bold;
margin: 10px 0;
padding: 10px 20px 0px 20px;
}
.main-subtitle-box:hover {
background-color: #F5F5F5;
transition: all 0.2s ease;
}
.main-category,
.main-middle,
.main-middle2 {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 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.2);
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: 40px;
height: 40px;
background: #e0e0e0;
border-radius: 5px;
font-size: 1.2rem;
font-weight: bold;
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-logo > div {
height: 100px;
border-radius: 10px;
margin-bottom: 10px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.main-logo > div img {
max-height: 80%;
max-width: 80%;
object-fit: contain;
transition: transform 0.2s ease;
}
.main-logo > div:hover img {
transform: scale(1.15);
}
.main-logo > div:nth-child(1) {
background-color: #FE5000;
}
.main-logo > div:nth-child(2) {
background-color: #84754E;
}
.main-logo > div:nth-child(3) {
background-color: #003b80;
}
.main-logo > div:nth-child(4) {
background-color: #1EC800;
}
.main-logo > div:nth-child(5) {
background-color: #FF0000;
}
.main-search-box {
max-width: 600px;
margin: 20px 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;
}
.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;
}