diff --git a/404.md b/404.md new file mode 100755 index 0000000..3432a3f --- /dev/null +++ b/404.md @@ -0,0 +1,4 @@ +--- +layout: oops +title: Oops... +--- diff --git a/LICENSE b/LICENSE index db0a389..8622d8e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ The MIT License (MIT) -Copyright (c) 2022 Leo Deng +Copyright (c) 2023 Leo Deng Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/README.md b/README.md index 0121ecc..542537b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Object.prototype.toString.call(dg) // "[object WebDev]" ``` -Leo Deng © 2022 +Leo Deng © 2023 avatar: png: /assets/avatar.png svg: /assets/avatar.svg - anim: /assets/avatar-animation.svg + anima: /assets/avatar-animation.svg social: - id: github url: https://github.com/myst729 - id: stackoverflow url: https://stackoverflow.com/users/1032492 + - id: twitter + url: https://twitter.com/myst729 social_inactive: - id: weibo diff --git a/_includes/foot.html b/_includes/footer.html similarity index 86% rename from _includes/foot.html rename to _includes/footer.html index a5738fd..d506580 100644 --- a/_includes/foot.html +++ b/_includes/footer.html @@ -1,5 +1,5 @@ {% for javascript in page.js %} - + {% endfor %} @@ -9,7 +9,7 @@ - diff --git a/_layouts/default.html b/_layouts/default.html index df2ffab..e63aee6 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,12 +2,12 @@ {% include head.html %} - {% include top.html %} + {% include header.html %}
{{ content }}
- {% include foot.html %} + {% include footer.html %} diff --git a/404.html b/_layouts/oops.html similarity index 73% rename from 404.html rename to _layouts/oops.html index 1ba62d6..ece8266 100755 --- a/404.html +++ b/_layouts/oops.html @@ -1,9 +1,8 @@ --- layout: default -title: '404: Page not found' ---
-

404: Page not found

+

Oops...

Sorry, we’ve misplaced that URL or it’s pointing to something that doesn’t exist. Head back home to try finding it again.

diff --git a/_layouts/post.html b/_layouts/post.html index 940bf37..e4d796a 100755 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -8,7 +8,7 @@

{{ page.title }}

{{ page.tag[0] }} {{ page.date }}
-
+
{{ content }}
diff --git a/_layouts/splash.html b/_layouts/splash.html index 9dae150..4b3b262 100755 --- a/_layouts/splash.html +++ b/_layouts/splash.html @@ -72,7 +72,7 @@ user-select: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } - .slider { + .theme-switch-slider { box-sizing: border-box; display: flex; align-items: center; @@ -85,7 +85,7 @@ opacity: .75; transition: background-color ease-out .3s, opacity ease-out .3s; } - .slider:before { + .theme-switch-slider:before { content: ''; background-color: var(--color-reverse); border-radius: 8px; @@ -93,14 +93,14 @@ height: 16px; transition: background-color ease-out .3s, transform ease-out .3s; } - #toggle { + #theme-switch-toggle { display: none; } - #toggle:checked + .slider:before { + #theme-switch-toggle:checked + .theme-switch-slider:before { transform: translateX(24px); } @media (hover: hover) { - .slider:hover { + .theme-switch-slider:hover { opacity: 1; } } @@ -116,7 +116,7 @@

{% include switch-lite.html %} -