diff --git a/.ai_cache/service_config.json b/.ai_cache/service_config.json index 7915dfa..90cf27a 100644 --- a/.ai_cache/service_config.json +++ b/.ai_cache/service_config.json @@ -6,5 +6,5 @@ "gemini" ], "summary_language": "zh", - "check_time": "2025-06-06T19:19:56.275939" + "check_time": "2025-06-15T19:33:08.224030" } \ No newline at end of file diff --git a/.cache/plugin/git-committers/page-authors.json b/.cache/plugin/git-committers/page-authors.json index 363e1af..56bfa6f 100644 --- a/.cache/plugin/git-committers/page-authors.json +++ b/.cache/plugin/git-committers/page-authors.json @@ -1 +1 @@ -{"cache_date": "2025-06-06", "page_authors": {}} \ No newline at end of file +{"cache_date": "2025-06-15", "page_authors": {}} \ No newline at end of file diff --git a/README.md b/README.md index 6078769..9440c4b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Wcowin for MkDocs主题 -**- 基于Material for MkDocs美化** -**- 简洁美观,功能多元化** -**- 可自定义样式,中文教程详细** -**- 简单易上手,小白配置** -**- 𝕙𝕒𝕧𝕖 𝕒 𝕘𝕠𝕠𝕕 𝕥𝕚𝕞𝕖 !** +- **基于Material for MkDocs美化** +- **简洁美观,功能多元化** +- **可自定义样式,中文教程详细** +- **简单易上手,小白配置** +- **𝕙𝕒𝕧𝕖 𝕒 𝕘𝕠𝕠𝕕 𝕥𝕚𝕞𝕖 !** ## 目录 - [Wcowin for MkDocs主题](#wcowin-for-mkdocs主题) diff --git a/docs/about/assets/stylesheets/portfolio.css b/docs/about/assets/stylesheets/portfolio.css index b554679..aa454c0 100644 --- a/docs/about/assets/stylesheets/portfolio.css +++ b/docs/about/assets/stylesheets/portfolio.css @@ -350,7 +350,8 @@ h1, h2, h3, h4 { .skills__close .skills__list{ height: 0; - overflow: hidden; + /* overflow: hidden; */ + /* overflow: visible; */ } .skills__open .skills__list{ diff --git a/docs/about/geren.md b/docs/about/geren.md index beefa5d..83cf88b 100644 --- a/docs/about/geren.md +++ b/docs/about/geren.md @@ -234,7 +234,7 @@ status: new ## 个人简介 -

𝘿𝙤𝙣'𝙩 𝙘𝙖𝙧𝙚 𝙖𝙗𝙤𝙪𝙩 𝙬𝙤𝙧𝙡𝙙𝙡𝙮 𝙚𝙮𝙚𝙨 𝙩𝙤 𝙥𝙪𝙧𝙨𝙪𝙚 𝙮𝙤𝙪𝙧 𝙤𝙬𝙣 𝙡𝙞𝙜𝙝𝙩

+ @@ -246,12 +246,15 @@ status: new - [x] 清醒,知趣,明得失,知进退 - +## 人生态度 + +

𝘿𝙤𝙣'𝙩 𝙘𝙖𝙧𝙚 𝙖𝙗𝙤𝙪𝙩 𝙬𝙤𝙧𝙡𝙙𝙡𝙮 𝙚𝙮𝙚𝙨 𝙩𝙤 𝙥𝙪𝙧𝙨𝙪𝙚 𝙮𝙤𝙪𝙧 𝙤𝙬𝙣 𝙡𝙞𝙜𝙝𝙩

+ + + -## 联系我 - - + +## 联系我 + +=== "💬 微信" +
+
+ +
+

+

+ 📱 扫一扫上面的二维码,加我为好友 +

+
+ +=== "📧 邮箱" +
+
+

+ ✉️ 邮件联系 +

+
+ + :fontawesome-solid-paper-plane:   发送电子邮件 + +
+

