Skip to content

Commit

Permalink
💄 fix(style): minor CSS optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
yaaax committed Apr 4, 2023
1 parent 53a7517 commit a7d80bf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions assets/css/2_main.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,16 @@ html {
outline-width: 0;
}
.enlarge-link a:before {
bottom: 0;
content: "";
display: block;
height: 100%;
left: 0;
inset: 0;
outline-color: inherit;
outline-style: inherit;
outline-width: var(--border-focus);
outline-offset: var(--s-5);
transition-property: outline-width;
transition-duration: 0.3s;
transition: outline-width 0.3s;
position: absolute;
right: 0;
top: 0;
width: 100%;
z-index: 1;
}
Expand All @@ -53,12 +49,11 @@ figure > [target="_blank"] + figcaption::after {
background-color: currentcolor;
content: "";
display: inline-block;
flex: 0 0 auto;
height: 1rem;
margin-left: 0.25rem;
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6Zm11-3v8h-2V6.413l-7.793 7.794-1.414-1.414L17.585 5H13V3h8Z'/%3E%3C/svg%3E");
mask-size: 100% 100%;
vertical-align: calc(-0.125em);
vertical-align: -0.125em;
width: 1rem;
}

Expand Down

0 comments on commit a7d80bf

Please sign in to comment.