Skip to content

Commit

Permalink
feat: remove the underline at about page
Browse files Browse the repository at this point in the history
  • Loading branch information
Dagwbl committed Apr 13, 2024
1 parent 95eceeb commit 34b2fa5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion content/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ language: en
showToc: true
TocOpen: true
hidemeta: true
customcss: "/css/no-decoration.css"
---


Expand Down Expand Up @@ -51,7 +52,7 @@ hidemeta: true
## 👾 Others

- [ISO 2 Letter Language Codes — SitePoint](https://www.sitepoint.com/iso-2-letter-language-codes/)
- [🍎 Emojis Wiki — All Emoji Meanings 💪🌎🏆😘](https://emojis.wiki/)
- [Emojis Wiki — All Emoji Meanings 💪🌎🏆😘🍎](https://emojis.wiki/)

## 🎤 The Great Speeches

Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/extend_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/lxgw-wenkai-webfont/1.6.0/style.min.css" />
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/style.min.css" />

{{ with .Params.customcss }}<link rel="stylesheet" href="{{ . }}" />{{ end }}

<!-- busuanzi -->
{{- if .Site.Params.busuanzi.enable -}}
<!-- <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> -->
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/collopse.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
{{ warnf "missing value for param 'title': %s" .Position }}
{{ end }}
<p><details {{ if (eq (.Get "openByDefault") true) }} open=true {{ end }}>
<summary markdown="span" style="color: rgb(172, 190, 223);">{{ .Get "title" | markdownify }}</summary>
<summary markdown="span" style="color: gray;">{{ .Get "title" | markdownify }}</summary>
{{ .Inner | markdownify }}
</details></p>
4 changes: 4 additions & 0 deletions static/css/no-decoration.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
a {
text-decoration: none;
box-shadow: none !important;
}

0 comments on commit 34b2fa5

Please sign in to comment.