diff --git a/docs/golang.html b/docs/golang.html index 0841d1fc..0872c1c9 100644 --- a/docs/golang.html +++ b/docs/golang.html @@ -849,7 +849,7 @@ -
+&+=&=&&==!=()
-|-=|=||<<=[]
*^*=^=<->>={}
/<</=<<=++=:=,;
%>>%=>>=--!....:
&^&^=
+
+&+=&=&&==!=()
-|-=|=||<<=[]
*^*=^=<->>={}
/<</=<<=++=:=,;
%>>%=>>=--!....:
&^&^=

另见

前端

-

+

-CSS 3 +CSS 3 @@ -107,21 +107,21 @@ Emmet - + -ES 6 +ES 6 Styled Components - + -Stylus - +Stylus + -Sass +Sass @@ -138,8 +138,8 @@ Lerna - -Less.js + +Less.js @@ -293,16 +293,16 @@ Github Actions - + -Colors Named +Colors Named HTTP 状态码 - + -HTML 字符实体 +HTML 字符实体 ISO 639-1 Language Code diff --git a/style/style.css b/style/style.css index 48147b7c..c5f200cd 100644 --- a/style/style.css +++ b/style/style.css @@ -365,7 +365,7 @@ body.home .max-container a.home-button:visited:hover { gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); } -.home-card a.contributing { +.home-card :is(a.contributing, a.tag) { position: relative; } .home-card a.contributing::after { @@ -380,6 +380,21 @@ body.home .max-container a.home-button:visited:hover { .home-card a.contributing:hover:after { color: var(--color-fg-muted); } +.home-card a.tag::before { + content: attr(data-lang); + display: block; + position: absolute; + font-size: 10px; + right: 6px; + top: 6px; + background: rgba(255 255 255 / 0.3); + border-radius: 3px; + padding: 1px 3px 2px 3px; + transition: all 0.3s; +} +.home-card a.tag:hover:before { + background: rgba(255 255 255 / 0.2); +} [data-color-mode*='light'] body .home-card a { --text-opacity: 0.75;