feat: add html.md cheatsheet.

This commit is contained in:
jaywcjlove
2022-10-12 14:56:55 +08:00
parent c661cfa852
commit 03a4241228
5 changed files with 914 additions and 6 deletions

3
scripts/assets/html.svg Normal file
View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 1024 1024" height="1em" width="1em">
<path d="m145.2 96 66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z"/>
</svg>

After

Width:  |  Height:  |  Size: 415 B

View File

@ -117,10 +117,7 @@ body {
}
*, ::before, ::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
box-sizing: border-box;
}
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
@ -399,6 +396,7 @@ a.text-grey {
padding-bottom: 0.5rem;
border-radius: 9999px;
transition: all .3s;
border: 0;
}
.header-nav .menu {
@ -654,6 +652,9 @@ body:not(.home) .h2wrap > h2 a::after {
}
.h3wrap hr, .h3wrap-body hr {
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
border-bottom: 1px solid var(--color-border-default);
}