From 9a5e90d6e612bb80b21c743030210c5c4b24b4c3 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 6 Oct 2022 12:10:56 +0800 Subject: [PATCH] feat: update `quickreference.md`. --- docs/quickreference.md | 34 ++++++++++++++++++++++++++-- scripts/assets/xpath.svg | 4 ++++ scripts/style.css | 49 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 scripts/assets/xpath.svg diff --git a/docs/quickreference.md b/docs/quickreference.md index 7e1b8e7..dc47b5f 100644 --- a/docs/quickreference.md +++ b/docs/quickreference.md @@ -1,7 +1,7 @@ Quick Reference 备忘清单 === -这是您可以在 Quick Reference 备忘单上使用的样式参考,快速参与贡献! +这是您可以在 Quick Reference 备忘单上使用的样式参考,快速参与[贡献](https://github.com/jaywcjlove/reference/blob/main/CONTRIBUTING.md)! 入门 --- @@ -72,7 +72,6 @@ HTML 存放在仓库根目录下的 `dist` 目录中,将 `dist/index.html` 静 ``` - #### 参数说明 类 | 说明 @@ -584,6 +583,25 @@ H2 部分 `` +### 列表步骤 + + +- **重命名为 new_name** + ```bash + $ git branch -m + ``` +- 推送和**重置** + ```bash + $ git push origin -u + ``` +- 删除远程分支 + ```bash + $ git push origin --delete + ``` + + +`` + ### 没有标记 - Item 1 @@ -592,10 +610,22 @@ H2 部分 - Item 4 - Item 5 - Item 6 +- Item 7 +- Item 8 +- Item 9 `` +### 圆圈标记 + +- Item 1 +- Item 2 +- Item 3 + + +`` + H2 部分 - 5列效果展示 --- diff --git a/scripts/assets/xpath.svg b/scripts/assets/xpath.svg new file mode 100644 index 0000000..bcb3301 --- /dev/null +++ b/scripts/assets/xpath.svg @@ -0,0 +1,4 @@ + + + + diff --git a/scripts/style.css b/scripts/style.css index a7e0a47..ef9f2d9 100644 --- a/scripts/style.css +++ b/scripts/style.css @@ -576,6 +576,55 @@ body:not(.home) .h2wrap > h2 a::after { position: relative; } +.h2wrap-body ul.style-timeline { + counter-reset: stepCount; +} +.h2wrap-body ul.style-timeline li:first-child:before { + background-color: #228e6c; + color: rgb(226 232 240/1); +} +.h2wrap-body ul.style-timeline li::before { + color: #228e6c; + background-color: #fff; + counter-increment: stepCount; + content: counter(stepCount); + border-radius: initial; + border-radius: 0.5rem; + height: 1.5rem; + width: 1.5rem; + text-align: center; + font-size: 0.875rem; + line-height: 1.30rem; + border: 2px solid #228e6c; + top: -1px; + left: -14px; +} +.h2wrap-body ul.style-timeline li:last-child { + border-image: linear-gradient(to bottom,#228e6c,rgba(0,0,0,0)) 1 100%; +} +.h2wrap-body ul.style-timeline li { + border-bottom: 0 !important; + padding-top: 0 !important; + padding-bottom: 25px !important; + border-left: 2px solid #228e6c; + margin-left: 30px; +} +.h2wrap-body ul.style-timeline li > pre { + padding: 0 !important; + padding-top: 10px !important; + height: initial !important; +} + +.h2wrap-body ul.style-round li::before { + border-radius: 9999px; + border-width: 2px; + height: 0.5rem; + width: 0.5rem; + border-color: #228e6c; + background: transparent; + top: 14px; +} + .wrap-body ul:last-child { margin-bottom: 0; }