Skip to content

Commit

Permalink
Update to bootstrap 5.2.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
smack0007 committed Dec 23, 2022
1 parent dd8677c commit 2678deb
Show file tree
Hide file tree
Showing 4 changed files with 10,468 additions and 17 deletions.
16 changes: 8 additions & 8 deletions src/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ I program mostly web stuff these days.

This blog is generated by a custom TypeScript app I wrote just for this purpose. The following open source proects are used:

- [Bootstrap](https://getbootstrap.com/) for sytle.
- [highlight.js](https://highlightjs.org/) for syntax highlighting.
- [html-entities](https://github.com/mdevils/html-entities#readme) for html sanitization.
- [marked](https://marked.js.org/) for Markdown conversion.
- [IcoMoon](https://icomoon.io/) for various images.
- [Sass](https://sass-lang.com/) for SCSS compilation.
- [ts-node](https://typestrong.org/ts-node/) for script execution.
- [TypeScript](https://www.typescriptlang.org/) programming language.
- [Bootstrap](https://getbootstrap.com/) for style.
- [deno](https://deno.land/) to run the compiler.
- [highlight.js](https://highlightjs.org/) for syntax highlighting.
- [html-entities](https://github.com/mdevils/html-entities#readme) for html sanitization.
- [marked](https://marked.js.org/) for Markdown conversion.
- [IcoMoon](https://icomoon.io/) for various images.
- [Sass](https://sass-lang.com/) for SCSS compilation.
- [TypeScript](https://www.typescriptlang.org/) programming language.
10,450 changes: 10,444 additions & 6 deletions src/css/bootstrap.min.scss

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions src/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ a:hover,
.page-link,
.page-link:hover {
color: #569cd6;
text-decoration: none;
}

.social {
margin-left: auto;

a {
font-size: 24px;
margin-right: 8px;
Expand Down Expand Up @@ -61,8 +64,18 @@ nav {
h1 {
margin: 0;
padding: 0;
padding-left: 1rem;
font-size: inherit;
}

.navbar-toggler {
margin-left: 1rem;
margin-right: 1rem;
}

.navbar-collapse {
padding-left: 1rem;
}
}

main {
Expand Down
6 changes: 3 additions & 3 deletions src/templates/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function PageTemplate(page: Page): string {
Home
{(page.url === "index.html" ||
page.url.startsWith("blog/")) && (
<span class="sr-only">(current)</span>
<span class="visually-hidden">(current)</span>
)}
</a>
</li>
Expand All @@ -94,7 +94,7 @@ export function PageTemplate(page: Page): string {
>
About
{page.url.endsWith("about.html") && (
<span class="sr-only">(current)</span>
<span class="visually-hidden">(current)</span>
)}
</a>
</li>
Expand All @@ -108,7 +108,7 @@ export function PageTemplate(page: Page): string {
>
Tags
{page.url.startsWith("tags/") && (
<span class="sr-only">(current)</span>
<span class="visually-hidden">(current)</span>
)}
</a>
</li>
Expand Down

0 comments on commit 2678deb

Please sign in to comment.