diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-21 14:56:33 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-21 14:56:33 +0800 |
| commit | 5b8b8241f30ca5f5571fbf752b66c80c1b82130f (patch) | |
| tree | 287deae6de8f50a929a1ecc1164af018e297b25e /assets/css/common | |
| parent | a10cac81837cc9bfad04a939c42eaf6a994415f5 (diff) | |
add link hover style to social icons
Diffstat (limited to 'assets/css/common')
| -rw-r--r-- | assets/css/common/main.css | 12 | ||||
| -rw-r--r-- | assets/css/common/post-entry.css | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/assets/css/common/main.css b/assets/css/common/main.css index 22dc39c..e4ceabc 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -36,14 +36,24 @@ padding: 12px 0; } +.social-icons a { + display: inline-block; + line-height: 20px; + transition: var(--link-transition); +} + .social-icons a:not(:last-of-type) { - margin-inline-end: 12px; + margin-right: 12px; } .social-icons a svg { height: 26px; width: 26px; } +.social-icons a:hover { + color: var(--link-hover-color); + box-shadow: var(--link-hover-underline-shadow); +} code { direction: ltr; diff --git a/assets/css/common/post-entry.css b/assets/css/common/post-entry.css index 272d4af..2602ec5 100644 --- a/assets/css/common/post-entry.css +++ b/assets/css/common/post-entry.css @@ -57,7 +57,7 @@ .entry-header h2 { font-size: 24px; line-height: 1.3; - transition: all 0.3s ease; + transition: var(--link-transition); display: inline-block; } |
