feat: add css.md cheatsheet.

This commit is contained in:
jaywcjlove
2022-10-16 01:21:33 +08:00
parent dcb0c1667c
commit 9832aea099
7 changed files with 1405 additions and 12 deletions

View File

@ -1,3 +1,6 @@
html {
scroll-behavior: smooth;
}
body {
-webkit-text-size-adjust: 100%;
tab-size: 4;
@ -298,6 +301,9 @@ body.home .h1wrap .wrap-body p {
text-indent: 2rem;
}
body:not(.home) .h2wrap > .wrap-body > ul {
list-style: initial;
}
body.home .h1wrap p {
text-align: left;
@ -493,22 +499,21 @@ body:not(.home) .h3wrap > h3 a::after {
font-size: 1rem;
display: none;
}
body:not(.home) .h3wrap > h3:hover a::after {
body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
display: initial;
}
.wrap-header.h3wrap {
z-index: 0;
display: flex;
height: 100%;
width: 100%;
flex-direction: column;
flex: 1;
}
.wrap-header.h3wrap > h3 {
position: sticky;
float: right;
margin-top: -24px;
color: rgb(226 232 240/1);
position: absolute;
right: 0px;
top: 0px;
z-index: 10;
border-top-right-radius: 0.5rem;