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 cf52512 commit d769ac5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
</span>
{% endif %}

{% comment %}
{% if page.image %}
{% capture src %}src="{{ page.image.path | default: page.image }}"{% endcapture %}
{% capture class %}class="preview-img{% if page.image.no_bg %}{{ ' no-bg' }}{% endif %}"{% endcapture %}
Expand All @@ -46,6 +47,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
{%- endif -%}
</div>
{% endif %}
{% endcomment %}

<div class="d-flex justify-content-between">
<!-- author(s) -->
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 @@ -16,6 +16,7 @@ tags: [algorithm, 알고리즘, BFS, DFS]
* 큐가 빌 때까지 이 과정을 반복한다.

수도 코드 예시

![BFS_pseudocode](assets/img/posts/20240723/BFS_pseudocode.png)
<br>
<br>
Expand Down
8 changes: 7 additions & 1 deletion _sass/layout/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,16 @@ h2 {
@extend %img-radius;

width: 200px;
height: 200px; // 이미지 높이 증가
height: 100%; // 이미지 높이 증가
object-fit: cover; // 이미지 비율 유지
filter: brightness(0.7); /* 밝기를 80%로 낮춤 */
transition: filter 0.3s ease; /* 부드러운 전환 효과 추가 */

}

&:hover img {
filter: brightness(0.8); /* 호버 시 원래 밝기로 복귀 (선택사항) */
}
}

.card-body {
Expand Down

0 comments on commit d769ac5

Please sign in to comment.