diff --git a/src/_includes/post.njk b/src/_includes/post.njk index cf65064..c90ad07 100644 --- a/src/_includes/post.njk +++ b/src/_includes/post.njk @@ -22,7 +22,7 @@ eleventyComputed: {% endif %} -
+

Responses

{% if post.comments.like | length %} diff --git a/src/css/exceptions/responses.css b/src/css/exceptions/responses.css new file mode 100644 index 0000000..df015fd --- /dev/null +++ b/src/css/exceptions/responses.css @@ -0,0 +1,11 @@ +[data-section="responses"] { + a[target="_blank"] { + display: inline; + padding: 0; + position: initial; + + &::after { + display: none; + } + } +} \ No newline at end of file diff --git a/src/css/globals.css b/src/css/globals.css index ace76f8..ab816f3 100644 --- a/src/css/globals.css +++ b/src/css/globals.css @@ -81,6 +81,12 @@ a { color: inherit; } + &[target="_blank"] { + padding-right: 1.5ch; + display: inline-block; + position: relative; + } + &[target="_blank"]::after { content: " \f08e"; font-family: "font awesome 6 free"; @@ -91,6 +97,11 @@ a { -webkit-font-smoothing: antialiased; font-size: var(--text-size-xs); vertical-align: super; + width: 2ch; + padding: 0 .3ch; + display: inline-block; + position: absolute; + right: 0; } }