From bd2697f3ee750c114abf7c8636cc08f99800d9e6 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 29 Sep 2022 09:43:25 +0800 Subject: [PATCH] doc: update home style. --- README.md | 10 ++++++++++ scripts/style.css | 29 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/README.md b/README.md index f8f7d2cd..483d4636 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,17 @@ Quick Reference [Quick Reference](./docs/quickreference.md) +## 看到缺少什么了吗? + +上面的列表没有看到你想要的? 您是否正在寻找一些备忘清单或参考资料,或者您有一些片段备忘清单要分享,这是一个最好的机会! + +[请求添加备忘单](https://github.com/jaywcjlove/reference/issues/new?title=备忘清单+请求%3A+&labels=request&template=cheatsheet-request.md&assignee=jaywcjlove) +[我有一张备忘单](https://github.com/jaywcjlove/reference/blob/main/CONTRIBUTING.md) + + + ## License MIT © [Kenny Wong](https://github.com/jaywcjlove) + diff --git a/scripts/style.css b/scripts/style.css index 437eef82..0876098e 100644 --- a/scripts/style.css +++ b/scripts/style.css @@ -187,6 +187,35 @@ body.home .h1wrap p { --bg-opacity: 1; } +.home-title-reset { + padding-right: 0 !important; +} +.home-title-reset::after { + width: initial !important; +} + +a.home-button { + padding-left: 1.5rem; + padding-right: 1.5rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + border-radius: 9999px; + line-height: 1.75rem; + margin-left: 1rem; + margin-right: 1rem; + --bg-opacity: 1; + background-color: rgb(10 147 102/var(--bg-opacity)); + --text-opacity: 1; + color: rgb(203 213 225/var(--text-opacity)); +} +a.home-button:hover { + --bg-opacity: 0.5; +} +a.text-grey { + --bg-opacity: 1; + background-color: rgb(56 76 109/var(--bg-opacity)); +} + .header-nav .max-container { padding-top: 1.8rem; }