diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-10-01 14:06:04 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-10-01 14:23:15 +0530 |
| commit | 0e48338a7dd7d6fb72f7808d634c4379aefdac44 (patch) | |
| tree | 83412d28d391ae30331eea55bf041f5417fcbc81 /assets/css | |
| parent | 82c4230c43624fe72fbf972cac971d8179e8be78 (diff) | |
share-icons: improvements
* rm translatable text
* svg: rm redundant attributes
* css: add x-scroll, - backgroud, + border
* misc
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/post-single.css | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 2c9a4ed..84f1671 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -253,22 +253,31 @@ } .share-buttons { - margin: 4px 0; - text-align: center; - background: var(--code-bg); + margin-top: var(--gap); + border: 1px solid var(--tertiary); + padding: var(--radius); border-radius: var(--radius); - margin-top: 24px; + display: flex; + overflow-x: auto; } -.share-button-single svg { - fill: currentColor; +.share-buttons a { + margin-top: 10px; +} + +.share-buttons a:not(:last-of-type) { + margin-right: 12px; +} + +.share-buttons a svg { height: 30px; width: 30px; - margin: 0 10px; + fill: currentColor; + transition: transform 0.1s; } -.share-button-single:hover svg { - opacity: 0.9; +.share-buttons svg:hover { + transform: scale(0.96); } @media screen and (max-width: 600px) { |
