mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-19 21:51:20 +08:00
doc: update home style. bd2697f3ee
This commit is contained in:
@ -37,8 +37,12 @@
|
||||
</p><!--rehype:class=home-card-->
|
||||
</div></div></div><div class="wrap"><div class="wrap-header h2wrap"><h2>其它</h2><div class="wrap-body">
|
||||
<p class="home-card"><a href="./docs/quickreference.html" style="background: rgb(16 185 129/var(\-\-bg\-opacity));">Quick Reference</a><!--rehype:style=background: rgb(16 185 129/var(\-\-bg\-opacity));--></p><!--rehype:class=home-card-->
|
||||
</div></div></div><div class="wrap"><div class="wrap-header h2wrap"><h2>License</h2><div class="wrap-body">
|
||||
<p>MIT © <a href="https://github.com/jaywcjlove">Kenny Wong</a></p>
|
||||
</div></div></div><div class="wrap" style="text-align: center;max-width: 650px;margin: 0 auto;padding-top:4rem;"><div class="wrap-header h2wrap"><h2 class="home-title-reset">看到缺少什么了吗?</h2><div class="wrap-body"><!--rehype:wrap-style=text-align: center;max-width: 650px;margin: 0 auto;padding-top:4rem;&class=home-title-reset-->
|
||||
<p>上面的列表没有看到你想要的? 您是否正在寻找一些备忘清单或参考资料,或者您有一些片段备忘清单要分享,这是一个最好的机会!</p>
|
||||
<p style="margin-top:3rem">
|
||||
<a href="https://github.com/jaywcjlove/reference/issues/new?title=%E5%A4%87%E5%BF%98%E6%B8%85%E5%8D%95+%E8%AF%B7%E6%B1%82%3A+&labels=request&template=cheatsheet-request.md&assignee=jaywcjlove" class="home-button" style="margin-top:2rem">请求添加备忘单</a><!--rehype:class=home-button&style=margin-top:2rem-->
|
||||
<a href="https://github.com/jaywcjlove/reference/blob/main/CONTRIBUTING.md" class="home-button text-grey">我有一张备忘单</a><!--rehype:class=home-button text-grey-->
|
||||
</p><!--rehype:style=margin-top:3rem-->
|
||||
|
||||
</div></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 Kenny Wang, All rights reserved.</footer></footer></body>
|
||||
</html>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user