Files
dnssash/theme/rd.laser/css/style_prestige_1.css
T
2026-06-11 18:47:38 +09:00

138 lines
7.3 KiB
CSS

@charset "UTF-8";
/* ==========================================================================
기본 스타일 및 레이아웃
========================================================================== */
html { height: 100%; }
body { margin: 0; padding-top: 0; font-size: 16px; background: #fff; height: 100%; color: #333; min-width: 1700px; }
html, h1, h2, h3, h4, h5, h6, form, fieldset, img { margin: 0; padding: 0; border: 0; }
h1, h2, h3, h4, h5, h6 { font-size: 1em; font-weight: 700; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul, li, dl, dt, dd { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
*, :after, :before { box-sizing: border-box; }
/* 스크롤바 숨김 - 스크롤 기능은 유지하되 스크롤바 UI만 숨김 */
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; }
html, body { -ms-overflow-style: none; scrollbar-width: none; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
/* 서브 페이지 상단 제목 영역 */
.sub-page-visual {
padding-top: 30px;
padding-bottom: 30px;
background: #0056b3;
text-align: center;
border-bottom: 1px solid #004494;
}
#container_title {
font-size: 2.5rem;
font-weight: 900;
color: #fff;
margin-bottom: 5px;
}
.sub-title-eng {
font-size: 1rem;
color: rgba(255,255,255,0.7);
text-transform: uppercase;
letter-spacing: 1px;
}
.sub-page-container {
padding-top: 50px;
padding-bottom: 80px;
background: #fff;
min-height: 500px;
}
/* ==========================================================================
헤더 (Header)
========================================================================== */
header#header.main-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
height: 80px;
display: flex;
align-items: center;
}
header#header.main-header.is-transparent {
background-color: transparent !important;
border-bottom: 0 !important;
box-shadow: none !important;
}
header#header.main-header.is-scrolled {
background-color: #0056b3 !important;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
border-bottom: 1px solid #eee !important;
}
.header-inner { display: flex; justify-content: center; align-items: center; width: 100%; }
.header-left { display: flex; align-items: center; flex-shrink: 0; margin-right: 80px; }
.header-right { display: flex; align-items: center; flex-shrink: 0; margin-left: 80px; }
.header-logo img { height: 40px; transition: all 0.3s; }
/* GNB (PC) */
.gnb { display: flex; justify-content: center; }
.gnb-list { display: flex; gap: 40px; }
.gnb-item { position: relative; }
.gnb-link { display: block; padding: 28px 0; font-size: 1.1rem; font-weight: 700; color: #333; position: relative; }
header#header.is-transparent .gnb-link,
header#header.is-transparent .utility-nav a,
header#header.is-transparent .utility-nav button { color: #fff; }
header#header.is-scrolled .gnb-link,
header#header.is-scrolled .utility-nav a,
header#header.is-scrolled .utility-nav button { color: #fff; }
.gnb-link::after { content: ''; position: absolute; bottom: 20px; left: 0; width: 0; height: 2px; background-color: #0056b3; transition: width 0.3s ease; }
header#header.is-transparent .gnb-link::after { background-color: #fff; }
.gnb-item:hover .gnb-link::after, .gnb-item.active .gnb-link::after { width: 100%; color: #00A3FF; }
.sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #0056b3; border-radius: 8px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); padding: 15px; min-width: 180px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, top 0.3s ease; border: 1px solid #eee; }
.gnb-item:hover .sub-menu { opacity: 1; visibility: visible; top: 90%; }
.sub-menu li a { display: block; padding: 10px 15px; color: #fff; white-space: nowrap; border-radius: 4px; transition: background-color 0.2s, color 0.2s; }
.sub-menu li a:hover { background-color: #0056b3; color: #00A3FF; }
/* 유틸리티 메뉴 */
.utility-nav { display: flex; align-items: center; gap: 20px; }
.utility-nav a, .utility-nav button { background: none; border: none; cursor: pointer; font-size: 1rem; }
.utility-nav .btn-join { background-color: #0056b3; color: #fff !important; padding: 8px 16px; border-radius: 20px; font-weight: 700; transition: background-color 0.3s; }
header#header.is-transparent .utility-nav .btn-join { background-color: rgba(255, 255, 255, 0.2); }
.utility-nav .btn-join:hover { background-color: #003d82; }
.utility-nav .fa { font-size: 1.3rem; }
.user-menu-container { position: relative; }
.user-menu-dropdown { display: none; position: absolute; top: 140%; right: 0; background: #00A3FF; border-radius: 8px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); padding: 10px; min-width: 180px; border: 1px solid #eee; }
.user-menu-container.open .user-menu-dropdown, .user-menu-container:hover .user-menu-dropdown { display: block; }
.user-menu-dropdown .user-info { padding: 10px 15px; border-bottom: 1px solid #f0f0f0; margin-bottom: 5px; }
.user-menu-dropdown .user-info strong { color: #000; }
.user-menu-dropdown .user-points { font-size: 0.9em; color: #0056b3; margin-left: 5px; }
.user-menu-dropdown ul li a { display: block; padding: 10px 15px; color: #555; border-radius: 4px; }
.user-menu-dropdown ul li a:hover { background-color: #0056b3; color: #00A3FF; }
.new-badge { background-color: #e74c3c; color: white; font-size: 0.7em; padding: 2px 5px; border-radius: 10px; margin-left: 5px; vertical-align: middle; }
header#header.is-transparent .user-menu-dropdown,
header#header.is-transparent .user-menu-dropdown .user-info strong,
header#header.is-transparent .user-menu-dropdown .user-points,
header#header.is-transparent .user-menu-dropdown ul li a { color: #333; }
/* 검색창 */
#search-bar-wrap { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.98); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; z-index: 1001; }
#search-bar-wrap.is-active { opacity: 1; visibility: visible; }
#search-bar-wrap form { width: 100%; max-width: 600px; position: relative; }
#search-bar-input { width: 100%; border: none; border-bottom: 2px solid #333; background: transparent; font-size: 1.8rem; padding: 10px 50px 10px 10px; outline: none; }
.search-bar-submit { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: #333; background: none; border: none; cursor: pointer; }
.search-bar-close { position: fixed; top: 30px; right: 30px; font-size: 2.5rem; color: #555; background: none; border: none; cursor: pointer; }
/* PC 전용 */
.pc-only { display: flex; align-items: center; }
.mobile-only { display: none; }
/* 기타 */
.main-content-wrapper { padding: 80px 0; background-color: #fff; }
.three-column-layout { display: flex; gap: 30px; align-items: flex-start; width: 100%; max-width: 1600px; margin: 0 auto; box-sizing: border-box; }
.layout-sidebar-left, .layout-sidebar-right { flex: 0 0 240px; }
.layout-main-content { flex: 1; min-width: 0; }
.sidebar-inner { position: sticky; top: 20px; }