Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
add external link sign
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe committed Apr 10, 2024
1 parent 5a91746 commit 09b5311
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions app/assets/stylesheets/application.tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ dd {
/*
* https://christianoliff.com/blog/styling-external-links-with-an-icon-in-css/
*/
/* a[href^="http"]::after, */
/* a[href^="https://"]::after */
/* { */
/* content: ""; */
/* width: 9px; */
/* height: 9px; */
/* margin-left: 3px; */
/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E"); */
/* background-position: center; */
/* background-repeat: no-repeat; */
/* background-size: contain; */
/* display: inline-block; */
/* target: new; */
/* } */
/**/
/* a[href^="https://darwinia.network"]::after */
/* { */
/* display: none !important; */
/* } */
a[href^="http"]::after,
a[href^="https://"]::after
{
content: "";
width: 9px;
height: 9px;
margin-left: 3px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
background-position: center;
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
target: new;
}

a[href^="https://darwinia.network"]::after
{
display: none !important;
}

0 comments on commit 09b5311

Please sign in to comment.