Make stuff respect root font-size better
This commit is contained in:
13
sass/_external.scss
Normal file
13
sass/_external.scss
Normal file
@ -0,0 +1,13 @@
|
||||
.external::after {
|
||||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' %3E%3Cpath d='m6 6 5-5M7 1h4v4M4 2H3a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V8' style='fill:none;stroke:black;stroke-linejoin:round;stroke-linecap:round;stroke-width:2;stroke-dasharray:none'/%3E%3C/svg%3E");
|
||||
-webkit-mask-size: cover;
|
||||
display: inline-block;
|
||||
opacity: 0.6;
|
||||
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' %3E%3Cpath d='m6 6 5-5M7 1h4v4M4 2H3a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V8' style='fill:none;stroke:black;stroke-linejoin:round;stroke-linecap:round;stroke-width:2;stroke-dasharray:none'/%3E%3C/svg%3E");
|
||||
mask-size: cover;
|
||||
margin-left: 3px;
|
||||
background-color: var(--primary-color);
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
content: "";
|
||||
}
|
Reference in New Issue
Block a user