Cookbookread more
Add a LinkedIn icon
Ananke has a pre-configured linkedin network, but the theme does not include a LinkedIn icon. If you add linkedin to your follow or share networks without an icon, the link does not show on your website.
Why the icon is missing #
LinkedIn belongs to Microsoft. Microsoft does not allow free use of its brand icons. Ananke uses Simple Icons for its social icons, and Simple Icons had to remove all Microsoft icons after a request from the Microsoft legal team. Because of this, Ananke cannot include the LinkedIn icon either. You must add the icon to your website yourself.
Cookbookread more
External Links
css
a.ananke-social-link[target="_blank"]::after {
content: "↗" / "Open in new window";
display: inline-block;
margin-inline-start: 0.25em;
font-size: 0.85em;
line-height: 1;
vertical-align: 0.1em;
}css
.new-window {
opacity: 0;
display: inline-block;
vertical-align: top;
}
.link-transition:hover .new-window{
opacity: 1;
}css
@supports (content: "x" / "y") {
.new-item::before {
content: "★" / "Highlighted Text:";
}
}
@supports not (content: "x" / "y") {
.new-item::before {
content: "★";
alt: "Highlighted Text:";
}
}Revealing URLs in print styles sheets #
css
@media print {
a[href^="http://"]:after,
a[href^="https://"]:after
{
content: ' (' attr(href) ')';
}
}custom counters #
css
ol {
list-style-type: none;
counter-reset: mylist;
}
li {
counter-increment: mylist;
}
li::before {
content: '🤤 ' counter(mylist) ': ';
}