all repos — h3rald @ 860bfa83486bbf193d0404bbc6bc662297bb47e8

The sources of https://h3rald.com

Fixed external link styling.
h3rald h3rald@h3rald.com
Thu, 22 Feb 2024 21:17:44 +0000
commit

860bfa83486bbf193d0404bbc6bc662297bb47e8

parent

e82e592cecb76d9ac2df1b4c75eb6c92a591b03a

3 files changed, 17 insertions(+), 3 deletions(-)

jump to
A assets/images/entypo/external-link.svg

@@ -0,0 +1,8 @@

+<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" id="Forward" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve"> +<path fill="#e96363" d="M12,11.874v4.357l7-6.69l-7-6.572v3.983c-8.775,0-11,9.732-11,9.732C3.484,12.296,7.237,11.874,12,11.874z" + /> +</svg>
M assets/images/entypo/forward.svgassets/images/entypo/forward.svg

@@ -3,6 +3,6 @@ <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Forward" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve"> -<path fill="#FFFFFF" d="M12,11.874v4.357l7-6.69l-7-6.572v3.983c-8.775,0-11,9.732-11,9.732C3.484,12.296,7.237,11.874,12,11.874z" +<path fill="#e96363" d="M12,11.874v4.357l7-6.69l-7-6.572v3.983c-8.775,0-11,9.732-11,9.732C3.484,12.296,7.237,11.874,12,11.874z" /> </svg>
M assets/styles/style.cssassets/styles/style.css

@@ -316,7 +316,13 @@ display: inline;

} a[href^=http]::after { - content: "\293B"; + background-image: url("/images/entypo/external-link.svg"); + display: inline-block; + background-repeat: no-repeat; + content: ""; + background-size: 12px 12px; + width: 12px; + height: 12px; } .content {

@@ -614,7 +620,7 @@ text-decoration: none;

} a[href^=http].icon-link::after { - content: ""; + display: none; } .icon-link img {