-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcustom.scss
More file actions
84 lines (72 loc) · 1.71 KB
/
custom.scss
File metadata and controls
84 lines (72 loc) · 1.71 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
/*-- scss:defaults --*/
$primary: #ED1944; // 메인 색상 (Openstack 브랜드 레드)
$font-family-base: 'Noto Sans KR', sans-serif;
$body-bg: #ffffff;
$body-color: #2c3e50;
$link-color: #3498db;
$navbar-bg: $primary;
/*-- scss:rules --*/
// 사이드바 스타일링
#quarto-sidebar {
background-color: transparent;
border: none;
box-shadow: none;
height: calc(100vh - 180px); // 푸터 높이만큼 제외
overflow-y: auto;
.sidebar-menu-container {
padding-top: 1rem;
border: none;
}
.sidebar-item {
padding: 0.5rem 0;
border: none;
&:hover {
color: $primary;
}
&.active {
color: $primary;
font-weight: bold;
border: none;
background-color: transparent;
}
}
}
// 모든 사이드바 관련 테두리 제거
.sidebar, .sidebar-item, .sidebar-menu-container {
border: none !important;
box-shadow: none !important;
}
// 푸터
.footer {
width: 100%;
background-color: rgba($primary, 0.9);
color: white;
text-align: center;
padding: 1rem;
font-size: 0.9rem;
margin-top: 2rem;
position: relative; // 푸터를 사이드바 위에 표시
z-index: 1000; // 더 높은 z-index로 설정
}
.footer a {
color: white;
text-decoration: underline;
}
// 푸터 위의 컨텐츠가 가려지지 않도록 본문에 여백 추가
main {
margin-bottom: 80px;
position: relative;
z-index: 1;
}
// 네비게이션 링크 스타일
.nav-link {
color: #2c3e50 !important;
&:hover {
opacity: 0.8;
}
}
// 아이콘 스타일
.bi {
color : white;
margin-right: 0.2rem;
}