mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-13 18:31:36 -05:00
Remove share buttons
About 0.19% of visitors in the past 12 months have clicked the share buttons at all. The code is a little ugly, and it wastes a tiny bit of space at the bottom of the page. I don't think it's really worth having. And I think people probably print a page through the browser UI anyways.
This commit is contained in:
@@ -668,43 +668,6 @@ footer p {
|
||||
padding: 8px 15px;
|
||||
}
|
||||
|
||||
/* Social media share buttons */
|
||||
|
||||
.share-buttons {
|
||||
background: var(--background-1);
|
||||
color: var(--text-1);
|
||||
margin: 25px 0;
|
||||
padding: 8px 0;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.share-buttons a {
|
||||
background-color: var(--background-2);
|
||||
color: var(--text-2);
|
||||
padding: 4px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.share-buttons a:hover {
|
||||
background-color: var(--background-3);
|
||||
color: var(--text-3);
|
||||
}
|
||||
|
||||
.share-buttons svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* https://stackoverflow.com/a/72073682/19003757 */
|
||||
/*
|
||||
.telegram-share > svg {
|
||||
transform: scale(1.5);
|
||||
margin: 9px -9px -9px 9px;
|
||||
}
|
||||
*/
|
||||
|
||||
/* See also formating */
|
||||
.see-also {
|
||||
background-color: var(--background-1);
|
||||
@@ -937,7 +900,6 @@ aside.quote {
|
||||
.post-meta-view-markdown,
|
||||
.code-copy-button,
|
||||
.prevnext,
|
||||
.share-buttons,
|
||||
.related-posts {
|
||||
display: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user