diff --git a/assets/styles/components/buttons.scss b/assets/styles/components/buttons.scss index 0d7283e..3029239 100644 --- a/assets/styles/components/buttons.scss +++ b/assets/styles/components/buttons.scss @@ -49,6 +49,15 @@ color: get-light-color('muted-text-color'); } +.navbar-toggler { + border: none; + &:focus { + border: none; + outline: none !important; + box-shadow: none; + } +} + .tags { text-align: left; padding-top: 0.5em; diff --git a/assets/styles/components/cards.scss b/assets/styles/components/cards.scss index 41ec9d1..22c9e86 100644 --- a/assets/styles/components/cards.scss +++ b/assets/styles/components/cards.scss @@ -50,6 +50,7 @@ .post-card-link { text-decoration: none !important; + color: get-light-color('text-color'); } .card { diff --git a/assets/styles/components/links.scss b/assets/styles/components/links.scss index 61369a2..4372bcc 100644 --- a/assets/styles/components/links.scss +++ b/assets/styles/components/links.scss @@ -2,6 +2,10 @@ a { color: get-light-color('accent-color'); @include transition(); + &:link { + text-decoration: none; + } + &:hover, &:focus { text-decoration: get-light-color('hover-over-accent-color') underline; diff --git a/assets/styles/layouts/single.scss b/assets/styles/layouts/single.scss index f5aecf4..e2fe4b2 100644 --- a/assets/styles/layouts/single.scss +++ b/assets/styles/layouts/single.scss @@ -184,6 +184,7 @@ body.kind-page { #scroll-to-top { position: fixed; + border: none; bottom: 0rem; right: 1rem; color: get-light-color('accent-color'); diff --git a/assets/styles/navigators/navbar.scss b/assets/styles/navigators/navbar.scss index b85d53e..7ed88c9 100644 --- a/assets/styles/navigators/navbar.scss +++ b/assets/styles/navigators/navbar.scss @@ -27,6 +27,7 @@ .navbar-brand { color: get-light-color('heading-color'); + text-decoration: none !important; font-weight: 600; img { width: 42px; diff --git a/assets/styles/sections/experiences.scss b/assets/styles/sections/experiences.scss index aae541b..367a9f6 100644 --- a/assets/styles/sections/experiences.scss +++ b/assets/styles/sections/experiences.scss @@ -32,14 +32,14 @@ &::after { content: ''; - position: absolute; + position: relative; border-left: 3px solid get-light-color('accent-color'); z-index: 1; height: 100%; - left: 50%; + left: -23px; } &:nth-child(even)::after { - left: calc(50% - 3px) !important; + left: -26px; } } .horizontal-line { @@ -52,6 +52,7 @@ margin: 0; top: 17px; position: relative; + opacity: 1; } .timeline-side-div { display: flex; diff --git a/exampleSite/package-lock.json b/exampleSite/package-lock.json index a855b24..32422da 100644 --- a/exampleSite/package-lock.json +++ b/exampleSite/package-lock.json @@ -11,7 +11,7 @@ "@fontsource/mulish": "4.5.13", "@fortawesome/fontawesome-free": "^6.2.0", "autoprefixer": "^10.4.13", - "bootstrap": "^4.6.2", + "bootstrap": "^5.3.3", "eslint": "^8.31.0", "eslint-config-prettier": "^8.6.0", "eslint-config-standard": "^17.0.0", @@ -191,6 +191,17 @@ "node": ">= 8" } }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "dev": true, + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", @@ -474,9 +485,9 @@ } }, "node_modules/bootstrap": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.6.2.tgz", - "integrity": "sha512-51Bbp/Uxr9aTuy6ca/8FbFloBUJZLHwnhTcnjIeRn2suQWsWzcuJhGjKDB5eppVte/8oCdOL3VuwxvZDUggwGQ==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.3.tgz", + "integrity": "sha512-8HLCdWgyoMguSO9o+aH+iuZ+aht+mzW0u3HIMzVu7Srrpv7EBBxTnrFlSCskwdY1+EOFQSm7uMJhNQHkdPcmjg==", "dev": true, "funding": [ { @@ -489,8 +500,7 @@ } ], "peerDependencies": { - "jquery": "1.9.1 - 3", - "popper.js": "^1.16.1" + "@popperjs/core": "^2.11.8" } }, "node_modules/brace-expansion": { @@ -2779,13 +2789,6 @@ "integrity": "sha512-46Qnh3qs+6EJlWDHmvWRW6qiz5jFy2mkh9UvtTvQmLJMZIjKrdz4du68le7hLX4tAWCp6QTKiq/OuLv6huHxZg==", "dev": true }, - "node_modules/jquery": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", - "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==", - "dev": true, - "peer": true - }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", diff --git a/exampleSite/package.json b/exampleSite/package.json index 37e4ab5..cbb43d4 100644 --- a/exampleSite/package.json +++ b/exampleSite/package.json @@ -35,7 +35,7 @@ "@fontsource/mulish": "4.5.13", "@fortawesome/fontawesome-free": "^6.2.0", "autoprefixer": "^10.4.13", - "bootstrap": "^4.6.2", + "bootstrap": "^5.3.3", "eslint": "^8.31.0", "eslint-config-prettier": "^8.6.0", "eslint-config-standard": "^17.0.0", diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a1e652d..65f6364 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -24,7 +24,7 @@ - +
{{ block "navbar" . }} {{ end }} diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 9475868..371c808 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -58,8 +58,8 @@ {{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8981d32..9d59e76 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -37,7 +37,7 @@
{{ if site.Params.features.blog.showAuthor | default true }} -
+
Author Image
{{ partial "helpers/get-author-name.html" . }}

{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}

@@ -51,7 +51,7 @@
{{ if not (site.Params.features.blog.showAuthor | default true) }} -
+

{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}

{{ end }} @@ -64,7 +64,7 @@
-
+
- + @@ -175,7 +175,7 @@
{{ if and site.Params.features.toc.enable ( .Params.enableTOC | default true ) }}
-
{{ i18n "toc_heading" }}
+
{{ i18n "toc_heading" }}

{{ .TableOfContents }} diff --git a/layouts/index.html b/layouts/index.html index 81296de..5a1faf2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -29,7 +29,7 @@ document.documentElement.setAttribute('data-theme', theme); - + {{- partial "navigators/navbar.html" . -}} diff --git a/layouts/partials/cards/accomplishments.html b/layouts/partials/cards/accomplishments.html index a62fa22..27015b1 100644 --- a/layouts/partials/cards/accomplishments.html +++ b/layouts/partials/cards/accomplishments.html @@ -4,7 +4,7 @@
{{ .name }}
{{ .organization.name }} - {{ .timeline }} + {{ .timeline }}
@@ -12,7 +12,7 @@
diff --git a/layouts/partials/cards/post.html b/layouts/partials/cards/post.html index 99178bc..4426b7c 100644 --- a/layouts/partials/cards/post.html +++ b/layouts/partials/cards/post.html @@ -15,12 +15,12 @@ {{ end }}
diff --git a/layouts/partials/cards/publication.html b/layouts/partials/cards/publication.html index bdc7b21..2c238e1 100644 --- a/layouts/partials/cards/publication.html +++ b/layouts/partials/cards/publication.html @@ -12,11 +12,11 @@
{{ .title }}
{{ .publishedIn.name }} - {{ .publishedIn.date }} + {{ .publishedIn.date }}
{{ range $index,$author:= .authors }} - {{ .name }} + {{ .name }} {{ end }}
@@ -26,13 +26,13 @@ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 048074f..c04bd7a 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -66,7 +66,7 @@