diff --git a/src/layouts/_default/single.html b/src/layouts/_default/single.html index 7b83575..8033407 100644 --- a/src/layouts/_default/single.html +++ b/src/layouts/_default/single.html @@ -20,9 +20,9 @@ {{ partial "sidebar" . }} @@ -53,15 +53,34 @@ .share-links { position: fixed; - left: 0; + left: -15px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; + z-index: 100; } .share-links a { - margin-bottom: 10px; + margin-bottom: 2px; + border: 1px solid #949494; + width: 40px; + height: 40px; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + background-color: #1a1a1a; +} + +.share-links a:hover { + color: #1a1a1a; + background-color: #00ffd0; +} + +.share-links a i { + display: inline-block; + vertical-align: middle; }