+ 📬 邮箱地址:wangkewen821@gmail.com +

+

+ 有项目合作或技术问题?随时发邮件给我! +

+

+ 💡 一般在 24 小时内 回复,请耐心等待 +

+
+
+ +=== "🌐 社交" +
+
+

+ 🤝🏻社交媒体 +

+

+ 关注我的社交媒体,获取最新动态 +

+
+
+ + :fontawesome-brands-telegram: Telegram + + + :fontawesome-brands-twitter: Twitter + +
+
+ ![Image title](https://s1.imagehub.cc/images/2025/01/04/ac7fda1814bb1e18714f9dd9f5d87636.png){.img1 } +
+ +=== "📍 其他" +
+
+

+ 📍 其他平台联系 +

+

+ 欢迎通过下列平台了解我的更多工作和项目经历 +

+
+
+ +
+
🌟
+

GitHub

+ + :fontawesome-brands-github: 查看 GitHub + +
+ +
+
💼
+

LinkedIn

+ + :fontawesome-brands-linkedin: 查看档案 + +
+
+ +
+

+ 🚀 随时欢迎联系我,开启合作或交流! +

+

+ 无论是技术探讨、学习交流还是职业机会,我都乐意听见你的声音 😄 +

+
+
+ -??? tip "公众号" -
- ![Image title](https://s1.imagehub.cc/images/2025/01/04/ac7fda1814bb1e18714f9dd9f5d87636.png){.img1 } -
公众号
-
--- diff --git a/docs/about/sty/portfolio.css b/docs/about/sty/portfolio.css index 1f980cb..e69de29 100644 --- a/docs/about/sty/portfolio.css +++ b/docs/about/sty/portfolio.css @@ -1,596 +0,0 @@ -:root { - /* --header-height: 3rem; */ - - /*========== Colors ==========*/ - --first-color: #608DBD; - --first-color-second: #608DBD; - --first-color-alt: #608DBD; - --first-color-lighter: #608DBD; - - --title-color: #608DBD; - --text-color: #757575; - /* --text-color-light: #f5ab17; */ - - --input-color: #F5EEE3; - /* --body-color: #FDFBF8; - --container-color: #FFFFFF; */ - - /*========== Font and typography ==========*/ - --big-font-size: 2rem; - --h1-font-size: 1.5rem; - --h2-font-size: 1.25rem; - --h3-font-size: 1.125rem; - --normal-font-size: .938rem; - --small-font-size: .813rem; - --smaller-font-size: .70rem; - - /*========== Font weight ==========*/ - --font-medium: 500; - --font-semi-bold: 600; - - /*========== Margenes Bottom ==========*/ - --mb-0-25: .25rem; - --mb-0-5: .5rem; - --mb-0-75: .75rem; - --mb-1: 1rem; - --mb-1-5: 1.5rem; - --mb-2: 2rem; - --mb-2-5: 2.5rem; - --mb-3: 3rem; - - /*========== z index ==========*/ - /* --z-tooltip: 10; - --z-fixed: 100; - --z-modal: 1000; */ -} - -/* Font size for large devices */ -@media screen and (min-width: 968px) { - :root { - --big-font-size: 3rem; - --h1-font-size: 2.25rem; - --h2-font-size: 1.5rem; - --h3-font-size: 1.25rem; - --normal-font-size: 1rem; - --small-font-size: .875rem; - --smaller-font-size: .813rem; - } -} - -/*==================== BASE ====================*/ -html { - scroll-behavior: smooth; -} - -h1, h2, h3, h4 { - color: var(--title-color); - font-weight: var(--font-semi-bold); -} - -/*==================== REUSABLE CSS CLASSES ====================*/ -.section__title { - font-size: var(--h1-font-size); - color: var(--title-color); -} - -.section__subtitle { - display: block; - font-size: var(--small-font-size); - margin-bottom: var(--mb-3); -} - -.section__title, -.section__subtitle { - text-align: center; -} - -/*==================== LAYOUT ====================*/ -.container { - max-width: 768px; - margin-left: var(--mb-1-5); - margin-right: var(--mb-1-5); -} - -.grid { - display: grid; - gap: 1.5rem; -} - -.header { - width: 100%; - position: fixed; - bottom: 0; - left: 0; - z-index: var(--z-fixed); - background-color: var(--body-color); -} - -/*==================== HOME ====================*/ -.home__container { - gap: 1rem; -} - -.home__content { - grid-template-columns: .5fr 3fr; - padding-top: 3.5rem; - align-items: center; -} - -.home__social { - grid-template-columns: max-content; - row-gap: 1rem; -} - -.home__social-icon { - font-size: 1.25rem; -} - -.home__social-icon:hover { - color: var(--first-color-alt); -} - -.home__title { - font-size: var(--big-font-size); -} - -.home__subtitle { - margin-bottom: var(--h3-font-size); - color: var(--text-color); - font-weight: var(--font-medium); - margin-bottom: var(--mb-0-75); -} - -.home__description { - margin-bottom: var(--mb-2); -} - -/*==================== BUTTONS ====================*/ -.button { - display: inline-block; - background-color: var(--first-color-alt); - color: #fff; - padding: 1rem; - border-radius: .5rem; - font-weight: var(--font-medium); -} - -.button:hover { - background-color: var(--first-color-alt); -} - -.button__icon { - font-size: 1.25rem; - margin-right: var(--mb-0-5); - transition: .3s; - color: #FFF; -} - -.button--flex { - display: inline-flex; - align-items: center; -} - -.button--small { - padding: .75rem 1rem; -} - -.button--link { - padding: 0; - background-color: transparent; - color: var(--first-color); -} - -.button--link:hover { - background-color: transparent; - color: var(--first-color-alt); -} - -/*==================== ABOUT ====================*/ -.about__img { - width: 400px; - border-radius: .5rem; - justify-self: center; - align-self: center; -} - -.about__description { - text-align: center; - margin-bottom: var(--mb-2-5); -} - -.about__info { - display: flex; - justify-content: space-evenly; - margin-bottom: var(--mb-2-5); -} - -.about__info-title { - font-size: var(--h2-font-size); - font-weight: var(--font-semi-bold); - color: var(--title-color); -} - -.about__info-name { - font-size: var(--smaller-font-size); -} - -.about__info-title, -.about__info-name { - display: block; - text-align: center; -} - -.about__buttons { - margin: 0 auto; - display: flex; - justify-content: center; - align-items: center; -} - -/*==================== SKILLS ====================*/ -.skills__container { - row-gap: 0; -} - -.skills__header { - display: flex; - align-items: center; - margin-bottom: var(--mb-2-5); - cursor: pointer; -} - -.skills__icon, -.skills__arrow { - font-size: 2rem; - color: #757575; -} - -.skills__icon { - margin-right: var(--mb-0-75); -} - -.skills__title { - font-size: var(--h3-font-size); -} - -.skills_subtitle { - font-size: var(--small-font-size); - color: var(--text-color-light); -} - -.skills__arrow { - margin-left: auto; - transition: .4s; -} - -.skills__list { - row-gap: 1.5rem; - padding-left: 2.7rem; -} - -.skills__titles { - display: flex; - justify-content: space-between; - margin-bottom: var(--mb-0-5); -} - -.skills__name { - font-size: var(--normal-font-size); - font-weight: var(--font-medium); -} - -.skills__number { - margin-top: var(--mb-2-5); -} - -.skills__bar, -.skills__percentage { - height: 5px; - border-radius: .25rem; -} - -.skills__bar { - background-color: var(--first-color-lighter); -} - -.skills__percentage { - display: block; - background-color: var(--first-color); -} - -.skills__fastapi { - width: 90%; -} - -.skills__django { - width: 85%; -} - -.skills__flask { - width: 75%; -} - -.skills__spring { - width: 75%; -} - -.skills__androidjava { - width: 70%; -} - -.skills__androidkotlin { - width: 60%; -} - -.skills__flutter { - width: 60%; -} - -.skills__aws { - width: 80%; -} - -.skills__azure { - width: 75%; -} - -.skills__oc { - width: 70%; -} - -.skills__cicd { - width: 75%; -} - -.skills__close .skills__list { - height: 0; - overflow: hidden; -} - -.skills__open .skills__list { - height: max-content; - margin-bottom: var(--mb-2-5); -} - -.skills__open .skills__arrow { - transform: rotate(-180deg); -} - -/*==================== QUALIFICATION ====================*/ -.qualification__tabs { - display: flex; - justify-content: space-evenly; - margin-bottom: var(--mb-2); -} - -.qualification__button { - font-size: var(--h3-font-size); - font-weight: var(--font-medium); - cursor: pointer; -} - -.qualification__button:hover { - color: var(--first-color); -} - -.qualification__icon { - font-size: 1.8rem; - margin-right: var(--mb-0-25); -} - -.qualification__data { - display: grid; - grid-template-columns: 1fr max-content 1fr; - column-gap: 0.5rem; -} - -.qualification__data > div:first-child { - text-align: center; -} -.qualification__data > div:last-child { - text-align: center; -} - - -.qualification__title { - font-size: var(--normal-font-size); - font-weight: var(--font-medium); -} - -.qualification__subtitle { - display: inline-block; - font-size: var(--smaller-font-size); - margin-bottom: var(--mb-1); -} - -.qualification__calendar { - font-size: var(--smaller-font-size); - color: var(--md-primary-fg-color--dark); -} - -.qualification__rounder { - display: inline-block; - width: 13px; - height: 13px; - background-color: var(--md-primary-fg-color); - border-radius: 50%; -} - -.qualification__line { - display: block; - width: 1px; - height: 100%; - background-color: var(--md-primary-fg-color); - transform: translate(6px, -7px); -} - -.qualification [data-content] { - display: none; -} - -.qualification__active[data-content] { - display: block; -} - -.qualification__button.qualification__active { - color: var(--first-color); -} - -/*==================== MEDIA QUERIES ====================*/ -/* For small devices */ -@media screen and (max-width: 350px) { - .container { - margin-left: var(--mb-1); - margin-right: var(--mb-1); - } - - .home__content { - grid-template-columns: .25fr 3fr; - } - - .home__blob { - width: 180px; - } - - .skills__title { - font-size: var(--normal-font-size); - } - - .qualification__data { - gap: .5rem; - } -} - -/* For medium devices */ -@media screen and (min-width: 568px) { - .home__content { - grid-template-columns: max-content 1fr 1fr; - } - - .home__data { - grid-column: initial; - } - - .home__img { - order: 1; - justify-self: center; - } - - .skills__container, - .about__container, - .portfolio__content, - .project__container { - grid-template-columns: repeat(2, 1fr); - } - - .qualification__sections { - display: grid; - grid-template-columns: 6fr; - justify-content: center; - } -} - -@media screen and (min-width: 768px) { - .container { - margin-left: auto; - margin-right: auto; - } - - body { - margin: 0; - } - - .section { - padding: 2rem 0 1rem; - } - - .section__subtitle { - margin-bottom: 4rem; - } - - .header { - top: 0; - bottom: initial; - } - - .header, - .main { - padding: 0 1rem; - } - - .home__container { - row-gap: 5rem; - } - - .home__content { - padding-top: 5.5rem; - column-gap: 2rem; - } - - .home__blob { - width: 270px; - } - - .home__scroll { - display: block; - } - - .home__scroll-button { - margin-left: 3rem; - } - - .about__container { - column-gap: 5rem; - } - - .about__img { - width: 350px; - } - - .about__description { - text-align: initial; - } - - .about__info { - justify-content: space-between; - } - - .about__buttons { - justify-content: initial; - } - - .qualification__tabs { - justify-content: center; - } - - .qualification__button { - margin: 0 var(--mb-1); - } - - .qualification__sections { - grid-template-columns: .5fr; - } -} - -/* For large devices */ -@media screen and (min-width: 1024px) { - .header, - .main { - padding: 0; - } - - .home__blob { - width: 320px; - } - - .home__social { - transform: translateX(-6rem); - } - - .qualification__sections { - display: grid; - grid-template-columns: 6fr; - justify-content: center; - } -} - diff --git a/docs/blog/posts/HelloWorld.md b/docs/blog/posts/HelloWorld.md index 6eba1c2..4ccb834 100644 --- a/docs/blog/posts/HelloWorld.md +++ b/docs/blog/posts/HelloWorld.md @@ -7,6 +7,7 @@ description: > a blog alongside your documentation or standalone categories: - Hello World +hide_reading_time: true --- diff --git a/docs/blog/posts/update2022.md b/docs/blog/posts/update2022.md index 0f0376f..6e54e99 100644 --- a/docs/blog/posts/update2022.md +++ b/docs/blog/posts/update2022.md @@ -5,6 +5,7 @@ date: 2022-06-06 categories: - 网站更新记录 readtime: 2 +hide_reading_time: true --- ##

2022-10-20

diff --git a/docs/blog/posts/update2023.md b/docs/blog/posts/update2023.md index dc4ba47..3b548f1 100644 --- a/docs/blog/posts/update2023.md +++ b/docs/blog/posts/update2023.md @@ -5,6 +5,7 @@ date: 2023-12-21 categories: - 网站更新记录 readtime: 2 +hide_reading_time: true --- ##

2023-12-21

diff --git a/docs/blog/posts/update2024.md b/docs/blog/posts/update2024.md index 9908356..ff0e039 100644 --- a/docs/blog/posts/update2024.md +++ b/docs/blog/posts/update2024.md @@ -5,6 +5,7 @@ date: 2024-01-01 categories: - 网站更新记录 readtime: 2 +hide_reading_time: true --- ##

2024-12-24

* 优化网站流畅度(玄学) diff --git a/docs/blog/posts/update2025.md b/docs/blog/posts/update2025.md index e8fd6e5..a6efb1a 100644 --- a/docs/blog/posts/update2025.md +++ b/docs/blog/posts/update2025.md @@ -5,6 +5,7 @@ date: 2025-01-01 categories: - 网站更新记录 readtime: 2 +hide_reading_time: true --- ##

2025-04-30

* 优化网站流畅度(玄学) diff --git a/docs/link.md b/docs/link.md index 2707ca9..4bf6234 100644 --- a/docs/link.md +++ b/docs/link.md @@ -37,7 +37,7 @@ t.parentNode.insertBefore(e,t)}})();

