:root {
--bg-color: #020617;
--card-bg: #0b1220;
--card-bg-2: #111827;
--accent-blue: #38bdf8;
--accent-green: #86efac;
--text-main: #f8fafc;
--text-dim: #94a3b8;
--line-color: rgba(148, 163, 184, 0.25);
--memo-panel-width: 360px;
--memo-panel-gap: 14px;
--memo-open-space: calc(var(--memo-panel-width) + var(--memo-panel-gap) + 12px);
}
html,
body {
background: #020617 !important;
scrollbar-color: rgba(56, 189, 248, 0.65) #020617;
scrollbar-width: thin;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
width: 12px;
height: 12px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
background: #020617;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(56, 189, 248, 0.8) 0%, rgba(14, 165, 233, 0.75) 100%);
border: 2px solid #020617;
border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(125, 211, 252, 0.92) 0%, rgba(56, 189, 248, 0.88) 100%);
}
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
background: #020617;
}
#LIST {
position: relative;
background: var(--bg-color);
color: var(--text-main);
font-family: 'Noto Sans KR', sans-serif;
width: 100%;
margin: 0 auto;
padding: 18px 0 28px;
min-height: 100vh;
transition: padding-left .24s ease;
}
#LIST.memo-open {
padding-left: var(--memo-open-space);
}
.TopTitle {
margin: 0 12px 12px;
padding: 18px 12px;
border: 1px solid var(--line-color);
border-radius: 6px;
text-align: center;
background: var(--card-bg);
}
.TopTitle p {
margin: 0;
font-family: 'Orbitron', sans-serif;
font-size: 1.8rem;
font-weight: 700;
letter-spacing: 2px;
color: var(--accent-blue);
}
.TopTitle span {
display: inline-block;
margin-top: 6px;
font-size: 0.9rem;
color: var(--text-dim);
}
.Control-Bar {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
margin: 0 12px 12px;
padding: 10px;
border: 1px solid var(--line-color);
border-radius: 6px;
background: var(--card-bg);
}
.Left,
.Right {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.btn,
.control-select {
height: 34px;
padding: 0 12px;
border-radius: 6px;
border: 1px solid var(--line-color);
background: var(--card-bg-2);
color: var(--text-main);
font-size: 0.85rem;
cursor: pointer;
transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.btn:hover {
border-color: var(--accent-blue);
color: var(--accent-blue);
}
.btn.is-active {
border-color: var(--accent-blue);
color: #03101d;
background: #7dd3fc;
}
.control-select:hover,
.control-select:focus {
border-color: var(--accent-blue);
box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25) inset;
outline: none;
}
.btn-admin {
background: #1f2937;
}
.btn-write {
color: #03101d;
background: #7dd3fc;
border-color: #7dd3fc;
font-weight: 700;
}
.btn-write:hover {
color: #03101d;
background: #a5f3fc;
border-color: #a5f3fc;
}
.realtime-search-wrap {
display: flex;
align-items: center;
height: 34px;
min-width: 220px;
max-width: 300px;
padding: 0 10px;
border-radius: 6px;
border: 1px solid var(--line-color);
background: var(--card-bg-2);
gap: 8px;
}
.realtime-search-wrap i {
color: var(--text-dim);
font-size: 0.8rem;
}
#realtimeSearch {
width: 100%;
border: 0;
background: transparent;
color: var(--text-main);
font-size: 0.84rem;
outline: none;
}
#realtimeSearch::placeholder {
color: #64748b;
}
.NoticeLayer {
display: none;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 92%;
max-width: 520px;
border-radius: 8px;
border: 1px solid var(--line-color);
background: #0b1220;
box-shadow: 0 18px 36px rgba(2, 6, 23, 0.55);
z-index: 10001;
}
.notice-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 16px;
border-bottom: 1px solid var(--line-color);
}
.notice-head h3 {
margin: 0;
font-size: 1rem;
color: #dbeafe;
min-width: 0;
word-break: break-word;
}
.btn-icon {
width: 30px;
height: 30px;
border-radius: 6px;
border: 1px solid var(--line-color);
background: #111827;
color: var(--text-dim);
cursor: pointer;
}
.notice-body {
max-height: 360px;
overflow-y: auto;
overflow-x: hidden;
padding: 16px;
color: var(--text-main);
line-height: 1.6;
white-space: pre-line;
text-indent: 0;
word-break: break-word;
}
.notice-body * {
max-width: 100%;
box-sizing: border-box;
word-break: break-word;
overflow-wrap: anywhere;
}
.notice-body p {
margin: 0 0 8px;
}
.notice-body p:last-child {
margin-bottom: 0;
}
.MemoLayer {
display: flex;
position: fixed;
left: var(--memo-panel-gap);
top: var(--memo-panel-gap);
width: var(--memo-panel-width);
height: calc(100vh - (var(--memo-panel-gap) * 2));
transform: translateX(-105%);
transition: transform .24s ease;
border: 1px solid var(--line-color);
background: #0b1220;
box-shadow: 0 18px 36px rgba(2, 6, 23, 0.55);
z-index: 10002;
flex-direction: column;
}
.MemoLayer.is-open {
transform: translateX(0);
}
.memo-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 16px;
border-bottom: 1px solid var(--line-color);
}
.memo-head h3 {
margin: 0;
font-size: 1rem;
color: #dbeafe;
}
.memo-head-actions {
display: flex;
align-items: center;
gap: 8px;
}
.memo-view-toggle {
display: inline-flex;
align-items: center;
gap: 4px;
}
.memo-view-btn {
height: 30px;
min-width: 48px;
padding: 0 10px;
border-radius: 6px;
border: 1px solid var(--line-color);
background: #111827;
color: var(--text-dim);
font-size: 0.75rem;
font-weight: 700;
cursor: pointer;
}
.memo-view-btn.is-active {
border-color: var(--accent-blue);
color: #03101d;
background: #7dd3fc;
}
.memo-body {
flex: 1;
overflow-y: auto;
padding: 12px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
align-content: start;
}
.MemoLayer.view-1x1 .memo-body {
grid-template-columns: 1fr;
}
.MemoLayer.view-1x2 .memo-body {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.memo-item {
display: block;
text-decoration: none;
color: inherit;
border: 1px solid var(--line-color);
border-radius: 6px;
background: #111827;
padding: 10px 12px;
min-height: 88px;
}
.memo-item:hover {
border-color: var(--accent-blue);
background: rgba(56, 189, 248, 0.08);
}
.memo-item-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
margin-bottom: 4px;
}
.memo-date {
font-size: 0.75rem;
color: #94a3b8;
white-space: nowrap;
}
.memo-preview {
font-size: 0.83rem;
color: #cbd5e1;
line-height: 1.45;
word-break: break-word;
}
.memo-preview.is-deleted {
color: #f87171;
}
.memo-foot {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 16px 16px;
border-top: 1px solid var(--line-color);
}
.memo-empty {
grid-column: 1 / -1;
color: #94a3b8;
font-size: 0.9rem;
text-align: center;
padding: 24px 10px;
}
.notice-foot {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 16px 16px;
border-top: 1px solid var(--line-color);
}
#SCH {
display: none;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(2, 6, 23, 0.86);
z-index: 10000;
align-items: center;
justify-content: center;
}
.search-panel {
width: 92%;
max-width: 430px;
border-radius: 8px;
border: 1px solid var(--line-color);
background: #0b1220;
padding: 18px;
}
.search-form h3 {
margin: 0 0 14px;
color: #dbeafe;
font-size: 1.05rem;
}
.search-input {
width: 100%;
height: 42px;
border: 1px solid var(--line-color);
border-radius: 6px;
background: #111827;
color: #fff;
padding: 0 10px;
outline: none;
}
.search-input:focus {
border-color: var(--accent-blue);
}
.search-actions {
display: flex;
gap: 8px;
margin-top: 12px;
}
.search-actions .btn {
flex: 1;
}
#TERM_PAGING_DIRECT {
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
padding: 18px 12px 4px;
flex-wrap: wrap;
}
#TERM_PAGING_DIRECT .trm-btn {
display: inline-flex;
justify-content: center;
align-items: center;
min-width: 34px;
height: 34px;
border: 1px solid var(--line-color);
border-radius: 6px;
background: #0f172a;
color: #cbd5e1;
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
}
#TERM_PAGING_DIRECT .trm-btn:hover {
border-color: var(--accent-blue);
color: var(--accent-blue);
}
#TERM_PAGING_DIRECT .trm-current {
color: #03101d;
background: #7dd3fc;
border-color: #7dd3fc;
font-weight: 700;
}
.trm-ico-start::before { content: '≪'; }
.trm-ico-prev::before { content: '‹'; }
.trm-ico-next::before { content: '›'; }
.trm-ico-end::before { content: '≫'; }
@media (max-width: 1100px) {
.Control-Bar { flex-direction: column; align-items: flex-start; }
.Left, .Right { width: 100%; }
.Right { justify-content: flex-start; }
:root {
--memo-panel-width: 320px;
--memo-open-space: calc(var(--memo-panel-width) + 8px);
}
}
@media (max-width: 860px) {
.List-Header th,
.List-Table td {
font-size: 0.82rem;
}
.Subject { width: auto; }
.Day { white-space: nowrap; }
.memo-body {
grid-template-columns: 1fr;
}
:root {
--memo-panel-width: min(88vw, 340px);
--memo-panel-gap: 0px;
--memo-open-space: 0px;
}
#LIST.memo-open {
padding-left: 0;
}
}
/* 1. 전체 컨테이너 (6열 핀터레스트) */
.memo-masonry-wrapper {
column-count: 6;
column-gap: 15px;
padding: 0px 12px;
}
/* 2. 개별 카드 (유동적 높이) */
.memo-card-item {
display: inline-block; /* 중요: 박스 쪼개짐 방지 */
width: 100%;
margin-bottom: 15px;
background: #0b1220;
border: 1px solid #283344;
border-radius: 4px;
break-inside: avoid; /* 열 사이에서 박스 잘림 방지 */
height: auto; /* 높이는 데이터에 따라 자율 결정 */
}
.memo-card-item:hover {
border:1px solid rgb(28, 100, 182);
transition: all 0.5s ease;
transform: translateY(-5px);
}
/* 3. 카드 헤더 (날짜) */
.memo-card-header {
background: #0a1229;
color: #00d4ff;
font-size: 15px;
padding: 8px 20px !important;
text-align: right;
border-bottom: 1px solid #283344;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
/* 4. 카드 본문 (순수 출력 스타일) */
.memo-card-body {
padding: 12px 25px 20px 25px;
color: #efefef;
font-size: 13px;
line-height: 12px;
white-space: pre-line; /* [수정] pre-wrap 대신 pre-line으로 빳빳하게! */
word-break: break-all;
cursor: pointer;
}
.memo-card-body:hover {
color: #38f8b8;
transition: all 0.7s ease;
}
.memo-card-footer {
padding:10px;
border-top:1px solid #283344;
text-align:right;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.memo-card-footer a {
color:#aaa;
font-size:12px;
text-decoration:none;
border:1px solid #444;
padding:3px 20px 5px 20px;
border-radius:3px;
}
.memo-card-footer a:hover {
color:#fff;
border: 1px solid rgb(28, 182, 87);
transition: all 0.5s ease;
}
#memo_layer_popup {
display:none;
position:fixed;
top:0; left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
z-index:19999;
}
#memo_layer_popup .Pop {
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
width:1500px;
max-width:85%;
height:900px;
background:#fff;
border: 10px solid #0b1220;
border-radius: 10px;
overflow:hidden;
box-shadow:0 0 20px rgba(0,0,0,0.5);
}
#memo_layer_popup .Title {
background:#0a1229;
padding:20px 12px;
text-align:right;
}
#memo_layer_popup .Title span {
color:#fff;
cursor:pointer;
font-size:14px;
font-weight:bold;
padding:5px 25px;
border:1px solid #555;
border-radius:3px;
}
#memo_layer_popup .Title span:hover {
transition: all 0.7s ease;
box-shadow: 0 4px 10px rgba(59, 200, 255, 0.5);
}
#memo_layer_popup .Title span:hover {
border:1px solid #188f36;
}
iframe {
width:100%;
height:100%;
overflow-x:hidden;
}