Skip to content

Commit

Permalink
댓글 추가
Browse files Browse the repository at this point in the history
댓글 추가
  • Loading branch information
BambooStreet committed Aug 4, 2024
1 parent d34a70a commit c642fcf
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 9 deletions.
16 changes: 9 additions & 7 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@
<!-- panel -->
<aside aria-label="Panel" id="panel-wrapper" class="col-xl-3 ps-2 mb-5 text-muted">
<div class="access">
{% include_cached update-list.html lang=lang %}
{% include_cached trending-tags.html lang=lang %}
{% if layout.panel_includes %}
{% for _include in layout.panel_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} lang=lang %}
{% endfor %}
{% else %}
{% include_cached update-list.html lang=lang %}
{% include_cached trending-tags.html lang=lang %}
{% endif %}
</div>

{% for _include in layout.panel_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} lang=lang %}
{% endfor %}
</aside>
</div>

Expand Down
12 changes: 11 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ <h1 data-toc-skip>{{ page.title }}</h1>
{% elsif page.authors %}
{% assign authors = page.authors %}
{% endif %}


{% comment %}
{{ site.data.locales[lang].post.written_by }}
{% endcomment %}

<em>
{% if authors %}
Expand Down Expand Up @@ -122,6 +124,14 @@ <h1 data-toc-skip>{{ page.title }}</h1>
{{- tag -}}
</a>
{% endfor %}
<script src="https://utteranc.es/client.js"
repo="BambooStreet/BambooStreet.github.io"
issue-term="pathname"
label="comments"
theme="dark-blue"
crossorigin="anonymous"
async>
</script>
</div>
{% endif %}

Expand Down
1 change: 1 addition & 0 deletions _posts/2024-07-24-algorithm_BFS_DFS.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ tags: [algorithm, 알고리즘, BFS, DFS]


## DFS vs BFS

| 특성 | DFS (깊이 우선 탐색) | BFS (너비 우선 탐색) |
|------|----------------------|----------------------|
| 탐색 방식 | 한 경로를 끝까지 탐색 | 현재 정점과 가까운 정점부터 탐색 |
Expand Down
1 change: 1 addition & 0 deletions _posts/2024-07-24-algorithm_adjancy_matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ matrix[1][0] = 1


## 인접 리스트 vs 인접 행렬

| 특성 | 인접 리스트 | 인접 행렬 |
|------|------------|-----------|
| 메모리 사용 | O(V + E) | O(V^2) |
Expand Down
45 changes: 44 additions & 1 deletion assets/css/jekyll-theme-chirpy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,47 @@
color: #b8c5d2;
background-color: #your-desired-color;
border-color: #your-desired-color;
}
}
#toc-wrapper {
// 기존 스타일 유지
> section {
padding-left: 1rem;
border-left: 1px solid var(--main-border-color);
margin-bottom: 2rem; // 약간의 여백 추가
}

.panel-heading {
font-size: 1.1rem; // 조금 더 큰 글씨
margin-bottom: 0.5rem;
color: #B8C8D8; // 파스텔 블루 색상 유지
}

#toc {
ul {
padding-left: 0.5rem;
}

li {
margin-bottom: 0.3rem;
list-style-type: none;
}

a {
color: var(--text-color);
text-decoration: none;
font-size: 0.9rem;

&:hover {
color: #B8C8D8; // 호버 시 파스텔 블루로 변경
}
}
}
}

.access {
&:only-child {
position: -webkit-sticky;
position: sticky;
top: 2rem;
}
}

0 comments on commit c642fcf

Please sign in to comment.