- Wcowin's Blog + Wcowin's Blog
“循此苦旅,以达星辰” diff --git a/docs/overrides/hooks/__pycache__/reading_time.cpython-311.pyc b/docs/overrides/hooks/__pycache__/reading_time.cpython-311.pyc index 1a2e144..93fb7f2 100644 Binary files a/docs/overrides/hooks/__pycache__/reading_time.cpython-311.pyc and b/docs/overrides/hooks/__pycache__/reading_time.cpython-311.pyc differ diff --git a/docs/overrides/hooks/reading_time.py b/docs/overrides/hooks/reading_time.py index cbf4ff7..b169c3a 100644 --- a/docs/overrides/hooks/reading_time.py +++ b/docs/overrides/hooks/reading_time.py @@ -13,6 +13,7 @@ EXCLUDE_PATTERNS = [ re.compile(r'waline\.md$'), re.compile(r'link\.md$'), re.compile(r'404\.md$'), + re.compile(r'liuyanban\.md$'), ] # 优化的字符统计正则表达式 diff --git a/docs/stylesheets/customize.css b/docs/stylesheets/customize.css index d315d88..2323fca 100644 --- a/docs/stylesheets/customize.css +++ b/docs/stylesheets/customize.css @@ -1,7 +1,7 @@ :root { --admonition-border-left-width: 0.2rem; - --base-border-radius: 0.5rem; - --card-hover-shadow: 0 0 0.2rem #ffffff40; + --base-border-radius: 1rem; + /* --card-hover-shadow: 0 0 0.2rem #ffffff40; */ } /* 卡片圆角与悬浮阴影 */ @@ -20,12 +20,20 @@ } /* 搜索框及下拉结果圆角 */ -.md-search__form, -[data-md-toggle="search"]:checked ~ .md-header .md-search__form, -[dir="ltr"] .md-search__output { +.md-search__form { border-radius: var(--base-border-radius); } +[data-md-toggle="search"]:checked ~ .md-header .md-search__form { + border-top-right-radius: var(--base-border-radius); + border-top-left-radius: var(--base-border-radius); +} + +[dir="ltr"] .md-search__output { + border-bottom-right-radius: var(--base-border-radius); + border-bottom-left-radius: var(--base-border-radius); +} + /* 可选:如需恢复代码块、警告框等样式,取消注释即可 */ /* .highlight span.filename { @@ -54,10 +62,10 @@ */ /* 可选:博客相关样式,按需启用 */ -/* -.md-post--excerpt { - background-color: var(--md-accent-fg-color--transparent); - box-shadow: 0 0 0 1rem var(--md-accent-fg-color--transparent); + +/* .md-post--excerpt { + background-color: rgba(68,138,255,.1); + box-shadow: 0 0 0 1rem rgba(68,138,255,.1); border-radius: var(--base-border-radius); } .md-post--excerpt .md-post__header { @@ -66,5 +74,15 @@ .md-post--excerpt .md-post__content > h2, .md-post__action { text-align: left; +} */ + + +/* 让所有admonition(包括!!! tip)圆角化且更自然 */ +.md-typeset .admonition, +.md-typeset details { + border-radius: 1.5em; + box-shadow: 0 2px 12px 0 rgba(60,60,60,0.07); + transition: border-radius 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.3s; + overflow: hidden; } -*/ \ No newline at end of file + diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index e549e41..1526947 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -271,8 +271,8 @@ height: 100%; } #rcorners4 { - border-radius: 25px; - border: 2px solid #518FC1; + border-radius: 32px; + border: 2px solid rgba(68,138,255,.1); padding: 20px; width: 110%; height: 100%; diff --git a/mkdocs.yml b/mkdocs.yml index c54c386..75ced3f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -291,11 +291,11 @@ extra_javascript: extra_css: - stylesheets/extra.css # 自定义CSS - - https://cdn.jsdelivr.net/gh/Wcowin/Mkdocs-Wcowin@main/docs/stylesheets/extra.css + # - https://cdn.jsdelivr.net/gh/Wcowin/Mkdocs-Wcowin@main/docs/stylesheets/extra.css # - stylesheets/link.css #友链配置 - https://cdn.jsdelivr.net/gh/Wcowin/Wcowin.github.io@main/docs/stylesheets/link.css #友链CDN - # - stylesheets/customize.css # 搜索圆角优化 - - https://cdn.jsdelivr.net/gh/Wcowin/Wcowin.github.io@main/docs/stylesheets/customize.css #按钮圆角化CDN + - stylesheets/customize.css # 搜索圆角优化 + # - https://cdn.jsdelivr.net/gh/Wcowin/Wcowin.github.io@main/docs/stylesheets/customize.css #按钮圆角化CDN # - assets/stylesheets/portfolio.css # - stylesheets/video.css #播放器可选配置 # - https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.css #gitalk支持