-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
911 lines (816 loc) · 27.1 KB
/
index.html
File metadata and controls
911 lines (816 loc) · 27.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
<!-- force rebuild -->
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="이호기의 커리어 인사이트 - 자동차 기술 전문가, 글로벌 협업 경험, 리더십과 성장을 담은 개인 웹사이트"
/>
<meta
name="keywords"
content="이호기, 자동차 기술 전문가, BMW Korea, 글로벌 협업, 리더십, 커리어 성장, 자동차 교육"
/>
<meta name="author" content="Hoki Lee" />
<meta name="robots" content="index, follow" />
<title>이호기 - 자동차 기술 전문가 & 커리어 인사이트</title>
<link rel="stylesheet" href="styles.css" />
<script src="scripts.js" defer></script>
<!-- Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-20K158C0EN"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-20K158C0EN');
</script>
</head>
<body>
<!-- 히어로 배너 섹션 -->
<section class="hero-banner">
<div class="hero-slider">
<!-- 슬라이드 1: 자동차 기술 전문가 -->
<div class="hero-slide active">
<div class="hero-image">
<img src="web-image/자동차정비교육.jpg" alt="자동차 기술 스케치" />
</div>
<div class="hero-content">
<p class="hero-subtitle-main" data-i18n="hero.subtitleMain">
이호기의 개인 홈페이지
</p>
<h1 class="hero-title" data-i18n="hero.slide1.title">
자동차 및 교육의 전문가
</h1>
<p class="hero-subtitle" data-i18n="hero.slide1.subtitle">
BMW Korea, 현대자동차, 삼성자동차에서의 기술 교육 경험
</p>
</div>
</div>
<!-- 슬라이드 2: 글로벌 협업 & 커리어 성장 -->
<div class="hero-slide">
<div class="hero-image">
<img src="web-image/글로벌자동차산업.jpg" alt="글로벌 협업" />
</div>
<div class="hero-content">
<p class="hero-subtitle-main" data-i18n="hero.subtitleMain">
이호기의 개인 홈페이지
</p>
<h1 class="hero-title" data-i18n="hero.slide2.title">
글로벌 자동차 산업의 경험자
</h1>
<p class="hero-subtitle" data-i18n="hero.slide2.subtitle">
세계를 무대로 한 기술 협업과 커리어 성장
</p>
</div>
</div>
<!-- 슬라이드 3: 개인적 성장 & 리더십 -->
<div class="hero-slide">
<div class="hero-image">
<img src="web-image/팀워크.jpg" alt="리더십과 팀워크" />
</div>
<div class="hero-content">
<p class="hero-subtitle-main" data-i18n="hero.subtitleMain">
이호기의 개인 홈페이지
</p>
<h1 class="hero-title" data-i18n="hero.slide3.title">
팀워크와 리더십의 실천자
</h1>
<p class="hero-subtitle" data-i18n="hero.slide3.subtitle">
BMW 한마음 축구대회 운영과 야구동호회 활동
</p>
</div>
</div>
<!-- 슬라이더 네비게이션 -->
<button class="slider-nav prev" onclick="changeSlide(-1)">❮</button>
<button class="slider-nav next" onclick="changeSlide(1)">❯</button>
<!-- 슬라이더 인디케이터 -->
<div class="slider-indicators">
<span class="indicator active" onclick="currentSlide(1)"></span>
<span class="indicator" onclick="currentSlide(2)"></span>
<span class="indicator" onclick="currentSlide(3)"></span>
</div>
</div>
</section>
<!-- 네비게이션 바 -->
<nav class="main-navigation">
<div class="nav-container">
<div class="nav-item">
<a href="about-me-board.html">
<img
src="web-image/about-me-icon.png"
alt="About Me"
class="nav-icon"
/>
<span data-i18n="nav.about">About Me</span>
</a>
</div>
<div class="nav-item">
<a href="career-board.html">
<img
src="web-image/career-icon.png"
alt="경력 이야기"
class="nav-icon"
/>
<span data-i18n="nav.career">경력 이야기</span>
</a>
</div>
<div class="nav-item">
<a href="today-content-board.html">
<img
src="web-image/information-icon.png"
alt="오늘의 콘텐츠"
class="nav-icon"
/>
<span data-i18n="nav.todayContent">오늘의 콘텐츠</span>
</a>
</div>
<div class="nav-item">
<a href="latest-content-board.html">
<img
src="web-image/books-icon.png"
alt="기술자료"
class="nav-icon"
/>
<span data-i18n="nav.techLibrary">기술자료</span>
</a>
</div>
<div class="nav-item">
<a href="tech-trend-board.html">
<img
src="web-image/news_icon.png"
alt="기술 트렌드/뉴스"
class="nav-icon"
/>
<span data-i18n="nav.techTrend">기술 트렌드/뉴스</span>
</a>
</div>
<div class="nav-item">
<a href="daily-thoughts-collection-board.html">
<img
src="web-image/think-something.png"
alt="이전 자료"
class="nav-icon"
/>
<span data-i18n="nav.previousContent">이전 자료</span>
</a>
</div>
<div class="nav-item">
<a href="contact-board.html">
<img
src="web-image/contect-icon.png"
alt="연락처"
class="nav-icon"
/>
<span data-i18n="nav.contact">연락처</span>
</a>
</div>
</div>
</nav>
<div class="language-toggle-wrapper">
<div class="language-toggle">
<button class="lang-btn active" data-lang="ko">한국어</button>
<span class="lang-separator">|</span>
<button class="lang-btn" data-lang="en">English</button>
</div>
</div>
<!-- 방문자 카운터 섹션 -->
<div class="visitor-counter-section">
<div class="visitor-counter-box">
<div class="visitor-info">
<span
id="visitor-count"
style="display: inline-block; text-align: center"
>
<a href="https://hits.sh/leehoki.com/"
><img
alt="Hits"
src="https://hits.sh/leehoki.com.svg?view=today-total&style=flat-square&label=%EB%88%84%EC%A0%81%20%EB%B0%A9%EB%AC%B8%EC%9E%90%20%EC%88%98%20(%EC%98%A4%EB%8A%98%20%2F%20%EC%A0%84%EC%B2%B4)&extraCount=1850&logo=hoki"
data-visitor-counter="true"
class="visitor-counter-img"
/></a>
</span>
</div>
</div>
</div>
<!-- 프로필 섹션 -->
<section class="profile-section">
<div class="profile-container">
<h2 class="profile-name" data-i18n="profile.name">
Hoki Lee's Brief Profile
</h2>
<p class="profile-instruction" data-i18n="profile.instruction">
아래 회사를 클릭할 경우 간단한 핵심 역할, 주요 성과, 경험의 의미에
대한 내용을 확인할 수 있습니다
</p>
<div class="profile-content">
<div class="career-timeline">
<div class="career-item" data-company="the-junjin">
<span class="career-company" data-i18n="profile.company6"
>The Junjin</span
>
<span class="career-period">Mar. 2026 - 현재</span>
<span class="career-position" data-i18n="profile.position6"
>Service Operations Manager</span
>
</div>
<div class="career-item" data-company="ohjin">
<span class="career-company" data-i18n="profile.company1"
>오진양행</span
>
<span class="career-period">Feb. 2022 - Oct. 2025</span>
<span class="career-position" data-i18n="profile.position1"
>Executive Director, Head of Service Division</span
>
</div>
<div class="career-item" data-company="bmw-deutsch-motors">
<span class="career-company" data-i18n="profile.company2"
>BMW Deutsch Motors</span
>
<span class="career-period">Jan. 2018 – Jan. 2022</span>
<span class="career-position" data-i18n="profile.position2"
>Director, Service Division</span
>
</div>
<div class="career-item" data-company="bmw-bavarian-motors">
<span class="career-company" data-i18n="profile.company2a"
>BMW Bavarian Motors</span
>
<span class="career-period">Feb. 2016 – Dec. 2017</span>
<span class="career-position" data-i18n="profile.position2a"
>Master Lab Manager</span
>
</div>
<div class="career-item" data-company="bmw-korea">
<span class="career-company" data-i18n="profile.company3"
>BMW Korea</span
>
<span class="career-period">Jan. 2000 - Jan. 2016</span>
<span class="career-position" data-i18n="profile.position3"
>Training & Technical Support Team Leader</span
>
</div>
<div class="career-item" data-company="samsung">
<span class="career-company" data-i18n="profile.company4"
>삼성자동차</span
>
<span class="career-period">Apr. 1997 - Dec. 1999</span>
<span class="career-position" data-i18n="profile.position4"
>Technical Training & Service Manager</span
>
</div>
<div class="career-item" data-company="hyundai">
<span class="career-company" data-i18n="profile.company5"
>현대자동차</span
>
<span class="career-period">Sep. 1991 - Feb. 1997</span>
<span class="career-position" data-i18n="profile.position5"
>Global Technical Support & Training</span
>
</div>
</div>
</div>
<div class="profile-image-wrapper">
<img
src="web-image/hokilee1.jpg"
alt="이호기 프로필"
class="profile-image"
/>
</div>
</div>
</section>
<!-- 이미지 확대 모달 -->
<div id="imageModal" class="image-modal">
<span class="image-modal-close">×</span>
<img class="image-modal-content" id="modalImage" />
</div>
<!-- 회사 상세 정보 모달 -->
<div id="companyModal" class="modal">
<div class="modal-content">
<span class="modal-close">×</span>
<div class="modal-header">
<h2 class="modal-company-name" id="modalCompanyName"></h2>
<p class="modal-position" id="modalPosition"></p>
<p class="modal-period" id="modalPeriod"></p>
</div>
<div class="modal-body">
<div class="modal-section">
<h3 data-i18n="modal.coreRole">핵심 역할</h3>
<ul id="modalCoreRole" class="modal-list"></ul>
</div>
<div class="modal-section">
<h3 data-i18n="modal.keyAchievements">주요 성과</h3>
<ul id="modalAchievements" class="modal-list"></ul>
</div>
<div class="modal-section">
<h3 data-i18n="modal.meaning">경험의 의미</h3>
<p id="modalMeaning" class="modal-meaning"></p>
</div>
</div>
</div>
</div>
<!-- 구분선 -->
<hr class="section-divider" />
<!-- 메인 콘텐츠 섹션 -->
<main class="main-content">
<div class="content-grid">
<!-- 공지사항 섹션 -->
<div class="notice-section">
<h3
class="section-title notice-title"
style="
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8em;
"
>
<img
src="web-image/notice-data.png"
alt="Update Contents"
class="section-icon notice-pulse-icon"
style="width: 48px; height: 48px; margin-right: 18px"
/>
<span data-i18n="notice.heading">Update Contents</span>
</h3>
<div class="notice-container notice-glow-container">
<ul class="notice-list">
<p
class="notice-item"
data-date="2026-04-20"
data-i18n="notice.updateContent20260420"
>
<span class="new-badge" style="display: none">NEW</span>
</p>
</ul>
</div>
</div>
</div>
</main>
<footer class="footer">
<p>Copyright ⓒ <span id="year"></span> Hoki Lee.</p>
</footer>
<script>
// 슬라이더 기능
let currentSlideIndex = 0;
const slides = document.querySelectorAll('.hero-slide');
const indicators = document.querySelectorAll('.indicator');
function showSlide(index) {
slides.forEach((slide) => slide.classList.remove('active'));
indicators.forEach((indicator) => indicator.classList.remove('active'));
slides[index].classList.add('active');
indicators[index].classList.add('active');
}
function changeSlide(direction) {
currentSlideIndex =
(currentSlideIndex + direction + slides.length) % slides.length;
showSlide(currentSlideIndex);
}
function currentSlide(index) {
currentSlideIndex = index - 1;
showSlide(currentSlideIndex);
}
// 자동 슬라이드 (5초마다)
setInterval(() => {
changeSlide(1);
}, 5000);
// 연도 표시
document.getElementById('year').textContent = new Date().getFullYear();
// NEW 배지 표시 함수 (최근 2일간) - 전역 함수로 선언
window.updateNewBadges = function () {
const today = new Date();
// 오늘 날짜를 YYYY-MM-DD 형식으로 변환
const todayStr =
today.getFullYear() +
'-' +
String(today.getMonth() + 1).padStart(2, '0') +
'-' +
String(today.getDate()).padStart(2, '0');
// 어제 날짜 계산
const yesterday = new Date(today);
yesterday.setDate(today.getDate() - 1);
const yesterdayStr =
yesterday.getFullYear() +
'-' +
String(yesterday.getMonth() + 1).padStart(2, '0') +
'-' +
String(yesterday.getDate()).padStart(2, '0');
console.log('NEW 배지 체크 - 오늘:', todayStr, '어제:', yesterdayStr);
// 공지사항 NEW 배지 업데이트
const noticeItems = document.querySelectorAll(
'.notice-item[data-date]',
);
console.log('공지사항 항목 개수:', noticeItems.length);
noticeItems.forEach((item) => {
const noticeDateStr = item.getAttribute('data-date');
const newBadge = item.querySelector('.new-badge');
console.log(
'공지사항 날짜:',
noticeDateStr,
'NEW 배지 존재:',
!!newBadge,
);
if (!newBadge) {
console.warn('NEW badge element not found for notice item');
return;
}
// 날짜 문자열을 직접 비교 (오늘 또는 어제와 일치하면 NEW 배지 표시)
const shouldShow =
noticeDateStr === todayStr || noticeDateStr === yesterdayStr;
console.log(
'날짜 일치 여부:',
shouldShow,
'(오늘:',
noticeDateStr === todayStr,
', 어제:',
noticeDateStr === yesterdayStr,
')',
);
if (shouldShow) {
newBadge.style.display = 'inline-block';
console.log('NEW 배지 표시됨');
} else {
newBadge.style.display = 'none';
console.log('NEW 배지 숨김');
}
});
// 일정 섹션 NEW 배지 업데이트 (오늘 날짜만)
const scheduleItems = document.querySelectorAll(
'.news-date[data-date]',
);
console.log('일정 항목 개수:', scheduleItems.length);
scheduleItems.forEach((dateSpan) => {
const scheduleDateStr = dateSpan.getAttribute('data-date');
const newsItem = dateSpan.closest('.news-item');
const newBadge = newsItem
? newsItem.querySelector('.schedule-new-badge')
: null;
console.log(
'일정 날짜:',
scheduleDateStr,
'New 배지 존재:',
!!newBadge,
);
if (!newBadge) {
console.warn('New badge element not found for schedule item');
return;
}
// 오늘 날짜와 일치하면 New 배지 표시
const shouldShow = scheduleDateStr === todayStr;
console.log(
'일정 날짜 일치 여부:',
shouldShow,
'(오늘:',
scheduleDateStr === todayStr,
')',
);
if (shouldShow) {
newBadge.style.display = 'inline-block';
console.log('일정 New 배지 표시됨');
} else {
newBadge.style.display = 'none';
console.log('일정 New 배지 숨김');
}
});
};
// DOM이 완전히 로드된 후 NEW 배지 업데이트
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', updateNewBadges);
} else {
// DOM이 이미 로드된 경우 즉시 실행
updateNewBadges();
}
</script>
<!-- 공지사항 애니메이션 CSS -->
<style>
/* 1. 공지사항 아이콘 펄스 애니메이션 */
.notice-pulse-icon {
animation: noticePulse 2.5s ease-in-out infinite;
}
@keyframes noticePulse {
0% {
transform: scale(1);
filter: brightness(1);
}
50% {
transform: scale(1.08);
filter: brightness(1.2);
}
100% {
transform: scale(1);
filter: brightness(1);
}
}
/* 2. NEW 배지 애니메이션 */
.new-badge {
display: inline-block;
background: linear-gradient(45deg, #ff6b6b, #ff8e53);
color: white;
font-size: 10px;
font-weight: bold;
padding: 2px 6px;
border-radius: 10px;
margin-left: 8px;
animation: newBadgeBounce 2s ease-in-out infinite;
box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
vertical-align: middle;
}
/* 일정 섹션 New 배지 스타일 */
.schedule-new-badge {
display: inline-block;
background: linear-gradient(45deg, #ff6b6b, #ff8e53);
color: white;
font-size: 10px;
font-weight: bold;
padding: 2px 6px;
border-radius: 10px;
margin-left: 8px;
animation: newBadgeBounce 2s ease-in-out infinite;
box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
vertical-align: middle;
}
@keyframes newBadgeBounce {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-2px) scale(1.05);
}
}
/* 3. 공지사항 컨테이너 호버 글로우 효과 */
.notice-glow-container {
transition: all 0.3s ease;
border-radius: 12px;
padding: 15px;
margin: 6px 0;
max-height: 360px;
overflow-y: hidden;
scrollbar-width: thin;
scrollbar-color: #007bff #f1f1f1;
}
/* 스크롤바 스타일링 (웹킷 브라우저용) */
.notice-glow-container::-webkit-scrollbar {
width: 8px;
}
.notice-glow-container::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.notice-glow-container::-webkit-scrollbar-thumb {
background: #007bff;
border-radius: 4px;
transition: background 0.3s ease;
}
.notice-glow-container::-webkit-scrollbar-thumb:hover {
background: #0056b3;
}
.notice-glow-container:hover {
background: linear-gradient(
135deg,
rgba(0, 123, 255, 0.05),
rgba(0, 123, 255, 0.1)
);
box-shadow:
0 0 20px rgba(0, 123, 255, 0.3),
0 0 40px rgba(0, 123, 255, 0.1);
transform: translateY(-2px);
}
/* 공지사항 항목 스타일링 */
.notice-item {
margin-bottom: 15px;
transition: all 0.2s ease;
}
.notice-item:hover {
color: #007bff;
transform: translateX(5px);
}
/* 추가적인 시각적 강조 */
.notice-title {
position: relative;
}
.notice-title::after {
content: '';
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
width: 400px;
height: 3px;
background: linear-gradient(90deg, transparent, #007bff, transparent);
border-radius: 2px;
animation: underlineGlow 3s ease-in-out infinite;
}
@keyframes underlineGlow {
0%,
100% {
opacity: 0.6;
width: 400px;
}
50% {
opacity: 1;
width: 480px;
}
}
/* 공지사항 섹션 외부 박스 여백 */
.notice-section {
padding: 10px 0;
margin: 0;
}
/* 방문자 카운터 섹션 */
.visitor-counter-section {
max-width: 1200px;
margin: 18px auto 8px;
padding: 20px 40px;
background: #d9dce3;
border-radius: 14px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
border: 1px solid rgba(0, 0, 0, 0.05);
display: flex;
justify-content: center;
}
.visitor-counter-box {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
min-height: 0;
}
.visitor-counter-box .visitor-info {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.visitor-counter-box .visitor-info {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.visitor-counter-img {
height: auto;
width: auto;
display: block;
transform: scale(1.4);
transform-origin: center;
}
/* 누적 방문자 수와 공지사항 사이 구분선 */
.notice-divider {
margin: 30px 0;
border: none;
height: 3px;
background: linear-gradient(90deg, transparent, #007bff, transparent);
border-radius: 2px;
box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}
/* 섹션 구분선 */
.section-divider {
margin: 40px auto;
border: none;
height: 3px;
width: 100%;
max-width: 1200px;
background: linear-gradient(90deg, transparent, #007bff, transparent);
border-radius: 2px;
box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}
/* 뉴스 섹션 스타일 */
.news-section {
background: white;
padding: 26px 36px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
width: 100%;
max-width: 1320px;
margin: 0 auto;
}
.news-container {
transition: all 0.3s ease;
border-radius: 12px;
padding: 15px;
margin: 6px 0;
max-height: 400px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #007bff #f1f1f1;
}
.news-container::-webkit-scrollbar {
width: 8px;
}
.news-container::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.news-container::-webkit-scrollbar-thumb {
background: #007bff;
border-radius: 4px;
transition: background 0.3s ease;
}
.news-container::-webkit-scrollbar-thumb:hover {
background: #0056b3;
}
.news-container:hover {
background: linear-gradient(
135deg,
rgba(0, 123, 255, 0.05),
rgba(0, 123, 255, 0.1)
);
box-shadow:
0 0 20px rgba(0, 123, 255, 0.3),
0 0 40px rgba(0, 123, 255, 0.1);
}
.news-list {
list-style: none;
padding: 0;
margin: 0;
}
.news-category {
margin-bottom: 20px;
}
.news-category h4 {
position: relative;
}
.news-category h4::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 50px;
height: 2px;
background: #e74c3c;
}
.news-item {
padding: 15px;
margin-bottom: 10px;
border-radius: 8px;
transition: all 0.2s ease;
border-left: 3px solid transparent;
background: rgba(0, 123, 255, 0.02);
}
.news-item:hover {
background: rgba(0, 123, 255, 0.08);
border-left-color: #007bff;
transform: translateX(5px);
box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}
.news-content h5 {
transition: color 0.2s ease;
}
.news-item:hover .news-content h5 {
color: #007bff;
}
/* 반응형 디자인 */
@media (max-width: 768px) {
.new-badge {
font-size: 9px;
padding: 1px 4px;
}
.schedule-new-badge {
font-size: 9px;
padding: 1px 4px;
margin-left: 6px;
}
.notice-glow-container:hover {
transform: none;
}
.notice-section {
padding: 20px 0;
margin: 15px 0;
}
.visitor-counter-section {
padding: 20px 20px;
margin: 15px auto;
}
.news-section {
padding: 20px 15px;
}
.news-container {
max-height: 350px;
}
.news-item {
padding: 12px;
}
.news-item:hover {
transform: none;
}
.news-category h4 {
font-size: 1.1rem;
}
.news-content h5 {
font-size: 0.95rem;
}
.news-content p {
font-size: 0.85rem;
}
}
</style>
</body>
</html>