1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-01-08 16:06:16 +00:00

refactor(deps): upgrade bootstrap from v4.6 to v5.2

- update class name of the spacing, font style, cards and toasts
- update attribute names &  tooltip usage
- remove custom smooth scroll
- syntax colors
This commit is contained in:
Cotes Chung
2023-04-10 10:54:27 +08:00
parent 3210c59466
commit d9e1d84f08
41 changed files with 170 additions and 304 deletions

View File

@@ -8,6 +8,7 @@
.categories {
margin-bottom: 2rem;
border-color: var(--categories-border);
&.card,
.list-group {
@@ -15,8 +16,16 @@
}
.card-header {
padding-right: 12px;
border-radius: $base-radius $base-radius 0 0;
$radius: calc($base-radius - 1px);
padding: 0.75rem;
border-radius: $radius;
border-bottom: 0;
&.hide-border-bottom {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
i {
@@ -34,6 +43,10 @@
border-top-left-radius: 0;
border-top-right-radius: 0;
}
&:last-child {
border-bottom: 0;
}
}
} /* .categories */