🌐 style: improve RTL styling consistency (#381)

This commit is contained in:
Óscar
2024-09-16 17:50:16 +02:00
committed by GitHub
parent 35dcf55019
commit 1027f5ba53
22 changed files with 130 additions and 150 deletions

View File

@@ -4,8 +4,8 @@
justify-content: center;
align-items: center;
opacity: 0;
margin-left: -2rem;
padding-right: 0.3rem;
margin-inline-start: -2rem;
padding-inline-end: 0.3rem;
width: 1.9rem;
height: 100%;
user-select: none;
@@ -15,11 +15,6 @@
}
}
:dir(rtl) .header-anchor {
margin-right: -2rem;
padding-left: 0.3rem;
}
.link-icon {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.78 3.653a3.936 3.936 0 1 1 5.567 5.567l-3.627 3.627a3.936 3.936 0 0 1-5.88-.353.75.75 0 0 0-1.18.928 5.436 5.436 0 0 0 8.12.486l3.628-3.628a5.436 5.436 0 1 0-7.688-7.688l-3 3a.75.75 0 0 0 1.06 1.061l3-3Z'%3E%3C/path%3E%3Cpath d='M7.28 11.153a3.936 3.936 0 0 1 5.88.353.75.75 0 0 0 1.18-.928 5.436 5.436 0 0 0-8.12-.486L2.592 13.72a5.436 5.436 0 1 0 7.688 7.688l3-3a.75.75 0 1 0-1.06-1.06l-3 3a3.936 3.936 0 0 1-5.567-5.568l3.627-3.627Z'%3E%3C/path%3E%3C/svg%3E");
align-self: center;